/* =====================================================================
   PLANTILLA LANDING DE EQUIPO — estilos
   Layout: revista deportiva. Portada a sangre con el nombre gigante,
   bandas alternadas tinta / color del club, columnas editoriales.
   Los colores del club (--club, --accent) se sobrescriben desde
   data/team.js; no hace falta editar este archivo por equipo.
   ===================================================================== */
:root {
  --ink: #0c0e11;
  --ink-2: #13161b;
  --ink-3: #1b1f26;
  --chalk: #f1eee8;
  --mute: #a4a39f;
  --line: rgba(241, 238, 232, .14);
  --bar: #3a3e46;           /* barras neutras de gráficos */
  --card: #171a20;          /* tarjetas */
  --card-border: rgba(241, 238, 232, .10);
  --card-shadow: none;
  --radius-card: 8px;
  --club: #a3182b;          /* color principal del equipo */
  --band: #5c0d18;          /* banda destacada: calculada por JS */
  --band-fg: #ffffff;
  --band-mute: rgba(255,255,255,.75);
  --band-line: rgba(255,255,255,.22);
  --band-accent: #e6b23a;
  --on-club: #ffffff;
  --accent: #e6b23a;        /* color secundario del equipo */
  --ok: #3fb26b;            /* zona de clasificación */
  --bad: #e0483e;           /* zona de descenso */
  --on-accent: #141414;

  --font-display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; /* etiquetas */

  --step--1: .8125rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.9rem, 5vw, 2.6rem);
  --step-4: clamp(3rem, 11vw, 6.5rem);

  --wrap: 1200px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ink);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

.wrap {
  max-width: calc(var(--wrap) + 64px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--on-accent); padding: 10px 14px; font-weight: 700;
}
.skip:focus { top: calc(12px + env(safe-area-inset-top, 0px)); }

/* ---------- utilidades ---------- */
.eyebrow {
  font-family: var(--font-mono); font-size: var(--step--1); letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent);
}
.todo {
  color: var(--mute);
  background: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, currentColor 6%, transparent) 6px 12px);
  box-decoration-break: clone; -webkit-box-decoration-break: clone;
  border-bottom: 1px dashed color-mix(in srgb, var(--accent) 60%, transparent);
  padding: 0 .15em;
}
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 8px; border: 1px solid var(--line); border-radius: 99px; color: var(--mute);
  background: rgba(12,14,17,.6); white-space: nowrap;
}
.tag--demo { border-color: color-mix(in srgb, var(--accent) 55%, transparent); color: var(--accent); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px; border-radius: var(--radius);
  font-weight: 700; font-size: .95rem; letter-spacing: .02em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--ghost { border-color: rgba(241,238,232,.35); background: rgba(12,14,17,.35); backdrop-filter: blur(6px); }
.btn--ghost:hover { border-color: var(--chalk); }
.btn--club { background: var(--club); color: var(--on-club); }
.btn[aria-disabled="true"] { opacity: .55; cursor: default; transform: none; }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 40px; padding: 0 16px; border-radius: 99px;
  border: 1px solid var(--line); background: transparent; cursor: pointer;
  font-size: .9rem; font-weight: 600; color: var(--mute); white-space: nowrap;
  transition: color .2s, border-color .2s, background-color .2s;
}
.chip:hover { color: var(--chalk); border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--chalk); color: var(--ink); border-color: var(--chalk); }

/* ---------- franja demo ---------- */
.demo-strip {
  background: var(--accent); color: var(--on-accent);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em;
  text-align: center; padding-block: 8px;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* ---------- barra superior ---------- */
.topbar {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: color-mix(in srgb, var(--ink) 88%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.topbar__in { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand__crest { width: 34px; height: 34px; }
.brand__name {
  font-family: var(--font-display); font-weight: 800; font-size: 1.35rem;
  text-transform: uppercase; letter-spacing: .02em; line-height: 1;
}
.topnav { margin-left: auto; min-width: 0; overflow-x: auto; scrollbar-width: none;
  mask-image: linear-gradient(90deg, transparent 0, #000 16px, #000 calc(100% - 16px), transparent 100%); }
.topnav::-webkit-scrollbar { display: none; }
.topnav ul { display: flex; gap: 2px; padding-inline: 12px; }
.topnav a {
  display: block; padding: 10px 10px; text-decoration: none; font-size: .875rem; font-weight: 600;
  color: var(--mute); white-space: nowrap; position: relative; transition: color .2s;
}
.topnav a:hover, .topnav a[aria-current="true"] { color: var(--chalk); }
.topnav a[aria-current="true"]::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 2px; background: var(--accent);
}
@media (max-width: 719px) { .brand__name { display: none; } }

/* ---------- escudo ---------- */
.crest { display: block; width: 100%; height: 100%; object-fit: contain; }
.crest-slot { position: relative; display: grid; place-items: center; width: 100%; height: 100%; }
.crest-slot svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.crest-slot span {
  position: relative; font-family: var(--font-mono); font-size: 10px; letter-spacing: .1em;
  text-transform: uppercase; color: var(--mute); text-align: center; line-height: 1.3; padding: 0 14%;
}
.brand .crest-slot span { display: none; }

/* ---------- HERO ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--hero-pos, center); transform: scale(1.04); animation: heroZoom 1.6s var(--ease) both; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,14,17,.25) 0%, rgba(12,14,17,.55) 45%, var(--ink) 100%),
    linear-gradient(90deg, rgba(12,14,17,.7) 0%, transparent 70%);
}
.hero__in {
  display: grid; gap: 20px; align-content: end;
  min-height: clamp(560px, 88svh, 860px);
  padding-block: 56px 40px;
}
.hero__crest { width: 96px; height: 112px; animation: rise .7s .1s var(--ease) both; }
.hero__crest .crest-slot span { font-size: 9px; }
.hero__league { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; animation: rise .7s .15s var(--ease) both; }
.hero__name {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: calc(var(--name-scale, 1) * clamp(4.25rem, 21vw, 12.5rem));
  line-height: .82; letter-spacing: -.01em;
  overflow-wrap: anywhere; animation: rise .8s .2s var(--ease) both;
}
.hero__name span { display: block; }
.hero__name span:last-child { color: var(--accent); }
.hero__motto {
  font-family: var(--font-display); font-weight: 700; font-size: var(--step-2);
  text-transform: uppercase; letter-spacing: .04em; animation: rise .8s .3s var(--ease) both;
}
.hero__lede { max-width: 52ch; color: rgba(241,238,232,.88); font-size: var(--step-1); line-height: 1.5; animation: rise .8s .35s var(--ease) both; }
.hero__headline { font-size: var(--step-1); font-weight: 700; max-width: 40ch; animation: rise .8s .32s var(--ease) both; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; animation: rise .8s .4s var(--ease) both; }
.hero__index {
  display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 16px; padding-top: 18px;
  border-top: 1px solid var(--line); animation: rise .8s .5s var(--ease) both;
}
.hero__index a {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mute); text-decoration: none; padding: 8px 0; transition: color .2s;
}
.hero__index a:hover { color: var(--chalk); }
@media (min-width: 900px) {
  .hero__in { grid-template-columns: 1fr auto; column-gap: 48px; }
  .hero__in > * { grid-column: 1; }
  .hero__crest { grid-column: 2; grid-row: 1 / span 3; align-self: start; width: 168px; height: 196px; margin-top: 8px; }
}

/* ---------- bandas / secciones ---------- */
.band { padding-block: clamp(72px, 12vw, 136px); position: relative; }
.band--ink { background: var(--ink); }
.band--ink2 { background: var(--ink-2); }
.band--club { background: var(--band); color: var(--band-fg); }
.band--closing { background: var(--club); color: var(--on-club); overflow: hidden; }

.sec-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 6vw, 56px); }
.sec-head { grid-template-columns: minmax(0, 1fr); }
.sec-head > * { min-width: 0; }
.sec-title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: var(--step-4); line-height: .86; letter-spacing: -.005em;
}
.sec-sub { color: var(--mute); max-width: 56ch; }
.sec-head--split { align-items: end; }
@media (min-width: 900px) {
  .sec-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, auto); column-gap: 40px; }
  .sec-head--split .sec-tools { grid-column: 2; grid-row: 1 / span 3; align-self: end; }
}

.empty {
  border: 1px dashed var(--line); border-radius: var(--radius);
  padding: clamp(24px, 5vw, 40px); display: grid; gap: 8px; max-width: 64ch;
}
.empty strong { font-family: var(--font-display); font-size: var(--step-2); text-transform: uppercase; letter-spacing: .02em; }
.empty p { color: var(--mute); }
.empty code { font-family: var(--font-mono); font-size: .85em; color: var(--accent); }

/* ---------- TORNEO EN CURSO ---------- */
.standing-now { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: -12px 0 32px; }
.standing-now b { font-family: var(--font-display); font-weight: 900; font-size: clamp(3.5rem, 10vw, 5rem); line-height: .85; color: var(--accent); }
.standing-now span { color: var(--mute); font-size: var(--step-1); }
.current { display: grid; gap: 32px; }
@media (min-width: 960px) { .current { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; } }
.fixture {
  display: grid; gap: 18px; padding: clamp(20px, 4vw, 32px); border-radius: var(--radius);
  background: var(--club); color: var(--on-club); min-width: 0;
}
.fixture__eyebrow { display: flex; justify-content: space-between; gap: 12px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
.fixture__count { opacity: .8; }
.fixture__teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; text-align: center; }
.fixture__team { display: grid; justify-items: center; gap: 10px; min-width: 0; }
.fixture__team b { font-family: var(--font-display); font-weight: 900; font-size: clamp(1.4rem, 5vw, 2rem); line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.fixture__crest, .fixture__mono { width: 72px; height: 72px; }
.fixture__mono {
  display: grid; place-items: center; border-radius: 50%; border: 2px solid currentColor;
  font-family: var(--font-display); font-weight: 900; font-size: 2rem; opacity: .85;
}
.fixture__vs { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; opacity: .75; }
.fixture__when { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 4px 14px; padding-top: 16px; border-top: 1px solid color-mix(in srgb, var(--on-club) 25%, transparent); }
.fixture__day { font-weight: 700; font-size: var(--step-1); }
.fixture__time { font-family: var(--font-display); font-weight: 900; font-size: 2.2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.fixture__place { text-align: center; opacity: .85; }
.fixture .btn--accent { background: var(--ink); color: var(--chalk); justify-self: center; }
.fixture--empty { background: var(--ink-3); color: var(--chalk); }
.fixture--empty .fixture__place { text-align: left; color: var(--mute); }
.standings { min-width: 0; }
.table-scroll.table-scroll--tight { margin-top: 0; }
.season-table.standings__table { min-width: 0; font-size: .95rem; }
.standings__table th, .standings__table td { padding: 11px 6px; }
.standings__table td:nth-child(2) { text-align: left; font-weight: 600; width: 100%; }
.standings__table th:nth-child(2) { text-align: left; }
.standings__table td:first-child { color: var(--mute); width: 2ch; }
.standings__table tr.is-me td { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--chalk); }
.standings__table tr.is-me td:first-child { color: var(--accent); font-weight: 700; }
.standings__table tr.z-clasifica td:first-child { box-shadow: inset 3px 0 0 var(--ok); }
.standings__table tr.z-desciende td:first-child { box-shadow: inset 3px 0 0 var(--bad); }
.zones { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; font-size: .875rem; color: var(--mute); }
.zones li { display: inline-flex; align-items: center; gap: 8px; }
.zones li::before { content: ""; width: 3px; height: 14px; border-radius: 1px; background: var(--mute); }
.zones .z-clasifica::before { background: var(--ok); }
.zones .z-desciende::before { background: var(--bad); }
.standings__table td b { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; }
@media (max-width: 420px) { .standings__table th:nth-child(4), .standings__table td:nth-child(4), .standings__table th:nth-child(5), .standings__table td:nth-child(5), .standings__table th:nth-child(6), .standings__table td:nth-child(6) { display: none; } }

/* ---------- PLANTEL ---------- */
.squad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .squad { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .squad { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.player { position: relative; display: grid; gap: 12px; }
.player[hidden] { display: none; }
.player__photo {
  position: relative; margin: 0; aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden;
  background: var(--ink-3); border-radius: var(--radius);
}
.player__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.player:hover .player__photo img { transform: scale(1.04); }
.player__num {
  position: absolute; right: 8px; bottom: -6px;
  font-family: var(--font-display); font-weight: 900; line-height: 1;
  font-size: clamp(3.75rem, 14vw, 6rem); color: transparent;
  -webkit-text-stroke: 1.5px var(--accent); paint-order: stroke;
  font-variant-numeric: tabular-nums; pointer-events: none;
}
.player__photo::after {
  content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(12,14,17,.75));
}
.player__num { z-index: 1; }
.player .tag--demo { position: absolute; top: 8px; left: 8px; z-index: 1; }
.player__body { display: grid; gap: 2px; min-width: 0; }
.player__pos { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.player__name { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1.05; text-transform: uppercase; }
.player__nick { color: var(--mute); font-size: .95rem; }
.player__badge {
  position: absolute; top: 8px; right: 8px; z-index: 1; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--on-accent);
  font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; line-height: 1;
}
.player__goals { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; color: var(--mute); margin-top: 4px; }
.player__goals b { color: var(--accent); font-weight: 500; }
.player__desc { color: var(--mute); font-size: .9rem; margin-top: 4px; }
.squad-more { display: flex; justify-content: center; margin-top: 32px; }

/* ---------- FIGURA / MVP ---------- */
.band--figura { overflow: hidden; }
.feature { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.feature__photo { position: relative; margin: 0; aspect-ratio: 3 / 4; max-width: 100%; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); }
.feature__photo img { width: 100%; height: 100%; object-fit: cover; }
.feature__photo::after { content: ""; position: absolute; inset: 60% 0 0; background: linear-gradient(180deg, transparent, rgba(12,14,17,.7)); }
.feature__num {
  position: absolute; right: 12px; bottom: -10px; z-index: 1; font-family: var(--font-display); font-weight: 900; line-height: 1;
  font-size: clamp(6rem, 22vw, 10rem); color: transparent; -webkit-text-stroke: 2px var(--accent);
}
.feature__body { display: grid; gap: 18px; min-width: 0; container-type: inline-size; }
.feature__name { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; line-height: .84; font-size: clamp(3.4rem, 12vw, 7.5rem); overflow-wrap: anywhere; }
.feature__name span { display: block; white-space: nowrap; font-size: min(1em, calc(100cqi / (var(--len, 8) * .74))); }
.feature__name span:last-child { color: var(--accent); }
.feature__lede { font-size: var(--step-1); max-width: 46ch; color: var(--chalk); opacity: .9; }
.feature__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 8px 0 0; border-top: 1px solid var(--line); }
.feature__facts div { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line); display: grid; gap: 4px; }
.feature__facts dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); order: 2; }
.feature__facts dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; line-height: .95; font-variant-numeric: tabular-nums; }
.feature__facts .feature__big { grid-column: 1 / -1; }
.feature__facts .feature__big dd { font-size: clamp(5rem, 16vw, 7.5rem); color: var(--accent); line-height: .85; }
@media (max-width: 480px) { .feature__facts dd { font-size: 2rem; } .feature__facts dt { font-size: 10px; letter-spacing: .08em; } }
.feature__note { color: var(--mute); }
.feature__chart { margin: 8px 0 0; }
.feature__chart figcaption { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 10px; }
.feature__chart ol { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 4px; height: 96px; align-items: end; border-bottom: 1px solid var(--line); }
.feature__chart li { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 4px; }
.feature__chart li .v { font-family: var(--font-mono); font-size: 10px; color: var(--mute); }
.feature__chart li i { display: block; width: 100%; background: var(--bar); border-radius: 2px 2px 0 0; }
.feature__chart li.is-won i { background: var(--accent); }
.feature__key { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; color: var(--mute); margin-top: 6px; }

/* ---------- HISTORIA ---------- */
.story-lead { display: grid; gap: 32px; margin-bottom: clamp(48px, 8vw, 88px); }
.story-lead__text { font-size: clamp(1.2rem, 2.6vw, 1.55rem); line-height: 1.45; max-width: 40ch; }
.story-quote {
  margin: 0; padding-left: 20px; border-left: 3px solid var(--accent); display: grid; gap: 10px; align-self: end;
}
.story-quote p { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); line-height: 1.02; text-transform: uppercase; }
.story-quote cite { font-style: normal; font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--mute); text-transform: uppercase; }
@media (min-width: 900px) { .story-lead { grid-template-columns: 1.3fr 1fr; gap: 64px; } }

.chapters { display: grid; gap: clamp(48px, 8vw, 96px); }
.chapter { display: grid; gap: 20px; align-items: center; }
.chapter__media { margin: 0; aspect-ratio: 3 / 2; max-width: 100%; overflow: hidden; border-radius: var(--radius); background: var(--ink-3); }
.chapter__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.chapter__body { display: grid; gap: 12px; max-width: 52ch; min-width: 0; }
.chapter__kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.chapter__title { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); line-height: 1; text-transform: uppercase; }
.chapter__text { color: var(--chalk); opacity: .86; font-size: 1.05rem; }
@media (min-width: 900px) {
  .chapter { grid-template-columns: 7fr 5fr; gap: 56px; }
  .chapter:nth-child(even) .chapter__media { order: 2; }
  .chapter:nth-child(even) { grid-template-columns: 5fr 7fr; }
  .chapter--text { grid-template-columns: 1fr !important; padding-left: calc(7 / 12 * 100%); }
}
.chapter--text .chapter__body { border-top: 1px solid var(--line); padding-top: 20px; }

.values { margin-top: clamp(56px, 9vw, 104px); display: grid; gap: 0; border-top: 1px solid var(--line); }
.values__title { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); padding-block: 18px; }
.value { display: grid; gap: 6px; padding-block: 20px; border-top: 1px solid var(--line); }
.value h3 { font-family: var(--font-display); font-weight: 800; font-size: var(--step-2); text-transform: uppercase; line-height: 1.05; }
.value p { color: var(--mute); }
@media (min-width: 900px) {
  .values { grid-template-columns: 220px 1fr; column-gap: 40px; }
  .values__title { grid-row: 1 / span 9; }
  .value { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: baseline; }
}

/* ---------- PALMARÉS ---------- */
.band--club .sec-sub { color: var(--band-mute); }
.band--club .eyebrow { color: var(--band-accent); }
.honours-count { display: flex; flex-wrap: wrap; gap: 28px 48px; margin-bottom: 40px; }
.honours-count div { display: grid; }
.honours-count b { font-family: var(--font-display); font-size: clamp(4rem, 12vw, 7rem); line-height: .85; color: var(--band-accent); font-variant-numeric: tabular-nums; }
.honours-count span { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--band-mute); }
.honours { border-top: 1px solid var(--band-line); }
.honour {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 18px;
  padding-block: 24px; border-bottom: 1px solid var(--band-line); align-items: start;
}
.honour__icon { grid-row: 1 / span 3; width: 44px; height: 44px; color: var(--band-accent); }
.honour__icon--silver { color: var(--band-fg); opacity: .6; }
.honour__icon--logro { color: var(--band-fg); opacity: .85; }
.honour__meta { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--band-mute); }
.honour__title { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); text-transform: uppercase; line-height: 1; }
.honour__desc { color: var(--band-mute); max-width: 60ch; }
.honour__media { grid-column: 2; margin: 10px 0 0; aspect-ratio: 3 / 2; max-width: 560px; width: 100%; overflow: hidden; border-radius: var(--radius); }
.honour__media img { width: 100%; height: 100%; object-fit: cover; }
.band--club .todo { color: var(--band-mute); background: none; border-bottom-color: currentColor; }
.band--club .tag { background: transparent; border-color: var(--band-line); color: var(--band-fg); }
.band--club .tag--demo { color: var(--band-fg); border-color: var(--band-fg); }
@media (min-width: 900px) {
  .honour { grid-template-columns: 64px 220px minmax(0, 1fr); gap: 6px 32px; }
  .honour__icon { grid-row: 1 / span 3; width: 52px; height: 52px; }
  .honour__meta { grid-column: 2; grid-row: 1 / span 3; flex-direction: column; align-items: flex-start; }
  .honour__title, .honour__desc { grid-column: 3; }
  .honour__media { grid-column: 3; }
}

/* ---------- ESTADÍSTICAS ---------- */
.stat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 640px) { .stat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .stat-tiles { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.stat { padding: 18px 16px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 6px; }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 8vw, 3.5rem); line-height: .9; font-variant-numeric: tabular-nums; }
.stat span { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.stat--empty b { color: var(--chalk); opacity: .25; }
.wdl { margin-top: 28px; display: grid; gap: 10px; }
.wdl__bar { display: flex; height: 14px; border-radius: 2px; overflow: hidden; background: var(--ink-3); }
.wdl__bar i { display: block; height: 100%; }
.wdl__bar .w { background: var(--accent); }
.wdl__bar .d { background: #8d9096; }
.wdl__bar .l { background: #4a4e56; }
.wdl__legend { display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: .875rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.wdl__legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 8px; background: currentColor; vertical-align: -1px; }
.wdl__legend .w::before { background: var(--accent); }
.wdl__legend .d::before { background: #8d9096; }
.wdl__legend .l::before { background: #4a4e56; }
.stat-cols { display: grid; gap: 40px; margin-top: 56px; }
@media (min-width: 900px) { .stat-cols { grid-template-columns: 1fr 1fr; gap: 56px; } }
.stat-block h3 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 500; margin-bottom: 14px; }
.leaders li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding-block: 12px; border-bottom: 1px solid var(--line); }
.leaders .pos { font-family: var(--font-mono); font-size: 12px; color: var(--mute); }
.leaders .nm { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.leaders .val { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; font-variant-numeric: tabular-nums; }
.leaders .bar { grid-column: 2 / span 2; height: 3px; background: var(--ink-3); }
.leaders .bar i { display: block; height: 100%; background: var(--accent); }
.table-scroll { overflow-x: auto; margin-top: 56px; }
.season-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; min-width: 560px; }
.season-table th, .season-table td { padding: 12px 10px; text-align: right; border-bottom: 1px solid var(--line); }
.season-table th:first-child, .season-table td:first-child { text-align: left; }
.season-table th { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); font-weight: 500; }
.stat-note { margin-top: 18px; font-size: .875rem; color: var(--mute); }

/* goleadores */
.stat-tiles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
@media (min-width: 900px) { .stat-tiles--4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.stat--lead b { color: var(--accent); }
.stat em { font-style: normal; font-weight: 600; font-size: .95rem; line-height: 1.25; }
.gchart { margin: 56px 0 0; }
.gchart__cap { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; margin-bottom: 18px; }
.gchart__cap h3, .scorers__head h3 { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.gchart__key { font-size: .85rem; color: var(--mute); display: inline-flex; align-items: center; gap: 8px; }
.gchart__key::before { content: ""; width: 12px; height: 12px; border-radius: 2px; background: var(--accent); }
.gchart__scroll { overflow-x: auto; padding-bottom: 6px; }
.gchart__bars { display: grid; grid-template-columns: repeat(var(--n), minmax(38px, 1fr)); gap: 6px; min-width: calc(var(--n) * 44px); border-bottom: 1px solid var(--line); }
.gchart__bars li { position: relative; display: grid; grid-template-rows: auto 180px auto; justify-items: center; gap: 6px; }
.gchart__v { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; align-self: end; }
.gchart__track { width: 100%; height: 100%; display: flex; align-items: flex-end; }
.gchart__track i { display: block; width: 100%; min-height: 2px; background: var(--bar); border-radius: 2px 2px 0 0; transition: background-color .2s; }
.gchart__bars li:hover .gchart__track i { filter: brightness(1.25); }
.gchart__bars li.is-won .gchart__track i { background: var(--accent); }
.gchart__bars li.is-won .gchart__v { color: var(--accent); }
.gchart__l { font-family: var(--font-mono); font-size: 10px; letter-spacing: .04em; color: var(--mute); white-space: nowrap; padding-bottom: 8px; }
.scorers { margin-top: 56px; }
.scorers__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.select { position: relative; }
.select select {
  appearance: none; -webkit-appearance: none; min-height: 44px; padding: 0 40px 0 16px; border-radius: 99px;
  border: 1px solid var(--line); background: var(--ink-2); color: var(--chalk); font: inherit; font-weight: 600; font-size: .9rem; cursor: pointer; max-width: 100%;
}
.select::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.leaders--full li { grid-template-columns: 32px minmax(0, 1fr) auto; }
.leaders .nm small { display: block; font-weight: 400; font-size: .8rem; color: var(--mute); }
.leaders li.is-top .val { color: var(--accent); }
.leaders__empty { display: block !important; color: var(--mute); padding-block: 16px; }
@media (max-width: 899px) { .honour > :not(.honour__icon) { grid-column: 2; } }
.honour__stat { font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--band-fg); opacity: .85; }
@media (min-width: 900px) { .honour__stat { grid-column: 3; } }

/* ---------- GALERÍA ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; grid-auto-flow: dense; }
@media (min-width: 720px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; } }
.gallery li[hidden] { display: none; }
.shot {
  display: block; width: 100%; padding: 0; border: 0; background: var(--ink-3); cursor: zoom-in;
  aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); position: relative;
}
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transition: transform .6s var(--ease), opacity .3s; }
.shot:hover img { transform: scale(1.05); }
.shot__cat {
  position: absolute; left: 8px; bottom: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em;
  text-transform: uppercase; background: rgba(12,14,17,.7); padding: 3px 7px; border-radius: 2px; color: var(--chalk);
}
.gallery li.wide { grid-column: span 2; }
.gallery li.wide .shot { aspect-ratio: 2 / 1; }
.gallery li.tall { grid-row: span 2; }
.gallery li.tall .shot { aspect-ratio: auto; height: 100%; }

.lightbox {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  background: rgba(8,9,11,.97); color: var(--chalk);
}
.lightbox::backdrop { background: rgba(0,0,0,.8); }
.lightbox[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb__top, .lb__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) 10px max(16px, env(safe-area-inset-left, 0px));
}
.lb__bottom { padding-top: 10px; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); }
.lb__count { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: var(--mute); }
.lb__stage { display: grid; place-items: center; min-height: 0; padding: 0 max(16px, env(safe-area-inset-left, 0px)); touch-action: pan-y; }
.lb__stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 2px; }
.lb__caption { color: var(--mute); font-size: .95rem; min-width: 0; }
.icon-btn {
  width: 48px; height: 48px; display: grid; place-items: center; flex: none;
  border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.icon-btn:hover { border-color: var(--chalk); }
.icon-btn svg { width: 20px; height: 20px; }
.lb__nav { display: flex; gap: 10px; }

/* ---------- SPONSORS ---------- */
.sponsor-tier + .sponsor-tier { margin-top: 48px; }
.tier-label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.tier-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sponsors-main { display: grid; gap: 16px; }
@media (min-width: 720px) { .sponsors-main { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.sponsor-main {
  display: grid; grid-template-columns: minmax(112px, 40%) minmax(0, 1fr); gap: 20px; align-items: center;
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none;
  background: linear-gradient(135deg, var(--ink-2), var(--ink)); transition: border-color .25s, transform .25s var(--ease);
  position: relative;
}
a.sponsor-main:hover { border-color: var(--accent); transform: translateY(-2px); }
.sponsor-main__logo { aspect-ratio: 3 / 2; max-width: 100%; background: #fff; border-radius: 2px; display: grid; place-items: center; padding: 12px; }
.sponsor-main__logo img { max-height: 100%; object-fit: contain; }
.sponsor-main__logo.is-dark { background: #121418; }
.sponsor-minor__logo.is-dark img { filter: none; }
.sponsor-main__body { display: grid; gap: 4px; min-width: 0; }
.sponsor-main__name { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.sponsor-main__rubro { color: var(--mute); font-size: .9rem; }
.sponsor-main__link { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.sponsor-main .tag--demo { position: absolute; top: 10px; right: 10px; }
.sponsors-minor { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (min-width: 640px) { .sponsors-minor { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .sponsors-minor { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.sponsor-minor {
  display: grid; gap: 8px; place-items: center; text-align: center; padding: 16px 10px;
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .25s;
}
a.sponsor-minor:hover { border-color: var(--accent); }
.sponsor-minor__logo { width: 100%; max-width: 120px; aspect-ratio: 3 / 2; display: grid; place-items: center; }
.sponsor-minor__logo img { max-height: 100%; object-fit: contain; filter: grayscale(1) brightness(1.6); transition: filter .25s; }
a.sponsor-minor:hover img { filter: none; }
.sponsor-minor__name { font-size: .85rem; color: var(--mute); overflow-wrap: anywhere; }
.logo-ph {
  width: 100%; height: 100%; display: grid; place-items: center; border: 1px dashed rgba(20,20,20,.35);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: .14em; color: #555; text-transform: uppercase;
}
.sponsor-minor .logo-ph { border-color: var(--line); color: var(--mute); }
.sponsor-pitch {
  margin-top: 48px; display: grid; gap: 16px; padding: clamp(24px, 5vw, 40px);
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink-2);
}
.sponsor-pitch h3 { font-family: var(--font-display); font-weight: 800; font-size: var(--step-3); text-transform: uppercase; line-height: 1; }
.sponsor-pitch p { color: var(--mute); max-width: 56ch; }
@media (min-width: 900px) { .sponsor-pitch { grid-template-columns: 1fr auto; align-items: center; } .sponsor-pitch .btn { grid-column: 2; grid-row: 1 / span 2; } }

/* ---------- CIERRE ---------- */
.closing { position: relative; display: grid; gap: 24px; }
.closing__crest { width: 72px; height: 84px; }
.closing__crest .crest-slot svg path { stroke: currentColor; }
.closing__crest .crest-slot span { color: inherit; opacity: .8; font-size: 8px; }
.closing__title {
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(3.25rem, 13vw, 8.5rem); line-height: .86; max-width: 14ch;
}
.closing__text { font-size: var(--step-1); max-width: 48ch; opacity: .92; }
.closing__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.band--closing .btn--ghost { border-color: color-mix(in srgb, var(--on-club) 45%, transparent); background: transparent; color: var(--on-club); }
.band--closing .btn--ghost:hover { border-color: var(--on-club); }
.band--closing .btn--ink { background: var(--ink); color: var(--chalk); }
.band--closing .todo { color: inherit; opacity: .8; border-bottom-color: currentColor; background: repeating-linear-gradient(135deg, transparent 0 6px, rgba(255,255,255,.08) 6px 12px); }
.contact-note { font-size: .9rem; opacity: .85; }
.contact-note code { font-family: var(--font-mono); font-size: .85em; }
.closing__mark {
  position: absolute; right: -2%; bottom: -14%; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(10rem, 36vw, 26rem); line-height: .8; opacity: .08; pointer-events: none; text-transform: uppercase;
  white-space: nowrap;
}

/* ---------- PIE ---------- */
.footer { background: var(--ink); border-top: 1px solid var(--line); padding-block: 32px calc(32px + env(safe-area-inset-bottom, 0px)); }
.footer__in { display: grid; gap: 16px; font-size: .875rem; color: var(--mute); }
.footer__brand { display: flex; align-items: center; gap: 12px; color: var(--chalk); }
.footer__brand .brand__crest { width: 40px; height: 40px; }
.footer__brand b { font-family: var(--font-display); font-size: 1.4rem; text-transform: uppercase; letter-spacing: .02em; }
@media (min-width: 900px) { .footer__in { grid-template-columns: auto 1fr auto; align-items: center; gap: 32px; } }

/* ---------- toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 90;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--chalk); color: var(--ink); font-weight: 600; font-size: .9rem;
  padding: 12px 18px; border-radius: var(--radius); transition: opacity .25s, transform .25s var(--ease);
  max-width: calc(100% - 32px);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.noscript { padding: 40px 16px; text-align: center; }

/* ---------- movimiento ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1.04); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}


/* =====================================================================
   ESTILO CLUB: fondos blancos y negros alternados, naranja en detalles,
   tipografía condensada, franja de sponsors, tarjetas y botones.
   ===================================================================== */
body::before { background: var(--club); }

/* bandas claras: redefinen los tokens dentro de la sección */
.band--light {
  --ink: #ffffff; --ink-2: #f5f3f0; --ink-3: #ebe8e3;
  --chalk: #121212; --mute: #5f5b56; --line: rgba(18, 18, 18, .12);
  --bar: #d9d5cf;
  --accent: #BF500A;        /* el mismo naranja, un tono más profundo para leerse sobre blanco */
  --on-accent: #ffffff;
  --card: #ffffff; --card-border: rgba(18, 18, 18, .07);
  --card-shadow: 0 1px 2px rgba(18, 18, 18, .05), 0 8px 24px rgba(18, 18, 18, .07);
  background: var(--ink); color: var(--chalk); color-scheme: light;
}
.band--ink, .band--ink2 { background: #0c0e11; }
.band--closing { background: #0c0e11; color: var(--chalk); }
.closing__title { color: var(--accent); }
.closing__text { color: var(--chalk); opacity: .9; }
.closing__crest .crest-slot span, .band--closing .contact-note { color: var(--mute); opacity: 1; }
.band--closing .todo { color: var(--mute); }
.closing__mark { color: var(--chalk); opacity: .05; }

/* tipografía */
.sec-title, .hero__name, .closing__title, .feature__name { font-weight: 800; letter-spacing: 0; }
.sec-title { line-height: .9; }
.eyebrow, .player__pos, .values__title, .stat-block h3, .gchart__cap h3, .scorers__head h3, .fixture__eyebrow, .tier-label, .sponsor-main__link, .honour__meta { font-weight: 700; }
.player__name, .honour__title, .chapter__title, .value h3, .sponsor-main__name, .fixture__team b, .story-quote p, .sponsor-pitch h3, .empty strong { font-weight: 800; }

/* franja de sponsors (arriba de todo) */
.sponsor-strip { background: var(--club); color: var(--on-club); }
.sponsor-strip__in { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 34px; }
.sponsor-strip__label { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding-right: 18px; border-right: 1px solid color-mix(in srgb, var(--on-club) 40%, transparent); }
.sponsor-strip img { height: 20px; width: auto; display: block; filter: brightness(0) invert(1); opacity: .95; transition: opacity .2s; }
.sponsor-strip a:hover img { opacity: 1; }
.demo-strip { background: #1b1f26; color: var(--mute); }

/* barra superior blanca */
.topbar {
  --chalk: #121212; --mute: #4a4743; --line: rgba(18, 18, 18, .1);
  background: #ffffff; color: var(--chalk); backdrop-filter: none; -webkit-backdrop-filter: none;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08); border-bottom: 0;
}
.topbar__in { min-height: 64px; }
.brand__crest { width: 40px; height: 40px; }
.brand__name { font-size: 1.5rem; font-weight: 800; }
.topnav a { font-size: .8rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--mute); }
.topnav a:hover, .topnav a[aria-current="true"] { color: var(--club); }
.topnav a[aria-current="true"]::after { background: var(--club); }

/* botones */
.btn { min-height: 46px; padding: 0 22px; border-radius: 6px; font-family: var(--font-body); font-weight: 600; font-size: .9rem; letter-spacing: .01em; border-width: 1.5px; }
.btn:hover { transform: none; filter: brightness(1.08); }
.btn--accent { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.btn--ghost { background: transparent; border-color: var(--accent); color: var(--accent); backdrop-filter: none; }
.btn--ghost:hover { background: var(--accent); color: var(--on-accent); filter: none; }
.hero .btn--ghost { border-color: rgba(255, 255, 255, .75); color: #fff; }
.hero .btn--ghost:hover { background: #fff; color: #121212; }
.btn[aria-disabled="true"]:hover { background: transparent; color: inherit; }
.chip { border-radius: 6px; font-weight: 600; }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.select select { border-radius: 6px; background: var(--card); color: var(--chalk); }
.band--closing .btn--ghost { border-color: var(--accent); color: var(--accent); }
.band--closing .btn--ghost:hover { background: var(--accent); color: var(--on-accent); }

/* tarjetas */
.player, .sponsor-main, .sponsor-minor, .sponsor-pitch, .empty {
  background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); border-radius: var(--radius-card);
}
.player { gap: 0; overflow: hidden; transition: transform .25s var(--ease), box-shadow .25s; }
.player:hover { transform: translateY(-3px); }
.player__photo { border-radius: 0; }
.player__body { padding: 12px 14px 16px; }
.player .tag--demo { top: 8px; left: 8px; }
.squad { gap: 14px; }
@media (min-width: 1000px) { .squad { gap: 20px; } }
.sponsor-main { background: var(--card); }
a.sponsor-main:hover { transform: translateY(-2px); }
.empty { border-style: solid; }
.shot, .chapter__media, .feature__photo, .honour__media, .player__photo img { border-radius: var(--radius-card); }
.player__photo img { border-radius: 0; }

/* próximo partido: tarjeta blanca sobre fondo negro */
.fixture {
  --chalk: #121212; --mute: #5f5b56; --line: rgba(18, 18, 18, .12);
  --accent: #BF500A; --on-accent: #ffffff;
  background: #ffffff; color: var(--chalk); border-radius: var(--radius-card);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35); border-top: 4px solid var(--club);
}
.fixture__eyebrow { color: var(--accent); }
.fixture__count { color: var(--mute); opacity: 1; }
.fixture__vs { color: var(--mute); opacity: 1; }
.fixture__when { border-top: 1px solid var(--line); }
.fixture__place { color: var(--mute); opacity: 1; }
.fixture .btn--accent { background: var(--accent); color: var(--on-accent); justify-self: stretch; }
.fixture__mono { color: var(--mute); }
.fixture--empty { background: #ffffff; }

/* palmarés sobre negro */
.band--club .tag { background: transparent; }

/* varias figuras en la misma sección */
.features { display: grid; gap: clamp(72px, 12vw, 128px); }
@media (min-width: 900px) {
  .feature--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
  .feature--flip .feature__photo { order: 2; }
}
.feature__quote {
  margin: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--accent);
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: clamp(1.4rem, 3.4vw, 2rem); line-height: 1.05; max-width: 28ch;
}
.feature__titles { display: grid; gap: 10px; }
@media (min-width: 640px) { .feature__titles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feature__titles li {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-card);
}
.feature__trophy { width: 36px; height: 36px; color: var(--accent); flex: none; }
.feature__trophy svg { width: 100%; height: 100%; }
.feature__titles b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; text-transform: uppercase; line-height: 1; }
.feature__titles small { display: block; color: var(--mute); font-size: .8rem; margin-top: 4px; }
.feature__facts:has(> div:only-child) { grid-template-columns: 1fr; }

/* cruces de eliminación */
.playoff { margin-top: clamp(48px, 8vw, 72px); }
.playoff__head { display: grid; gap: 6px; margin-bottom: 20px; }
.playoff__head h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: var(--step-3); line-height: 1; }
.playoff__head p { color: var(--mute); max-width: 60ch; }
.playoff__grid { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .playoff__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .playoff__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.tie {
  display: grid; gap: 8px; padding: 16px; min-width: 0;
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-card);
}
.tie.is-mine { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.tie__label { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-bottom: 4px; }
.tie.is-mine .tie__label { color: var(--accent); }
.tie__team { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; }
.tie__seed {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 6px;
  background: var(--ink-3); font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; font-variant-numeric: tabular-nums;
}
.tie__team b { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; line-height: 1.05; text-transform: uppercase; overflow-wrap: anywhere; }
.tie__pts { font-size: .8rem; color: var(--mute); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tie__team.is-me .tie__seed { background: var(--accent); color: var(--on-accent); }
.tie__team.is-me b { color: var(--accent); }
.tie__vs { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); padding-left: 44px; }
@media (min-width: 1100px) { .tie__team b { font-size: 1.15rem; } }

/* reproductor flotante de la playlist */
.spotify {
  position: fixed; z-index: 70;
  left: calc(16px + env(safe-area-inset-left, 0px)); bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: flex; flex-direction: column-reverse; align-items: flex-start; gap: 10px; max-width: calc(100vw - 32px);
}
.spotify__btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 18px 0 8px; border-radius: 99px;
  border: 0; cursor: pointer; background: #0c0e11; color: #fff; box-shadow: 0 6px 24px rgba(0, 0, 0, .35), 0 0 0 1.5px var(--club) inset;
  font-family: var(--font-body); font-weight: 600; font-size: .9rem; text-align: left; line-height: 1.1;
}
.spotify__btn svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--club); color: var(--on-club); flex: none; animation: pulse 2.4s ease-in-out 1s 3; }
.spotify__btn small { display: block; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.spotify.is-open .spotify__btn svg { animation: none; }
.spotify__panel { width: 340px; max-width: 100%; background: #0c0e11; border-radius: 12px; padding: 8px; box-shadow: 0 12px 40px rgba(0, 0, 0, .45); }
.spotify__frame { min-height: 352px; border-radius: 10px; overflow: hidden; background: #181b21; }
.spotify__frame iframe { display: block; border: 0; border-radius: 10px; }
.spotify__link { display: block; text-align: center; padding: 10px 6px 4px; font-size: .85rem; font-weight: 600; color: #fff; text-decoration: none; }
.spotify__link:hover { color: var(--accent); }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(233, 97, 11, .6); } 50% { box-shadow: 0 0 0 10px rgba(233, 97, 11, 0); } }
@media (max-width: 480px) { .spotify__btn span { max-width: 9.5rem; } }

/* ---------- TÍTULOS: contador, línea de tiempo y logros ---------- */
.tally { display: flex; align-items: center; gap: 20px; margin-bottom: clamp(40px, 7vw, 64px); }
.tally > b { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 18vw, 9.5rem); line-height: .8; color: var(--band-accent); font-variant-numeric: tabular-nums; }
.tally__stars { display: flex; gap: 6px; color: var(--band-accent); }
.tally__stars svg { width: clamp(22px, 4vw, 30px); height: auto; }
.tally__label { margin-top: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--band-mute); max-width: 22ch; }

.timeline { position: relative; display: grid; gap: 0; }
.tl { position: relative; display: grid; gap: 4px; padding: 0 0 36px 76px; min-width: 0; }
.tl::before { content: ""; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: var(--band-line); }
.tl:last-child::before { display: none; }
.tl__cup {
  position: absolute; left: 0; top: 0; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: color-mix(in srgb, var(--band-accent) 14%, transparent);
  box-shadow: 0 0 0 2px var(--band-accent) inset; color: var(--band-accent);
}
.tl__cup svg { width: 32px; height: 32px; }
.tl--silver .tl__cup { color: #c9ccd2; box-shadow: 0 0 0 2px #c9ccd2 inset; background: rgba(201, 204, 210, .1); }
.tl__year { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; letter-spacing: .06em; color: var(--band-accent); padding-top: 4px; }
.tl__name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 5vw, 2.6rem); line-height: .95; }
.tl__comp { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--band-mute); }
.tl__desc { color: var(--band-mute); font-size: .92rem; max-width: 38ch; margin-top: 4px; }
.tl__facts { display: grid; gap: 2px; margin-top: 10px; font-size: .88rem; color: var(--band-mute); }
.tl__facts b { color: var(--band-fg); font-weight: 600; }

@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 24px; }
  .timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 39px; height: 2px; background: var(--band-line); }
  .tl { padding: 0; gap: 6px; }
  .tl::before { display: none; }
  .tl__cup { position: relative; width: 80px; height: 80px; margin-bottom: 14px; background: var(--band); }
  .tl__cup svg { width: 44px; height: 44px; }
}

.feats { display: grid; gap: 12px; margin-top: clamp(40px, 7vw, 72px); }
@media (min-width: 720px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.feat {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px;
  border: 1px solid var(--band-line); border-radius: var(--radius-card); background: color-mix(in srgb, var(--band-fg) 3%, transparent);
}
.feat__star { width: 40px; height: 40px; flex: none; color: var(--band-accent); }
.feat__star svg { width: 100%; height: 100%; }
.feat h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; line-height: 1; }
.feat p { color: var(--band-mute); margin-top: 6px; font-size: .92rem; }
.tl { align-content: start; }
.tl__name { overflow-wrap: anywhere; }
@media (min-width: 900px) {
  .tl__name { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
  .tl__cup svg { width: 52px; height: 52px; }
}

/* franja: logos completos y legibles */
.sponsor-strip__in { min-height: 46px; gap: 22px; }
.sponsor-strip img { height: 30px; }
@media (max-width: 480px) { .sponsor-strip__in { gap: 14px; } .sponsor-strip img { height: 26px; } .sponsor-strip__label { padding-right: 12px; font-size: 10px; } }

/* tarjeta de sponsor principal: logo arriba, a lo ancho */
.sponsor-main { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 16px; align-items: start; }
.sponsor-main__logo { aspect-ratio: auto; height: clamp(120px, 22vw, 150px); padding: 18px 24px; border: 1px solid var(--card-border); border-radius: 6px; }
.sponsor-main__logo img { max-height: 100%; max-width: 100%; width: auto; height: auto; }
.sponsor-main__body { padding: 0 4px 4px; }
.sponsor-main__name { font-size: 1.9rem; }
.sponsor-main__logo { display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sponsor-main__logo img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.sponsor-strip__in { min-height: 54px; }
.sponsor-strip img { height: 38px; }
@media (max-width: 480px) { .sponsor-strip__in { min-height: 48px; } .sponsor-strip img { height: 32px; } }
/* franja: logos a la escala de la palabra "Sponsors" */
.sponsor-strip__in { min-height: 40px; gap: 18px; }
.sponsor-strip img { height: 22px; }
@media (max-width: 480px) { .sponsor-strip__in { min-height: 38px; gap: 12px; } .sponsor-strip img { height: 20px; } }

/* ---------- HISTORIAL DE PARTIDOS ---------- */
:root { --res-g: #2f9e5b; --res-e: #8a8f98; --res-p: #d1453b; }
.band--closing { border-top: 1px solid var(--line); }
.shot__cat { color: #fff; }

.hfilters { display: grid; gap: 12px; margin-bottom: 28px; align-items: end; }
@media (min-width: 720px) { .hfilters { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; } }
.hf { display: grid; gap: 6px; min-width: 0; }
.hf > span:first-child { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.hf .select select { width: 100%; }
.hf__reset { min-height: 44px; }

.hsum {
  display: grid; gap: 18px; padding: clamp(18px, 3vw, 28px);
  background: var(--card); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); border-radius: var(--radius-card);
}
.hsum--h2h { border-top: 4px solid var(--accent); }
.hsum__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.hsum__head h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 4.5vw, 2.6rem); line-height: 1; }
.hsum__cat { font-size: .85rem; color: var(--mute); }
.hbadge {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 99px;
  font-size: 12px; font-weight: 700; letter-spacing: .04em; background: var(--ink-3); color: var(--chalk);
}
.hbadge svg { width: 16px; height: 16px; }
.hbadge--champ { background: var(--accent); color: var(--on-accent); }
.hsum__nums { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.hsum__nums div { padding: 12px 4px 0; text-align: center; }
.hsum__nums dt { font-size: 11px; font-weight: 700; letter-spacing: .1em; color: var(--mute); }
.hsum__nums dd { margin: 2px 0 0; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 5vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.hsum__nums div:nth-child(2) dd { color: var(--res-g); }
.hsum__nums div:nth-child(4) dd { color: var(--res-p); }
.hsum .wdl { margin-top: 0; }
.hsum .wdl__bar .w { background: var(--res-g); }
.hsum .wdl__bar .d { background: var(--res-e); }
.hsum .wdl__bar .l { background: var(--res-p); }
.hsum .wdl__legend .w::before { background: var(--res-g); }
.hsum .wdl__legend .d::before { background: var(--res-e); }
.hsum .wdl__legend .l::before { background: var(--res-p); }
.hsum .wdl__legend span:last-child::before { display: none; }
.hsum .wdl__legend span:last-child { margin-left: auto; font-weight: 700; color: var(--chalk); }

.hrec { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 16px; }
@media (min-width: 900px) { .hrec { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.hrec li { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--radius-card); background: var(--ink-2); border: 1px solid var(--line); min-width: 0; }
.hrec__k { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.hrec b { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1.05; }
.hrec__v { font-size: .82rem; color: var(--mute); overflow-wrap: anywhere; }

.camps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 28px 0; }
@media (min-width: 900px) { .camps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.camp {
  position: relative; display: grid; gap: 4px; width: 100%; height: 100%; text-align: left; padding: 14px 16px; cursor: pointer;
  background: var(--card); border: 1px solid var(--card-border); border-radius: var(--radius-card); box-shadow: var(--card-shadow);
  font: inherit; color: var(--chalk); transition: transform .2s var(--ease), border-color .2s;
}
.camp:hover { transform: translateY(-2px); border-color: var(--accent); }
.camp.is-champ { border-top: 4px solid var(--accent); }
.camp__cup { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; color: var(--accent); }
.camp__cup svg { width: 100%; height: 100%; }
.camp__name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; line-height: 1.05; padding-right: 30px; }
.camp__res { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.camp.is-champ .camp__res { color: var(--accent); }
.camp.is-live .camp__res { color: var(--res-g); }
.camp__rec { font-size: .85rem; font-variant-numeric: tabular-nums; color: var(--chalk); margin-top: 4px; }

.tgroup { border-top: 1px solid var(--line); }
.tgroup:last-of-type { border-bottom: 1px solid var(--line); }
.tgroup > summary {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 4px 12px; padding: 16px 0; cursor: pointer; list-style: none;
}
.tgroup > summary::-webkit-details-marker { display: none; }
.tgroup > summary::after { content: ""; grid-column: 3; grid-row: 1; width: 9px; height: 9px; border-right: 2px solid var(--mute); border-bottom: 2px solid var(--mute); transform: rotate(45deg); transition: transform .2s; margin-right: 4px; }
.tgroup[open] > summary::after { transform: rotate(-135deg); }
.tgroup__cup { grid-row: 1 / span 2; width: 30px; height: 30px; color: var(--accent); }
.tgroup__cup svg { width: 100%; height: 100%; }
.tgroup__name { grid-column: 2; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.5rem; line-height: 1; }
.tgroup:not(.is-champ) .tgroup__name, .tgroup:not(.is-champ) .tgroup__res, .tgroup:not(.is-champ) .tgroup__rec { grid-column: 1 / 3; }
.tgroup__res { grid-column: 2; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--mute); }
.tgroup.is-champ .tgroup__res { color: var(--accent); }
.tgroup__rec { grid-column: 2; font-size: .85rem; color: var(--mute); font-variant-numeric: tabular-nums; }
@media (min-width: 900px) {
  .tgroup > summary { grid-template-columns: auto minmax(0, 1fr) auto auto auto; }
  .tgroup__cup { grid-row: 1; }
  .tgroup__name, .tgroup:not(.is-champ) .tgroup__name { grid-column: 2; }
  .tgroup__res, .tgroup:not(.is-champ) .tgroup__res { grid-column: 3; grid-row: 1; }
  .tgroup__rec, .tgroup:not(.is-champ) .tgroup__rec { grid-column: 4; grid-row: 1; min-width: 15rem; text-align: right; }
  .tgroup > summary::after { grid-column: 5; }
  .tgroup:not(.is-champ) > summary { padding-left: 42px; }
}

.mlist { display: grid; gap: 6px; padding-bottom: 16px; }
.mr {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 2px 12px;
  padding: 10px 12px; border-radius: 6px; background: var(--ink-2); border-left: 3px solid transparent;
}
.mr__stage { grid-column: 1 / -1; font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
.mr__rival { display: flex; align-items: center; gap: 8px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.mr__cup { width: 20px; height: 20px; color: var(--accent); flex: none; }
.mr__cup svg { width: 100%; height: 100%; }
.mr__score { display: flex; align-items: baseline; gap: 6px; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; line-height: 1; font-variant-numeric: tabular-nums; }
.mr__score i { font-style: normal; color: var(--mute); font-weight: 600; }
.mr__res { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; color: #fff; font-size: 12px; font-weight: 800; }
.mr--G .mr__res { background: var(--res-g); }
.mr--E .mr__res { background: var(--res-e); }
.mr--P .mr__res { background: var(--res-p); }
.mr__note { grid-column: 1 / -1; font-size: .82rem; color: var(--mute); }
.mr.is-final { border-left-color: var(--accent); }
.mr.is-final .mr__stage { color: var(--accent); font-weight: 700; }
.mr.is-key { border-left-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, var(--ink-2)); }
.mr.is-key .mr__note { color: var(--chalk); font-weight: 600; }
@media (min-width: 720px) {
  .mr { grid-template-columns: 12rem minmax(0, 1fr) auto auto; }
  .mr__stage { grid-column: 1; }
  .mr__note { grid-column: 2 / -1; }
}

/* colaboradores: tarjetas con logo, rubro e Instagram */
.sponsors-minor { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)) !important; gap: 12px; }
.sponsor-minor { display: grid; grid-template-columns: 88px minmax(0, 1fr); align-items: center; gap: 16px; padding: 14px; text-align: left; place-items: initial; }
.sponsor-minor__logo { width: 88px; max-width: 88px; height: 88px; aspect-ratio: auto; border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.sponsor-minor__logo img { width: 100%; height: 100%; object-fit: contain; filter: none !important; }
.sponsor-minor__logo.is-dark { background: #121418; padding: 8px; }
.sponsor-minor__body { display: grid; gap: 2px; min-width: 0; }
.sponsor-minor__name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; line-height: 1; color: var(--chalk); }
.sponsor-minor__rubro { font-size: .85rem; color: var(--mute); }
.sponsor-minor__link { font-size: 11px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--accent); margin-top: 4px; overflow-wrap: anywhere; }

/* ---------- NOSOTROS ---------- */
.us__lead { font-size: clamp(1.25rem, 2.6vw, 1.7rem); line-height: 1.45; font-weight: 500; max-width: 38ch; margin-bottom: clamp(32px, 6vw, 56px); text-wrap: pretty; }
.us__photo { margin: 0 0 clamp(48px, 8vw, 88px); }
.us__photo img { width: 100%; max-width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius-card); display: block; }
.us__photo figcaption { margin-top: 10px; font-size: .85rem; color: var(--mute); }
.us__blocks { display: grid; gap: clamp(40px, 6vw, 64px); }
.us__block { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 22px; }
.us__kicker { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3.6vw, 2.2rem); line-height: 1; color: var(--chalk); }
.us__kicker::before { content: ""; display: block; width: 36px; height: 4px; background: var(--accent); margin-bottom: 14px; border-radius: 2px; }
.us__text { display: grid; gap: 16px; max-width: 64ch; min-width: 0; }
.us__text p { font-size: 1.05rem; line-height: 1.7; color: var(--chalk); opacity: .88; }
.us__quote {
  margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.7rem, 4.4vw, 2.6rem); line-height: 1.02; color: var(--accent); max-width: 22ch; text-wrap: balance;
}
@media (min-width: 900px) {
  .us__block { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; }
  .us__kicker { position: sticky; top: 140px; align-self: start; }
}
.us__end { margin-top: clamp(64px, 10vw, 112px); padding: clamp(32px, 6vw, 56px); border-radius: var(--radius-card); background: #0c0e11; color: #f1eee8; display: grid; gap: 10px; text-align: center; justify-items: center; }
.us__pre { font-size: 1.05rem; line-height: 1.6; max-width: 46ch; opacity: .85; }
.us__big { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.6rem, 8vw, 5rem); line-height: .95; margin-top: 10px; text-wrap: balance; }
.us__motto { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(1.2rem, 2.6vw, 1.6rem); color: #E9610B; }

/* ---------- Leyenda en el plantel ---------- */
.player--leyenda .player__photo { box-shadow: inset 0 0 0 3px var(--accent); }
.player--leyenda .player__photo img { filter: grayscale(.25) contrast(1.05); }
.player__badge--leyenda { font-size: .95rem; }

/* ---------- Foto de cada título ---------- */
.tl__photo {
  display: block; width: 100%; max-width: 420px; margin-top: 16px; padding: 0; border: 0; cursor: zoom-in;
  border-radius: 10px; overflow: hidden; aspect-ratio: 3 / 2; background: rgba(255,255,255,.04);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08);
}
.tl__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.tl__photo:hover img { transform: scale(1.04); }
.tl__photo:focus-visible { outline: 2px solid var(--band-accent); outline-offset: 3px; }
@media (min-width: 900px) {
  .timeline .tl { display: flex; flex-direction: column; }
  .timeline .tl__facts { margin-bottom: 16px; }
  .timeline .tl__photo { margin-top: auto; }
}

/* ---------- Reloj de cuenta regresiva ---------- */
.clock {
  display: flex; justify-content: center; align-items: flex-start; gap: 6px;
  padding: 16px 10px 14px; border-radius: 12px; background: #0c0e11;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 10px 30px rgba(0,0,0,.5);
}
.clock__unit { display: grid; justify-items: center; gap: 6px; min-width: 0; flex: 1 1 0; max-width: 92px; }
.clock__num {
  display: block; width: 100%; text-align: center; padding: 6px 0 4px; border-radius: 8px;
  background: linear-gradient(180deg, #1b1f25 0 50%, #15181d 50% 100%);
  font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 8vw, 3.1rem); line-height: 1;
  font-variant-numeric: tabular-nums; letter-spacing: .02em; color: var(--accent);
  text-shadow: 0 0 14px color-mix(in srgb, var(--accent) 55%, transparent);
}
.clock__num.tick { animation: clockTick .35s ease-out; }
@keyframes clockTick { from { transform: translateY(-4px); opacity: .35; } to { transform: none; opacity: 1; } }
.clock__lbl { font-family: var(--font-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: #9aa0a8; }
.clock__sep {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 6vw, 2.4rem); line-height: 1;
  color: var(--accent); padding-top: 8px; animation: clockBlink 1s steps(1) infinite;
}
@keyframes clockBlink { 50% { opacity: .2; } }
.clock__live { text-align: center; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; text-transform: uppercase; color: var(--accent); }
@media (prefers-reduced-motion: reduce) { .clock__num.tick, .clock__sep { animation: none; } }

/* =====================================================================
   TARJETAS DE JUGADOR (estilo club: fondo naranja, jugador recortado)
   ===================================================================== */
.squad--cards { gap: 12px; }
@media (min-width: 640px) { .squad--cards { gap: 18px; } }
.pcard {
  --card: #08090b; --card-2: #020203; --card-ink: #ffffff;
  display: flex; flex-direction: column; gap: 0; overflow: hidden; border-radius: 14px;
  color: var(--card-ink); container-type: inline-size;
  background:
    linear-gradient(118deg, transparent 0 30%, rgba(233,97,11,.13) 30% 44%, transparent 44% 58%, rgba(233,97,11,.06) 58% 71%, transparent 71%),
    linear-gradient(118deg, transparent 0 12%, rgba(255,255,255,.025) 12% 22%, transparent 22%),
    radial-gradient(110% 70% at 50% 14%, #15171b 0%, var(--card) 55%, var(--card-2) 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 10px 24px -14px rgba(0,0,0,.55);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(233,97,11,.55) inset, 0 18px 32px -16px rgba(0,0,0,.6); }
.pcard__art {
  position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; isolation: isolate;
}
.pcard__art::before { /* escudo de fondo, como marca de agua */
  content: ""; position: absolute; z-index: -1; width: 92%; aspect-ratio: 1; right: -24%; top: -8%;
  background: var(--crest) center / contain no-repeat; opacity: .07; filter: grayscale(1) brightness(2);
}
.pcard__cut, .pcard__photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
  transition: transform .6s var(--ease);
}
.pcard__cut { filter: drop-shadow(0 8px 18px rgba(0,0,0,.28)); }
.pcard__photo { mix-blend-mode: normal; }
.pcard:hover .pcard__cut, .pcard:hover .pcard__photo { transform: scale(1.035); transform-origin: 50% 20%; }
.pcard__empty { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 10px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.8); }
.pcard__ghost { width: 44%; aspect-ratio: 1; background: var(--crest) center / contain no-repeat; opacity: .35; filter: grayscale(1) brightness(0) invert(1); }
.pcard__badge {
  position: absolute; top: 10px; left: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #0c0e11; font-family: var(--font-display); font-weight: 800; font-size: 1rem; line-height: 1;
  box-shadow: 0 0 0 2px #0c0e11;
}
.pcard .tag--demo { position: absolute; top: 10px; right: 10px; }
.pcard__foot {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 8px;
  padding: 2px 14px 14px; margin-top: -2px; position: relative;
}
.pcard__id { min-width: 0; flex: 1 1 0; display: grid; gap: 1px; container-type: inline-size; }
.pcard__first { color: var(--accent); font-family: var(--font-display); font-weight: 600; font-size: clamp(.9rem, 10cqi, 1.2rem); line-height: 1.05; letter-spacing: .01em; }
.pcard__last {
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: .92; letter-spacing: .005em;
  font-size: min(2.1rem, calc(140cqi / var(--len))); white-space: nowrap;
}
.pcard__meta { margin-top: 6px; font-size: clamp(10.5px, 7cqi, 12px); line-height: 1.3; color: rgba(255,255,255,.7); }
.pcard__meta b { font-weight: 700; color: var(--accent); }
.pcard__num {
  flex: none; font-family: var(--font-display); font-weight: 800; line-height: .8; letter-spacing: -.01em;
  font-size: clamp(2.6rem, 26cqi, 4rem); font-variant-numeric: tabular-nums; color: var(--accent);
}
.pcard__num--star { font-size: clamp(2rem, 18cqi, 3rem); }
/* Leyenda: mismo estilo con borde naranja */
.pcard--leyenda { box-shadow: 0 0 0 2px var(--accent) inset, 0 10px 24px -14px rgba(0,0,0,.55); }
@media (prefers-reduced-motion: reduce) { .pcard, .pcard__cut, .pcard__photo { transition: none; } }

/* Profundidad: contraluz naranja detrás del jugador, borde de luz y viñeta */
.pcard__art::after {
  content: ""; position: absolute; z-index: -1; left: 50%; top: 8%; width: 95%; aspect-ratio: 1; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(233,97,11,.38), rgba(233,97,11,.12) 55%, transparent 100%);
  filter: blur(6px);
}
.pcard__cut {
  filter:
    drop-shadow(0 0 1px rgba(255,170,110,.55))
    drop-shadow(0 0 10px rgba(233,97,11,.22))
    drop-shadow(0 22px 24px rgba(0,0,0,.65))
    contrast(1.04) saturate(1.04);
}
.pcard__art > .pcard__vig { display: none; }
.pcard { position: relative; }
.pcard::after { /* viñeta suave en los bordes */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 40px rgba(0,0,0,.55);
}

/* Figura con foto recortada (mismo tratamiento que las tarjetas del plantel) */
.feature__photo--cut {
  isolation: isolate;
  background:
    linear-gradient(118deg, transparent 0 30%, rgba(233,97,11,.13) 30% 44%, transparent 44% 58%, rgba(233,97,11,.06) 58% 71%, transparent 71%),
    linear-gradient(118deg, transparent 0 12%, rgba(255,255,255,.025) 12% 22%, transparent 22%),
    radial-gradient(110% 70% at 50% 14%, #15171b 0%, #08090b 55%, #020203 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset, 0 20px 40px -20px rgba(0,0,0,.7);
}
.feature__photo--cut::before {
  content: ""; position: absolute; z-index: -1; width: 80%; aspect-ratio: 1; right: -18%; top: -6%;
  background: var(--crest) center / contain no-repeat; opacity: .07; filter: grayscale(1) brightness(2);
}
.feature__photo--cut::after {
  inset: 0; z-index: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(closest-side at 50% 34%, rgba(233,97,11,.32), rgba(233,97,11,.1) 55%, transparent 100%);
  box-shadow: inset 0 0 60px rgba(0,0,0,.55);
}
.feature__photo--cut .feature__cut {
  position: absolute; z-index: 1; left: 0; top: 4%; width: 100%; height: 112%; object-fit: cover; object-position: 50% 0;
  -webkit-mask-image: linear-gradient(180deg, #000 66%, transparent 92%); mask-image: linear-gradient(180deg, #000 66%, transparent 92%);
  filter:
    drop-shadow(0 0 1px rgba(255,170,110,.55))
    drop-shadow(0 0 14px rgba(233,97,11,.25))
    drop-shadow(0 26px 30px rgba(0,0,0,.65))
    contrast(1.04) saturate(1.04);
}
.feature__photo--cut .feature__num { z-index: 2; }
.feature__text { display: grid; gap: 12px; max-width: 58ch; color: var(--band-mute, #b9bdc4); font-size: 1.02rem; line-height: 1.6; }
.feature__text p:first-child { color: var(--band-fg, #fff); font-size: 1.12rem; }
.feature__photo--cut .feature__cut--fit { top: 2%; height: 100%; -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 99%); mask-image: linear-gradient(180deg, #000 78%, transparent 99%); }

/* Figura con estadísticas: foto + números en una columna, texto en la otra */
.feature__media { display: grid; gap: 20px; min-width: 0; align-content: start; }
.feature__stats {
  display: grid; gap: 16px; padding: 20px; border-radius: var(--radius);
  background: #08090b; box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset;
}
.feature__stats .feature__facts { margin: 0; }
.feature__stats .feature__chart { margin: 0; }
.feature__stats .feature__note { margin: 0; font-size: .9rem; }
@media (min-width: 900px) {
  .feature--stats { align-items: start; }
  .feature--stats .feature__body { padding-top: 8px; }
  .feature--flip.feature--stats .feature__media { order: 2; }
}
@media (max-width: 899px) {
  .feature--stats .feature__media { display: contents; }
  .feature--stats .feature__stats { order: 3; }
  .feature--stats .feature__body { order: 2; }
}

/* =====================================================================
   FICHA DE JUGADOR (se abre al tocar una tarjeta del plantel)
   ===================================================================== */
.pcard { position: relative; }
.pcard__open {
  position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; padding: 0; border: 0;
  background: transparent; cursor: pointer; border-radius: inherit;
}
.pcard__open:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.pmodal {
  width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0;
  background: rgba(5,6,8,.97); color: #f3f1ec;
}
.pmodal::backdrop { background: rgba(0,0,0,.8); }
.pmodal[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.pm__top, .pm__nav {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px;
}
.pm__nav { justify-content: center; padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px)); }
.pm__nav .icon-btn, .pm__top .icon-btn { border-color: rgba(255,255,255,.2); color: #fff; }
.pm__count { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; color: #9aa0a8; }
.pm__stage { overflow-y: auto; overscroll-behavior: contain; padding: 0 16px 8px; touch-action: pan-y; }
.pm__card { display: grid; gap: 22px; max-width: 1040px; margin: 0 auto; align-items: start; }
@media (min-width: 860px) {
  .pm__card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 44px; align-items: center; min-height: 100%; }
  .pm__stage { display: grid; align-items: center; padding: 0 32px 8px; }
}
.pm__art { max-width: 460px; width: 100%; margin: 0 auto; }
.pm__art.pcard:hover { transform: none; }
.pm__art .pcard__art { aspect-ratio: 4 / 4.6; }
.pm__num {
  position: absolute; right: 14px; bottom: 6px; z-index: 2; font-family: var(--font-display); font-weight: 800; line-height: .85;
  font-size: clamp(4.5rem, 22vw, 7rem); color: transparent; -webkit-text-stroke: 2px var(--accent); pointer-events: none;
}
.pm__body { display: grid; gap: 14px; min-width: 0; }
.pm__body .eyebrow { color: var(--accent); }
.pm__name { font-family: var(--font-display); text-transform: uppercase; line-height: .9; display: grid; }
.pm__name span { font-weight: 600; font-size: clamp(1.4rem, 5vw, 2rem); color: var(--accent); }
.pm__name b { font-weight: 800; font-size: clamp(2.6rem, 10vw, 4.4rem); overflow-wrap: anywhere; }
.pm__full { font-size: .85rem; color: #9aa0a8; margin-top: -6px; }
.pm__quote { border-left: 3px solid var(--accent); padding-left: 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; text-transform: uppercase; line-height: 1.1; }
.pm__desc, .pm__note { color: #b9bdc4; }
.pm__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.12); }
.pm__facts > div { padding: 12px 10px 12px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.pm__facts .pm__big { grid-column: 1 / -1; }
.pm__facts dt { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #9aa0a8; order: 2; }
.pm__facts > div { display: flex; flex-direction: column; gap: 4px; }
.pm__facts dd { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; }
.pm__facts dd small { font-family: var(--font-body, inherit); font-weight: 500; font-size: .8rem; color: #9aa0a8; margin-left: 4px; }
.pm__facts .pm__big dd { font-size: clamp(3.4rem, 12vw, 4.6rem); color: var(--accent); }
.pm__chart ol { height: 84px; }
.pm__chart figcaption, .pm__chart .feature__key { color: #9aa0a8; }
.pm__chart { --bar: #3a3f47; --line: rgba(255,255,255,.12); --mute: #9aa0a8; }
.pm__chart .feature__key { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 10.5px; margin-top: 6px; }
.pm__legend { display: inline-flex; align-items: center; gap: 6px; }
.pm__legend i { width: 10px; height: 10px; border-radius: 2px; background: var(--accent); }
.pm__titles h3 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #9aa0a8; margin-bottom: 8px; }
.pm__titles ul { display: flex; flex-wrap: wrap; gap: 8px; }
.pm__titles li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 999px; background: rgba(233,97,11,.12); color: #fff; font-weight: 600; font-size: .9rem; box-shadow: 0 0 0 1px rgba(233,97,11,.35) inset; }
.pm__titles .feature__trophy { width: 20px; height: 20px; color: var(--accent); display: inline-grid; }
.pm__titles .feature__trophy svg { width: 20px; height: 20px; }
.pm__facts dd { margin: 0; }
@media (max-width: 859px) { .pm__art { max-width: 300px; } .pm__facts dd { font-size: 1.6rem; } }

/* Récords y curiosidades */
.recs { margin-top: 28px; }
.recs__title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 4vw, 2rem); line-height: 1; }
.recs .hrec { margin-top: 14px; }
@media (min-width: 900px) { .recs .hrec { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.recs .hrec b { font-size: 1.7rem; }
.recs__scorers { margin-top: 18px; padding: 16px 18px; border-radius: var(--radius-card); background: var(--ink-2); border: 1px solid var(--line); }
.recs__scorers h4 { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.recs__scorers ol { display: grid; gap: 0 28px; }
@media (min-width: 760px) { .recs__scorers ol { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.recs__scorers li { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) auto; gap: 10px; align-items: baseline; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.recs__t { color: var(--mute); font-size: .82rem; }
.recs__n { font-weight: 600; min-width: 0; overflow-wrap: anywhere; }
.recs__scorers b { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--accent); }
/* Un día como hoy */
.anniv { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; padding: 14px 18px; border-radius: var(--radius-card);
  background: linear-gradient(90deg, rgba(233,97,11,.22), rgba(233,97,11,.06)); box-shadow: 0 0 0 1px rgba(233,97,11,.45) inset; }
.anniv__cup { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--accent); color: #0c0e11; }
.anniv__cup svg { width: 22px; height: 22px; }
.anniv p { font-size: 1rem; line-height: 1.4; }
.anniv b { color: var(--accent); }

/* Saludo de cumpleaños */
.bday { margin: auto; padding: 0; border: 0; background: transparent; color: #fff; width: min(92vw, 440px); max-height: 94vh; overflow: visible; }
.bday::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(3px); }
.bday[open] { display: grid; gap: 14px; animation: bdayIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes bdayIn { from { opacity: 0; transform: translateY(18px) scale(.96); } to { opacity: 1; transform: none; } }
.bday__img { display: block; width: 100%; height: auto; max-height: calc(94vh - 130px); object-fit: contain; border-radius: 16px;
  box-shadow: 0 0 0 1px rgba(233,97,11,.5), 0 30px 60px rgba(0,0,0,.6); }
.bday__x { position: absolute; top: -14px; right: -14px; z-index: 2; background: #0c0e11; color: #fff; border-color: rgba(255,255,255,.3); width: 44px; height: 44px; }
.bday__actions { display: grid; gap: 10px; justify-items: center; text-align: center; }
.bday__actions p { font-size: .95rem; color: #d7d9dd; }
.bday__actions b { color: var(--accent); }
.bday__actions .btn { width: 100%; justify-content: center; }
.bday__card { border-radius: 16px; }
.bday__big { padding: 14px 18px 18px; font-family: var(--font-display); font-weight: 800; font-size: 2rem; text-transform: uppercase; line-height: .95; }
@media (prefers-reduced-motion: reduce) { .bday[open] { animation: none; } }

/* =====================================================================
   TRANSICIÓN ENTRE SECCIONES (telón con bastones)
   ===================================================================== */
.tx { position: fixed; inset: 0; z-index: 9999; pointer-events: none; display: none; overflow: hidden; }
.tx.is-on { display: grid; place-items: center; pointer-events: auto; background: #050608;
  animation: txIn .38s cubic-bezier(.7,0,.2,1) both; }
.tx.is-intro.is-on { animation: none; }
.tx.is-out { animation: txOut .55s cubic-bezier(1,0,.25,1) forwards; }
@keyframes txIn { from { transform: translateY(-105%); } to { transform: none; } }
@keyframes txOut { from { transform: none; } to { transform: translateY(105%); } }
.tx__bars { position: absolute; inset: 0; display: flex; }
.tx__b { flex: 1; height: 100%; background: var(--accent, #E9610B); transform: translateY(-100%); }
.tx__b--d { background: #121418; }
.tx.is-on .tx__b { animation: txBar .3s ease-out forwards; animation-delay: calc(.12s + var(--d) * .07s); }
.tx.is-intro.is-on .tx__b { animation-delay: calc(.55s + var(--d) * .08s); }
@keyframes txBar { from { transform: translateY(-100%); } to { transform: none; } }
.tx__logo { position: relative; z-index: 1; width: clamp(110px, 22vw, 170px); height: auto; filter: drop-shadow(0 10px 30px rgba(0,0,0,.6)); }
.tx.is-on .tx__logo { animation: txLogo .45s steps(1) both; }
@keyframes txLogo { 0% { transform: scale(.5); } 33% { transform: scale(.8); } 66% { transform: scale(1.2); } 100% { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .tx { display: none !important; } }

/* =====================================================================
   ÚLTIMO PARTIDO
   ===================================================================== */
.current__side { display: grid; gap: 20px; min-width: 0; align-content: start; }
.last { display: grid; gap: 16px; padding: clamp(18px, 4vw, 26px); border-radius: var(--radius-card);
  background: #0c0e11; color: #f3f1ec; box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 10px 30px rgba(0,0,0,.35); border-top: 4px solid var(--accent); }
.last__eyebrow { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: #9aa0a8; }
.last__eyebrow span:first-child { color: var(--accent); font-weight: 700; }
.last__score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 10px; text-align: center; }
.last__team { display: grid; justify-items: center; gap: 8px; min-width: 0; }
.last__team img, .last__team .crest, .last__team .crest-slot { width: 64px; height: 64px; object-fit: contain; }
.last__team b { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.05rem, 4vw, 1.35rem); line-height: 1; overflow-wrap: anywhere; }
.last__res { display: grid; justify-items: center; gap: 6px; }
.last__res strong { font-family: var(--font-display); font-weight: 800; font-size: clamp(3rem, 12vw, 4.2rem); line-height: .9; font-variant-numeric: tabular-nums; }
.last__res strong i { font-style: normal; color: #5f646c; margin: 0 .12em; }
.last__badge { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.last__badge--victoria { background: var(--accent); color: #0c0e11; }
.last__badge--empate { background: #3a3f47; color: #fff; }
.last__badge--derrota { background: #5b1f1f; color: #fff; }
.last__cols { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.1); padding-top: 12px; }
.last__list { display: grid; gap: 8px; align-content: start; font-size: .92rem; min-width: 0; padding-right: 10px; }
.last__list--rival { padding: 0 0 0 12px; border-left: 1px solid rgba(255,255,255,.1); color: #b9bdc4; }
.last__list li { display: flex; align-items: flex-start; gap: 8px; line-height: 1.25; }
.last__list span { min-width: 0; overflow-wrap: anywhere; }
.last__ico { flex: none; width: 17px; height: 17px; color: #1b1d21; margin-top: 1px; }
.last__card { flex: none; width: 12px; height: 16px; border-radius: 2px; background: #f5c400; margin: 1px 2px 0 3px; }
.last__card--roja { background: #d8232a; }
.last__fig { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; padding: 10px; margin: 2px -4px -4px;
  border: 0; border-radius: 14px; text-align: left; color: inherit; cursor: pointer;
  background: linear-gradient(90deg, rgba(233,97,11,.2), rgba(233,97,11,.04)); box-shadow: 0 0 0 1px rgba(233,97,11,.4) inset; transition: background .25s; }
.last__fig:hover { background: linear-gradient(90deg, rgba(233,97,11,.3), rgba(233,97,11,.08)); }
.last__fig:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.last__figart { display: block; border-radius: 10px; }
.last__figart:hover { transform: none; }
.last__figart .pcard__art { display: block; aspect-ratio: 1; width: 100%; }
.last__figtxt { display: grid; gap: 3px; min-width: 0; }
.last__star { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.last__figtxt b { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.55rem; line-height: .95; }
.last__figtxt small { color: #b9bdc4; font-size: .85rem; }
.last__figtxt em { font-style: normal; font-size: .8rem; font-weight: 600; color: var(--accent); margin-top: 2px; }

/* Torneo: dos columnas parejas (partidos | posición + tabla + cruces) */
.current__main { display: grid; gap: 24px; min-width: 0; align-content: start; }
.current__main .standing-now { margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.current__main .playoff { margin-top: 8px; }
.current__main .playoff__head h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
@media (min-width: 960px) {
  .current { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 40px; align-items: stretch; }
  .current__main .playoff__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .current__side { display: flex; flex-direction: column; }
  .current__side .last { flex: 1; align-content: space-between; }
  .current__side .last__figart { width: 100%; }
  .current__side .last__fig { grid-template-columns: 150px minmax(0, 1fr); }
}

/* =====================================================================
   VOTACIÓN CAMISETA 2027
   ===================================================================== */
.vote { display: grid; gap: 20px; }
@media (min-width: 860px) { .vote { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
.vote__opt { display: grid; overflow: hidden; border-radius: var(--radius-card); background: #0c0e11; color: #f3f1ec;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 14px 34px -18px rgba(0,0,0,.6); transition: box-shadow .3s, transform .3s; }
.vote__opt:hover { transform: translateY(-3px); }
.vote__opt.is-mine { box-shadow: 0 0 0 3px var(--accent), 0 14px 34px -18px rgba(0,0,0,.6); }
.vote__img { position: relative; display: block; padding: 0; border: 0; background: #050608; cursor: zoom-in; }
.vote__img img { display: block; width: 100%; height: auto; aspect-ratio: 896 / 678; object-fit: cover; }
.vote__zoom { position: absolute; right: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 600;
  background: rgba(0,0,0,.7); color: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.25) inset; }
.vote__img:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.vote__body { display: grid; gap: 10px; padding: 18px 20px 20px; }
.vote__k { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.vote__body h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 4vw, 2.1rem); line-height: 1; }
.vote__pts { display: grid; gap: 4px; color: #b9bdc4; font-size: .92rem; }
.vote__pts li::before { content: "— "; color: var(--accent); }
.vote__btn { justify-self: stretch; justify-content: center; margin-top: 6px; }
.vote__btn:disabled { opacity: 1; cursor: default; background: #23262c; color: #b9bdc4; }
.vote__opt.is-mine .vote__btn:disabled { background: var(--accent); color: #0c0e11; }
.vote__res { display: grid; gap: 6px; }
.vote__bar { height: 10px; border-radius: 999px; background: #23262c; overflow: hidden; }
.vote__bar i { display: block; height: 100%; width: 0; background: var(--accent); border-radius: inherit; transition: width .8s cubic-bezier(.2,.8,.2,1); }
.vote__pct { font-size: .85rem; color: #d7d9dd; font-weight: 600; }
.vote__msg { margin-top: 18px; text-align: center; color: var(--mute); }
.vote__img { cursor: default; margin: 0; }
.vote__by { display: flex; align-items: center; gap: 14px; margin: -18px 0 24px; }
.vote__by span { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.vote__by img { height: 44px; width: auto; }

/* Tabla: mano a mano desplegable */
.st-team { display: inline-flex; align-items: center; gap: 8px; padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.st-team:hover { color: var(--accent); }
.st-team:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
.st-team__i { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; font-size: 13px; line-height: 1;
  border: 1px solid currentColor; opacity: .45; transition: transform .2s, opacity .2s; }
.st-team:hover .st-team__i, .st-team[aria-expanded="true"] .st-team__i { opacity: 1; color: var(--accent); }
.st-team[aria-expanded="true"] .st-team__i { transform: rotate(45deg); }
.standings__table tr.h2h td { padding: 0 !important; border-bottom: 0; box-shadow: none !important; white-space: normal; text-align: left; }
.h2h__box { margin: 4px 0 10px; padding: 16px; border-radius: 10px; background: #08090b; box-shadow: 0 0 0 1px rgba(233,97,11,.35) inset;
  display: grid; gap: 14px; animation: h2hIn .25s ease-out; color: #f3f1ec; }
@keyframes h2hIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.h2h__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.h2h__last, .h2h__tot { display: grid; gap: 4px; align-content: start; min-width: 0; }
.h2h__k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: #9aa0a8; }
.h2h__score { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; }
.h2h__score--G { color: var(--accent); }
.h2h__v { font-size: .82rem; color: #b9bdc4; line-height: 1.35; }
.h2h__wdl { display: flex; gap: 14px; }
.h2h__wdl b { font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; line-height: 1; }
.h2h__wdl small { font-size: .9rem; margin-left: 2px; color: #9aa0a8; }
.h2h__wdl .w { color: var(--accent); }
.h2h__list { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.1); }
.h2h__list li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: .85rem; color: #b9bdc4; }
.h2h__mini { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: #fff; }
.h2h__mini--G { color: var(--accent); }
.h2h__mini--P { color: #8a8f97; }
.h2h__more { justify-self: start; padding: 0; border: 0; background: none; color: var(--accent); font: inherit; font-weight: 600; font-size: .88rem; cursor: pointer; }
.h2h__more:hover { text-decoration: underline; }
.h2h__empty { font-size: .9rem; color: #b9bdc4; }
@media (max-width: 420px) { .h2h__grid { grid-template-columns: 1fr; } }
.feature__photo--cut .feature__cut--full { top: 0; -webkit-mask-image: none; mask-image: none; }
.feature__num--top { top: 6px; bottom: auto; }
@media (min-width: 960px) {
  .current__side .last { display: flex; flex-direction: column; gap: 16px; }
  .current__side .last__fig { margin-top: auto; }
  .current--nonext .last__fig { grid-template-columns: 1fr; padding: 12px; }
  .current--nonext .last__figart .pcard__art { aspect-ratio: 16 / 10; }
  .current--nonext .last__figart .pcard__cut { object-position: 50% 8%; }
  .current--nonext .last__figtxt { padding: 2px 6px 6px; }
  .current--nonext .last__figtxt b { font-size: 2rem; }
}
@media (min-width: 960px) {
  .current--nonext .last__fig { flex: 1; display: flex; flex-direction: column; align-items: stretch; }
  .current--nonext .last__figart { flex: 1; display: flex; min-height: 260px; }
  .current--nonext .last__figart .pcard__art { aspect-ratio: auto; flex: 1; height: auto; }
  .current--nonext .last__figart .pcard__cut { object-position: 50% 0; }
}

/* Playoffs: fechas de cada llave y camino a la final */
.tie__when { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); font-size: .8rem; font-weight: 600; }
.tie__when span { display: grid; gap: 2px; }
.tie__when small { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.tie.is-mine .tie__when { color: var(--accent); }
.road { display: grid; gap: 0; margin-top: 20px; counter-reset: road; }
.road__step { position: relative; display: grid; gap: 2px; padding: 0 0 16px 28px; }
.road__step::before { content: ""; position: absolute; left: 6px; top: 4px; width: 10px; height: 10px; border-radius: 50%; background: var(--band, #0c0e11); box-shadow: 0 0 0 2px var(--accent); }
.road__step::after { content: ""; position: absolute; left: 10px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.road__step:last-child::after { display: none; }
.road__step b { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.1rem; line-height: 1.1; }
.road__step span { font-size: .88rem; color: var(--mute); }
.road__step small { font-size: .8rem; color: var(--mute); }
.road__step.is-final::before { background: var(--accent); }
.road__step.is-final b { color: var(--accent); }
@media (min-width: 700px) {
  .road { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
  .road__step { padding: 22px 0 0; }
  .road__step::before { left: 0; top: 0; }
  .road__step::after { left: 14px; right: -12px; top: 4px; bottom: auto; width: auto; height: 2px; }
}

.road__step { align-content: start; }

/* =====================================================================
   GOLES EN VIDEO
   ===================================================================== */
.vstrip { margin-top: clamp(36px, 6vw, 56px); }
.vstrip__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; margin-bottom: 14px; }
.vstrip__head h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2rem); line-height: 1; }
.vstrip__head p { color: var(--mute); font-size: .9rem; }
.vstrip__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .vstrip__list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.vstrip__item { display: grid; gap: 8px; width: 100%; padding: 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; }
.vstrip__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 10px; background: #000; box-shadow: 0 0 0 1px rgba(255,255,255,.08); }
.vstrip__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease), filter .3s; filter: brightness(.8); }
.vstrip__item:hover .vstrip__thumb img { transform: scale(1.04); filter: brightness(1); }
.vstrip__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #0c0e11; font-size: 16px; padding-left: 3px; box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.vstrip__min { position: absolute; left: 8px; bottom: 8px; padding: 2px 8px; border-radius: 999px; background: rgba(0,0,0,.75); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: .95rem; }
.vstrip__t { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.1rem; line-height: 1.05; }
.vstrip__item:focus-visible .vstrip__thumb { outline: 3px solid var(--accent); outline-offset: 2px; }
.mr__vid { grid-column: 1 / -1; justify-self: start; margin-top: 4px; padding: 4px 10px; border: 0; border-radius: 999px; background: var(--accent); color: #0c0e11; font: inherit; font-size: .78rem; font-weight: 700; cursor: pointer; }
.vmodal { width: 100%; max-width: 100%; height: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: rgba(5,6,8,.97); color: #f3f1ec; }
.vmodal::backdrop { background: rgba(0,0,0,.85); }
.vmodal[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.vm__top, .vm__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: calc(10px + env(safe-area-inset-top, 0px)) 16px 10px; }
.vm__nav { justify-content: center; gap: 18px; padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px)); font-family: var(--font-mono); font-size: 12px; color: #9aa0a8; }
.vm__top .icon-btn, .vm__nav .icon-btn { border-color: rgba(255,255,255,.2); color: #fff; }
.vm__cap { font-size: .95rem; color: #d7d9dd; }
.vm__cap b { color: var(--accent); }
.vm__stage { display: grid; place-items: center; min-height: 0; padding: 0 12px; }
.vm__stage video { width: 100%; max-width: 1280px; max-height: 100%; border-radius: 8px; background: #000; }

/* =====================================================================
   CUADRO DE PLAYOFFS
   ===================================================================== */
.bk { margin-top: clamp(40px, 7vw, 64px); }
.bk__head { margin-bottom: 18px; display: grid; gap: 6px; }
.bk__head h3 { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.6rem, 3.4vw, 2.3rem); line-height: 1; }
.bk__head p { color: var(--mute); }
.bk__grid { display: grid; gap: 14px; }
.bk__col { display: grid; gap: 12px; align-content: start; }
.bk__round { font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.bk__match { position: relative; display: grid; gap: 6px; padding: 12px; border-radius: 12px; background: #0f1115; border: 1px solid var(--line); }
.bk__match.is-mine { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset, 0 10px 30px -14px rgba(233,97,11,.5); }
.bk__label { font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.bk__team { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 4px 0; }
.bk__crest { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; background: #1b1e24; }
.bk__crest--x { display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; color: #5f646c; box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; }
.bk__team b { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; font-size: 1.05rem; line-height: 1.05; overflow-wrap: anywhere; min-width: 0; }
.bk__team.is-me b { color: var(--accent); }
.bk__team.is-tbd b { color: #8a8f97; font-weight: 600; font-size: .95rem; }
.bk__seed { font-family: var(--font-display); font-weight: 800; font-size: .95rem; color: #8a8f97; }
.bk__team.is-me .bk__seed { color: var(--accent); }
.bk__when { display: grid; gap: 2px; margin-top: 4px; padding-top: 8px; border-top: 1px solid var(--line); font-size: .75rem; color: #9aa0a8; }
.bk__match.is-mine .bk__when { color: var(--accent); }
.bk__final { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 22px 14px; border-radius: 14px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(233,97,11,.28), rgba(233,97,11,.06) 60%, #0f1115); border: 1px solid rgba(233,97,11,.55); }
.bk__cup { width: 64px; height: 64px; color: var(--accent); display: grid; }
.bk__cup svg { width: 64px; height: 64px; }
.bk__final b { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 2rem; line-height: 1; }
.bk__final span { font-weight: 600; }
.bk__final small { color: #9aa0a8; font-size: .8rem; }
@media (min-width: 1000px) {
  .bk__grid { grid-template-columns: 1.15fr 1fr .9fr 1fr 1.15fr; gap: 26px; align-items: center; }
  .bk__col { gap: 18px; }
  .bk__col--qf { gap: 26px; }
  .bk__col--sf, .bk__col--f { align-self: center; }
  /* conectores */
  .bk__col--qf .bk__match::after, .bk__col--sf .bk__match::after { content: ""; position: absolute; top: 50%; width: 14px; height: 2px; background: rgba(233,97,11,.5); }
  .bk__col--l .bk__match::after { right: -15px; }
  .bk__col--r .bk__match::after { left: -15px; }
  .bk__col--qf { position: relative; }
  .bk__col--qf::before { content: ""; position: absolute; top: calc(25% + 14px); bottom: 25%; width: 2px; background: rgba(233,97,11,.5); }
  .bk__col--qf.bk__col--l::before { right: -15px; }
  .bk__col--qf.bk__col--r::before { left: -15px; }
}

/* columna de la tabla: se estira para igualar la altura de los partidos */
@media (min-width: 960px) {
  .current__main { display: flex; flex-direction: column; }
  .current__main .standings { flex: 1; display: flex; flex-direction: column; }
  .current__main .standings .table-scroll { flex: 1; display: flex; }
  .current__main .standings__table { height: 100%; }
}
