/* =====================================================================
   DEUCE — sistema visual "Editorial oscuro"
   ===================================================================== */
:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --surface: #161618;
  --surface-2: #1d1d20;
  --line: rgba(255, 255, 255, 0.09);
  --line-2: rgba(255, 255, 255, 0.16);
  --text: #f3f2ec;
  --muted: #94938d;
  --dim: #5d5c58;
  --accent: #d4ff3a;
  --accent-ink: #0a0a0b;
  --clay: #ff5a2c;
  --grass: #3ecf6e;
  --hard: #3a8dff;
  --indoor: #b78cff;
  --danger: #ff4d4d;

  --f-display: "Archivo", "Arial Narrow", sans-serif;
  --f-serif: "Instrument Serif", Georgia, serif;
  --f-body: "Inter Tight", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1360px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Grano de película sobre todo el sitio */
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 100;
  opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: var(--accent); color: var(--accent-ink); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Tipografía ---------- */
.display {
  font-family: var(--f-display);
  font-stretch: 62%;
  font-weight: 800;
  text-transform: uppercase;
  line-height: .86;
  letter-spacing: -.01em;
  margin: 0;
}
.serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; }
.eyebrow {
  font: 500 11px/1 var(--f-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow b { color: var(--accent); font-weight: 500; }
.muted { color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px;
  border-radius: 999px;
  font: 600 14px/1 var(--f-body);
  letter-spacing: .01em;
  border: 1px solid var(--line-2);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.btn:hover { border-color: var(--text); }
.btn:active { transform: scale(.97); }
.btn--accent { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn--accent:hover { background: var(--text); border-color: var(--text); }
.btn--dark { background: var(--bg); color: var(--text); border-color: var(--bg); }
.btn--dark:hover { background: var(--surface-2); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 13px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .4; pointer-events: none; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.link {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase;
  border-bottom: 1px solid var(--line-2); padding-bottom: 6px;
  transition: border-color .2s, color .2s;
}
.link:hover { color: var(--accent); border-color: var(--accent); }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase;
  padding: 6px 9px; border-radius: 2px;
  background: rgba(10, 10, 11, .72); color: var(--text);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.tag--accent { background: var(--accent); color: var(--accent-ink); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 0 rgba(255, 90, 44, .6); animation: ping 1.6s infinite; flex: none; }
@keyframes ping { 70% { box-shadow: 0 0 0 7px rgba(255, 90, 44, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 90, 44, 0); } }

/* ---------- Ticker de resultados ---------- */
.ticker {
  display: flex; align-items: center;
  height: 34px; border-bottom: 1px solid var(--line);
  background: var(--bg); overflow: hidden;
  font: 500 12px/1 var(--f-mono);
}
.ticker__label {
  flex: none; display: flex; align-items: center; gap: 8px;
  height: 100%; padding: 0 16px; background: var(--accent); color: var(--accent-ink);
  letter-spacing: .12em; font-size: 10.5px;
}
.ticker__label .dot { background: var(--accent-ink); animation: none; }
.ticker__track { flex: 1; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker__items { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.ticker__items:hover { animation-play-state: paused; }
.ticker__items > span { padding: 0 22px; color: var(--muted); white-space: nowrap; border-right: 1px solid var(--line); }
.ticker__items b { color: var(--text); font-weight: 700; }
.ticker__items .t { color: var(--dim); margin-right: 8px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.header.is-scrolled, .header--solid {
  background: rgba(10, 10, 11, .82);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-color: var(--line);
}
.header__inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo {
  font-family: var(--f-display); font-stretch: 62%; font-weight: 900;
  font-size: 30px; letter-spacing: .01em; line-height: 1;
  display: flex; align-items: baseline;
}
.logo i { color: var(--accent); font-style: normal; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 12px;
  font-size: 14px; font-weight: 500; color: var(--muted);
  transition: color .2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--accent); }
.nav sup { font: 600 9px/1 var(--f-mono); color: var(--accent); letter-spacing: .08em; margin-left: 3px; vertical-align: 6px; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative; display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--line-2); transition: border-color .2s, background .2s;
}
.icon-btn:hover { border-color: var(--text); }
.account-btn { display: inline-flex; align-items: center; gap: 8px; max-width: 180px; }
.account-btn span { overflow: hidden; text-overflow: ellipsis; }
.account-btn svg { display: none; flex: none; }
.avatar {
  width: 26px; height: 26px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: var(--accent); color: var(--accent-ink);
  font: 700 12px/1 var(--f-mono); text-transform: uppercase;
}
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: transform .3s var(--ease); }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger.is-open span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.is-open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 900px);
  display: flex; align-items: flex-end;
  margin-top: -68px; padding-top: 68px;
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; filter: saturate(.85) contrast(1.05); }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(10,10,11,.55) 0%, rgba(10,10,11,0) 22%),
    linear-gradient(0deg, var(--bg) 2%, rgba(10,10,11,.75) 38%, rgba(10,10,11,.1) 70%),
    linear-gradient(90deg, rgba(10,10,11,.7) 0%, rgba(10,10,11,0) 60%);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 48px; align-items: end; padding-bottom: 56px; width: 100%; }
.hero__score {
  position: absolute; right: var(--gutter); top: 120px;
  font-family: var(--f-display); font-stretch: 62%; font-weight: 900;
  font-size: clamp(80px, 13vw, 210px); line-height: .8;
  color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.35);
  text-align: right; pointer-events: none; z-index: -1;
}
.hero h1 { font-size: clamp(54px, 10.5vw, 168px); margin: 18px 0 22px; max-width: 12ch; }
.hero h1 .serif { color: var(--accent); font-size: .92em; }
.hero .lead { max-width: 56ch; font-size: clamp(16px, 1.4vw, 19px); color: #cfcdc5; margin: 0 0 22px; }
.meta { display: flex; flex-wrap: wrap; gap: 8px 14px; font: 500 11.5px/1.3 var(--f-mono); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.latest {
  border-top: 1px solid var(--line-2);
  background: rgba(10,10,11,.45); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 18px 20px 6px;
}
.latest h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; }
.latest ol { list-style: none; margin: 0; padding: 0; counter-reset: l; }
.latest li { counter-increment: l; display: grid; grid-template-columns: 26px 1fr; gap: 6px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.4; }
.latest li:last-child { border: 0; }
.latest li::before { content: counter(l, decimal-leading-zero); font: 500 11px/1.6 var(--f-mono); color: var(--accent); }
.latest time { display: block; font: 500 10.5px/1 var(--f-mono); color: var(--dim); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 5px; }
.latest a:hover { color: var(--accent); }

/* ---------- Banda de cifras ---------- */
.figures { border-block: 1px solid var(--line); }
.figures__inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.figure { padding: 28px 24px 26px; border-left: 1px solid var(--line); }
.figure:first-child { border-left: 0; padding-left: 0; }
.figure strong { display: block; font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: clamp(48px, 5.5vw, 80px); line-height: .9; }
.figure strong em { font-style: normal; color: var(--accent); }
.figure span { display: block; margin-top: 10px; font-size: 13px; color: var(--muted); max-width: 26ch; }

/* ---------- Secciones ---------- */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section--tight { padding-top: 0; }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
.section__title { font-size: clamp(64px, 10vw, 150px); }
.section__title .serif { color: var(--accent); font-size: .8em; }
.section__num { display: block; margin-bottom: 14px; }

/* Chips */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip {
  height: 34px; padding: 0 14px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--muted);
  font: 500 12px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase;
  transition: all .2s;
}
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }

/* ---------- Noticias ---------- */
.news { display: grid; grid-template-columns: repeat(12, 1fr); gap: 48px 28px; }
.story { grid-column: span 4; display: flex; flex-direction: column; gap: 14px; animation: rise .7s var(--ease) both; }
.story--lead { grid-column: span 8; grid-row: span 2; }
.story--lead .story__media { aspect-ratio: auto; flex: 1; min-height: 380px; }
.story--lead h3 { font-size: clamp(30px, 3.4vw, 50px); }
.story--wide { grid-column: span 6; }
.story__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); border-radius: var(--radius); }
.story__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.9); }
.story:hover .story__media img { transform: scale(1.05); filter: saturate(1.1); }
.story__media .tag { position: absolute; left: 12px; top: 12px; }
.story__n { position: absolute; right: 12px; bottom: 8px; font-family: var(--f-display); font-stretch: 62%; font-weight: 900; font-size: 54px; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.6); }
.story h3 {
  margin: 0; font-family: var(--f-display); font-stretch: 75%; font-weight: 700;
  font-size: clamp(21px, 1.8vw, 26px); line-height: 1.05; letter-spacing: -.005em;
  transition: color .2s;
}
.story:hover h3 { color: var(--accent); }
.story p { margin: 0; color: var(--muted); font-size: 15px; }
.surface-bar { height: 2px; width: 32px; background: var(--hard); }
[data-surface="clay"] .surface-bar, .surface-clay { background: var(--clay); }
[data-surface="grass"] .surface-bar, .surface-grass { background: var(--grass); }
[data-surface="indoor"] .surface-bar, .surface-indoor { background: var(--indoor); }
.surface-hard { background: var(--hard); }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } }

/* ---------- El juego (banda lima) ---------- */
.game-band { background: var(--accent); color: var(--accent-ink); position: relative; overflow: hidden; }
.game-band::selection, .game-band *::selection { background: var(--accent-ink); color: var(--accent); }
.game-band .court-lines { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .14; pointer-events: none; }
.game-band__inner { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.game-band .eyebrow { color: rgba(10,10,11,.6); }
.game-band h2 { font-size: clamp(64px, 9.5vw, 148px); margin: 18px 0 22px; }
.game-band h2 .serif { font-size: .8em; }
.game-band p { font-size: 18px; max-width: 46ch; margin: 0 0 28px; }
.game-band .rules { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.game-band .rules span { font: 600 12px/1 var(--f-mono); letter-spacing: .04em; padding: 9px 12px; border: 1px solid rgba(10,10,11,.25); border-radius: 999px; }
.teaser { display: flex; flex-direction: column; gap: 10px; }
.teaser__match {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 14px;
  background: var(--accent-ink); color: var(--text); padding: 18px 20px; border-radius: var(--radius);
  transition: transform .3s var(--ease);
}
.teaser__match:hover { transform: translateX(-6px); }
.teaser__match .p { font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 20px; line-height: 1.05; }
.teaser__match .p:last-of-type { text-align: right; }
.teaser__match .vs { font: 500 10px/1.3 var(--f-mono); color: var(--muted); text-align: center; text-transform: uppercase; letter-spacing: .1em; }
.teaser__match .vs b { display: block; color: var(--accent); font-size: 11px; }
.teaser__board { background: var(--accent-ink); color: var(--text); padding: 18px 20px; border-radius: var(--radius); }
.teaser__board .eyebrow { color: var(--muted); }
.teaser__board ol { list-style: none; margin: 10px 0 0; padding: 0; }
.teaser__board li { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.teaser__board li b { font-family: var(--f-mono); color: var(--accent); }

/* ---------- Ranking ATP/WTA ---------- */
.ranking { display: grid; grid-template-columns: 320px 1fr; gap: clamp(32px, 6vw, 96px); }
.ranking__side p { color: var(--muted); }
.tabs { display: inline-flex; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; margin: 18px 0; }
.tab { height: 38px; padding: 0 22px; border-radius: 999px; font: 600 13px/1 var(--f-mono); letter-spacing: .08em; color: var(--muted); transition: all .2s; }
.tab.is-active { background: var(--accent); color: var(--accent-ink); }
.rank-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.rank-row {
  display: grid; grid-template-columns: 74px 1fr 60px 110px 56px; align-items: center; gap: 12px;
  padding: 14px 0; border-bottom: 1px solid var(--line);
  animation: rise .5s var(--ease) both;
  transition: background .2s;
}
.rank-row:hover { background: linear-gradient(90deg, rgba(212,255,58,.06), transparent 70%); }
.rank-row .pos { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 44px; line-height: 1; color: var(--dim); }
.rank-row:first-child .pos { color: var(--accent); }
.rank-row .name { font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 22px; line-height: 1.05; }
.rank-row .bar { display: block; height: 2px; margin-top: 8px; background: var(--line); }
.rank-row .bar i { display: block; height: 100%; background: var(--text); transform-origin: left; animation: grow 1s var(--ease) both; }
.rank-row:first-child .bar i { background: var(--accent); }
@keyframes grow { from { transform: scaleX(0); } }
.rank-row .cc, .rank-row .mv { font: 500 12px/1 var(--f-mono); color: var(--muted); }
.rank-row .pts { font: 700 15px/1 var(--f-mono); text-align: right; }
.rank-row .mv { text-align: right; }
.mv.up { color: var(--grass); }
.mv.down { color: var(--clay); }
.note { font: 500 11px/1.5 var(--f-mono); color: var(--dim); letter-spacing: .04em; }

/* ---------- Calendario ---------- */
.calendar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: var(--dim) transparent; }
.event { background: var(--bg); padding: 26px 22px 24px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 10px; min-height: 250px; position: relative; transition: background .25s; }
.event:hover { background: var(--bg-2); }
.event::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--hard); transform: scaleX(.18); transform-origin: left; transition: transform .5s var(--ease); }
.event:hover::before { transform: scaleX(1); }
.event[data-surface="clay"]::before { background: var(--clay); }
.event[data-surface="grass"]::before { background: var(--grass); }
.event[data-surface="indoor"]::before { background: var(--indoor); }
.event__date { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 72px; line-height: .85; }
.event__date small { font: 500 12px/1 var(--f-mono); letter-spacing: .14em; color: var(--muted); margin-left: 6px; vertical-align: top; }
.event h3 { margin: auto 0 0; font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 22px; line-height: 1.05; }
.event p { margin: 0; font-size: 13px; color: var(--muted); }
.event__cat { font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); display: flex; align-items: center; gap: 8px; }
.event.is-live .event__cat { color: var(--clay); }
.legend { display: flex; gap: 16px; flex-wrap: wrap; font: 500 11px/1 var(--f-mono); color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.legend span { display: flex; align-items: center; gap: 7px; }
.legend i { width: 14px; height: 3px; display: block; }

/* ---------- Videos ---------- */
.videos { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: auto auto; gap: 28px; }
.video { display: flex; flex-direction: column; gap: 12px; }
.video--big { grid-row: span 2; }
.video__thumb { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.video--big .video__thumb { aspect-ratio: auto; flex: 1; min-height: 320px; }
.video__thumb img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4) brightness(.75); transition: filter .5s, transform 1s var(--ease); }
.video:hover .video__thumb img { filter: none; transform: scale(1.04); }
.play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; transition: transform .3s var(--ease); }
.play::after { content: ""; border-left: 15px solid var(--accent-ink); border-block: 9px solid transparent; margin-left: 4px; }
.video:hover .play { transform: scale(1.12); }
.video .tag { position: absolute; left: 12px; bottom: 12px; }
.video h3 { margin: 0; font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 20px; line-height: 1.1; }
.video--big h3 { font-size: clamp(24px, 2.4vw, 34px); }

/* ---------- Newsletter + Tienda ---------- */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel { border: 1px solid var(--line-2); border-radius: var(--radius); padding: clamp(28px, 4vw, 52px); position: relative; overflow: hidden; }
.panel h2 { font-size: clamp(44px, 5vw, 76px); margin: 18px 0 16px; }
.panel h2 .serif { color: var(--accent); }
.panel p { color: var(--muted); max-width: 44ch; }
.form { display: flex; gap: 8px; margin-top: 24px; }
.input {
  flex: 1; min-width: 0; height: 48px; padding: 0 18px;
  background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 999px;
  transition: border-color .2s;
}
.input:focus { outline: none; border-color: var(--accent); }
.form__msg { font: 500 12px/1.4 var(--f-mono); color: var(--accent); min-height: 18px; margin-top: 12px; }
.shop-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 26px 0; }
.shop-strip a { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--muted); }
.shop-strip a:hover { color: var(--text); }
.shop-strip .ph { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.shop-strip .ph.art-p2 { background: var(--accent); }
.shop-strip img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.shop-strip a:hover img { transform: scale(1.06); }

/* Artes de producto sin foto */
.art-p1, .art-p2, .art-p3 { position: relative; background: var(--surface-2); }
.art-p1::after, .art-p2::after, .art-p3::after {
  content: "D."; position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-display); font-stretch: 62%; font-weight: 900; font-size: clamp(48px, 9vw, 120px); color: var(--accent);
}
.art-p2 { background: var(--accent); }
.art-p2::after { color: var(--accent-ink); content: "DEUCE"; font-size: clamp(28px, 4vw, 52px); }
.art-p3::after { content: "D."; color: var(--text); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 72px 0 32px; margin-top: 40px; overflow: hidden; }
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer h4 { margin: 0 0 14px; }
.footer__grid a { display: block; padding: 5px 0; color: var(--muted); font-size: 14px; transition: color .2s; }
.footer__grid a:hover { color: var(--accent); }
.footer__claim { font-family: var(--f-serif); font-style: italic; font-size: 28px; line-height: 1.15; max-width: 18ch; margin: 0; }
.footer__word {
  font-family: var(--f-display); font-stretch: 62%; font-weight: 900;
  font-size: clamp(120px, 31vw, 480px); line-height: .78; letter-spacing: -.02em;
  margin: 64px 0 24px; color: var(--surface-2); user-select: none;
  white-space: nowrap;
}
.footer__word i { color: var(--accent); font-style: normal; }
.footer__copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font: 500 11px/1.4 var(--f-mono); color: var(--dim); letter-spacing: .06em; text-transform: uppercase; }
.credits { margin-top: 24px; font-size: 12px; color: var(--dim); }
.credits summary { cursor: pointer; font: 500 11px/1 var(--f-mono); letter-spacing: .06em; text-transform: uppercase; }
.credits ul { padding-left: 18px; columns: 2; column-gap: 32px; }
.credits a { text-decoration: underline; text-decoration-color: var(--line-2); }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =====================================================================
   PRONÓSTICOS
   ===================================================================== */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(64px, 12vw, 190px); margin: 16px 0 18px; }
.page-hero h1 .serif { color: var(--accent); font-size: .78em; }
.page-hero p { max-width: 56ch; color: #cfcdc5; font-size: 18px; margin: 0; }
.page-hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.me-card { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 18px 22px; display: grid; grid-template-columns: repeat(3, auto); gap: 6px 28px; min-width: 280px; }
.me-card .eyebrow { grid-column: 1 / -1; margin-bottom: 6px; }
.me-card strong { display: block; font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 46px; line-height: .9; }
.me-card strong.accent { color: var(--accent); }
.me-card span { font: 500 10.5px/1 var(--f-mono); color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

.game-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); position: sticky; top: 68px; z-index: 20; background: rgba(10,10,11,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); overflow-x: auto; }
.game-tab { flex: none; padding: 18px 22px; font: 600 12.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color .2s, border-color .2s; }
.game-tab:hover { color: var(--text); }
.game-tab .sm { display: none; }
.game-tab.is-active { color: var(--text); border-color: var(--accent); }
.game-tab .count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; margin-left: 8px; border-radius: 999px; background: var(--surface-2); font-size: 10.5px; }
.game-tab.is-active .count { background: var(--accent); color: var(--accent-ink); }
.panel-view { display: none; padding: 40px 0 80px; }
.panel-view.is-active { display: block; animation: rise .5s var(--ease); }

.day { margin-bottom: 44px; }
.day__title { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.day__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.matches { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 16px; }

.match {
  border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2);
  padding: 18px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color .3s;
  animation: rise .5s var(--ease) both;
}
.match.has-pick { border-color: rgba(212,255,58,.45); }
.match__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.match__top .eyebrow { line-height: 1.4; }
.lock { font: 600 11px/1 var(--f-mono); letter-spacing: .06em; color: var(--muted); display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.lock.soon { color: var(--clay); }
.lock.closed { color: var(--dim); }
.duel { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: relative; }
.duel::after { content: "VS"; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 34px; height: 34px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); display: grid; place-items: center; font: 700 10px/1 var(--f-mono); color: var(--muted); pointer-events: none; }
.pick {
  position: relative; text-align: left;
  padding: 20px 18px 18px; min-height: 108px;
  border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface);
  display: flex; flex-direction: column; justify-content: space-between; gap: 10px;
  transition: background .25s var(--ease), color .25s, border-color .25s, transform .2s var(--ease);
}
.pick:nth-child(2) { text-align: right; align-items: flex-end; }
.pick:hover:not([disabled]) { border-color: var(--text); }
.pick:active:not([disabled]) { transform: scale(.98); }
.pick .pname { font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); line-height: .95; text-transform: uppercase; }
.pick .ppct { font: 600 11px/1 var(--f-mono); color: var(--muted); letter-spacing: .06em; }
.pick.is-picked { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pick.is-picked .ppct { color: rgba(10,10,11,.65); }
.pick.is-picked::before { content: "TU PICK ✓"; position: absolute; top: 8px; font: 700 9.5px/1 var(--f-mono); letter-spacing: .1em; }
.pick:nth-child(1).is-picked::before { left: 18px; }
.pick:nth-child(2).is-picked::before { right: 18px; }
.pick.is-winner { box-shadow: inset 0 0 0 2px var(--grass); }
.pick[disabled] { cursor: default; }
.split { display: flex; height: 4px; border-radius: 2px; overflow: hidden; background: var(--surface-2); }
.split i { display: block; height: 100%; background: var(--text); transition: width .8s var(--ease); }
.split i + i { background: var(--dim); }
.sets { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sets .eyebrow { margin-right: 4px; }
.set-chip { height: 32px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line-2); font: 600 12px/1 var(--f-mono); color: var(--muted); transition: all .2s; }
.set-chip:hover:not([disabled]) { color: var(--text); border-color: var(--text); }
.set-chip.is-active { background: var(--text); color: var(--bg); border-color: var(--text); }
.set-chip[disabled] { opacity: .5; cursor: default; }
.match__result { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid var(--line); font: 500 12px/1.4 var(--f-mono); color: var(--muted); }
.points { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 34px; line-height: 1; color: var(--dim); }
.points.win { color: var(--accent); }

.empty-state { border: 1px dashed var(--line-2); border-radius: var(--radius); padding: 48px 24px; text-align: center; color: var(--muted); }
.empty-state h3 { margin: 0 0 8px; color: var(--text); font-family: var(--f-display); font-stretch: 75%; font-size: 26px; }

/* Leaderboard */
.board { width: 100%; border-collapse: collapse; }
.board th { text-align: left; font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); padding: 0 12px 14px; border-bottom: 1px solid var(--line-2); }
.board td { padding: 16px 12px; border-bottom: 1px solid var(--line); }
.board th.num, .board td.num { text-align: right; font-family: var(--f-mono); }
.board td.pos { font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 36px; line-height: 1; color: var(--dim); width: 72px; }
.board td.user { font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 20px; }
.board td.pts { font: 700 18px/1 var(--f-mono); color: var(--text); }
.board tr.top1 td.pos { color: var(--accent); }
.board tr.top2 td.pos, .board tr.top3 td.pos { color: var(--text); }
.board tr.is-me td { background: rgba(212,255,58,.07); }
.board tr.is-me td.user::after { content: "TÚ"; margin-left: 10px; font: 700 10px/1 var(--f-mono); padding: 4px 6px; border-radius: 2px; background: var(--accent); color: var(--accent-ink); vertical-align: 3px; }
.podium { display: grid; grid-template-columns: 1fr 1.15fr 1fr; gap: 12px; align-items: end; margin-bottom: 48px; }
.podium__step { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px 18px; text-align: center; background: var(--bg-2); }
.podium__step.first { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); padding-block: 34px; }
.podium__step .medal { font-family: var(--f-display); font-stretch: 62%; font-weight: 900; font-size: 64px; line-height: .9; }
.podium__step .who { font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 22px; margin: 8px 0 4px; overflow-wrap: anywhere; }
.podium__step .score { font: 700 13px/1 var(--f-mono); }

.howto { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.howto > div { background: var(--bg); padding: 26px 22px; }
.howto strong { display: block; font-family: var(--f-display); font-stretch: 62%; font-weight: 800; font-size: 56px; line-height: .9; color: var(--accent); }
.howto h3 { margin: 12px 0 6px; font-family: var(--f-display); font-stretch: 75%; font-size: 20px; }
.howto p { margin: 0; color: var(--muted); font-size: 14px; }

/* Modal de cuenta */
.modal { position: fixed; inset: 0; z-index: 90; display: none; place-items: center; padding: 16px; }
.modal.is-open { display: grid; }
.modal__bg { position: absolute; inset: 0; background: rgba(0,0,0,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .3s; }
.modal__box { position: relative; width: 100%; max-width: 440px; max-height: calc(100vh - 32px); overflow: auto; background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 8px; padding: 32px 28px 26px; animation: pop .4s var(--ease); }
.modal__box h2 { font-size: 56px; margin: 10px 0 8px; }
.modal__box h2 .serif { color: var(--accent); }
.modal__close { position: absolute; right: 14px; top: 14px; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.field { display: flex; flex-direction: column; gap: 7px; margin-top: 16px; }
.field label { font: 500 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field .input { border-radius: var(--radius); flex: none; width: 100%; min-width: 0; }
.field small { font-size: 12px; color: var(--dim); min-height: 16px; }
.field small.ok { color: var(--grass); }
.field small.err { color: var(--danger); }
.form-error { margin: 14px 0 0; padding: 10px 12px; border-radius: var(--radius); background: rgba(255,77,77,.1); color: #ff8a8a; font-size: 13px; display: none; }
.form-error.show { display: block; }
.form-ok { margin: 14px 0 0; padding: 10px 12px; border-radius: var(--radius); background: rgba(62,207,110,.1); color: #7fe6a1; font-size: 13px; display: none; }
.form-ok.show { display: block; }
.switch { margin-top: 18px; font-size: 14px; color: var(--muted); text-align: center; }
.switch button { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 13px; color: var(--muted); }
.check input { margin-top: 3px; accent-color: var(--accent); }

.notice { border: 1px solid rgba(255,90,44,.4); background: rgba(255,90,44,.08); color: #ffb39c; padding: 14px 16px; border-radius: var(--radius); font-size: 14px; margin: 24px 0; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 95; transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--text); color: var(--bg); padding: 12px 18px; border-radius: 999px; font: 600 13px/1.2 var(--f-body); transition: all .35s var(--ease); max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.err { background: var(--danger); color: #fff; }

/* =====================================================================
   ADMIN
   ===================================================================== */
.admin-grid { display: grid; grid-template-columns: 380px 1fr; gap: 32px; align-items: start; padding: 40px 0 80px; }
.card { border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--bg-2); padding: 24px; }
.card h2 { margin: 0 0 4px; font-family: var(--f-display); font-stretch: 75%; font-size: 26px; }
.row2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
select.input, textarea.input { appearance: none; -webkit-appearance: none; }
select.input { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.admin-list { display: flex; flex-direction: column; gap: 10px; }
.arow { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; grid-template-columns: 1fr auto; gap: 10px 16px; align-items: center; background: var(--bg-2); }
.arow h3 { margin: 0; font-family: var(--f-display); font-stretch: 75%; font-size: 19px; }
.arow .eyebrow { line-height: 1.5; }
.arow__actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; grid-column: 1 / -1; padding-top: 10px; border-top: 1px solid var(--line); }
.arow__actions select.input { height: 38px; flex: none; width: auto; border-radius: 999px; background-position: calc(100% - 18px) 16px, calc(100% - 13px) 16px; }
.status { font: 700 10px/1 var(--f-mono); letter-spacing: .1em; padding: 5px 8px; border-radius: 2px; text-transform: uppercase; background: var(--surface-2); color: var(--muted); }
.status.finished { background: rgba(62,207,110,.15); color: var(--grass); }
.status.cancelled { background: rgba(255,77,77,.12); color: #ff8a8a; }
.status.live { background: rgba(255,90,44,.15); color: var(--clay); }
.btn--danger:hover { border-color: var(--danger); color: var(--danger); }

/* =====================================================================
   TIENDA
   ===================================================================== */
.shop-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: end; padding: clamp(48px, 7vw, 96px) 0 40px; border-bottom: 1px solid var(--line); }
.shop-hero h1 { font-size: clamp(72px, 12vw, 190px); }
.shop-hero h1 .serif { color: var(--accent); font-size: .78em; }
.shop-hero p { color: #cfcdc5; font-size: 18px; margin: 0 0 20px; }
.perks { display: flex; flex-wrap: wrap; gap: 8px; }
.perks span { font: 500 11.5px/1 var(--f-mono); letter-spacing: .04em; padding: 9px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted); }
.shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 24px 0; position: sticky; top: 68px; z-index: 10; background: rgba(10,10,11,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.sort { height: 38px; padding: 0 34px 0 14px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); font: 500 12px/1 var(--f-mono); appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 16px, calc(100% - 13px) 16px; background-size: 5px 5px; background-repeat: no-repeat; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 22px; padding: 16px 0 96px; }
.pcard { display: flex; flex-direction: column; gap: 8px; animation: rise .6s var(--ease) both; }
.pcard__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--surface); margin-bottom: 8px; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__media > div { width: 100%; height: 100%; }
.pcard__badge { position: absolute; left: 10px; top: 10px; }
.pcard__badge.off { background: var(--clay); color: #fff; }
.pcard__badge.out { background: var(--surface-2); color: var(--muted); }
.pcard__add { position: absolute; left: 10px; right: 10px; bottom: 10px; transform: translateY(12px); opacity: 0; transition: all .35s var(--ease); }
.pcard:hover .pcard__add, .pcard__add:focus-visible { transform: none; opacity: 1; }
.pcard__cat { font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.pcard h3 { margin: 0; font-family: var(--f-display); font-stretch: 75%; font-weight: 700; font-size: 21px; line-height: 1.05; }
.pcard p { margin: 0; font-size: 14px; color: var(--muted); }
.price { font: 700 15px/1 var(--f-mono); }
.price s { color: var(--dim); font-weight: 500; margin-left: 8px; }
.empty { grid-column: 1 / -1; color: var(--muted); text-align: center; padding: 60px 0; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--surface-2); color: var(--muted); font: 700 10px/18px var(--f-mono); text-align: center; }
.cart-count.has { background: var(--accent); color: var(--accent-ink); }
.cart-count.bump { animation: bump .4s var(--ease); }
@keyframes bump { 50% { transform: scale(1.4); } }
.overlay { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .3s; }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 85; width: min(420px, 100vw); background: var(--bg-2); border-left: 1px solid var(--line-2); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); }
.drawer.is-open { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-size: 40px; }
.drawer__items { flex: 1; overflow-y: auto; padding: 8px 22px; }
.drawer__empty { text-align: center; color: var(--muted); padding: 48px 0; }
.citem { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.citem__img { width: 64px; height: 64px; border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.citem__img img { width: 100%; height: 100%; object-fit: cover; }
.citem__img.art-p1::after, .citem__img.art-p2::after, .citem__img.art-p3::after { font-size: 22px; }
.citem h4 { margin: 0 0 4px; font-size: 14px; font-weight: 600; }
.qty { display: inline-flex; align-items: center; gap: 10px; margin-top: 8px; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; }
.qty button { width: 26px; height: 26px; border-radius: 50%; }
.qty button:hover { background: var(--surface-2); }
.qty span { font: 600 13px/1 var(--f-mono); min-width: 14px; text-align: center; }
.remove { font: 500 11px/1 var(--f-mono); color: var(--dim); text-transform: uppercase; letter-spacing: .06em; }
.remove:hover { color: var(--danger); }
.drawer__foot { padding: 20px 22px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.total { display: flex; justify-content: space-between; align-items: baseline; }
.total .price { font-size: 22px; }
.drawer__note { margin: 0; font-size: 12px; color: var(--muted); text-align: center; }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1080px) {
  .hero__inner { grid-template-columns: 1fr; }
  .latest { max-width: 560px; }
  .ranking { grid-template-columns: 1fr; }
  .game-band__inner { grid-template-columns: 1fr; }
  .admin-grid { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .howto { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .nav {
    position: fixed; inset: 102px 0 auto 0; z-index: 49;
    flex-direction: column; gap: 0; padding: 8px var(--gutter) 24px;
    background: rgba(10,10,11,.97); border-bottom: 1px solid var(--line);
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: all .3s var(--ease);
  }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { font-family: var(--f-display); font-stretch: 70%; font-weight: 800; font-size: 34px; text-transform: uppercase; padding: 10px 0; color: var(--text); border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"]::after { display: none; }
  .nav a[aria-current="page"] { color: var(--accent); }
  .burger { display: block; }
  .news { grid-template-columns: repeat(2, 1fr); gap: 40px 18px; }
  .story, .story--wide { grid-column: span 1; }
  .story--lead { grid-column: span 2; grid-row: auto; }
  .story--lead .story__media { aspect-ratio: 16 / 10; flex: none; min-height: 0; }
  .figures__inner { grid-template-columns: repeat(2, 1fr); }
  .figure:nth-child(3) { border-left: 0; padding-left: 0; }
  .figure:nth-child(n+3) { border-top: 1px solid var(--line); }
  .videos { grid-template-columns: 1fr 1fr; }
  .video--big { grid-column: span 2; grid-row: auto; }
  .duo { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__grid > div:first-child { grid-column: span 2; }
  .shop-hero { grid-template-columns: 1fr; }
  .pgrid { grid-template-columns: repeat(2, 1fr); }
  .credits ul { columns: 1; }
}
@media (max-width: 600px) {
  .header__inner { gap: 12px; height: 60px; }
  .hero { margin-top: -60px; padding-top: 60px; }
  .nav { inset: 94px 0 auto 0; }
  .game-tabs, .shop-bar { top: 60px; }
  .header .btn--hide-sm { display: none; }
  .account-btn span:not(.avatar) { display: none; }
  .account-btn svg { display: block; }
  .account-btn { padding: 0 6px; width: 40px; justify-content: center; }
  .hero__score { top: 90px; -webkit-text-stroke-color: rgba(255,255,255,.16); }
  .hero h1 { max-width: none; }
  .news { grid-template-columns: 1fr; }
  .story, .story--wide, .story--lead { grid-column: span 1; }
  .story--lead h3 { font-size: 30px; }
  .rank-row { grid-template-columns: 52px 1fr 92px 40px; }
  .rank-row .cc { display: none; }
  .rank-row .pos { font-size: 36px; }
  .rank-row .name { font-size: 19px; }
  .videos { grid-template-columns: 1fr; }
  .video--big { grid-column: auto; }
  .form { flex-direction: column; }
  .shop-strip { gap: 8px; }
  .duel::after { width: 28px; height: 28px; font-size: 9px; }
  .pick { padding: 22px 12px 14px; min-height: 96px; }
  .pick.is-picked::before { font-size: 8.5px; }
  .pick:nth-child(1).is-picked::before { left: 12px; }
  .pick:nth-child(2).is-picked::before { right: 12px; }
  .board .hide-sm { display: none; }
  .game-tab { padding: 16px 12px; font-size: 11.5px; letter-spacing: .06em; }
  .game-tab .lg { display: none; }
  .game-tab .sm { display: inline; }
  .game-tab .count { margin-left: 5px; }
  .sets .hint { display: none; }
  .board td.pos { width: 48px; font-size: 28px; }
  .board td, .board th { padding-inline: 6px; }
  .podium { gap: 6px; }
  .podium__step { padding: 16px 8px; }
  .podium__step .medal { font-size: 44px; }
  .podium__step .who { font-size: 16px; }
  .howto { grid-template-columns: 1fr; }
  .me-card { width: 100%; min-width: 0; }
  .row2 { grid-template-columns: 1fr; }
  .pgrid { gap: 28px 12px; }
  .pcard__add { opacity: 1; transform: none; height: 34px; font-size: 12px; }
  .pcard h3 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
