/* WHATR — mobile-first design system. Near-black, hairline borders, one bright accent, thumb-sized targets. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("/static/fonts/inter-latin.woff2") format("woff2");
}

:root {
  --bg: #07080b;
  --bg-2: #0c0e13;
  --card: #111318;
  --card-2: #181b22;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #f3f5f8;
  --muted: #8c94a3;
  --faint: #596171;
  --accent: #c8f53c;
  --accent-ink: #0d1200;
  --accent-soft: rgba(200, 245, 60, 0.11);
  --live: #ff4d61;
  --live-soft: rgba(255, 77, 97, 0.12);
  --warn: #ffb547;
  --warn-soft: rgba(255, 181, 71, 0.12);
  --blue: #6aa8ff;
  --blue-soft: rgba(106, 168, 255, 0.12);
  --gold: #f5c84c;
  --radius: 20px;
  --radius-sm: 12px;
  --tabbar-h: 64px;
  --topbar-h: 58px;
  /* iPhone notch / Dynamic Island / home indicator: the app draws edge to edge (viewport-fit=cover). */
  --safe-t: env(safe-area-inset-top, 0px);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-l: env(safe-area-inset-left, 0px);
  --safe-r: env(safe-area-inset-right, 0px);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 10px 30px rgba(0, 0, 0, 0.35);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background:
    radial-gradient(80% 50% at 50% -10%, rgba(200, 245, 60, 0.07), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--text);
  font: 15px/1.45 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overscroll-behavior-y: none;
}
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; }
.num, .mono { font-variant-numeric: tabular-nums; }
.mono { font-family: ui-monospace, "SF Mono", Menlo, monospace; }
::selection { background: var(--accent); color: var(--accent-ink); }

/* ── Brand ─────────────────────────────────────────────── */

/* The wordmark. A logo image will replace the text; keep the class on whatever renders it. */
.wordmark {
  font-weight: 900; letter-spacing: -0.04em; color: var(--accent);
  font-style: italic; line-height: 1;
}
.brand { display: flex; align-items: center; font-size: 22px; }

/* ── Shell ─────────────────────────────────────────────── */

/* The top bar reaches up under the status bar and camera, and keeps its contents below them. */
.topbar {
  position: sticky; top: 0; z-index: 30;
  height: calc(var(--topbar-h) + var(--safe-t));
  display: flex; align-items: center; gap: 12px;
  padding: var(--safe-t) calc(16px + var(--safe-r)) 0 calc(16px + var(--safe-l));
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.topnav { display: none; gap: 2px; margin-left: 16px; }
.topnav a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 14px; transition: color 0.15s, background 0.15s; }
.topnav a.active, .topnav a:hover { color: var(--text); background: var(--card-2); }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.credits {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent);
  font-weight: 700; font-size: 14px; font-variant-numeric: tabular-nums;
}
.icon-btn {
  position: relative; width: 40px; height: 40px; border-radius: 999px;
  display: grid; place-items: center; color: var(--muted);
}
.icon-btn:hover { background: var(--card-2); color: var(--text); }
.dot-count {
  position: absolute; top: 4px; right: 4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 999px; background: var(--live); color: #fff;
  font-size: 11px; font-weight: 800; line-height: 18px; text-align: center;
  box-shadow: 0 0 0 2px var(--bg);
}

.page {
  max-width: 720px; margin: 0 auto;
  padding: 18px calc(16px + var(--safe-r)) calc(var(--tabbar-h) + var(--safe-b) + 24px) calc(16px + var(--safe-l));
  display: flex; flex-direction: column; gap: 18px;
}
.page-wide { max-width: 960px; }

/* Tab bar: pinned to the bottom edge, solid, and tall enough to clear the home indicator. */
.tabbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  height: calc(var(--tabbar-h) + var(--safe-b));
  padding: 0 var(--safe-r) var(--safe-b) var(--safe-l);
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--bg-2);
  border-top: 1px solid var(--line-strong);
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  color: var(--faint); font-size: 10.5px; font-weight: 600; letter-spacing: 0.01em;
  transition: color 0.15s;
}
.tab svg { width: 22px; height: 22px; }
.tab.active { color: var(--accent); }

@media (min-width: 768px) {
  .topnav { display: flex; }
  .tabbar { display: none; }
  .page { padding-bottom: 56px; padding-top: 28px; }
}

/* ── Type & layout ─────────────────────────────────────── */

.h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.h2 { font-size: 19px; font-weight: 750; letter-spacing: -0.02em; }
.h3 { font-size: 15px; font-weight: 700; letter-spacing: -0.01em; }
.eyebrow { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.small { font-size: 13px; }
.tiny { font-size: 11.5px; }
.bold { font-weight: 700; }
.green { color: var(--accent); }
.red { color: var(--live); }
.gold { color: var(--gold); }
.center { text-align: center; }
.right { text-align: right; }
.stack { display: flex; flex-direction: column; gap: 12px; }
.stack-sm { display: flex; flex-direction: column; gap: 6px; }
.stack-lg { display: flex; flex-direction: column; gap: 22px; }
.row { display: flex; align-items: center; gap: 10px; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.ellipsis { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 0 2px; }
.section-head a { color: var(--accent); font-size: 14px; font-weight: 600; }

/* ── Surfaces ──────────────────────────────────────────── */

.card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0) 60%), var(--card);
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px;
}
.card-flush { padding: 0; overflow: hidden; background: var(--card); }
.card-hero {
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(200, 245, 60, 0.13), transparent 55%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 60%), var(--card);
}
.list > * { padding: 14px 16px; }
.list > * + * { border-top: 1px solid var(--line); }
a.list-link { display: flex; align-items: center; gap: 12px; transition: background 0.12s; }
a.list-link:hover { background: rgba(255, 255, 255, 0.02); }
a.list-link:active { background: var(--card-2); }
.chevron { color: var(--faint); margin-left: auto; }

.alert { border-radius: var(--radius-sm); padding: 12px 14px; font-weight: 600; font-size: 14px; }
.alert-error { background: var(--live-soft); color: #ff8a97; }
.alert-ok { background: var(--accent-soft); color: var(--accent); }
.alert-info { background: var(--blue-soft); color: var(--blue); }

.empty { text-align: center; padding: 28px 16px; color: var(--muted); }
.empty .h3 { color: var(--text); margin-bottom: 4px; }

/* ── Badges & chips ────────────────────────────────────── */

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px; border-radius: 999px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.01em; white-space: nowrap;
  background: rgba(255, 255, 255, 0.06); color: var(--muted);
}
.badge-live { background: var(--live-soft); color: var(--live); }
.badge-open { background: var(--accent-soft); color: var(--accent); }
.badge-warn { background: var(--warn-soft); color: var(--warn); }
.badge-blue { background: var(--blue-soft); color: var(--blue); }
.badge-gold { background: rgba(245, 200, 76, 0.14); color: var(--gold); }
.pulse { width: 7px; height: 7px; border-radius: 99px; background: currentColor; animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; padding: 8px 15px; border-radius: 999px;
  background: var(--card); border: 1px solid var(--line);
  color: var(--muted); font-weight: 650; font-size: 14px;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}
.chip:hover { color: var(--text); }
.chip.on { background: var(--text); border-color: var(--text); color: var(--bg); }

.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--line); }
.seg button { padding: 10px 8px; border: 0; border-radius: 10px; background: transparent; color: var(--muted); font-weight: 700; font-size: 14px; transition: color 0.15s, background 0.15s; }
.seg button.on { background: var(--card-2); color: var(--text); box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 2px 8px rgba(0, 0, 0, 0.3); }

/* ── Buttons & inputs ──────────────────────────────────── */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 20px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.05); color: var(--text);
  font-weight: 700; font-size: 15px; letter-spacing: -0.005em; white-space: nowrap;
  transition: transform 0.08s ease, filter 0.15s ease, background 0.15s ease;
}
.btn:hover { background: rgba(255, 255, 255, 0.08); }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.4; pointer-events: none; }
.btn-primary {
  background: var(--accent); border-color: var(--accent); color: var(--accent-ink);
  box-shadow: 0 8px 24px rgba(200, 245, 60, 0.18);
}
.btn-primary:hover { background: var(--accent); filter: brightness(1.06); }
.btn-danger { background: transparent; border-color: rgba(255, 77, 97, 0.4); color: var(--live); }
.btn-ghost { background: transparent; border-color: transparent; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn-block { width: 100%; }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: 14px; border-radius: 11px; }
.btn-lg { min-height: 56px; font-size: 16px; border-radius: 16px; }

.field { display: flex; flex-direction: column; gap: 6px; }
.label { font-size: 13px; font-weight: 600; color: var(--muted); }
.input, .select, .textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border-radius: 14px; border: 1px solid var(--line-strong); background: var(--bg-2);
  font-size: 16px; /* ≥16px stops iOS zooming on focus */
  outline: none; appearance: none; -webkit-appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.select { background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.textarea { min-height: 72px; resize: vertical; }
.check { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-weight: 600; }
.check input { width: 22px; height: 22px; accent-color: var(--accent); flex: none; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 0; }

/* ── Teams, games & scores ─────────────────────────────── */

/* A team logo; falls back to the abbreviation on a tinted disc when there's no image. */
.logo { width: 28px; height: 28px; flex: none; object-fit: contain; }
.logo-sm { width: 22px; height: 22px; }
.logo-md { width: 44px; height: 44px; filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5)); }
.logo-lg { width: 72px; height: 72px; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.5)); }
.logo-fallback {
  display: grid; place-items: center; border-radius: 999px;
  background: rgba(255, 255, 255, 0.08); color: var(--text);
  font-size: 10px; font-weight: 800; letter-spacing: -0.02em;
}
.logo-lg.logo-fallback { font-size: 22px; }

.game { display: flex; align-items: center; gap: 12px; }
.teams { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.team { display: flex; align-items: center; gap: 10px; }
.team-abbr { width: 46px; font-weight: 800; letter-spacing: -0.01em; }
.team-name { color: var(--muted); font-size: 13px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.score { font-weight: 800; font-size: 17px; font-variant-numeric: tabular-nums; min-width: 28px; text-align: right; }
.game-side { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; min-width: 88px; }
.league-tag { font-size: 11px; font-weight: 800; letter-spacing: 0.06em; color: var(--faint); }

/* The matchup hero: a blurred photo of the venue behind the two teams. */
.matchup {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: var(--card);
  box-shadow: var(--shadow);
}
.matchup-bg {
  position: absolute; inset: -24px; z-index: -2;
  background-size: cover; background-position: center;
  filter: blur(7px) saturate(115%);
  transform: scale(1.05);
}
.matchup::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7, 8, 11, 0.35) 0%, rgba(7, 8, 11, 0.62) 55%, rgba(17, 19, 24, 0.97) 100%);
}
.matchup-body { padding: 16px; display: flex; flex-direction: column; gap: 14px; }
.matchup-teams { display: grid; grid-template-columns: 1fr auto 1fr; align-items: start; gap: 8px; padding: 6px 0 2px; }
.matchup-vs { align-self: center; }
.matchup-team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; text-align: center; }
.matchup-team .h1 { font-size: 36px; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6); }
.matchup-vs { font-weight: 800; color: rgba(255, 255, 255, 0.55); font-size: 14px; letter-spacing: 0.04em; }
.matchup-venue { font-size: 12px; color: rgba(255, 255, 255, 0.7); text-align: center; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7); }
.matchup-compact .matchup-body { gap: 10px; padding: 14px; }
.matchup-compact .matchup-teams { padding: 0; }
.matchup-compact .matchup-team .h1 { font-size: 26px; }
.matchup-compact .matchup-bg { filter: blur(8px) saturate(110%) brightness(0.9); }
.matchup .linescore td, .matchup .linescore th { border-color: rgba(255, 255, 255, 0.08); }

/* ── Markets & bet slip ────────────────────────────────── */

.market { padding: 12px 0; }
.market + .market { border-top: 1px solid var(--line); }
.market-name { font-size: 14px; font-weight: 650; margin-bottom: 8px; }
.prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.price {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  min-height: 54px; padding: 8px 12px; border-radius: 14px;
  border: 1px solid var(--line-strong); background: var(--bg-2); text-align: left;
  transition: border-color 0.15s, background 0.15s, transform 0.08s;
}
.price:hover { border-color: rgba(255, 255, 255, 0.2); }
.price:active { transform: scale(0.98); }
.price:active, .price.on { border-color: var(--accent); background: var(--accent-soft); }
.price:disabled { opacity: 0.35; }
.price-side { font-weight: 700; font-size: 14px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.price-odds { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; }
.price-odds b { font-size: 15px; font-variant-numeric: tabular-nums; }
.price-odds span { font-size: 11px; color: var(--muted); }

details.group > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; padding: 4px 0; }
details.group > summary::-webkit-details-marker { display: none; }
details.group > summary::after { content: "▾"; color: var(--faint); transition: transform 0.15s; }
details.group[open] > summary::after { transform: rotate(180deg); }

.sheet-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 41;
  max-width: 720px; margin: 0 auto;
  padding: 10px 16px calc(16px + var(--safe-b));
  background: var(--card-2); border: 1px solid var(--line-strong); border-bottom: 0;
  border-radius: 26px 26px 0 0;
  box-shadow: 0 -20px 60px rgba(0, 0, 0, 0.6);
  animation: sheet-up 0.24s cubic-bezier(0.2, 0.9, 0.3, 1);
}
.sheet-grip { width: 38px; height: 5px; border-radius: 99px; background: var(--line-strong); margin: 0 auto 12px; }
@keyframes sheet-up { from { transform: translateY(100%); } to { transform: none; } }
.amounts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.amounts button { min-height: 42px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--bg-2); font-weight: 700; font-size: 14px; }
.payout { display: flex; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: var(--bg-2); }

/* ── Standings, stats, progress ────────────────────────── */

.standing { display: flex; align-items: center; gap: 12px; }
.rank { width: 22px; text-align: center; font-weight: 800; color: var(--faint); font-variant-numeric: tabular-nums; }
.rank-1 { color: var(--gold); }
.avatar {
  width: 36px; height: 36px; border-radius: 999px; flex: none;
  display: grid; place-items: center;
  font-weight: 800; font-size: 14px; color: var(--accent-ink);
}
.avatar-lg { width: 64px; height: 64px; font-size: 24px; }
.me-row { background: var(--accent-soft); }
.out { opacity: 0.45; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.stat-value { font-size: 20px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.stat-label { font-size: 12px; color: var(--muted); font-weight: 600; }

.bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, 0.06); overflow: hidden; }
.bar > i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #8fc21c, var(--accent)); }
.bar-gold > i { background: linear-gradient(90deg, #c99a1e, var(--gold)); }

.countdown { font-weight: 800; font-variant-numeric: tabular-nums; }

/* ── Rewards ───────────────────────────────────────────── */

.streak { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.streak-day { border-radius: 14px; padding: 10px 2px; text-align: center; background: var(--bg-2); border: 1px solid var(--line); }
.streak-day .tiny { color: var(--muted); font-weight: 700; }
.streak-day b { display: block; font-size: 13px; margin-top: 2px; font-variant-numeric: tabular-nums; }
.streak-day.done { background: var(--accent-soft); border-color: transparent; color: var(--accent); }
.streak-day.today { border-color: var(--accent); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 560px) { .tiers { grid-template-columns: repeat(5, 1fr); } }
.tier { border-radius: 14px; padding: 10px 8px; text-align: center; background: var(--bg-2); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; align-items: center; }
.tier.ready { border-color: var(--accent); }
.tier.claimed { opacity: 0.5; }

/* ── Tables ────────────────────────────────────────────── */

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-size: 11.5px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--faint); font-weight: 700; padding: 10px; }
.table td { padding: 11px 10px; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.scroll-x { overflow-x: auto; }

/* ── Auth & landing ────────────────────────────────────── */

.auth { max-width: 420px; margin: 0 auto; padding: calc(32px + var(--safe-t)) 20px calc(48px + var(--safe-b)); display: flex; flex-direction: column; gap: 18px; }
.oauth { display: flex; flex-direction: column; gap: 10px; }
.divider { display: flex; align-items: center; gap: 12px; color: var(--faint); font-size: 13px; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.hero { padding: 28px 4px 8px; display: flex; flex-direction: column; gap: 14px; }
.hero .h1 { font-size: 34px; }

/* The signed-out front page. */
.splash {
  min-height: calc(100svh - var(--topbar-h) - var(--safe-t) - var(--tabbar-h) - var(--safe-b) - 60px);
  display: flex; flex-direction: column; justify-content: flex-start; align-items: center; gap: 22px;
  text-align: center; padding: clamp(28px, 10vh, 110px) 8px 12px;
}
.splash-title {
  font-size: clamp(44px, 13vw, 84px); font-weight: 900; letter-spacing: -0.055em; line-height: 0.92;
  text-transform: uppercase;
}
.splash-title .wordmark { display: inline-block; padding-right: 0.06em; }
.splash-slogan { font-size: 18px; font-weight: 600; color: var(--text); letter-spacing: -0.015em; max-width: 340px; }
.splash-sub { font-size: 14px; color: var(--muted); max-width: 320px; }
.splash-actions { width: 100%; max-width: 360px; display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.splash-glow {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 40% at 50% 30%, rgba(200, 245, 60, 0.12), transparent 70%),
    radial-gradient(50% 35% at 80% 90%, rgba(106, 168, 255, 0.08), transparent 70%);
}

.feature { display: flex; gap: 14px; align-items: flex-start; }
.feature-icon { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); flex: none; }

/* ── Game page ─────────────────────────────────────────── */

.linescore th, .linescore td { padding: 6px 8px; font-size: 13px; }
.linescore td:first-child, .linescore th:first-child { padding-left: 0; }
.boxscore { font-size: 13px; white-space: nowrap; }
.boxscore th:first-child, .boxscore td:first-child { position: sticky; left: 0; background: var(--card); z-index: 1; min-width: 132px; }
.boxscore th, .boxscore td { padding: 9px 10px; }
.play { display: flex; align-items: flex-start; gap: 12px; }
.play-meta { display: flex; flex-direction: column; gap: 2px; min-width: 46px; font-size: 12px; color: var(--muted); }
.play-text { flex: 1; min-width: 0; font-size: 14px; }
.play-score { background: var(--accent-soft); }
.play-score .play-text { font-weight: 700; }
a.game-link { display: block; color: inherit; }
a.game-link:active { background: var(--card-2); }

/* ── Break Picks ───────────────────────────────────────── */

.pick-card {
  border-color: rgba(200, 245, 60, 0.35);
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(200, 245, 60, 0.12), transparent 60%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0) 60%), var(--card);
}
.pick-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pick-option {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  min-height: 64px; padding: 10px; border-radius: 16px;
  border: 1px solid var(--line-strong); background: var(--bg-2);
  transition: border-color 0.15s, background 0.15s, transform 0.08s;
}
.pick-option:active { transform: scale(0.98); }
.pick-option:hover { border-color: rgba(255, 255, 255, 0.22); }
.pick-option.on { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px var(--accent-soft); }
.pick-option:disabled { opacity: 0.5; }
.pick-label { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; }
.pick-points { font-size: 12px; font-weight: 700; color: var(--accent); }
