/* 2027WorldCup.in — night-pitch green, floodlight gold, ball red. */
:root {
  --bg: #f6f4ee;
  --surface: #ffffff;
  --surface-2: #efece3;
  --ink: #0f1f19;
  --ink-2: #44554d;
  --ink-3: #6b7a72;
  --line: #e2ddd0;
  --green: #0d7a4a;
  --green-ink: #0a5c38;
  --gold: #f2b134;
  --gold-ink: #8a5a00;
  --red: #c8102e;
  --night: #06140f;
  --night-2: #0b2a1d;
  --night-3: #12382a;
  --on-night: #f2f5f1;
  --on-night-2: #a9c2b6;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 30, 20, .06), 0 8px 24px -12px rgba(10, 30, 20, .18);
  --display: "Big Shoulders Display", Impact, "Arial Narrow", sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #08130f; --surface: #0f1f19; --surface-2: #142821; --ink: #e9efeb; --ink-2: #b4c4bc; --ink-3: #8a9c93;
    --line: #213a30; --green: #3fbf80; --green-ink: #6fd6a2; --gold-ink: #f2b134;
    --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.6); color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #08130f; --surface: #0f1f19; --surface-2: #142821; --ink: #e9efeb; --ink-2: #b4c4bc; --ink-3: #8a9c93;
  --line: #213a30; --green: #3fbf80; --green-ink: #6fd6a2; --gold-ink: #f2b134;
  --shadow: 0 1px 2px rgba(0,0,0,.3), 0 8px 24px -12px rgba(0,0,0,.6); color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); overflow-x: hidden; }
img, svg { max-width: 100%; }
a { color: var(--green-ink); text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; }
h1, h2 { font-family: var(--display); font-weight: 800; letter-spacing: .005em; text-transform: uppercase; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.1rem; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 820px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: 8px 12px; z-index: 99; }
.skip:focus { left: 8px; }
.small { font-size: .85rem; color: var(--ink-3); }

/* ------------------------------------------------ header */
.site-head { background: var(--night); color: var(--on-night); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.06); }
.head-row { display: flex; align-items: center; gap: 12px; height: 60px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--on-night); text-decoration: none; font-family: var(--display); font-size: 1.45rem; font-weight: 800; letter-spacing: .01em; }
.logo b { color: var(--gold); font-weight: 900; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.head-pill { margin-left: auto; font-size: .78rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(242,177,52,.14); color: var(--gold); white-space: nowrap; }
.head-cta { display: none; background: var(--gold); color: #1a1200; text-decoration: none; font-weight: 700; font-size: .88rem; padding: 8px 14px; border-radius: 999px; }
@media (min-width: 720px) { .head-cta { display: inline-block; } }
.main-nav { border-top: 1px solid rgba(255,255,255,.06); background: rgba(255,255,255,.02); }
.main-nav .wrap { display: flex; gap: 2px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.main-nav .wrap::-webkit-scrollbar { display: none; }
.main-nav a { color: var(--on-night-2); text-decoration: none; font-size: .9rem; font-weight: 600; padding: 10px 12px; white-space: nowrap; border-bottom: 2px solid transparent; }
.main-nav a:hover { color: #fff; }
.main-nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }

/* ------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: .95rem; padding: 12px 20px; border-radius: 999px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(180deg, #ffc955, #f2a91f); color: #1a1200; box-shadow: 0 8px 24px -10px rgba(242,177,52,.8); }
.btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.btn-dark { background: var(--night); color: #fff; }
.prose .btn-gold { color: #1a1200; }
.more { font-weight: 700; text-decoration: none; white-space: nowrap; }
.kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 6px; }

/* ------------------------------------------------ hero (home) */
.hero { position: relative; background: var(--night); color: var(--on-night); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(900px 420px at 50% 115%, rgba(31,164,99,.45), transparent 70%),
    linear-gradient(180deg, #04100b 0%, #08221a 55%, #0d3626 100%); }
.hero-oval { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 75%; fill: none; stroke: rgba(170,230,200,.10); stroke-width: 1.5; }
.hero-oval rect { fill: rgba(220,200,140,.10); stroke: rgba(220,200,140,.18); }
.flood { position: absolute; top: -200px; width: 640px; height: 640px; border-radius: 50%; filter: blur(30px); opacity: .55; animation: flood 7s ease-in-out infinite alternate; }
.flood-l { left: -220px; background: radial-gradient(circle, rgba(255,214,120,.55), transparent 62%); }
.flood-r { right: -220px; background: radial-gradient(circle, rgba(160,225,255,.40), transparent 62%); animation-delay: -3.5s; }
@keyframes flood { from { opacity: .35; transform: scale(.95); } to { opacity: .65; transform: scale(1.05); } }
.hero-grid { display: grid; gap: 32px; padding-top: 44px; padding-bottom: 36px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.25fr 1fr; padding-top: 70px; padding-bottom: 60px; gap: 48px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--on-night-2); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: 6px 12px; border-radius: 999px; }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #3fe08f; box-shadow: 0 0 0 4px rgba(63,224,143,.2); animation: pulse 2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(63,224,143,0); } }
.hero h1 { margin: 18px 0 14px; line-height: .86; }
.big-year { position: relative; display: block; font-size: clamp(6.5rem, 22vw, 13.5rem); font-weight: 900; letter-spacing: -.01em;
  background: linear-gradient(180deg, #ffe39a 0%, #f2b134 45%, #c97a07 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 10px 40px rgba(242,177,52,.25)); }
.big-year::after { content: attr(data-text); position: absolute; left: .06em; top: .06em; z-index: -1; color: transparent; -webkit-text-stroke: 1.5px rgba(242,177,52,.35); }
.h1-line { display: block; font-size: clamp(2rem, 5.4vw, 3.6rem); font-weight: 800; color: #fff; margin-top: 6px; }
.lede { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.hero .lede { color: var(--on-night-2); }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; padding: 0; margin: 22px 0 26px; }
.hero-stats li { font-size: .85rem; color: var(--on-night-2); text-transform: uppercase; letter-spacing: .08em; }
.hero-stats b { display: block; font-family: var(--display); font-size: 2.4rem; line-height: 1; color: #fff; letter-spacing: 0; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card { position: relative; background: linear-gradient(160deg, rgba(255,255,255,.10), rgba(255,255,255,.03)); border: 1px solid rgba(255,255,255,.14); border-radius: 22px; padding: 22px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 30px 80px -30px rgba(0,0,0,.6); }
.hc-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.hc-top span { font-family: var(--display); font-size: 1.3rem; font-weight: 800; text-transform: uppercase; color: var(--gold); }
.hc-top small { color: var(--on-night-2); }
.hc-match { display: grid; justify-items: center; gap: 6px; text-align: center; text-decoration: none; color: #fff; margin-top: 18px; padding: 20px 14px 18px; border-radius: 16px; background: radial-gradient(120% 120% at 50% 0%, rgba(242,177,52,.18), rgba(0,0,0,.18)); border: 1px solid rgba(242,177,52,.25); transition: border-color .2s, transform .2s; }
.hc-match:hover { border-color: var(--gold); transform: translateY(-2px); }
.hc-label { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.hc-teams { display: flex; align-items: center; gap: 18px; }
.hc-teams em { font-family: var(--display); font-style: normal; font-size: 1.6rem; color: var(--on-night-2); }
.hc-title { font-family: var(--display); font-size: 2rem; font-weight: 800; text-transform: uppercase; line-height: 1; }
.hc-meta { color: var(--on-night-2); font-size: .9rem; }
.hc-time { font-size: .92rem; color: #fff; }
.hc-time i { color: var(--on-night-2); font-style: normal; }
.ball { position: absolute; width: 92px; right: -26px; top: -34px; animation: spin 14s linear infinite; filter: drop-shadow(0 14px 22px rgba(0,0,0,.5)); }
@media (max-width: 600px) { .ball { width: 64px; right: -6px; top: -26px; } }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .ball, .flood, .ticker-track, .eyebrow i { animation: none !important; } }

/* countdown */
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown div { background: rgba(0,0,0,.28); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; text-align: center; padding: 10px 4px 8px; }
.countdown b { display: block; font-family: var(--display); font-size: clamp(1.9rem, 5vw, 2.6rem); font-weight: 900; line-height: 1; color: #fff; font-variant-numeric: tabular-nums; }
.countdown span { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--on-night-2); }
.prose .countdown, .ballot .countdown { max-width: 420px; }
.prose .countdown div { background: var(--night); }
.prose .countdown b { color: #fff; }

/* ticker */
.ticker { border-top: 1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.25); overflow: hidden; }
.ticker-track { display: flex; width: max-content; animation: ticker 50s linear infinite; }
.ticker-track span { padding: 12px 26px; white-space: nowrap; font-size: .88rem; color: var(--on-night-2); border-right: 1px solid rgba(255,255,255,.08); }
.ticker-track b { color: var(--gold); margin-right: 8px; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ballot band */
.ballot { background: linear-gradient(90deg, #f2b134, #ffd36b 60%, #f2b134); color: #1a1200; }
.ballot-row { display: grid; gap: 18px; padding-top: 26px; padding-bottom: 26px; align-items: center; }
@media (min-width: 900px) { .ballot-row { grid-template-columns: 1.3fr 1fr auto; } }
.ballot h2 { margin: 0 0 4px; }
.ballot p { margin: 0; }
.ballot .kicker { color: #5a3a00; }
.ballot .countdown div { background: rgba(0,0,0,.82); }

/* ------------------------------------------------ sections */
.sec { padding: 46px 0; }
.sec-tint { background: var(--surface-2); }
.sec-dark { background: var(--night); color: var(--on-night); }
.sec-dark .kicker { color: #57d896; }
.sec-dark .sec-lede { color: var(--on-night-2); }
.sec-dark a { color: #fff; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 20px; }
.sec-head h2 { margin: 0; }
.two-col { display: grid; gap: 36px; }
@media (min-width: 960px) { .two-col { grid-template-columns: 1fr 1fr; gap: 56px; } }

/* badges */
.badge { --c1: #333; --c2: #999; flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 800 .68rem/1 var(--body); letter-spacing: .02em; color: #fff;
  background: linear-gradient(135deg, var(--c1) 0 58%, var(--c2) 58% 100%); box-shadow: inset 0 0 0 2px rgba(255,255,255,.25), 0 2px 6px rgba(0,0,0,.15); text-shadow: 0 1px 2px rgba(0,0,0,.45); }
.badge-lg { width: 52px; height: 52px; font-size: .9rem; }
.badge-xl { width: 74px; height: 74px; font-size: 1.15rem; box-shadow: inset 0 0 0 3px rgba(255,255,255,.3), 0 10px 26px -8px rgba(0,0,0,.6); }
.badge-tbc { background: repeating-linear-gradient(135deg, #56655d 0 6px, #66766d 6px 12px); }

/* marquee cards */
.mcards { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.mcard { scroll-snap-align: start; position: relative; display: grid; gap: 10px; padding: 18px; border-radius: var(--radius); text-decoration: none; color: #fff; overflow: hidden; min-height: 210px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--c1) 70%, #06140f) 0%, #0a1d16 50%, color-mix(in srgb, var(--c2) 70%, #06140f) 100%); box-shadow: var(--shadow); transition: transform .2s; }
.mcard:hover { transform: translateY(-3px); }
.mcard-stage { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.mcard-teams { display: flex; align-items: center; gap: 12px; }
.mcard-teams em { font-family: var(--display); font-style: normal; font-size: 1.3rem; opacity: .7; }
.mcard-names { font-family: var(--display); font-size: 1.6rem; font-weight: 800; text-transform: uppercase; line-height: 1; }
.mcard-meta { font-size: .88rem; color: rgba(255,255,255,.85); }
.mcard-meta b { display: block; color: var(--gold); font-size: 1rem; }

/* team tiles */
.ttiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.ttile { position: relative; display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 18px; border-radius: 12px; background: var(--surface); text-decoration: none; color: var(--ink); box-shadow: var(--shadow); overflow: hidden; transition: transform .15s; }
.ttile:hover { transform: translateY(-2px); }
.ttile-bar { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(var(--c1), var(--c2)); }
.ttile b { display: block; line-height: 1.2; }
.ttile small { color: var(--ink-3); }

/* stages list */
.stages { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 4px; }
.stages li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.st-n { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--night); color: var(--gold); font-family: var(--display); font-weight: 900; font-size: 1.2rem; }
.stages b { font-size: 1.05rem; }
.st-when { display: block; font-size: .82rem; font-weight: 600; color: var(--green); }
.stages p { margin: 2px 0 0; color: var(--ink-2); font-size: .95rem; }

/* groups */
.groups { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.group { background: var(--surface); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.group h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.group ul { list-style: none; margin: 0; padding: 0; }
.group li a, .group li.q { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.group li:last-child a, .group li.q { border-bottom: 0; }
.tag { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 2px 7px; border-radius: 6px; background: rgba(13,122,74,.12); color: var(--green); }

/* map */
.map-col { align-items: center; }
.map-box { background: radial-gradient(100% 80% at 50% 40%, rgba(31,164,99,.18), transparent 70%); border-radius: 20px; padding: 10px; }
.map-box.light { background: var(--night); }
.dotmap { width: 100%; height: auto; display: block; }
.dotmap circle { fill: #2a4a3d; }
.dotmap .c-za { fill: #1fa463; }
.dotmap .c-zw { fill: #e2a51f; }
.dotmap .c-na { fill: #3d8fd6; }
.dotmap .c-bw { fill: #1e3a2f; }
.dotmap text { fill: #e9f1ed; font: 600 11px var(--body); paint-order: stroke; stroke: rgba(6,20,15,.85); stroke-width: 3px; }
.dotmap .pin-dot { fill: #fff; stroke: var(--red); stroke-width: 2.5; }
.dotmap .pin-halo { fill: rgba(255,255,255,.12); }
.dotmap a:hover .pin-dot, .dotmap .pin-on .pin-dot { fill: var(--gold); stroke: #fff; }
.dotmap .pin-on .pin-halo { fill: rgba(242,177,52,.35); animation: pulse-halo 1.8s infinite; transform-box: fill-box; transform-origin: center; }
@keyframes pulse-halo { 50% { transform: scale(1.6); opacity: .4; } }
.dotmap .legend text { font-size: 11px; }
.venue-mini { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 6px 16px; }
.venue-mini a { display: block; text-decoration: none; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.venue-mini b { display: block; }
.venue-mini span { font-size: .8rem; color: var(--on-night-2); }

/* fixtures */
.fx-day { font-size: .95rem; font-family: var(--body); text-transform: none; font-weight: 700; color: var(--ink-2); margin: 22px 0 8px; letter-spacing: .02em; }
.fx-list { display: grid; gap: 8px; }
.fx { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "no time" "teams teams" "venue venue"; gap: 6px 12px; padding: 12px 14px; background: var(--surface); border-radius: 12px; box-shadow: var(--shadow); color: var(--ink); text-decoration: none; border: 1px solid transparent; transition: border-color .15s, transform .15s; }
.fx:hover { border-color: var(--gold); transform: translateY(-1px); }
.fx-hl { border-left: 4px solid var(--gold); }
@media (min-width: 860px) {
  .fx { grid-template-columns: 120px 1fr 230px 150px; grid-template-areas: "no teams venue time"; align-items: center; padding: 12px 18px; }
}
.fx-no { grid-area: no; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .8rem; color: var(--ink-3); }
.fx-no b { font-weight: 700; color: var(--ink-2); }
.fx-date { font-weight: 700; color: var(--ink); width: 100%; }
.chip { font-style: normal; font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; background: var(--surface-2); color: var(--ink-2); }
.chip-super7 { background: rgba(242,177,52,.18); color: var(--gold-ink); }
.chip-semi, .chip-final { background: var(--red); color: #fff; }
.chip-super-series { background: rgba(61,143,214,.15); color: #2a6fae; }
.fx-teams { grid-area: teams; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-weight: 700; }
.fx-side { display: inline-flex; align-items: center; gap: 8px; }
.side-name { line-height: 1.2; }
.vs { font-family: var(--display); font-size: .95rem; color: var(--ink-3); text-transform: uppercase; }
.seed { font-size: .65rem; font-weight: 700; padding: 1px 5px; border-radius: 5px; background: rgba(242,177,52,.2); color: var(--gold-ink); vertical-align: middle; }
.fx-result { width: 100%; font-size: .85rem; font-weight: 600; color: var(--green); }
.fx-venue { grid-area: venue; font-size: .88rem; line-height: 1.3; color: var(--ink-2); }
.fx-venue small { display: block; color: var(--ink-3); }
.fx-time { grid-area: time; display: grid; justify-items: end; font-size: .88rem; line-height: 1.35; text-align: right; }
.t-local { color: var(--ink-3); font-size: .8rem; }
.t-ist { font-weight: 800; font-size: 1rem; color: var(--ink); }
.fx-time small { font-weight: 600; color: var(--ink-3); }
.t-mine:not(:empty) { font-size: .78rem; color: var(--green); font-weight: 600; }
.dn { font-style: normal; font-size: .65rem; font-weight: 700; background: var(--night); color: var(--gold); padding: 1px 6px; border-radius: 5px; margin-top: 2px; }
.t-mine-inline { color: var(--gold); }
.sep:not(:empty)::before { content: " · "; color: var(--on-night-2); }

/* news cards */
.ncards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.ncard { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; border-top: 4px solid var(--green); transition: transform .15s; }
.ncard:hover { transform: translateY(-2px); }
.ncard h3 { font-size: 1.12rem; margin: 0; }
.ncard p { margin: 0; color: var(--ink-2); font-size: .94rem; flex: 1; }
.ncard time { font-size: .8rem; color: var(--ink-3); }
.ncard-tag { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }

/* quick links */
.qlinks { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.qlink { display: block; padding: 18px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); position: relative; overflow: hidden; }
.qlink::after { content: "→"; position: absolute; right: 16px; top: 16px; color: var(--gold-ink); font-weight: 700; transition: transform .15s; }
.qlink:hover::after { transform: translateX(4px); }
.qlink b { display: block; font-family: var(--display); font-size: 1.35rem; text-transform: uppercase; }
.qlink span { font-size: .88rem; color: var(--ink-3); }

/* subscribe */
.subscribe { display: grid; gap: 14px; padding: 22px; border-radius: 18px; background: var(--night); color: var(--on-night); box-shadow: var(--shadow); }
.subscribe h3 { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; margin: 0 0 4px; color: var(--gold); }
.subscribe p { margin: 0; color: var(--on-night-2); font-size: .92rem; }
.subscribe-row { display: flex; gap: 8px; flex-wrap: wrap; }
.subscribe input[type=email] { flex: 1 1 200px; min-width: 0; padding: 12px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); color: #fff; font: inherit; }
.subscribe button { padding: 12px 18px; border-radius: 999px; border: 0; background: var(--gold); color: #1a1200; font-weight: 700; cursor: pointer; font: 700 .95rem var(--body); }
.subscribe .hp { position: absolute; left: -9999px; }
.subscribe-msg:empty { display: none; }
.subscribe-msg { color: #7ee2ab !important; font-weight: 600; }
.side .subscribe h3 { font-size: 1.2rem; }

/* faq */
.faq details { background: var(--surface); border-radius: 12px; margin-bottom: 8px; box-shadow: var(--shadow); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 44px 16px 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.4rem; color: var(--gold-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--ink-2); }

/* ------------------------------------------------ inner pages */
.crumbs { font-size: .82rem; color: var(--ink-3); padding: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs a { color: var(--ink-3); }
.crumbs b { color: var(--ink-2); font-weight: 600; }
.page-hero { padding: 26px 0 34px; }
.page-hero h1 { margin-bottom: 10px; }
.page-hero .lede { margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.page-hero .btn-ghost, .match-hero .btn-ghost { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.team-hero { position: relative; }
.team-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.team-hero-row { display: flex; align-items: center; gap: 18px; margin-bottom: 12px; }
.team-hero-row h1 { margin: 0; }

.content-grid { display: grid; gap: 32px; padding-bottom: 50px; }
@media (min-width: 980px) { .content-grid { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } .content-grid.legal { grid-template-columns: minmax(0, 760px); } }
.prose { min-width: 0; font-size: 1.03rem; }
.prose h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 2.6vw, 1.95rem); scroll-margin-top: 120px; }
.prose h3 { margin-top: 1.4em; font-size: 1.15rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose strong, .prose b { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .3em 0; }
.prose .fx-list { margin: 12px 0; }
.callout { border-left: 4px solid var(--gold); background: rgba(242,177,52,.10); padding: 14px 16px; border-radius: 0 12px 12px 0; margin: 16px 0; color: var(--ink); font-size: .96rem; }
.table-wrap { overflow-x: auto; margin: 14px 0 20px; border-radius: 12px; box-shadow: var(--shadow); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: var(--surface-2); white-space: nowrap; }
tbody tr:last-child td { border-bottom: 0; }
td .badge { width: 26px; height: 26px; font-size: .55rem; margin-right: 8px; vertical-align: middle; }
.zones tr.hl td { background: rgba(242,177,52,.12); font-weight: 700; }
.points tr.q td:first-child { box-shadow: inset 4px 0 0 var(--green); }
.points .tname { display: flex; align-items: center; font-weight: 600; white-space: nowrap; }
.points td:not(.tname), .points th { text-align: center; }
.points th:nth-child(2) { text-align: left; }
.pill { display: inline-block; font-size: .72rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; white-space: nowrap; }
.pill-ok { background: rgba(13,122,74,.14); color: var(--green); }
.pill-watch { background: rgba(242,177,52,.2); color: var(--gold-ink); }
.bc small { display: block; margin-top: 6px; color: var(--ink-3); font-size: .8rem; line-height: 1.4; min-width: 220px; }

.side { display: grid; gap: 16px; align-content: start; }
@media (min-width: 980px) { .side { position: sticky; top: 120px; } }
.side-card { background: var(--surface); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.side-card h3 { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.side-card .fx { grid-template-columns: 1fr auto; grid-template-areas: "no time" "teams teams"; box-shadow: none; background: var(--surface-2); padding: 10px 12px; }
.side-card .fx-venue { display: none; }
.side-card .fx-list { gap: 6px; margin-bottom: 10px; }
.side-links { display: flex; flex-wrap: wrap; gap: 6px; }
.side-links a { font-size: .86rem; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); text-decoration: none; color: var(--ink); }
.side-links.col { flex-direction: column; }
.side-links.col a { border-radius: 8px; }
.toc a { display: block; padding: 6px 0; font-size: .9rem; text-decoration: none; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.facts { margin: 0; padding-left: 1.1em; }
.facts li { margin: .35em 0; color: var(--ink-2); font-size: .93rem; }
.side-news { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink); }
.record { list-style: none; padding: 0; display: grid; gap: 6px; }
.record li { background: var(--surface); padding: 12px 16px; border-radius: 10px; box-shadow: var(--shadow); }
.record b { display: inline-block; min-width: 110px; }

/* match hero */
.match-hero { position: relative; color: var(--on-night); padding: 34px 0 34px; margin-top: 10px; overflow: hidden; isolation: isolate;
  background: linear-gradient(110deg, color-mix(in srgb, var(--c1) 55%, #06140f) 0%, #071a12 42%, #071a12 58%, color-mix(in srgb, var(--c2) 55%, #06140f) 100%); }
.match-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 50% 0, rgba(242,177,52,.18), transparent 70%); }
.match-hero .kicker { color: var(--gold); }
.match-hero h1 { font-size: clamp(1.6rem, 3.6vw, 2.6rem); color: #fff; margin: 18px 0 12px; }
.mh-teams { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 12px 0 6px; flex-wrap: wrap; }
.mh-side { display: grid; justify-items: center; gap: 8px; text-align: center; min-width: 120px; }
.mh-side b { font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; line-height: 1; }
.mh-vs { font-family: var(--display); font-size: 1.8rem; color: var(--gold); }
.mh-facts { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.mh-facts li { background: rgba(0,0,0,.25); border: 1px solid rgba(255,255,255,.1); border-radius: 12px; padding: 10px 14px; }
.mh-facts small { display: block; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-night-2); }
.mh-facts b { color: #fff; }
.mh-facts a { color: #fff; }
.mh-mine { color: var(--on-night-2); margin: 0 0 14px; font-size: .92rem; }
.match-hero .countdown { max-width: 440px; }
.match-hero .btn-ghost { background: rgba(255,255,255,.08); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.venue-hero .mh-facts li { background: var(--surface); border-color: var(--line); }
.venue-hero .mh-facts b { color: var(--ink); }
.venue-hero .mh-facts small { color: var(--ink-3); }
.prov { display: inline-block; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: rgba(242,177,52,.2); color: var(--gold); }
.result-banner { font-weight: 700; font-size: 1.1rem; color: #7ee2ab; }
.prevnext { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 30px; }
.prevnext a { padding: 14px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; font-weight: 600; color: var(--ink); font-size: .92rem; }
.prevnext small { display: block; color: var(--ink-3); font-weight: 600; }
.prevnext .next { text-align: right; }
.travel-cta { background: var(--surface-2); padding: 12px 16px; border-radius: 12px; }

/* schedule page */
.filters { position: sticky; top: 104px; z-index: 20; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: end; padding: 14px; margin: 0 0 10px; background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); }
.filters label { display: grid; gap: 4px; font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); flex: 1 1 150px; }
.filters select { font: 500 .95rem var(--body); padding: 9px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); }
.filters .tz-toggle { display: flex; align-items: center; gap: 8px; flex: 0 1 auto; text-transform: none; letter-spacing: 0; font-size: .9rem; color: var(--ink-2); padding-bottom: 10px; }
.filter-count { font-size: .85rem; font-weight: 700; color: var(--green); padding-bottom: 10px; }
@media (max-width: 720px) { .filters { position: static; } }
.stage-block { margin-top: 30px; }
.stage-block h2 { margin-bottom: 4px; }
.stage-note { color: var(--ink-2); margin: 0 0 8px; }
.src-note { font-size: .85rem; color: var(--ink-3); margin: 26px 0; }
.hide { display: none !important; }

/* teams / venues cards */
.tcards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.tcard { position: relative; display: grid; justify-items: start; gap: 8px; padding: 20px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); overflow: hidden; transition: transform .15s; }
.tcard:hover { transform: translateY(-2px); }
.tcard-bar { position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.tcard b { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; line-height: 1; }
.tcard small { color: var(--ink-3); }
.tcard-status { font-size: .7rem; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: rgba(13,122,74,.12); color: var(--green); }
.st-qualifier, .st-pathway { background: rgba(242,177,52,.2); color: var(--gold-ink); }
.venues-top { display: grid; gap: 26px; align-items: center; margin-bottom: 26px; }
@media (min-width: 960px) { .venues-top { grid-template-columns: 1fr 1.1fr; } }
.vcards { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); padding-bottom: 50px; }
.vcard { display: block; padding: 20px; border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border-top: 4px solid var(--green); position: relative; transition: transform .15s; }
.vcard:hover { transform: translateY(-2px); }
.vcard h3 { font-family: var(--display); font-size: 1.6rem; text-transform: uppercase; margin: 2px 0; }
.vcard p { margin: 0 0 12px; color: var(--ink-2); }
.vcard ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 14px; flex-wrap: wrap; font-size: .82rem; color: var(--ink-3); }
.vcard ul b { color: var(--ink); }
.vcard-country { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--green); }
.vcard-ko { position: absolute; right: 14px; top: 14px; font-size: .68rem; font-weight: 700; background: var(--red); color: #fff; padding: 3px 8px; border-radius: 999px; }

/* format diagram */
.fmt { display: grid; gap: 10px; margin: 18px 0 26px; }
@media (min-width: 860px) { .fmt { grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: stretch; } }
.fmt-step { background: var(--night); color: var(--on-night); border-radius: 14px; padding: 16px; display: grid; gap: 4px; }
.fmt-step span { font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #57d896; }
.fmt-step b { font-family: var(--display); font-size: 1.5rem; text-transform: uppercase; color: #fff; }
.fmt-step small { color: var(--on-night-2); }
.fmt-step em { font-style: normal; font-size: .82rem; font-weight: 700; color: var(--gold); }
.fmt-step.gold { background: linear-gradient(160deg, #3a2a05, #06140f); box-shadow: inset 0 0 0 1px rgba(242,177,52,.4); }
.fmt-arrow { display: grid; place-items: center; color: var(--gold-ink); font-size: 1.4rem; font-weight: 800; }
@media (max-width: 859px) { .fmt-arrow { transform: rotate(90deg); } }

.tally { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.tally li { background: var(--night); color: #fff; border-radius: 12px; padding: 14px 16px; display: flex; justify-content: space-between; align-items: center; }
.tally span { font-family: var(--display); font-size: 2rem; font-weight: 900; color: var(--gold); line-height: 1; }
.shop { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 16px 0 24px; }
.shop-card { display: grid; gap: 4px; padding: 16px; border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); border: 1px solid var(--line); }
.shop-card:hover { border-color: var(--gold); }
.shop-card span { font-size: .88rem; color: var(--ink-3); }
.shop-card i { font-style: normal; font-weight: 700; color: var(--green); font-size: .88rem; }
.contact-email a { font-size: 1.3rem; font-weight: 700; }
.byline { font-size: .88rem; color: var(--ink-3); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 30px; }

/* ads */
.ad { margin: 24px auto; min-height: 100px; text-align: center; }

/* footer */
.site-foot { background: var(--night); color: var(--on-night-2); padding: 46px 0 26px; margin-top: 20px; }
.foot-grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.foot-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } .foot-grid > div:first-child { grid-column: auto; } }
.site-foot h4 { color: #fff; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.site-foot a:not(.logo) { display: block; color: var(--on-night-2); text-decoration: none; padding: 3px 0; font-size: .92rem; }
.site-foot a:not(.logo):hover { color: #fff; }
.foot-note { font-size: .9rem; max-width: 40ch; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.08); margin-top: 30px; padding-top: 18px; font-size: .8rem; line-height: 1.6; }
.foot-legal strong { color: #fff; }
