/* Winnerz Sports — NBA 2026-27 season hub. Brand tokens: purple, cyan + gold accents, Poppins, pill buttons. */

@font-face { font-family: 'Poppins'; font-weight: 400; font-display: swap; src: url('assets/fonts/poppins-400-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 500; font-display: swap; src: url('assets/fonts/poppins-500-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('assets/fonts/poppins-600-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 700; font-display: swap; src: url('assets/fonts/poppins-700-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins'; font-weight: 800; font-display: swap; src: url('assets/fonts/poppins-800-latin.woff2') format('woff2'); }
@font-face { font-family: 'Poppins Fallback'; src: local('Arial'); size-adjust: 113.11%; ascent-override: 92.83%; descent-override: 30.94%; line-gap-override: 8.84%; }

:root {
  --purple: #7c21e8;
  --purple-hover: #701ed1;
  --purple-pressed: #5717a2;
  --purple-hero: #671ac1;
  --ink-900: #0b0117;
  --ink-800: #160330;
  --ink-700: #210245;
  --ink-600: #2c0a58;
  --ink-500: #3a136f;
  --cyan: #3ee9fb;
  --cyan-hover: #38d2e2;
  --gold: #f9bf2b;
  --gold-grad: linear-gradient(90deg, #ffe67e, #ffb950);
  --logo-grad: linear-gradient(90deg, #0094ff, #00f0ff);
  --success: #23a940;
  --danger: #ed0055;
  --text: #ffffff;
  --text-2: rgba(255, 255, 255, .74);
  --text-3: rgba(255, 255, 255, .56);
  --line: rgba(255, 255, 255, .1);
  --card: rgba(255, 255, 255, .055);
  --card-strong: rgba(255, 255, 255, .09);
  --glow: 0 10px 60px rgba(124, 33, 232, .3);
  --font: 'Poppins', 'Poppins Fallback', Arial, sans-serif;
  --r-card: 1rem;
  --r-pill: 3rem;
  --wrap: 72rem;
  --gutter: 1rem;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 3.75rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 1rem/1.5 var(--font);
  color: var(--text);
  background: #0e0220;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.sm-only { display: inline; }
.lg-only { display: none; }
@media (min-width: 30rem) { .sm-only { display: none; } .lg-only { display: inline; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 48rem) { :root { --gutter: 2rem; } }

/* ---- Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: .75rem 1.5rem; border: 0; border-radius: var(--r-pill);
  font-weight: 500; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .15s, transform .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--purple); color: #fff; }
.btn-primary:hover { background: var(--purple-hover); }
.btn-cyan { background: var(--cyan); color: rgba(0, 0, 0, .9); }
.btn-cyan:hover { background: var(--cyan-hover); }
.btn-gold { background: var(--gold-grad); color: rgba(0, 0, 0, .9); font-weight: 600; }
.btn-gold:hover { box-shadow: 0 6px 24px rgba(255, 185, 80, .35); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-sm { min-height: 2.25rem; padding: .4rem 1rem; font-size: .875rem; }

/* ---- Header ----------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 3, 48, .86);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 1rem; height: 3.5rem; }
@media (min-width: 64rem) { .site-header .wrap { height: 4rem; } }
.brand { display: flex; align-items: center; gap: .5rem; text-decoration: none; color: #fff; flex-shrink: 0; }
.brand img { height: 2rem; width: auto; }
.brand-tag {
  font-size: .6875rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  padding: .15rem .5rem; border-radius: .375rem; background: rgba(62, 233, 251, .12); color: var(--cyan);
}
.nav { display: none; gap: .25rem; margin-left: auto; }
.nav a { color: var(--text-2); text-decoration: none; font-size: .875rem; font-weight: 500; padding: .5rem .75rem; border-radius: var(--r-pill); }
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.site-header .wrap { gap: .625rem; }
.site-header .head-cta { margin-left: auto; }
.menu-btn { margin-left: auto; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: .75rem; border: 1px solid rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .05); color: #fff; cursor: pointer; flex-shrink: 0; }
.menu-btn path { transition: transform .2s, opacity .2s; transform-box: view-box; transform-origin: 12px 12px; }
.menu-btn[aria-expanded="true"] .m1 { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .m2 { opacity: 0; }
.menu-btn[aria-expanded="true"] .m3 { transform: translateY(-5px) rotate(-45deg); }
.menu { border-top: 1px solid var(--line); background: rgba(14, 2, 32, .97); max-height: calc(100vh - 3.5rem); overflow-y: auto; }
.menu .wrap { display: grid; gap: .25rem; height: auto; padding-top: .5rem; padding-bottom: .75rem; }
.menu a { display: flex; align-items: center; gap: .875rem; padding: .625rem .5rem; border-radius: .75rem; text-decoration: none; color: #fff; }
.menu a:hover, .menu a:focus-visible { background: rgba(255, 255, 255, .06); }
.menu a b { display: block; font-size: .9375rem; font-weight: 600; }
.menu a small { display: block; font-size: .75rem; color: var(--text-3); }
.menu-num { display: grid; place-items: center; width: 2rem; height: 2rem; flex-shrink: 0; border-radius: .5rem; background: rgba(255, 255, 255, .06); font-size: .75rem; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.menu-num.gold { color: var(--gold); background: rgba(249, 191, 43, .12); }
@media (min-width: 64rem) { .nav { display: flex; } .site-header .head-cta { margin-left: .5rem; } .menu-btn, .menu { display: none; } }

/* ---- Sections ----------------------------------------------------------------- */
section { padding: 2.25rem 0; }
@media (min-width: 48rem) { section { padding: 3.5rem 0; } }
.eyebrow { display: inline-flex; align-items: center; gap: .75rem; font-size: .8125rem; font-weight: 500; color: var(--text-3); margin-bottom: .5rem; }
@media (min-width: 48rem) { .eyebrow { font-size: .875rem; margin-bottom: 1rem; } }
.eyebrow .num { display: inline-flex; align-items: center; gap: .75rem; font-size: .8125rem; font-weight: 600; color: var(--text-2); font-variant-numeric: tabular-nums; }
.eyebrow .num::after { content: ''; width: 1.75rem; height: 1px; background: rgba(255, 255, 255, .28); }
.hero .eyebrow { color: rgba(255, 255, 255, .7); }

/* Shot clock: the tournament banner's lead-in. Ticks from 24 to 0 once when
   the banner scrolls into view, then its top light comes on. */
.shotclock { display: inline-flex; align-items: center; gap: .75rem; margin-bottom: .875rem; }
.sc-face {
  position: relative; display: grid; place-items: center; min-width: 4.25rem; padding: .875rem .625rem .5rem;
  border-radius: .625rem; background: #0b0117; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12), 0 8px 24px rgba(0, 0, 0, .35);
}
.sc-light { position: absolute; top: .3125rem; left: .625rem; right: .625rem; height: .1875rem; border-radius: 1rem; background: rgba(255, 255, 255, .12); transition: background .2s, box-shadow .2s; }
.sc-num { font-size: 2rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: var(--gold); text-shadow: 0 0 12px rgba(249, 191, 43, .55); letter-spacing: .02em; }
.shotclock.expired .sc-light { background: #ff3b5c; box-shadow: 0 0 10px #ff3b5c, 0 0 2px #ff3b5c; }
.shotclock.expired .sc-num { color: #ff6b85; text-shadow: 0 0 12px rgba(255, 59, 92, .6); }
.sc-label { display: grid; font-size: 1.125rem; font-weight: 700; color: #fff; line-height: 1.2; }
.sc-label small { font-size: .8125rem; font-weight: 500; color: rgba(255, 255, 255, .7); }
.section-head { margin-bottom: 1.25rem; max-width: 44rem; }
@media (min-width: 48rem) { .section-head { margin-bottom: 2rem; } }
.section-head.split { max-width: none; display: grid; gap: .625rem; }
@media (min-width: 60rem) { .section-head.split { grid-template-columns: 1fr minmax(0, 26rem); align-items: end; } }
.head-aside { display: grid; gap: .75rem; justify-items: start; color: var(--text-2); font-size: .875rem; margin: 0; }
@media (min-width: 48rem) { .head-aside { font-size: .9375rem; gap: 1rem; } }
.head-aside p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 600; }
h1, h2 { font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: .95; }
h2 { font-size: clamp(1.75rem, 5.5vw, 3.5rem); }
.btn-caps { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; }
.link-btn.caps { text-transform: uppercase; letter-spacing: .12em; font-size: .6875rem; font-weight: 600; }
h3 { font-size: 1.125rem; }
.section-head p { color: var(--text-2); margin: .75rem 0 0; }
.alt-bg { background: var(--ink-700); }
.muted { color: var(--text-3); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-card); }

/* ---- Hero --------------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding: 1.25rem 0 1.5rem; background: #4a0f96; isolation: isolate; }
/* The players banner fills the hero. On phones it sits behind the text, dimmed;
   on desktop the players stand in the open middle column. */
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; opacity: .62; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(42, 6, 92, .55) 0%, rgba(42, 6, 92, .35) 40%, rgba(14, 2, 32, .9) 100%);
}
.hero .wrap { position: relative; display: grid; gap: 1.25rem; align-items: center; }
.hero h1 { font-size: clamp(2.25rem, 9.6vw, 4.75rem); }
.hero-copy { position: relative; z-index: 2; }
.hero-visual { position: relative; display: grid; }
@media (min-width: 60rem) {
  .hero { padding: 4rem 0 4.5rem; min-height: 38rem; display: flex; align-items: center; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr) minmax(15rem, .75fr) minmax(0, 1fr); grid-template-areas: "copy . visual" "facts . visual"; column-gap: 1.5rem; row-gap: 2rem; }
  .hero-copy { grid-area: copy; align-self: end; }
  .hero-visual { grid-area: visual; align-self: center; }
  .hero-facts { grid-area: facts; align-self: start; }
  .hero h1 { font-size: clamp(2.5rem, 4.2vw, 4rem); }
  .hero-bg img { opacity: 1; }
  .hero-bg::after { background: linear-gradient(180deg, transparent 60%, rgba(14, 2, 32, .7) 100%); }
  .hero-ctas { flex-wrap: wrap; }
}
.hero h1 .accent { background: var(--logo-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { color: rgba(255, 255, 255, .82); font-size: .9375rem; margin: .75rem 0 1rem; max-width: 30rem; }
.hero-ctas { display: flex; gap: .5rem; }
.hero-ctas .btn { flex: 1 1 0; min-height: 2.75rem; padding: .625rem .75rem; font-size: .875rem; }
.hero-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; max-width: 34rem; }
.fact b { display: block; font-size: 1.375rem; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.fact span { font-size: .6875rem; color: var(--text-2); }
@media (min-width: 48rem) {
  .hero-lead { font-size: 1.0625rem; margin: 1.25rem 0 1.5rem; }
  .hero-ctas { gap: .75rem; }
  .hero-ctas .btn { flex: 0 0 auto; min-height: 3rem; padding: .75rem 1.5rem; font-size: 1rem; }
  .fact b { font-size: 2rem; }
  .fact span { font-size: .75rem; }
}

/* Long CTA texts (German, Finnish) wrap instead of pushing the hero wider than the screen. */
.hero-copy, .hero-visual, .hero-facts { min-width: 0; }
@media (max-width: 47.99rem) {
  .hero-ctas { flex-wrap: wrap; }
  .hero-ctas .btn { flex: 1 1 auto; white-space: normal; text-align: center; line-height: 1.25; }
}

.clock-card { padding: 1rem; background: linear-gradient(160deg, rgba(124, 33, 232, .55), rgba(11, 1, 23, .85) 60%), url('assets/img/ball-800.webp') 70% 40% / cover; border: 1px solid rgba(255, 255, 255, .16); border-radius: 1.25rem; box-shadow: 0 20px 60px rgba(0, 0, 0, .45); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.clock-label { font-size: .875rem; color: var(--text-2); display: flex; align-items: center; gap: .5rem; }
.clock-title { font-size: 1.0625rem; font-weight: 600; margin: .5rem 0 .75rem; }
@media (min-width: 48rem) { .clock-card { padding: 1.5rem; } .clock-title { font-size: 1.25rem; margin: .5rem 0 1rem; } }
.clock { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.clock div { background: rgba(255, 255, 255, .06); border-radius: .75rem; padding: .5rem .25rem; text-align: center; }
.clock b { display: block; font-size: clamp(1.75rem, 7vw, 2.5rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.clock span { font-size: .6875rem; color: var(--text-3); text-transform: uppercase; letter-spacing: .1em; }
.clock-date { margin: .75rem 0 0; font-size: .8125rem; color: var(--text-3); }
.progress { margin: 1.25rem 0 .25rem; height: .5rem; border-radius: 1rem; background: rgba(255, 255, 255, .08); overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--logo-grad); border-radius: inherit; }
.progress-label { display: flex; justify-content: space-between; font-size: .8125rem; color: var(--text-2); }
.today { margin-top: .875rem; border-top: 1px solid var(--line); padding-top: .75rem; }
.today h3 { font-size: .875rem; color: var(--text-2); font-weight: 500; margin-bottom: .5rem; }
.today-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .375rem; }
.today-list li { display: grid; grid-template-columns: 1fr auto; gap: .5rem; align-items: center; font-size: .8125rem; padding: .3125rem .5rem; border-radius: .5rem; background: rgba(255, 255, 255, .04); }
.today-list .score { font-variant-numeric: tabular-nums; font-weight: 600; }
.live-dot { display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 0 rgba(237, 0, 85, .6); animation: pulse 1.6s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 .5rem rgba(237, 0, 85, 0); } 100% { box-shadow: 0 0 0 0 rgba(237, 0, 85, 0); } }
.status { font-size: .75rem; color: var(--text-3); }
.status.live { color: #ff5c93; font-weight: 600; }

/* ---- Team marks (team colours instead of logos) ------------------------------ */
.tm { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; }
.tm-badge {
  flex-shrink: 0; display: inline-grid; place-items: center;
  width: 2rem; height: 2rem; border-radius: 50%;
  font-size: .625rem; font-weight: 700; letter-spacing: .02em;
  background: var(--c1); color: var(--fg); box-shadow: inset 0 0 0 2px var(--c2);
}
.tm-badge.lg { width: 3.25rem; height: 3.25rem; font-size: .875rem; box-shadow: inset 0 0 0 3px var(--c2); }
.tm-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dot { display: inline-block; width: .625rem; height: .625rem; border-radius: 50%; background: var(--c1); box-shadow: 0 0 0 2px var(--c2); flex-shrink: 0; }

/* ---- Marquee ---------------------------------------------------------------- */
.marquee-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.chip {
  border: 1px solid var(--line); background: var(--card); color: var(--text-2);
  padding: .4rem .875rem; border-radius: var(--r-pill); font-size: .8125rem; font-weight: 500; cursor: pointer;
}
.chip:hover { color: #fff; border-color: rgba(255, 255, 255, .25); }
.chip[aria-pressed="true"] { background: var(--cyan); color: rgba(0, 0, 0, .9); border-color: var(--cyan); }
.marquee-grid {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(17.5rem, 85%);
  gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .75rem;
  margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter);
  scrollbar-width: thin;
}
.marquee-grid > * { scroll-snap-align: start; }
@media (min-width: 48rem) { .marquee-grid { grid-auto-flow: row; grid-template-columns: repeat(auto-fill, minmax(20rem, 1fr)); overflow: visible; margin: 0; padding: 0; } }
.mcard { position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: .75rem; background: #170530; }
.mcard-split {
  position: relative; overflow: hidden; aspect-ratio: 16 / 8;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  background: linear-gradient(105deg, var(--ac) 0 calc(50% - 1.5px), rgba(255, 255, 255, .85) calc(50% - 1.5px) calc(50% + 1.5px), var(--hc) calc(50% + 1.5px) 100%);
}
/* Faint half-court lines tie the two halves together. */
.mcard-split::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .22;
  background:
    radial-gradient(circle at 50% 50%, transparent 3.6rem, rgba(255, 255, 255, .9) 3.6rem 3.7rem, transparent 3.7rem),
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(255, 255, 255, .9) calc(50% - 1px) calc(50% + 1px), transparent calc(50% + 1px));
  mix-blend-mode: soft-light;
}
.mcard-split::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .3)); pointer-events: none; }
.mcard-split .ab { position: relative; z-index: 1; text-align: center; font-weight: 800; font-size: clamp(2.25rem, 9vw, 3.25rem); letter-spacing: -.03em; line-height: 1; }
.mcard-split .ab-a { color: var(--af); }
.mcard-split .ab-h { color: var(--hf); }
.mcard-split .vs {
  position: relative; z-index: 1; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%;
  background: #0e0220; color: #fff; font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .18);
}
.mcard .mcard-split .tag { position: absolute; left: .875rem; top: .875rem; z-index: 2; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
.mcard-body { padding: 1.25rem; display: flex; flex-direction: column; gap: .75rem; flex: 1; }
.mcard-title { font-size: 1.25rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; line-height: 1.1; }
.mcard-title .at { color: var(--text-3); font-weight: 500; text-transform: lowercase; }
.mcard-date { font-size: .75rem; color: var(--text-3); }
.mcard-actions { display: inline-flex; gap: 1rem; align-items: center; }
.mcard.featured { background: var(--purple); border-color: transparent; box-shadow: var(--glow); }
.mcard.featured .mcard.featured .mcard-title .at, .mcard.featured .mcard-date, .mcard.featured .mcard-meta { color: rgba(255, 255, 255, .8); }
.mcard.featured .mcard-note { background: rgba(255, 255, 255, .12); }
.mcard.featured .mcard-note .tag-ico { color: #fff; }
.mcard.featured .link-btn { color: #fff; }
/* Tags: sentence case with a leading icon. No uppercase, no letter-spacing. */
.tag { display: inline-flex; align-items: center; gap: .375rem; white-space: nowrap; font-weight: 600; line-height: 1.2; }
.tag-ico { width: .9375rem; height: .9375rem; flex-shrink: 0; }
.tag.chip { font-size: .8125rem; padding: .3rem .75rem .3rem .5rem; border-radius: var(--r-pill); background: #fff; color: #1f0a4d; }
.tag.chip .tag-ico { color: var(--purple); }
.tag.plain { font-size: .75rem; font-weight: 500; color: var(--text-2); }
.tag.plain .tag-ico { color: var(--cyan); }
.tag.plain.muted, .tag.plain.muted .tag-ico { color: var(--text-3); }
.mcard-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: .5rem; text-align: center; }
.mcard-teams .side { display: grid; justify-items: center; gap: .375rem; font-size: .875rem; font-weight: 500; }
.mcard-teams .at { color: var(--text-3); font-size: .875rem; }
.mcard-meta { font-size: .8125rem; color: var(--text-2); display: grid; gap: .125rem; }
.mcard-note { font-size: .875rem; color: var(--text); padding: .75rem .875rem; background: rgba(255, 255, 255, .05); border-radius: .625rem; }
.mcard-note p { margin: .25rem 0 0; }

.mcard-foot { margin-top: auto; padding-top: .5rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.link-btn { background: none; border: 0; padding: .25rem 0; color: var(--cyan); font-size: .8125rem; font-weight: 500; cursor: pointer; display: inline-flex; gap: .375rem; align-items: center; }
.link-btn:hover { text-decoration: underline; }

/* ---- Schedule ----------------------------------------------------------------- */
.filters { display: grid; grid-template-columns: 1fr 1fr; gap: .625rem; padding: .875rem; margin-bottom: .75rem; }
.filters > .field:first-child { grid-column: 1 / -1; }
@media (min-width: 48rem) { .filters { grid-template-columns: 2fr 1fr 1fr; gap: .75rem; padding: 1.25rem; } .filters > .field:first-child { grid-column: auto; } }
.field { display: grid; gap: .375rem; font-size: .75rem; color: var(--text-2); font-weight: 500; min-width: 0; }
.field select, .field input {
  width: 100%; min-height: 3rem; padding: 0 .875rem; border-radius: .75rem;
  border: 1px solid rgba(255, 255, 255, .14); background: var(--ink-900); color: #fff; font-size: .9375rem;
}
.field select:focus, .field input:focus { border-color: var(--purple); outline: none; box-shadow: 0 0 0 3px rgba(124, 33, 232, .35); }
.field input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(1); opacity: .7; }
.filter-tags { grid-column: 1 / -1; display: flex; gap: .5rem; align-items: center; overflow-x: auto; scrollbar-width: none; margin: 0 -.875rem; padding: 0 .875rem; }
.filter-tags::-webkit-scrollbar { display: none; }
.filter-tags .chip { flex-shrink: 0; }
@media (min-width: 48rem) { .filter-tags { flex-wrap: wrap; margin: 0; padding: 0; } }
.filter-tags .reset { margin-left: auto; }
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin: 0 0 .75rem; font-size: .875rem; color: var(--text-2); }
.day { margin-bottom: 1rem; }
.day-head { position: sticky; top: 4rem; z-index: 2; background: var(--ink-700); padding: .5rem 0; font-size: .8125rem; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: .08em; }
.game { display: grid; grid-template-columns: 4.25rem 1fr auto; gap: .75rem; align-items: center; padding: .75rem 1rem; border-radius: .75rem; background: var(--card); border: 1px solid var(--line); margin-bottom: .5rem; }
.game-time { font-size: .875rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.game-time small { display: block; font-size: .6875rem; font-weight: 400; color: var(--text-3); }
.game-main { min-width: 0; display: grid; gap: .25rem; }
.game-teams { display: flex; flex-wrap: wrap; gap: .25rem .5rem; align-items: center; font-weight: 500; font-size: .9375rem; }
.game-teams .at { color: var(--text-3); font-weight: 400; }
.game-meta { font-size: .75rem; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.game-tags { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .125rem; }
.ics { background: none; border: 1px solid var(--line); border-radius: .5rem; width: 2.25rem; height: 2.25rem; display: grid; place-items: center; cursor: pointer; color: var(--text-2); }
.ics:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.empty { padding: 2rem; text-align: center; color: var(--text-2); }
.more { display: flex; justify-content: center; margin-top: 1rem; }

/* ---- Compare ------------------------------------------------------------------ */
.cmp-pick { display: grid; grid-template-columns: 1fr auto 1fr; gap: .75rem; align-items: end; margin-bottom: 1.25rem; }
.cmp-vs { font-weight: 700; color: var(--text-3); padding-bottom: .75rem; }
.cmp-head { display: grid; grid-template-columns: 1fr 1fr; }
.cmp-team { padding: 1.25rem; display: grid; gap: .5rem; justify-items: start; background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 45%, transparent), transparent 75%); }
.cmp-team:last-child { justify-items: end; text-align: right; background: linear-gradient(225deg, color-mix(in srgb, var(--c1) 45%, transparent), transparent 75%); }
.cmp-team h3 { font-size: 1.125rem; }
.cmp-team .rec { font-size: .8125rem; color: var(--text-2); }
.cmp-rows { padding: .5rem 1.25rem 1.25rem; }
.cmp-row { display: grid; grid-template-columns: 1fr 7.5rem 1fr; gap: .75rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.cmp-row:last-child { border-bottom: 0; }
.cmp-label { text-align: center; font-size: .75rem; color: var(--text-3); line-height: 1.2; }
.cmp-val { display: grid; gap: .25rem; font-weight: 600; font-size: .9375rem; }
.cmp-val.r { text-align: right; justify-items: end; }
.cmp-val.win { color: var(--cyan); }
.bar { height: .375rem; width: 100%; border-radius: 1rem; background: rgba(255, 255, 255, .06); overflow: hidden; display: flex; }
.cmp-val.r .bar { justify-content: flex-start; }
.cmp-val:not(.r) .bar { justify-content: flex-end; }
.bar i { display: block; height: 100%; background: color-mix(in srgb, var(--c1) 65%, #fff); border-radius: inherit; }
.cmp-grid { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 48rem) { .cmp-grid { grid-template-columns: 1fr 1fr; } }
.cmp-box { padding: 1.25rem; }
.cmp-box h3 { font-size: 1rem; margin-bottom: .75rem; }
.h2h-big { font-size: 1.75rem; font-weight: 700; margin-bottom: .5rem; font-variant-numeric: tabular-nums; }
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: .375rem; font-size: .875rem; }
.list li { display: flex; justify-content: space-between; gap: .75rem; align-items: center; padding: .5rem .625rem; background: rgba(255, 255, 255, .04); border-radius: .5rem; }
.list li .muted { font-size: .75rem; }
.list.stack li { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: .125rem; }

/* ---- Teams --------------------------------------------------------------------- */
.moves-strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(15rem, 80%); gap: .75rem; overflow-x: auto; padding-bottom: .75rem; margin: 0 calc(var(--gutter) * -1) 2rem; padding-left: var(--gutter); padding-right: var(--gutter); scroll-snap-type: x mandatory; }
.moves-strip > * { scroll-snap-align: start; }
@media (min-width: 48rem) { .moves-strip { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; margin: 0 0 2.5rem; padding: 0; } }
.move { padding: 1.25rem; display: grid; gap: .625rem; align-content: start; background: #170530; border: 1px solid var(--line); border-radius: .75rem; }
.move-num { font-size: .6875rem; font-weight: 600; letter-spacing: .14em; color: var(--cyan); padding-bottom: .875rem; border-bottom: 1px solid rgba(62, 233, 251, .35); margin-bottom: .375rem; }
.move-name { font-weight: 800; font-size: 1.25rem; text-transform: uppercase; line-height: 1.05; letter-spacing: -.01em; }
.move .link-btn { justify-self: start; margin-top: .25rem; }
.move.featured { background: var(--purple); border-color: transparent; box-shadow: var(--glow); }
.move.featured .move-num { color: #fff; border-bottom-color: rgba(255, 255, 255, .45); }
.move.featured .move-path, .move.featured .move-stat { color: rgba(255, 255, 255, .85); }
.move.featured .link-btn, .move.featured .arrow { color: #fff; }
.move-path { display: flex; align-items: center; gap: .5rem; font-size: .8125rem; color: var(--text-2); flex-wrap: wrap; }
.move-path .arrow { color: var(--cyan); }
.move-stat { font-size: .75rem; color: var(--text-3); }
.conf-tabs { display: inline-flex; gap: .25rem; padding: .25rem; border-radius: var(--r-pill); background: var(--card); border: 1px solid var(--line); margin-bottom: 1rem; }
.conf-tabs button { border: 0; background: none; padding: .5rem 1.25rem; border-radius: var(--r-pill); font-weight: 500; font-size: .875rem; color: var(--text-2); cursor: pointer; }
.conf-tabs button[aria-selected="true"] { background: var(--purple); color: #fff; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(6.5rem, 1fr)); gap: .5rem; margin-bottom: 1.5rem; }
.team-btn { display: grid; justify-items: center; gap: .375rem; padding: .75rem .25rem; border-radius: .75rem; border: 1px solid var(--line); background: var(--card); cursor: pointer; font-size: .75rem; font-weight: 500; color: var(--text-2); }
.team-btn:hover { border-color: rgba(255, 255, 255, .3); color: #fff; }
.team-btn[aria-pressed="true"] { border-color: var(--cyan); background: rgba(62, 233, 251, .08); color: #fff; }
.team-panel { overflow: hidden; }
.tp-head { padding: 1.5rem 1.25rem; display: flex; gap: 1rem; align-items: center; background: linear-gradient(120deg, color-mix(in srgb, var(--c1) 55%, transparent), transparent 80%); }
.tp-head h3 { font-size: 1.5rem; }
.tp-head p { margin: .25rem 0 0; color: var(--text-2); font-size: .875rem; }
.tp-body { padding: 1rem; display: grid; gap: 1.25rem; }
@media (min-width: 48rem) { .tp-body { padding: 1.25rem; gap: 1.5rem; } }
@media (min-width: 60rem) { .tp-body { grid-template-columns: 1.5fr 1fr; } }
.tp-body > div, .moves-cols > div, .cmp-grid > *, .cmp-pick .field { min-width: 0; }
.tp-body h4 { margin: 0 0 .75rem; font-size: .875rem; color: var(--text-2); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; }
.headline-move { padding: 1rem; border-radius: .75rem; background: rgba(62, 233, 251, .08); border: 1px solid rgba(62, 233, 251, .25); margin-bottom: 1.25rem; }
.headline-move b { display: block; font-size: 1.125rem; }
.headline-move span { font-size: .8125rem; color: var(--text-2); }
.moves-cols { display: grid; gap: 1rem; }
@media (min-width: 36rem) { .moves-cols { grid-template-columns: 1fr 1fr; } }
.table-wrap { overflow-x: auto; border-radius: .75rem; border: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; font-size: .8125rem; font-variant-numeric: tabular-nums; }
th, td { padding: .5rem .625rem; text-align: left; white-space: nowrap; }
th { font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-3); font-weight: 500; background: rgba(255, 255, 255, .04); }
td.num, th.num { text-align: right; }
tbody tr:nth-child(even) { background: rgba(255, 255, 255, .025); }
.new-badge { font-size: .625rem; font-weight: 600; color: var(--cyan); margin-left: .375rem; text-transform: uppercase; letter-spacing: .06em; }

/* ---- Poll / quiz --------------------------------------------------------------- */
.fan-grid { display: grid; gap: 1rem; }
@media (min-width: 48rem) { .fan-grid { grid-template-columns: 1fr 1fr; } }
.fan-card { padding: 1.5rem; display: grid; gap: 1rem; align-content: start; }
.fan-card h3 { font-size: 1.25rem; }
.opts { display: grid; gap: .5rem; }
.opt {
  position: relative; overflow: hidden; text-align: left; width: 100%;
  padding: .875rem 1rem; border-radius: .75rem; border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(255, 255, 255, .04); cursor: pointer; font-weight: 500; font-size: .9375rem;
  display: flex; justify-content: space-between; gap: 1rem;
}
.opt:hover:not(:disabled) { border-color: var(--purple); background: rgba(124, 33, 232, .16); }
.opt:disabled { cursor: default; }
.opt .fill { position: absolute; inset: 0 auto 0 0; background: rgba(124, 33, 232, .55); z-index: 0; transition: width .6s ease; }
.opt > span { position: relative; z-index: 1; }
.opt.mine { border-color: var(--cyan); }
.opt.correct { border-color: var(--success); }
.opt.correct .fill { background: rgba(35, 169, 64, .5); }
.opt.wrong { border-color: var(--danger); }
.fan-foot { font-size: .8125rem; color: var(--text-2); min-height: 1.25rem; }

/* ---- Tournament banner ---------------------------------------------------------- */
.tourney { padding: 2.25rem 0 2.5rem; }
@media (min-width: 48rem) { .tourney { padding: 3.5rem 0 4rem; } }
.tourney-card {
  position: relative; overflow: hidden; border-radius: 1.25rem; padding: 0 1.25rem 1.25rem;
  background:
    radial-gradient(40rem 20rem at 100% 0%, rgba(249, 191, 43, .28), transparent 60%),
    linear-gradient(135deg, var(--purple) 0%, var(--purple-hero) 55%, #3a0b7a 100%);
  box-shadow: var(--glow);
  display: grid; gap: 1.5rem; align-items: center;
}
.tourney-photo { display: block; width: calc(100% + 3rem); max-width: none; margin: 0 -1.25rem -1.5rem; height: 12rem; object-fit: cover; object-position: 50% 45%;
  -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
@media (min-width: 48rem) {
  .tourney-card { padding: 3.5rem; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); column-gap: 2rem; }
  .tourney-photo { grid-column: 2; grid-row: 1 / span 2; width: calc(100% + 3.5rem); height: calc(100% + 7rem); margin: -3.5rem -3.5rem -3.5rem 0; align-self: stretch; object-position: 45% 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%); mask-image: linear-gradient(90deg, transparent, #000 40%); }
  .tourney-cta { grid-column: 1; justify-items: start !important; text-align: left !important; }
}
.tourney-card h2 { font-size: clamp(1.75rem, 5vw, 3.5rem); }
.tourney-card p { color: rgba(255, 255, 255, .85); margin: .5rem 0 0; max-width: 36rem; font-size: .9375rem; }
.tourney-points { list-style: none; padding: 0; margin: .875rem 0 0; display: grid; gap: .375rem; font-size: .875rem; }
.tourney-points li { display: flex; gap: .625rem; align-items: center; }
.tourney-points li::before { content: ''; width: 1.25rem; height: 1.25rem; flex-shrink: 0; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / .75rem no-repeat; }
.tourney-cta { display: grid; gap: .75rem; justify-items: start; }
@media (min-width: 48rem) { .tourney-cta { justify-items: end; text-align: right; } }
.tourney-cta .btn { min-height: 3.25rem; padding: .875rem 1.75rem; font-size: 1rem; }
.tourney-card > * { min-width: 0; }
.tourney-cta .btn { white-space: normal; text-align: center; line-height: 1.25; }
@media (max-width: 47.99rem) { .tourney-cta, .tourney-cta .btn { width: 100%; } }
.tourney-cta small { color: rgba(255, 255, 255, .7); font-size: .8125rem; }
.ball { position: absolute; right: -3rem; bottom: -3rem; width: 13rem; opacity: .16; pointer-events: none; }

/* ---- Footer --------------------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding: 2.5rem 0 3rem; background: var(--ink-900); font-size: .8125rem; color: var(--text-3); }
.site-footer .wrap { display: grid; gap: 1rem; }
.site-footer img { height: 1.75rem; width: auto; }
.site-footer p { margin: 0; max-width: 52rem; }

/* ---- Consent bar (only when a Meta Pixel ID is configured) ---------------------- */
.consent { position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); z-index: 60; max-width: 40rem; margin: 0 auto; padding: 1rem 1.25rem; border-radius: 1rem; background: var(--ink-900); border: 1px solid rgba(255, 255, 255, .16); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); display: grid; gap: .75rem; font-size: .875rem; }
.consent div { display: flex; gap: .5rem; flex-wrap: wrap; }

/* ---- Loading / misc ------------------------------------------------------------- */
.skeleton { border-radius: .75rem; background: linear-gradient(90deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .09), rgba(255, 255, 255, .04)); background-size: 200% 100%; animation: shimmer 1.4s infinite; min-height: 6rem; }
@keyframes shimmer { to { background-position: -200% 0; } }
.notice { padding: 1rem; border-radius: .75rem; background: rgba(237, 0, 85, .12); color: #ffb3cb; font-size: .875rem; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- Compact mobile details ------------------------------------------------------ */
.game-teams .short { display: none; }
@media (max-width: 35.99rem) {
  .wide-only { display: none; }
  #team-panel th, #team-panel td { padding: .4375rem .375rem; }
  td.player { white-space: normal; min-width: 6.5rem; }
  td.player .new-badge { white-space: nowrap; }
  .tp-body .list.stack { grid-template-columns: 1fr 1fr; gap: .375rem; }
  .tp-body .list.stack li { padding: .4375rem .5rem; font-size: .8125rem; }
  .tp-body .list.stack li .muted { font-size: .6875rem; }
}
@media (max-width: 47.99rem) {
  .game-teams .full { display: none; }
  .game-teams .short { display: inline; }
  .game { grid-template-columns: 3.25rem 1fr auto; gap: .5rem; padding: .625rem .75rem; margin-bottom: .375rem; }
  .day { margin-bottom: .5rem; }
  .day-head { top: 3.5rem; padding: .375rem 0; font-size: .75rem; }
  .mcard-body { padding: 1rem; gap: .625rem; }
  .sc-face { min-width: 3.5rem; padding: .75rem .5rem .375rem; }
  .sc-num { font-size: 1.625rem; }
  .sc-label { font-size: 1rem; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(4.75rem, 1fr)); gap: .375rem; margin-bottom: 1rem; }
  .team-btn { padding: .5rem .25rem; font-size: .6875rem; }
  .tp-head { padding: 1rem; }
  .tp-head h3 { font-size: 1.25rem; }
  th, td { padding: .4375rem .5rem; }
  .cmp-pick { margin-bottom: .875rem; }
  .cmp-team, .cmp-box, .fan-card { padding: 1rem; }
  .cmp-rows { padding: .25rem 1rem 1rem; }
  .cmp-row { grid-template-columns: 1fr 6rem 1fr; padding: .375rem 0; }
  .marquee-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(var(--gutter) * -1) 1rem; padding: 0 var(--gutter); }
  .marquee-tabs .chip { flex-shrink: 0; }
  .moves-strip { margin-bottom: 0; }
}
.sub-head { margin: 2rem 0 1rem; font-size: 1.125rem; font-weight: 800; text-transform: uppercase; letter-spacing: -.01em; }

/* ---- Teams feature banner: headline over the photo ------------------------------ */
.feature-banner { position: relative; overflow: hidden; border-radius: 1rem; aspect-ratio: 16 / 10; margin-bottom: 1rem; background: #1b0640; }
.feature-banner img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.feature-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(14, 2, 32, .92) 100%); }
.feature-text { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 1; }
.feature-text .eyebrow { color: rgba(255, 255, 255, .8); }
.feature-banner + .section-head { margin-bottom: 1.25rem; }
@media (min-width: 48rem) {
  .feature-banner { aspect-ratio: auto; height: 22rem; border-radius: 1.25rem; margin-bottom: 1.5rem; }
  .feature-banner img { object-position: 50% 28%; }
  .feature-banner::after { background: linear-gradient(270deg, rgba(14, 2, 32, .92) 0%, rgba(14, 2, 32, .55) 35%, transparent 60%); }
  .feature-text { left: auto; right: 2.5rem; bottom: auto; top: 50%; transform: translateY(-50%); text-align: right; max-width: 24rem; }
  .feature-banner + .section-head .head-aside { max-width: 40rem; }
}

/* ---- Language switcher ------------------------------------------------------------ */
.lang { display: flex; gap: .125rem; align-items: center; }
.lang a { color: var(--text-3); text-decoration: none; font-size: .75rem; font-weight: 600; letter-spacing: .04em; padding: .375rem .5rem; border-radius: .5rem; }
.lang a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.lang a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .1); }
.lang-head { display: none; margin-left: .25rem; }
@media (min-width: 64rem) { .lang-head { display: flex; } }
.lang-menu { margin-top: .5rem; padding: .625rem .5rem 0; border-top: 1px solid var(--line); }
.lang-label { font-size: .75rem; color: var(--text-3); margin-right: .5rem; }
