:root {
  --bg: #07080f;
  --bg2: #0c0e1a;
  --panel: #111426;
  --panel2: #171b33;
  --line: rgba(255, 255, 255, .09);
  --line2: rgba(255, 255, 255, .16);
  --text: #eef1ff;
  --muted: #9aa3c0;
  --gold: #ffd23f;
  --gold2: #ffb300;
  --C: #ff3b30;
  --C-dark: #7a1512;
  --E: #2f86ff;
  --E-dark: #0f2f7a;
  --N: #ffd23f;
  --danger: #ff5d8f;
  --ok: #3ee08f;
  --radius: 18px;
  --font: 'Kanit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Anton', 'Kanit', Impact, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-weight: 400;
  line-height: 1.5; min-height: 100vh; overflow-x: hidden;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
img, svg { max-width: 100%; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
[hidden] { display: none !important; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 18px;
  padding: 10px clamp(12px, 3vw, 28px); background: rgba(7, 8, 15, .72);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-size: 20px; color: #1a1300;
  background: conic-gradient(from 200deg, var(--C), var(--gold), var(--E), var(--C));
  box-shadow: 0 0 18px rgba(255, 210, 63, .35);
}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text b { font-family: var(--display); letter-spacing: .06em; font-size: 1.05rem; font-weight: 400; }
.brand-text i { font-style: italic; font-weight: 800; color: var(--gold); font-size: .78rem; letter-spacing: .3em; }
.nav { display: flex; gap: 4px; margin-left: 12px; }
.nav a {
  text-decoration: none; padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 500; font-size: .95rem;
  transition: color .15s, background .15s;
}
.nav a:hover { color: var(--text); background: rgba(255, 255, 255, .05); }
.nav a.active { color: #120d00; background: var(--gold); font-weight: 700; }
.top-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.me-btn, .lang-btn {
  display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line2); background: rgba(255, 255, 255, .04);
  border-radius: 999px; padding: 6px 12px; cursor: pointer; font-size: .9rem; max-width: 220px; white-space: nowrap; overflow: hidden;
}
.me-btn:hover, .lang-btn:hover { border-color: var(--gold); }
.lang-btn { font-weight: 700; }
.burger { display: none; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; padding: 10px 8px; }
.burger span { display: block; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid transparent; cursor: pointer;
  padding: 10px 18px; border-radius: 999px; font-weight: 600; text-decoration: none; font-size: .95rem;
  transition: transform .12s, box-shadow .2s, background .2s, border-color .2s; white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn.big { padding: 14px 24px; font-size: 1.05rem; }
.btn.sm { padding: 7px 13px; font-size: .86rem; }
.btn.primary { background: linear-gradient(135deg, #fff 0%, #dfe6ff 100%); color: #0b0d1c; box-shadow: 0 8px 26px rgba(160, 180, 255, .25); }
.btn.primary:hover { box-shadow: 0 10px 34px rgba(160, 180, 255, .4); }
.btn.gold { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #1a1300; box-shadow: 0 8px 26px rgba(255, 190, 0, .28); }
.btn.glass { background: rgba(255, 255, 255, .07); border-color: var(--line2); color: var(--text); backdrop-filter: blur(8px); }
.btn.glass:hover { border-color: rgba(255, 255, 255, .4); }
.btn.danger { background: linear-gradient(135deg, #ff5d8f, #d91e5b); color: #fff; }
.btn.ghost { background: transparent; border-color: var(--line2); color: var(--text); }
.btn.danger.ghost { background: transparent; border-color: rgba(255, 93, 143, .5); color: #ff9dbb; }
.btn.team-C { background: linear-gradient(135deg, #ff5a3c, var(--C-dark)); color: #fff; box-shadow: 0 8px 26px rgba(255, 59, 48, .3); }
.btn.team-E { background: linear-gradient(135deg, #4f9bff, var(--E-dark)); color: #fff; box-shadow: 0 8px 26px rgba(47, 134, 255, .3); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn.busy { animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .65; } }
.icon-btn { background: rgba(255, 255, 255, .06); border: 1px solid var(--line); width: 36px; height: 36px; border-radius: 50%; cursor: pointer; }
.linkish { background: none; border: 0; padding: 0; cursor: pointer; color: var(--text); display: inline-flex; align-items: center; gap: 6px; text-align: left; }
.linkish:hover { color: var(--gold); }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: calc(100svh - 58px); display: grid; place-items: center; overflow: hidden; isolation: isolate;
  padding: 48px 16px 90px;
  background:
    radial-gradient(1200px 600px at 50% 120%, rgba(255, 106, 19, .35), transparent 60%),
    radial-gradient(900px 700px at -10% 20%, rgba(255, 59, 48, .38), transparent 60%),
    radial-gradient(900px 700px at 110% 20%, rgba(47, 134, 255, .42), transparent 60%),
    linear-gradient(180deg, #0a0712 0%, #0b0a1a 60%, #1a0b0a 100%);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.beam {
  position: absolute; top: -20%; width: 34vw; height: 140%; transform-origin: 50% 0; filter: blur(6px); opacity: .5; mix-blend-mode: screen;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 70%);
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
}
.beam.b1 { left: -6vw; animation: sweep 9s ease-in-out infinite alternate; background: linear-gradient(180deg, rgba(255, 120, 90, .7), transparent 70%); }
.beam.b2 { left: 18vw; animation: sweep 11s ease-in-out -3s infinite alternate-reverse; }
.beam.b3 { right: 18vw; animation: sweep 10s ease-in-out -5s infinite alternate; }
.beam.b4 { right: -6vw; animation: sweep 8s ease-in-out -2s infinite alternate-reverse; background: linear-gradient(180deg, rgba(120, 170, 255, .75), transparent 70%); }
@keyframes sweep { from { transform: rotate(-18deg); } to { transform: rotate(18deg); } }
.glow { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.glow.gl { width: 40vw; height: 40vw; left: -12vw; top: 20%; background: var(--C); animation: breathe 6s ease-in-out infinite; }
.glow.gr { width: 40vw; height: 40vw; right: -12vw; top: 20%; background: var(--E); animation: breathe 6s ease-in-out -3s infinite; }
.glow.gc { width: 30vw; height: 18vw; left: 35vw; top: 8%; background: #ffb300; opacity: .25; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }
.bolts { position: absolute; inset: 0; width: 100%; height: 100%; }
.bolt { fill: none; stroke-width: 4; stroke-linejoin: round; filter: drop-shadow(0 0 10px currentColor); opacity: 0; }
.bolt.bl { stroke: #ffe36e; color: #ff7b4d; animation: flash 5s infinite 1s; }
.bolt.br { stroke: #cfe4ff; color: #2f86ff; animation: flash 6s infinite 3.2s; }
@keyframes flash { 0%, 88%, 100% { opacity: 0; } 89% { opacity: 1; } 91% { opacity: .2; } 93% { opacity: .9; } 96% { opacity: 0; } }
.track { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 34%; }
.track path { fill: none; stroke: rgba(255, 120, 60, .5); stroke-width: 2.5; }
.track path:first-child { stroke: rgba(255, 210, 63, .55); }
.sparks i {
  position: absolute; bottom: -10px; left: var(--x); width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 12px var(--gold); opacity: 0; transform: scale(var(--s)); animation: rise 7s linear var(--d) infinite;
}
.sparks i:nth-child(3n) { background: #ff7b6b; box-shadow: 0 0 12px #ff3b30; }
.sparks i:nth-child(3n+1) { background: #9cc6ff; box-shadow: 0 0 12px #2f86ff; }
@keyframes rise { 0% { opacity: 0; transform: translateY(0) scale(var(--s)); } 10% { opacity: 1; } 100% { opacity: 0; transform: translateY(-90vh) scale(var(--s)); } }

.hero-inner { width: min(1180px, 100%); text-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.kicker { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.pill { border: 1px solid var(--line2); background: rgba(0, 0, 0, .35); padding: 6px 14px; border-radius: 999px; font-size: .85rem; letter-spacing: .08em; font-weight: 600; }
.pill.live { color: #fff; background: linear-gradient(135deg, #ff2d55, #b3001b); border-color: transparent; letter-spacing: .14em; }
.hero-title { margin: 6px 0 0; display: flex; flex-direction: column; align-items: center; line-height: .86; }
.hero-title .gmm {
  font-family: var(--display); font-size: clamp(1.2rem, 3vw, 2rem); letter-spacing: .5em; padding-left: .5em; color: #cfe0ff;
  text-shadow: 0 0 20px rgba(47, 134, 255, .8); margin-bottom: .35em;
}
.hero-title .word {
  font-family: var(--display); font-weight: 400; font-style: italic; font-size: clamp(3.2rem, 13vw, 10.5rem); letter-spacing: .01em;
  background: linear-gradient(180deg, #ffffff 0%, #dfe6f5 38%, #7c8aa8 52%, #f4f7ff 64%, #aab6cf 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; transform: skewX(-8deg);
  filter: drop-shadow(0 4px 0 #1a2350) drop-shadow(0 10px 30px rgba(0, 0, 0, .6)) drop-shadow(0 0 30px rgba(120, 160, 255, .35));
}
.hero-title .year {
  font-family: var(--display); font-style: italic; font-size: clamp(2.4rem, 8vw, 6rem); margin-top: -.08em; transform: skewX(-8deg);
  background: linear-gradient(180deg, #fff6b0, #ffd23f 45%, #ff8a00 70%, #ffcf4d);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 #6b2b00) drop-shadow(0 0 26px rgba(255, 170, 0, .55));
}
.hero-sub { max-width: 720px; margin: 0; color: #d7dcf2; font-size: clamp(1rem, 2.1vw, 1.2rem); font-weight: 300; }
.vs { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(10px, 3vw, 36px); align-items: center; width: 100%; margin-top: 8px; }
.vs-team { display: flex; align-items: center; gap: 14px; }
.vs-team.C { justify-content: flex-end; text-align: right; }
.vs-team.E { justify-content: flex-start; text-align: left; }
.vs-team b { display: block; font-family: var(--display); font-weight: 400; font-style: italic; font-size: clamp(1.1rem, 3.2vw, 2.4rem); line-height: 1; letter-spacing: .03em; }
.vs-team.C b { color: #ff8a7a; text-shadow: 0 0 22px rgba(255, 59, 48, .7); }
.vs-team.E b { color: #9cc6ff; text-shadow: 0 0 22px rgba(47, 134, 255, .8); }
.vs-team .emblem { animation: float 4s ease-in-out infinite; }
.vs-team.E .emblem { animation-delay: -2s; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-3deg); } }
.emblem { display: inline-block; flex: none; }
.emblem svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); }
.vs-mid { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cd-wrap { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cd-label { font-size: .8rem; letter-spacing: .25em; color: var(--gold); font-weight: 600; text-transform: uppercase; }
.countdown { display: flex; gap: 8px; }
.cd-cell {
  min-width: clamp(54px, 9vw, 78px); padding: 8px 6px 6px; border-radius: 14px; text-align: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .03)); border: 1px solid var(--line2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .15);
}
.cd-cell b { display: block; font-family: var(--display); font-size: clamp(1.7rem, 4.6vw, 2.8rem); line-height: 1; font-weight: 400; font-variant-numeric: tabular-nums; }
.cd-cell small { color: var(--muted); font-size: .74rem; }
.vs-points { display: flex; align-items: center; gap: 12px; font-family: var(--display); font-size: 1.6rem; }
.vs-points .C { color: #ff8a7a; } .vs-points .E { color: #9cc6ff; }
.vs-points i { font-family: var(--font); font-style: normal; font-size: .72rem; color: var(--muted); letter-spacing: .12em; text-transform: uppercase; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 10px; }
.hero-foot { color: var(--muted); font-size: .88rem; margin: 4px 0 0; }
.scroll-hint {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); text-decoration: none; font-size: 2rem; color: var(--gold);
  animation: bob 1.8s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

/* ---------- blocks ---------- */
.kpis {
  width: min(1180px, calc(100% - 32px)); margin: -46px auto 0; position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.kpis.inline { width: auto; margin: 0; grid-column: 1 / -1; }
.kpi {
  background: linear-gradient(180deg, var(--panel2), var(--panel)); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .35);
}
.kpi b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.05; color: var(--gold); }
.kpi span { color: var(--muted); font-size: .9rem; }
.block { width: min(1180px, calc(100% - 32px)); margin: 56px auto 0; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.block-head h2 { margin: 0; font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; font-style: italic; letter-spacing: .01em; }
.block-head p { margin: 0; color: var(--muted); }
.more { color: var(--gold); text-decoration: none; font-weight: 600; }
.page-head { width: min(1180px, calc(100% - 32px)); margin: 32px auto 0; }
.page-head h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.8rem); font-style: italic; font-weight: 800; }
.page-head p { margin: 4px 0 0; color: var(--muted); }

/* cheer tug of war */
.cheer { background: linear-gradient(135deg, rgba(255, 59, 48, .12), rgba(47, 134, 255, .12)); border: 1px solid var(--line); border-radius: 26px; padding: 26px; }
.tug { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.tug-label { font-family: var(--display); font-size: 1.3rem; letter-spacing: .04em; white-space: nowrap; }
.tug-label.C { color: #ff8a7a; } .tug-label.E { color: #9cc6ff; }
.tug-label b { font-weight: 400; font-size: 1.8rem; color: #fff; }
.tug-bar { position: relative; display: flex; height: 34px; border-radius: 999px; overflow: hidden; background: #1a1d30; box-shadow: inset 0 2px 8px rgba(0, 0, 0, .6); }
.tug-c { background: linear-gradient(90deg, var(--C-dark), var(--C)); transition: width 1s cubic-bezier(.2, .9, .2, 1); width: 50%; }
.tug-e { background: linear-gradient(90deg, var(--E), var(--E-dark)); transition: width 1s cubic-bezier(.2, .9, .2, 1); width: 50%; }
.tug-knot { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: .9rem; background: #0b0d1c; border: 2px solid var(--gold); border-radius: 999px; padding: 1px 8px; }
.cheer-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 20px; }

/* scoreboard */
.scoreboard {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 22px clamp(14px, 3vw, 34px); border-radius: 26px;
  background: radial-gradient(600px 200px at 0% 50%, rgba(255, 59, 48, .35), transparent 70%), radial-gradient(600px 200px at 100% 50%, rgba(47, 134, 255, .35), transparent 70%), #0b0d1c;
  border: 1px solid var(--line2); box-shadow: 0 30px 60px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .08);
}
.sb-team { display: flex; align-items: center; gap: 14px; }
.sb-team.E { justify-content: flex-end; text-align: right; }
.sb-team small { display: block; color: var(--muted); letter-spacing: .2em; font-size: .72rem; }
.sb-team b { font-family: var(--display); font-weight: 400; font-style: italic; font-size: clamp(1.2rem, 3vw, 2.2rem); line-height: 1; }
.sb-team.C b { color: #ff8a7a; } .sb-team.E b { color: #9cc6ff; }
.sb-team.lead .emblem { filter: drop-shadow(0 0 18px var(--gold)); }
.sb-score { display: grid; grid-template-columns: auto auto auto; align-items: center; gap: 10px; text-align: center; font-family: var(--display); }
.sb-score > span { font-size: clamp(2.6rem, 8vw, 5rem); line-height: 1; font-variant-numeric: tabular-nums; }
.sb-score .C { color: #ff6b5c; text-shadow: 0 0 24px rgba(255, 59, 48, .6); }
.sb-score .E { color: #6aa8ff; text-shadow: 0 0 24px rgba(47, 134, 255, .6); }
.sb-score i { font-style: normal; font-size: 2.4rem; color: var(--gold); }
.sb-score small { grid-column: 1 / -1; font-family: var(--font); color: var(--muted); letter-spacing: .14em; font-size: .72rem; text-transform: uppercase; }
.live-dot { color: #ff2d55; font-weight: 700; animation: pulse 1.2s infinite; }
.event-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; margin-top: 14px; }
.results.compact .event-cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.event { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; position: relative; overflow: hidden; display: flex; flex-direction: column; }
.event.live { border-color: #ff2d55; box-shadow: 0 0 0 1px #ff2d55, 0 0 30px rgba(255, 45, 85, .25); }
.event.final { background: linear-gradient(180deg, #151a32, var(--panel)); }
.ev-head { display: flex; align-items: center; gap: 8px; min-height: 2.7em; } /* room for a 2-line name so every score sits on the same line */
.ev-head b { font-weight: 700; flex: 1; min-width: 0; line-height: 1.3; }
.ev-head .status { flex: none; }
.ev-icon { font-size: 1.4rem; }
.status { margin-left: auto; font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--muted); white-space: nowrap; }
.status.live { background: #ff2d55; color: #fff; }
.status.final { background: var(--gold); color: #1a1300; }
.ev-score { display: flex; justify-content: center; align-items: center; gap: 12px; font-family: var(--display); font-size: 2.2rem; margin: 6px 0 2px; }
.ev-score .C { color: #ff6b5c; } .ev-score .E { color: #6aa8ff; } .ev-score i { color: var(--muted); font-style: normal; }
.ev-score .win { text-decoration: underline 3px var(--gold); text-underline-offset: 6px; }
.ev-winner { text-align: center; font-weight: 700; color: var(--gold); font-size: .9rem; }
.ev-note { color: var(--muted); font-size: .86rem; margin: 6px 0 0; }
.ev-roster { margin-top: 8px; font-size: .85rem; }
.ev-roster summary { cursor: pointer; color: var(--gold); }
.roster-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 6px; }
.roster-cols .team-C b { color: #ff8a7a; } .roster-cols .team-E b { color: #9cc6ff; }
.roster-cols p { margin: 2px 0 0; color: #cfd5ee; }
.feed { display: flex; flex-direction: column; gap: 8px; }
.feed-item { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 10px 14px; }
.feed-item.side-C { border-left-color: var(--C); } .feed-item.side-E { border-left-color: var(--E); }
.feed-item time { color: var(--muted); font-size: .78rem; }
.feed-item p { margin: 2px 0 0; }

/* arena teaser */
.teaser-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; align-items: center; }
.plan-box { position: relative; background: #06070e; border: 1px solid var(--line2); border-radius: 26px; overflow: hidden; aspect-ratio: 1 / 1.05; min-height: 320px; }
.plan-box .arena-canvas { border-radius: 26px; }
.plan-open { position: absolute; right: 12px; bottom: 12px; z-index: 2; display: inline-flex; align-items: center; gap: 6px; background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #1a1300; font-weight: 700; text-decoration: none; padding: 8px 14px; border-radius: 999px; font-size: .88rem; }
.plan { width: 100%; height: auto; display: block; }
.plan-court { fill: #4c46b8; stroke: rgba(255, 255, 255, .6); stroke-width: .2; }
.plan-court-line { stroke: rgba(255, 255, 255, .6); stroke-width: .15; }
.plan-zone { cursor: pointer; outline: none; }
.plan-zone line { transition: filter .15s; }
.plan-zone:hover line, .plan-zone:focus line { filter: brightness(1.4); }
.plan-label { fill: #fff; font-weight: 800; paint-order: stroke; stroke: rgba(0, 0, 0, .7); stroke-width: .5; pointer-events: none; font-family: var(--font); }
.plan-sub { fill: #fff; font-weight: 600; paint-order: stroke; stroke: rgba(0, 0, 0, .8); stroke-width: .45; pointer-events: none; }
.teaser-copy h3 { margin: 0 0 8px; font-size: 1.3rem; }
.steps { margin: 0 0 16px; padding-left: 0; list-style: none; counter-reset: s; display: grid; gap: 10px; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 1.4rem; color: #1a1300; background: var(--gold); width: 34px; height: 34px; flex: none; border-radius: 10px; display: grid; place-items: center; }
.price-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.price-legend span, [data-p] { --pc: #888; }
.price-legend span { border-radius: 999px; padding: 3px 10px; font-weight: 700; font-size: .85rem; color: #111; background: var(--pc); }
[data-p="6000"] { --pc: #d8ad3f; } [data-p="5500"] { --pc: #a7adb4; } [data-p="4500"] { --pc: #ff6a13; }
[data-p="3000"] { --pc: #4fc6f7; } [data-p="2500"] { --pc: #f7b27a; } [data-p="2000"] { --pc: #f3e21a; }

/* lineups */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tabs button { border: 1px solid var(--line2); background: var(--panel); border-radius: 999px; padding: 8px 16px; cursor: pointer; font-weight: 600; }
.tabs button.active { background: var(--gold); color: #1a1300; border-color: var(--gold); }
.lineup { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lineup-team { border-radius: 22px; padding: 18px; border: 1px solid var(--line); }
.lineup-team.team-C { background: linear-gradient(160deg, rgba(255, 59, 48, .22), rgba(122, 21, 18, .12) 60%, var(--panel)); }
.lineup-team.team-E { background: linear-gradient(160deg, rgba(47, 134, 255, .24), rgba(15, 47, 122, .14) 60%, var(--panel)); }
.lt-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.lt-head b { font-size: 1.15rem; font-style: italic; font-weight: 800; }
.lt-head small { margin-left: auto; color: var(--muted); }
.names { display: flex; flex-wrap: wrap; gap: 6px; }
.name { background: rgba(0, 0, 0, .3); border: 1px solid var(--line); padding: 4px 11px; border-radius: 999px; font-size: .9rem; }
.name i { color: var(--gold); font-style: normal; font-size: .8rem; }

/* reports */
.rep-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.rep-card { --kc: #fff; background: var(--panel); border: 1px solid var(--line); border-top: 4px solid var(--kc); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 2px; }
.rep-card .em { font-size: 1.5rem; }
.rep-card b { font-family: var(--display); font-size: 2rem; font-weight: 400; color: var(--kc); line-height: 1; }
.rep-card small { color: var(--muted); }

/* ---------- seats page ---------- */
body[data-route="/seats"] .foot { display: none; }
.seats-page { display: grid; grid-template-columns: 1fr 400px; height: calc(100svh - 58px); }
.stage { position: relative; background: #05060d; overflow: hidden; min-height: 300px; }
.arena-canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; touch-action: none; cursor: grab; }
.stage-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); letter-spacing: .2em; }
.spinner { display: inline-block; width: 18px; height: 18px; border: 3px solid var(--line2); border-top-color: var(--gold); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.stage-top { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 8px; z-index: 3; }
.modes, .seg-mini { display: inline-flex; background: rgba(7, 8, 15, .78); border: 1px solid var(--line2); border-radius: 999px; padding: 3px; backdrop-filter: blur(8px); }
.modes button, .seg-mini button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; cursor: pointer; font-size: .85rem; font-weight: 600; color: var(--muted); }
.modes button[aria-pressed="true"], .seg-mini button[aria-pressed="true"] { background: var(--gold); color: #1a1300; }
.view-btns { position: absolute; top: 12px; right: 12px; display: flex; flex-direction: column; gap: 6px; z-index: 3; }
.view-btns button {
  display: flex; align-items: center; gap: 6px; background: rgba(7, 8, 15, .78); border: 1px solid var(--line2); border-radius: 12px; padding: 7px 10px;
  cursor: pointer; font-size: .85rem; backdrop-filter: blur(8px); justify-content: center; min-width: 40px;
}
.view-btns button:hover { border-color: var(--gold); }
.stage-bottom { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: flex-end; gap: 8px; z-index: 3; pointer-events: none; }
.legend, .toggles { pointer-events: auto; display: flex; flex-wrap: wrap; gap: 6px 12px; background: rgba(7, 8, 15, .78); border: 1px solid var(--line2); border-radius: 14px; padding: 8px 12px; font-size: .8rem; backdrop-filter: blur(8px); }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }
.toggles label { display: inline-flex; gap: 5px; align-items: center; cursor: pointer; }
.tip { position: absolute; z-index: 4; pointer-events: none; background: rgba(7, 8, 15, .92); border: 1px solid var(--line2); border-radius: 10px; padding: 6px 10px; font-size: .82rem; display: flex; flex-direction: column; }
.seat-hud {
  position: absolute; left: 50%; bottom: 70px; transform: translateX(-50%); z-index: 4; display: flex; align-items: center; gap: 10px;
  background: rgba(7, 8, 15, .86); border: 1px solid var(--gold); border-radius: 999px; padding: 6px 8px 6px 16px; backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5); white-space: nowrap;
}
.seat-hud small { display: block; color: var(--muted); font-size: .72rem; }
.stage.in-seat .stage-top, .stage.in-seat .legend { opacity: .35; }
.panel { background: var(--bg2); border-left: 1px solid var(--line); overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.panel-head h1 { margin: 0; font-size: 1.4rem; font-style: italic; font-weight: 800; }
.finder { display: flex; flex-direction: column; gap: 8px; }
.search-row { display: flex; gap: 8px; }
input, select, textarea {
  width: 100%; background: #0b0d1c; border: 1px solid var(--line2); border-radius: 12px; padding: 9px 12px; outline: none; min-width: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(255, 210, 63, .15); }
.selects { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
.mine { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .85rem; }
.hint { color: var(--muted); background: var(--panel); border: 1px dashed var(--line2); border-radius: 14px; padding: 14px; font-size: .9rem; }
.seat-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.seat-badge { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.seat-badge > div { background: #0b0d1c; border: 1px solid var(--line); border-radius: 12px; padding: 6px 8px; text-align: center; }
.seat-badge small { display: block; color: var(--muted); font-size: .7rem; }
.seat-badge b { font-family: var(--display); font-weight: 400; font-size: 1.5rem; line-height: 1.1; }
.seat-badge .price { background: var(--pc); color: #111; border-color: transparent; }
.seat-badge .price small { color: rgba(0, 0, 0, .6); }
.seat-badge .price b { font-size: 1.15rem; }
.level-line { color: var(--muted); font-size: .8rem; margin-top: -6px; }
.pin-info { border-radius: 14px; padding: 12px; border: 1px solid var(--line); background: #0b0d1c; display: flex; flex-direction: column; gap: 8px; }
.pin-info.side-C { background: linear-gradient(135deg, rgba(255, 59, 48, .18), #0b0d1c 70%); border-color: rgba(255, 59, 48, .4); }
.pin-info.side-E { background: linear-gradient(135deg, rgba(47, 134, 255, .2), #0b0d1c 70%); border-color: rgba(47, 134, 255, .45); }
.pin-info.side-N { background: linear-gradient(135deg, rgba(255, 210, 63, .16), #0b0d1c 70%); border-color: rgba(255, 210, 63, .4); }
.pin-top { display: flex; gap: 10px; align-items: center; }
.pin-top small { color: var(--muted); font-size: .72rem; }
.nick { display: flex; align-items: center; gap: 6px; font-size: 1.15rem; }
.meta { color: var(--muted); font-size: .8rem; }
.meta a { color: #9cc6ff; text-decoration: none; }
.tag { --kc: var(--line2); font-size: .72rem; padding: 1px 8px; border-radius: 999px; border: 1px solid var(--kc); color: var(--text); margin-right: 4px; white-space: nowrap; }
.tag.gold { background: var(--gold); color: #1a1300; border-color: var(--gold); }
.overw { font-size: .8rem; color: var(--muted); }
.empty-pin { color: var(--muted); background: #0b0d1c; border: 1px dashed var(--line2); border-radius: 14px; padding: 12px; text-align: center; }
.rep-info { background: rgba(255, 93, 143, .08); border: 1px solid rgba(255, 93, 143, .35); border-radius: 14px; padding: 10px 12px; font-size: .88rem; }
.rep-head { font-weight: 700; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.rep-items { margin: 6px 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 4px; }
.rep-items li { background: rgba(0, 0, 0, .25); border-radius: 8px; padding: 4px 8px; word-break: break-word; }
.rep-items a { color: #ffb3cb; }
.rep-items time { color: var(--muted); font-size: .75rem; }
.card-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.card-actions .btn { padding: 9px 10px; font-size: .88rem; }
.neigh h4 { margin: 0 0 6px; font-size: .95rem; }
.neigh ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.neigh li { display: flex; align-items: center; justify-content: space-between; background: #0b0d1c; border-radius: 10px; padding: 5px 10px; font-size: .88rem; }
.neigh li i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.neigh small { color: var(--muted); }
.zone-box { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 12px; }
.zone-box:empty { display: none; }
.zone-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.zone-head b { font-size: 1.05rem; }
.zone-head small { color: var(--muted); font-size: .78rem; }
.zg-zoom { margin-left: auto; display: flex; gap: 4px; }
.zg-zoom button { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line2); background: #0b0d1c; cursor: pointer; }
.zg-wrap { overflow: auto; max-height: 46vh; border-radius: 12px; background: #080915; }
.zg-wrap.big { max-height: 75vh; }
.zone-grid { width: 100%; height: auto; display: block; }
.zg-seat { cursor: pointer; stroke: rgba(255, 255, 255, .15); stroke-width: .03; transition: r .1s; }
.zg-seat:hover { stroke: #fff; stroke-width: .08; }
.zg-seat.pinned { stroke: #fff; stroke-width: .05; }
.zg-seat.mine { stroke: var(--gold); stroke-width: .12; }
.zg-seat.sel { stroke: var(--gold); stroke-width: .14; r: .3; filter: drop-shadow(0 0 .2px var(--gold)); }
.zg-flag { fill: #ff2d55; pointer-events: none; }
.zg-row { fill: var(--muted); font-size: .42px; font-weight: 700; }
.zg-court { fill: #4c46b8; }
.zg-court-t { fill: #fff; font-size: .36px; font-weight: 700; letter-spacing: .05px; }
.profile-mini { font-size: .85rem; }

/* ---------- chips / forms / modal ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips.small .chip { font-size: .78rem; padding: 2px 9px; }
.chip { border: 1px solid var(--line2); background: #0b0d1c; border-radius: 999px; padding: 5px 12px; cursor: pointer; font-size: .86rem; transition: background .12s, border-color .12s; }
.chip.team-C { border-color: rgba(255, 59, 48, .35); }
.chip.team-E { border-color: rgba(47, 134, 255, .4); }
.chip[aria-pressed="true"].team-C { background: var(--C); border-color: var(--C); color: #fff; }
.chip[aria-pressed="true"].team-E { background: var(--E); border-color: var(--E); color: #fff; }
.chip.gold { background: rgba(255, 210, 63, .15); border-color: var(--gold); color: var(--gold); }
.modal-wrap { position: fixed; inset: 0; z-index: 100; background: rgba(3, 4, 10, .72); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; opacity: 0; transition: opacity .18s; }
.modal-wrap.in { opacity: 1; }
.modal-wrap.out { opacity: 0; }
.modal { width: min(560px, 100%); max-height: calc(100svh - 32px); display: flex; flex-direction: column; background: var(--bg2); border: 1px solid var(--line2); border-radius: 24px; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); transform: translateY(10px); transition: transform .2s; }
.modal.wide { width: min(860px, 100%); }
.modal-wrap.in .modal { transform: none; }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line); }
.modal-head h3 { margin: 0; font-size: 1.25rem; font-style: italic; font-weight: 800; }
.modal-body { padding: 16px 20px 20px; overflow-y: auto; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; position: sticky; bottom: -20px; padding: 12px 0 4px; background: linear-gradient(transparent, var(--bg2) 30%); }
.profile-form { display: flex; flex-direction: column; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > span { font-weight: 600; font-size: .92rem; }
.count { color: var(--gold); font-weight: 700; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prefix { display: flex; align-items: center; background: #0b0d1c; border: 1px solid var(--line2); border-radius: 12px; }
.prefix i { padding: 0 0 0 12px; color: var(--muted); font-style: normal; }
.prefix input { border: 0; background: none; }
.side-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.side-card { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 8px; border-radius: 16px; border: 2px solid var(--line2); background: #0b0d1c; cursor: pointer; text-align: center; transition: transform .12s, border-color .12s; }
.side-card b { font-size: .92rem; line-height: 1.2; }
.side-card small { color: var(--muted); font-size: .76rem; }
.side-card:hover { transform: translateY(-2px); }
.side-card.side-C[aria-pressed="true"] { border-color: var(--C); background: linear-gradient(160deg, rgba(255, 59, 48, .35), #0b0d1c); box-shadow: 0 0 24px rgba(255, 59, 48, .25); }
.side-card.side-E[aria-pressed="true"] { border-color: var(--E); background: linear-gradient(160deg, rgba(47, 134, 255, .35), #0b0d1c); box-shadow: 0 0 24px rgba(47, 134, 255, .25); }
.side-card.side-N[aria-pressed="true"] { border-color: var(--gold); background: linear-gradient(160deg, rgba(255, 210, 63, .25), #0b0d1c); }
.segs { display: inline-flex; gap: 6px; }
.seg { border: 1px solid var(--line2); background: #0b0d1c; border-radius: 999px; padding: 7px 16px; cursor: pointer; }
.seg[aria-pressed="true"] { background: var(--gold); color: #1a1300; border-color: var(--gold); font-weight: 700; }
.search { margin-bottom: 4px; }
.team-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-height: 280px; overflow-y: auto; padding: 4px; border: 1px solid var(--line); border-radius: 14px; }
.team-head { font-weight: 800; font-style: italic; margin-bottom: 6px; position: sticky; top: 0; background: var(--bg2); padding: 2px 0; }
.team-head.team-C { color: #ff8a7a; } .team-head.team-E { color: #9cc6ff; }
.fandoms { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 6px; max-height: 260px; overflow-y: auto; padding: 2px; }
.fandom { display: flex; flex-direction: column; gap: 1px; text-align: left; padding: 8px 12px; border-radius: 12px; border: 1px solid var(--line2); background: #0b0d1c; cursor: pointer; }
.fandom b { font-size: .85rem; line-height: 1.2; }
.fandom small { color: var(--muted); font-size: .72rem; }
.fandom[aria-pressed="true"] { border-color: #c58bff; background: rgba(197, 139, 255, .18); }
.kinds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.kind { --kc: #fff; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 14px; border: 2px solid var(--line2); background: #0b0d1c; cursor: pointer; text-align: center; font-size: .86rem; }
.kind .em { font-size: 1.5rem; }
.kind[aria-pressed="true"] { border-color: var(--kc); background: color-mix(in srgb, var(--kc) 18%, #0b0d1c); }
.warn { background: rgba(255, 176, 32, .12); border: 1px solid rgba(255, 176, 32, .45); color: #ffd48a; border-radius: 12px; padding: 10px 12px; margin: 10px 0; font-size: .9rem; }
.rules { font-size: .82rem; color: var(--muted); }
.ts { margin-top: 10px; }

#toasts { position: fixed; z-index: 200; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { background: #151936; border: 1px solid var(--line2); border-left: 4px solid var(--ok); border-radius: 12px; padding: 10px 16px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); animation: tin .2s ease-out; transition: opacity .5s, transform .5s; max-width: 90vw; }
.toast.warn { border-left-color: var(--gold); } .toast.err { border-left-color: #ff2d55; }
.toast.out { opacity: 0; transform: translateY(10px); }
@keyframes tin { from { opacity: 0; transform: translateY(10px); } }

/* ---------- stats ---------- */
.stats-grid { width: min(1180px, calc(100% - 32px)); margin: 20px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.stat-card { background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 18px; min-width: 0; }
.stat-card.wide { grid-column: 1 / -1; }
.stat-card h3 { margin: 0 0 12px; font-size: 1.15rem; font-weight: 700; }
.stat-card h4 { margin: 16px 0 8px; font-size: .95rem; color: var(--muted); font-weight: 600; }
.bars { display: flex; flex-direction: column; gap: 7px; }
.bar-row { display: grid; grid-template-columns: minmax(90px, 34%) 1fr auto; gap: 10px; align-items: center; font-size: .88rem; }
.bar-label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bar-track { height: 12px; background: #0b0d1c; border-radius: 999px; overflow: hidden; }
.bar-fill { display: block; height: 100%; border-radius: 999px; transition: width .8s cubic-bezier(.2, .9, .2, 1); min-width: 3px; }
.bar-val { font-variant-numeric: tabular-nums; min-width: 2.5em; text-align: right; }
.split { display: flex; height: 26px; border-radius: 999px; overflow: hidden; background: #0b0d1c; }
.split > div { transition: flex .8s; }
.split-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: .86rem; }
.split-legend span { display: inline-flex; align-items: center; gap: 6px; }
.split-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.donut { --p: 50%; width: 150px; height: 150px; border-radius: 50%; margin: 4px auto 10px; display: grid; place-items: center; background: conic-gradient(var(--gold) var(--p), #5de0c6 0); }
.donut > div { width: 104px; height: 104px; border-radius: 50%; background: var(--panel); display: grid; place-items: center; text-align: center; align-content: center; }
.donut b { font-family: var(--display); font-weight: 400; font-size: 1.8rem; line-height: 1; }
.donut small { color: var(--muted); font-size: .78rem; }

/* ---------- footer ---------- */
.foot { margin-top: 80px; border-top: 1px solid var(--line); background: #05060b; }
.foot-inner { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 26px 0 40px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .88rem; }
.foot-inner b { color: var(--text); }
.foot-inner p { margin: 4px 0 0; }
.foot-links { display: flex; gap: 16px; flex-wrap: wrap; }
.foot-links a { color: var(--gold); text-decoration: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .seats-page { grid-template-columns: 1fr; height: auto; }
  .stage { height: 58svh; }
  .panel { border-left: 0; border-top: 1px solid var(--line); overflow: visible; }
  .teaser-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .nav { position: fixed; top: 58px; left: 0; right: 0; flex-direction: column; background: rgba(7, 8, 15, .97); padding: 10px 16px 16px; margin: 0; border-bottom: 1px solid var(--line); transform: translateY(-120%); transition: transform .25s; z-index: 40; }
  body.nav-open .nav { transform: none; }
  .nav a { padding: 12px 14px; }
  .burger { display: block; }
  .me-btn span { max-width: 90px; overflow: hidden; text-overflow: ellipsis; }
  .kpis { grid-template-columns: repeat(2, 1fr); }
  .vs { grid-template-columns: 1fr 1fr; }
  .vs-mid { grid-column: 1 / -1; grid-row: 1; }
  .vs-team { flex-direction: column; gap: 6px; text-align: center !important; justify-content: center !important; }
  .vs-team.E { flex-direction: column-reverse; }
  .vs-team .emblem { width: 70px !important; height: 70px !important; }
  .lineup { grid-template-columns: 1fr; }
  .rep-cards { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .rep-card { padding: 10px; }
  .rep-card small { font-size: .72rem; }
  .tug { grid-template-columns: 1fr 1fr; }
  .tug-bar { grid-column: 1 / -1; grid-row: 2; }
  .tug-label.E { text-align: right; }
  .cheer { padding: 18px; }
  .grid2 { grid-template-columns: 1fr; }
  .team-cols { grid-template-columns: 1fr; }
  .side-cards { gap: 6px; }
  .scoreboard { grid-template-columns: 1fr auto 1fr; gap: 8px; padding: 16px 12px; }
  .sb-team { flex-direction: column; text-align: center; gap: 4px; }
  .sb-team.E { flex-direction: column-reverse; text-align: center; }
  .sb-team .emblem { width: 48px !important; height: 48px !important; }
  .roster-cols { grid-template-columns: 1fr; }
  .view-btns button span { display: none; }
  .stage-bottom { flex-direction: column; align-items: flex-start; }
  .toggles { display: none; }
  .seat-hud { bottom: 14px; width: calc(100% - 24px); justify-content: space-between; }
  .stage.in-seat .stage-bottom { display: none; }
  .brand-text b { font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.zg-num { fill: rgba(255, 255, 255, .85); font-size: .2px; font-weight: 700; pointer-events: none; }

/* ---------- v2: logos, view switcher, 2-D plans, ticket source ---------- */
.brand-logo { height: 40px; width: auto; display: block; filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .6)); }
.emblem img { width: 100%; height: 100%; object-fit: contain; display: block; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .55)); }
.hero-title { margin: 0; }
.hero-logo { width: min(760px, 92vw); height: auto; display: block; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, .55)) drop-shadow(0 0 40px rgba(120, 160, 255, .25)); animation: logoIn 1s cubic-bezier(.2, .9, .2, 1.2) both; }
@keyframes logoIn { from { opacity: 0; transform: scale(.85) translateY(20px); } }
.vs-team .emblem { filter: drop-shadow(0 0 30px rgba(0, 0, 0, .4)); }
.vs-team.C .emblem img { filter: drop-shadow(0 0 26px rgba(255, 59, 48, .55)); }
.vs-team.E .emblem img { filter: drop-shadow(0 0 26px rgba(47, 134, 255, .6)); }
.fan-note { font-size: .78rem; color: rgba(255, 255, 255, .55); margin: 0; }
.view-switch { display: inline-flex; background: rgba(7, 8, 15, .85); border: 1px solid var(--gold); border-radius: 999px; padding: 3px; backdrop-filter: blur(8px); }
.view-switch button { border: 0; background: none; padding: 7px 14px; border-radius: 999px; cursor: pointer; font-size: .88rem; font-weight: 700; color: var(--text); white-space: nowrap; }
.view-switch button[aria-pressed="true"] { background: linear-gradient(135deg, var(--gold), var(--gold2)); color: #1a1300; }
.plan2d { position: absolute; inset: 0; z-index: 1; background: #080913; }
.plan2d-canvas { display: block; touch-action: none; cursor: grab; }
.stage.is-2d .only3d, .stage.is-2d .toggles, .stage.is-2d .stage-hint { display: none; }
.stage-hint { position: absolute; left: 50%; top: 58px; transform: translateX(-50%); z-index: 3; background: rgba(7, 8, 15, .8); border: 1px solid var(--line2); border-radius: 999px; padding: 6px 14px; font-size: .82rem; pointer-events: none; transition: opacity .6s; white-space: nowrap; }
.stage-hint.out { opacity: 0; }
.plan-stage { fill: #1b1f3a; stroke: var(--gold); stroke-width: .15; }
.plan-stage-t { fill: var(--gold); font-weight: 800; }
.src-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.src-chip { --kc: #9aa3c0; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 14px; border: 2px solid var(--line2); background: #0b0d1c; cursor: pointer; text-align: left; font-size: .86rem; }
.src-chip .em { font-size: 1.3rem; }
.src-chip[aria-pressed="true"] { border-color: var(--kc); background: color-mix(in srgb, var(--kc) 18%, #0b0d1c); }
.src-badge { --kc: #3ee08f; display: inline-flex; align-items: center; gap: 4px; font-size: .72rem; font-weight: 800; letter-spacing: .03em; padding: 2px 9px; border-radius: 999px; color: #06120b; background: var(--kc); margin-left: 4px; }
.src-badge.src-self { background: linear-gradient(135deg, #3ee08f, #ffd23f); box-shadow: 0 0 14px rgba(62, 224, 143, .45); animation: brag 2.4s ease-in-out infinite; }
@keyframes brag { 50% { transform: scale(1.06); } }
.hall { margin: 0; padding: 0; list-style: none; counter-reset: h; display: flex; flex-direction: column; gap: 6px; }
.hall li { counter-increment: h; display: flex; align-items: center; gap: 8px; background: #0b0d1c; border-radius: 12px; padding: 7px 12px; font-size: .9rem; }
.hall li::before { content: counter(h); font-family: var(--display); color: var(--gold); width: 1.6em; }
.hall li i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.hall li span { color: var(--muted); }
.price-pill { margin-left: auto; background: var(--pc); color: #111 !important; font-weight: 700; border-radius: 999px; padding: 1px 9px; font-size: .78rem; }
@media (max-width: 760px) {
  .brand-logo { height: 32px; }
  .view-switch button { padding: 6px 10px; font-size: .8rem; }
  .vs-team .emblem { width: 110px !important; height: 110px !important; }
}

/* Lucide icons */
.lucide { flex: none; vertical-align: -3px; }
.btn .lucide, .chip .lucide, .tabs .lucide, .view-switch .lucide, .view-btns .lucide { vertical-align: middle; }
.rep-card .em, .kind .em { color: var(--kc); display: inline-flex; }
.src-chip .em { color: var(--kc); display: inline-flex; }
.ev-icon { display: inline-flex; color: var(--gold); }
.block-head h2 .lucide, .page-head h1 .lucide, .stat-card h3 .lucide { color: var(--gold); vertical-align: -4px; }
.tug-label { display: inline-flex; align-items: center; gap: 6px; }
.tug-label .emblem { width: 30px; height: 30px; }
.team-head { display: flex; align-items: center; gap: 6px; }
.seg-mini button { display: inline-flex; align-items: center; gap: 3px; }

/* seat finder */
.finder-label { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: .95rem; }
.selects { grid-template-columns: 1fr 1fr 1fr auto !important; align-items: stretch; }
.go-btn { gap: 2px; padding-left: 16px !important; padding-right: 12px !important; }
@media (max-width: 420px) { .selects { grid-template-columns: 1fr 1fr 1fr !important; } .go-btn { grid-column: 1 / -1; } }

/* ---------- seat pages: BBFanGuide layout (head · map card · side cards) ---------- */
body[data-route="/seats"] .foot, body[data-route="/view"] .foot { display: block; }
.bb-head { width: min(1240px, calc(100% - 32px)); margin: 22px auto 0; }
.bb-head .back { display: inline-flex; align-items: center; gap: 4px; color: var(--gold); text-decoration: none; font-weight: 600; font-size: .9rem; }
.bb-head .back .flip { transform: scaleX(-1); }
.kicker-sm { margin: 14px 0 0; font-size: .78rem; letter-spacing: .18em; color: #cfd5ee; font-weight: 600; }
.bb-head h1 { margin: 2px 0 0; font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; font-style: italic; line-height: 1.1;
  background: linear-gradient(180deg, #fff, #ffd98a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bb-head p { margin: 4px 0 0; }
.bb-layout { width: min(1240px, calc(100% - 32px)); margin: 18px auto 0; display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 18px; align-items: start; }
.bb-main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bb-side { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 72px; }
.map-card { background: var(--panel); border: 1px solid var(--line2); border-radius: 22px; overflow: hidden; }
.map-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; flex-wrap: wrap; }
.map-head b { font-size: 1rem; }
.map-card .stage { height: min(68vh, 640px); min-height: 380px; border-radius: 0; }
body[data-route="/view"] .map-card .stage { height: min(74vh, 720px); }
.map-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px 14px; flex-wrap: wrap; }
.legend.inline { background: none; border: 0; padding: 0; backdrop-filter: none; pointer-events: auto; }
.view3d-cta { justify-content: center; }
.info-card { background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.info-card h3 { margin: 0; font-size: 1rem; display: flex; align-items: center; gap: 6px; }
.info-card h3 .lucide { color: var(--gold); }
.card-head { display: flex; align-items: center; justify-content: space-between; }
.card-head .more { font-size: .85rem; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.pill-stat { display: inline-flex; align-items: center; gap: 4px; background: var(--panel); border: 1px solid var(--line2); border-radius: 999px; padding: 6px 12px; font-size: .85rem; font-weight: 600; }
.pill-stat .lucide { color: var(--gold); }
.pill-stat.warn .lucide { color: #ff8fb0; }
.selects3 { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 6px; }
.rank { margin: 0; padding: 0; list-style: none; counter-reset: r; display: flex; flex-direction: column; gap: 4px; }
.rank li { counter-increment: r; display: flex; justify-content: space-between; gap: 8px; background: #0b0d1c; border-radius: 10px; padding: 6px 10px; font-size: .88rem; }
.rank li span::before { content: counter(r) '. '; color: var(--gold); font-weight: 700; }
.pinned-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.pinned-list li { display: flex; justify-content: space-between; align-items: center; background: #0b0d1c; border-radius: 10px; padding: 6px 10px; font-size: .88rem; }
.pinned-list i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.pinned-list small { color: var(--muted); }
.note { margin: 0; }
.mine { display: flex; flex-wrap: wrap; gap: 6px; }
.linkish.small { font-size: .85rem; }
@media (max-width: 980px) {
  .bb-layout { grid-template-columns: 1fr; }
  .bb-side { position: static; }
  .map-card .stage { height: 62svh; min-height: 320px; }
}

/* ---------- ผังรอบตัว 3×3 ---------- */
.around-wrap { position: absolute; inset: 0; z-index: 1; background: radial-gradient(circle at 50% 30%, #161a38, #07080f); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 60px 16px 20px; overflow: auto; }
.around-head { margin-bottom: 10px; text-align: center; }
.around-empty { text-align: center; color: var(--muted); max-width: 320px; }
.around-empty .lucide { color: var(--gold); }
.around { display: flex; flex-direction: column; gap: 6px; width: 100%; }
.around.big { max-width: 560px; gap: 10px; }
.ar-court { text-align: center; background: #4c46b8; color: #fff; font-weight: 800; letter-spacing: .12em; border-radius: 999px; padding: 3px 0; font-size: .78rem; margin-left: 58px; }
.around.big .ar-court { padding: 6px 0; font-size: .9rem; margin-left: 76px; }
.ar-cols { display: grid; grid-template-columns: 52px repeat(3, 1fr); gap: 6px; font-size: .72rem; color: var(--muted); text-align: center; }
.around.big .ar-cols { grid-template-columns: 70px repeat(3, 1fr); gap: 10px; }
.ar-row { display: grid; grid-template-columns: 52px repeat(3, 1fr); gap: 6px; align-items: stretch; }
.around.big .ar-row { grid-template-columns: 70px repeat(3, 1fr); gap: 10px; }
.ar-label { font-size: .72rem; color: var(--muted); display: flex; align-items: center; }
.ar-cell { --tc: var(--line2); display: flex; flex-direction: column; gap: 2px; align-items: flex-start; text-align: left; min-height: 58px; padding: 7px 9px; border-radius: 12px; border: 1.5px solid var(--line2); background: #0b0d1c; color: var(--text); cursor: pointer; min-width: 0; }
.around.big .ar-cell { min-height: 92px; padding: 10px 12px; border-radius: 16px; }
.ar-cell:hover { border-color: var(--gold); }
.ar-cell.pinned { border-color: var(--tc); background: color-mix(in srgb, var(--tc) 18%, #0b0d1c); }
.ar-cell.center { border: 2px solid var(--gold); box-shadow: 0 0 0 3px rgba(255, 210, 63, .18); }
.ar-cell.aisle { cursor: default; border-style: dashed; background: transparent; align-items: center; justify-content: center; color: var(--muted); }
.ar-seat { font-family: var(--display); font-size: .95rem; display: inline-flex; align-items: center; gap: 4px; }
.around.big .ar-seat { font-size: 1.2rem; }
.ar-seat .lucide { color: var(--gold); }
.ar-who { display: flex; align-items: center; gap: 5px; min-width: 0; }
.ar-who b { font-size: .8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.around.big .ar-who b { font-size: .95rem; }
.ar-empty { font-size: .75rem; color: var(--muted); }
.stage.is-around .view-btns { display: none; }
.teaser-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.teaser-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.arena-teaser > .plan-box { aspect-ratio: auto; height: min(78vh, 680px); margin-top: 10px; }

/* ---------- home: balanced button groups ---------- */
.cta-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: min(720px, 100%); }
.cta-row .btn, .cheer-btns .btn, .teaser-btns .btn { justify-content: center; width: 100%; white-space: nowrap; }
.cheer-btns { display: grid; grid-template-columns: 1fr minmax(0, .8fr) 1fr; gap: 12px; width: min(720px, 100%); margin: 20px auto 0; }
.cheer-btns .both { font-size: .95rem; }
.teaser-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; min-width: min(420px, 100%); }
@media (max-width: 760px) {
  .cta-row { grid-template-columns: 1fr 1fr; width: min(420px, 100%); }
  .cta-row .btn.primary { grid-column: 1 / -1; }
  .cta-row .btn.big { padding: 13px 12px; font-size: .98rem; }
  .cheer-btns { grid-template-columns: 1fr 1fr; }
  .cheer-btns .both { grid-column: 1 / -1; grid-row: 2; padding: 10px; }
  .teaser-foot { flex-direction: column; align-items: stretch; }
  .teaser-btns { min-width: 0; }
}
@media (max-width: 760px) { .tug { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; } .tug-label { font-size: 1.05rem; min-width: 0; } .tug-label b { font-size: 1.45rem; } .tug-label.E { justify-content: flex-end; } }

/* ---------- home: watch live / rerun ---------- */
.watch-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 16px; align-items: start; }
.stream-card { background: linear-gradient(160deg, rgba(255, 179, 0, .14), var(--panel) 55%); border: 1px solid var(--line2); border-radius: 22px; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.stream-card > p { margin: 0; font-size: .92rem; }
.stream-prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sp-item { background: #0b0d1c; border: 1px solid var(--line2); border-radius: 14px; padding: 10px 12px; }
.sp-item.live { border-color: var(--gold); }
.sp-item small { display: block; color: var(--muted); font-size: .8rem; }
.sp-item b { font-family: var(--display); font-weight: 400; font-size: 1.8rem; line-height: 1.1; }
.sp-item.live b { color: var(--gold); }
.stream-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: .88rem; color: #d7dcf2; }
.stream-facts li { display: flex; gap: 8px; align-items: flex-start; }
.stream-facts .lucide { color: var(--gold); flex: none; margin-top: 2px; }
.stream-card .btn { justify-content: center; }
.clips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.clip { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.clip figcaption { font-size: .85rem; color: var(--muted); line-height: 1.35; }
.yt { width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line2); border-radius: 16px; background: #000 center / cover no-repeat; display: grid; place-items: center; cursor: pointer; padding: 0; }
button.yt:hover .yt-play { transform: scale(1.08); background: #ff0033; }
.yt-play { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, .65); color: #fff; border: 2px solid rgba(255, 255, 255, .8); transition: transform .15s, background .15s; }
.yt-play .lucide { margin-left: 3px; fill: currentColor; }
@media (max-width: 980px) { .watch-grid { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .clips { grid-template-columns: 1fr; } }
/* shirt number chip inside a lineup name (Anton, team-tinted) */
.name { display: inline-flex; align-items: center; gap: 6px; }
.name .shirt { font-family: var(--display); font-weight: 400; font-size: .95rem; line-height: 1; min-width: 1.6em; text-align: center; padding: 2px 4px; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.team-C .name .shirt { color: #ff8a7a; }
.team-E .name .shirt { color: #9cc6ff; }
.names:has(.shirt) .name { padding-left: 5px; }

/* ---------- sport detail sheet ---------- */
.event[role="button"] { cursor: pointer; transition: transform .15s, border-color .15s; }
.event[role="button"]:hover { transform: translateY(-2px); border-color: rgba(255, 210, 63, .5); }
.event[role="button"]:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.ev-more { margin-top: auto; padding-top: 8px; font-size: .8rem; color: var(--gold); display: inline-flex; align-items: center; gap: 4px; }
.sp-sheet { display: flex; flex-direction: column; gap: 14px; }
.sp-clip { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.sp-stage { width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; border: 1px solid var(--line2); }
.sp-frame { width: 100%; height: 100%; border: 0; display: block; }
.sp-poster { position: relative; width: 100%; height: 100%; border: 0; padding: 0; cursor: pointer; overflow: hidden; color: #fff; perspective: 700px;
  background: radial-gradient(120% 90% at 50% 120%, rgba(255, 140, 20, .35), transparent 60%), linear-gradient(180deg, #0b0a1a, #140b12); }
.sp-poster::before { content: ''; position: absolute; left: -20%; right: -20%; bottom: -40%; height: 90%; transform: rotateX(62deg);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .09) 0 2px, transparent 2px 56px), repeating-linear-gradient(0deg, rgba(255, 255, 255, .09) 0 2px, transparent 2px 56px);
  mask-image: linear-gradient(transparent, #000 40%); }
.sp-glow { position: absolute; width: 60%; height: 120%; top: -10%; filter: blur(50px); opacity: .55; }
.sp-glow.C { left: -20%; background: var(--C); } .sp-glow.E { right: -20%; background: var(--E); }
.sp-emb { position: absolute; top: 50%; transform: translateY(-58%); filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .6)); }
.sp-emb .emblem { animation: float 4s ease-in-out infinite; }
.sp-emb.C { left: 7%; } .sp-emb.E { right: 7%; } .sp-emb.E .emblem { animation-delay: -2s; }
.sp-bigicon { position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%); color: var(--gold); filter: drop-shadow(0 0 22px rgba(255, 210, 63, .6)); }
.sp-title { position: absolute; left: 0; right: 0; top: 60%; text-align: center; font-weight: 800; font-style: italic; font-size: clamp(1.2rem, 4vw, 2rem); text-shadow: 0 4px 18px rgba(0, 0, 0, .8); }
.sp-play { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: #ff0033; color: #fff; font-weight: 700; font-size: .92rem; padding: 8px 16px; border-radius: 999px; box-shadow: 0 8px 24px rgba(255, 0, 51, .4); transition: transform .15s; }
.sp-play small { opacity: .8; font-weight: 500; }
.sp-play .lucide { fill: currentColor; }
.sp-poster:hover .sp-play { transform: translateX(-50%) scale(1.06); }
.sp-credit { margin: 0; font-size: .75rem; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.sp-status { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.sp-score { gap: 14px; margin: 0; }
.sp-desc { margin: 0; text-align: center; }
.sp-rosters { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sp-team { border-radius: 18px; padding: 14px; border: 1px solid var(--line); min-width: 0; }
.sp-team.team-C { background: linear-gradient(160deg, rgba(255, 59, 48, .2), var(--panel) 60%); }
.sp-team.team-E { background: linear-gradient(160deg, rgba(47, 134, 255, .22), var(--panel) 60%); }
@media (max-width: 640px) {
  .sp-rosters { grid-template-columns: 1fr; }
  .sp-emb .emblem { width: 60px !important; height: 60px !important; }
  .sp-emb.C { left: 3%; } .sp-emb.E { right: 3%; }
  .sp-bigicon .lucide { width: 44px; height: 44px; }
  .sp-play { font-size: .8rem; padding: 6px 12px; }
}

/* ---------- share-my-seat sheet ---------- */
.share-sheet { display: flex; flex-direction: column; gap: 12px; align-items: center; }
.share-img { width: min(100%, 420px); height: auto; border-radius: 18px; border: 1px solid var(--line2); box-shadow: 0 20px 50px rgba(0, 0, 0, .5); }
.share-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; width: min(100%, 420px); }
.share-btns .btn { justify-content: center; }
.share-sheet > p { margin: 0; text-align: center; }

/* lineup → sport detail entry */
.sport-open { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; width: 100%; text-align: left; cursor: pointer; color: var(--text);
  padding: 14px 16px; border-radius: 20px; border: 1px solid rgba(255, 210, 63, .45);
  background: linear-gradient(100deg, rgba(255, 59, 48, .22), rgba(20, 16, 40, .9) 40%, rgba(20, 16, 40, .9) 60%, rgba(47, 134, 255, .24)); transition: transform .15s, border-color .15s; }
.sport-open:hover { transform: translateY(-2px); border-color: var(--gold); }
.sport-open b { display: block; font-size: 1.05rem; }
.sport-open small { color: var(--muted); }
.so-icon { flex: none; width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: var(--gold); background: rgba(255, 210, 63, .12); }
.so-play { flex: none; margin-left: auto; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #ff0033; color: #fff; }
.so-play .lucide { fill: currentColor; margin-left: 2px; }

/* ---------- register: how are you watching ---------- */
.watch-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.watch-card { display: flex; align-items: center; gap: 10px; text-align: left; padding: 12px; border-radius: 16px; border: 1.5px solid var(--line2); background: var(--panel); color: var(--text); cursor: pointer; min-width: 0; }
.watch-card b { display: block; font-size: .95rem; }
.watch-card small { color: var(--muted); font-size: .78rem; }
.watch-card[aria-pressed="true"] { border-color: var(--gold); background: rgba(255, 210, 63, .1); box-shadow: 0 0 0 3px rgba(255, 210, 63, .15); }
.wc-icon { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .06); color: var(--gold); }
.watch-card[data-w="live"] .wc-icon { color: #ff4d6d; }
.watch-hint { margin: 6px 0 0; }
.watch-hint:empty { display: none; }
.watch-line { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: -4px 0 14px; color: var(--muted); font-size: .9rem; }
.watch-line span { display: inline-flex; align-items: center; gap: 5px; }
.watch-line b { color: var(--text); }
@media (max-width: 420px) { .watch-cards { grid-template-columns: 1fr; } }
/* stats: fan density map legend */
.density-sub { margin: -4px 0 8px; }
.density-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: .82rem; }
.density-legend span { display: inline-flex; align-items: center; gap: 6px; }
.density-legend i { width: 12px; height: 12px; border-radius: 4px; display: inline-block; }

/* ---------- stats: balanced bento grid ---------- */
.stats-grid { width: min(1240px, calc(100% - 32px)); grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.stats-grid .span-all { grid-column: 1 / -1; }
.stats-grid .arena-card { grid-column: span 2; display: flex; flex-direction: column; gap: 10px; }
.stats-grid .side-tall { display: flex; flex-direction: column; }
.arena-card .card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.arena-card h3 { margin: 0; }
.arena-card > p { margin: 0; }
.stats-arena { position: relative; flex: 1; min-height: 460px; border-radius: 16px; overflow: hidden; background: #06070e; border: 1px solid var(--line); cursor: pointer; }
.stats-arena .stage-loading { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); letter-spacing: .2em; }
.chip.pick .dot-sw { width: 10px; height: 10px; border-radius: 50%; display: inline-block; margin-right: 4px; }
.rep-split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.rep-split h4 { margin-top: 0; }
@media (max-width: 1100px) {
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid .arena-card { grid-column: 1 / -1; }
  .stats-grid .side-tall { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .stats-grid { grid-template-columns: 1fr; }
  .stats-grid .arena-card, .stats-grid .side-tall { grid-column: auto; }
  .stats-arena { min-height: 380px; }
  .rep-split { grid-template-columns: 1fr; }
}
