/* Mr. Doppler · broadcast radar theme.
   Dark broadcast slate, a radar-style conditions scale, condensed display type,
   monospace data. Fonts are self-hosted (SIL Open Font License, see /fonts). */

@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/fonts/BarlowCondensed-SemiBold.woff") format("woff"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 700; font-display: swap; src: url("/fonts/BarlowCondensed-Bold.woff") format("woff"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("/fonts/BarlowCondensed-ExtraBold.woff") format("woff"); }
@font-face { font-family: "Inter Tight"; font-weight: 100 900; font-display: swap; src: url("/fonts/InterTight-Variable.woff") format("woff"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 100 800; font-display: swap; src: url("/fonts/JetBrainsMono-Variable.woff") format("woff"); }

:root {
  color-scheme: dark;
  /* surfaces */
  --bg: #0E1418;
  --surface: #151D23;
  --surface-2: #1A242B;
  --line: #243038;
  --line-strong: #3A4A55;
  /* text */
  --text: #F2F4F5;
  --text-2: #C4CDD3;
  --muted: #9AA7B0;
  /* accent: signal yellow for interactive things */
  --accent: #F2D13A;
  --accent-ink: #0E1418;
  /* radar scale: weather conditions only */
  --lv-clear: #2FA58C;
  --lv-watch: #8DBF4E;
  --lv-advisory: #D9B43A;
  --lv-warning: #E3843F;
  --lv-severe: #D9558A;
  /* notices */
  --warn-bg: #2A2414;
  --warn-ink: #F0DFA8;
  --bad-bg: #2E1A1D;
  --bad-ink: #F3B9BF;
  --demo-bg: #6B3FA0;
  --demo-ink: #FFFFFF;
  /* type */
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html, body { max-width: 100%; overflow-x: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.45 var(--font);
  padding-bottom: calc(80px + env(safe-area-inset-bottom));
}
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: var(--surface); padding: 8px; z-index: 10; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
button, input, select { font: inherit; color: inherit; }
/* iPhone Safari zooms into any text box under 16px and stays zoomed; keep them at 16px. */
input, select, textarea { font-size: 16px; }
img, svg { max-width: 100%; }
a { color: var(--accent); }
h1, h2, h3 { text-wrap: balance; }

/* ---------- shell ---------- */
.topbar { position: sticky; top: 0; z-index: 5; background: var(--bg); border-bottom: 1px solid var(--line);
  padding: calc(10px + env(safe-area-inset-top)) 16px 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.brand svg { width: 30px; height: 30px; flex: none; }
.wordmark { font-family: var(--display); font-size: 22px; letter-spacing: .04em; text-transform: uppercase; line-height: 1; white-space: nowrap; }
.wordmark .a { font-weight: 600; color: var(--muted); }
.wordmark .b { font-weight: 800; }
.topmeta { text-align: right; font-family: var(--mono); font-size: 11px; line-height: 1.4; white-space: nowrap; }
.topmeta .wk { font-weight: 700; }
.live { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lv-clear); }
.ticker { display: flex; gap: 18px; overflow-x: auto; white-space: nowrap; padding: 9px 16px; background: var(--surface);
  border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; font-weight: 500; scrollbar-width: none; }
.ticker::-webkit-scrollbar { display: none; }
.ticker a { color: var(--text); text-decoration: none; }
.ticker:empty { display: none; }

#banners { max-width: 760px; margin: 0 auto; padding: 0 16px; }
.banner { margin-top: 12px; border-radius: var(--radius); padding: 8px 12px; font-size: 14px; line-height: 1.35; }
.banner strong { display: block; font-family: var(--display); letter-spacing: .06em; text-transform: uppercase; font-size: 15px; }
.banner.demo { background: var(--demo-bg); color: var(--demo-ink); }
.banner.warn { background: var(--warn-bg); color: var(--warn-ink); }
.banner.bad { background: var(--bad-bg); color: var(--bad-ink); }

main { max-width: 760px; margin: 0 auto; padding: 16px; outline: none; }
h1 { font-family: var(--display); font-size: 34px; font-weight: 800; line-height: 1.02; letter-spacing: .02em; text-transform: uppercase; margin: 4px 0 6px; }
h2 { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 24px 0 10px; color: var(--muted); }
h2.alert-h { color: var(--lv-warning); }
h3 { font-family: var(--display); font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 6px; color: var(--muted); }
.sub { color: var(--muted); margin: 0 0 14px; font-size: 14px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.mono, .num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- surfaces ---------- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; }
.card.flat { background: var(--surface-2); }
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.grow { flex: 1; min-width: 0; }

/* ---------- conditions scale ---------- */
.lv { display: inline-flex; align-items: center; gap: 5px; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .02em; white-space: nowrap; }
.lv svg { width: 11px; height: 11px; flex: none; }
.lv-clear { color: var(--lv-clear); } .lv-watch { color: var(--lv-watch); } .lv-advisory { color: var(--lv-advisory); }
.lv-warning { color: var(--lv-warning); } .lv-severe { color: var(--lv-severe); }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px 0 20px; font-family: var(--display);
  font-weight: 800; font-size: 16px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-ink);
  clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%); white-space: nowrap; }
.badge svg { width: 12px; height: 12px; }
.bg-clear { background: var(--lv-clear); } .bg-watch { background: var(--lv-watch); } .bg-advisory { background: var(--lv-advisory); }
.bg-warning { background: var(--lv-warning); } .bg-severe { background: var(--lv-severe); }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.legend .lv { font-weight: 500; }

/* ---------- radar board ---------- */
.radar { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 4px; }
.radar-head { display: flex; justify-content: space-between; align-items: center; padding: 0 14px; min-height: 48px; cursor: pointer; list-style: none; }
.radar-head::-webkit-details-marker { display: none; }
.radar-title { font-family: var(--display); font-size: 17px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.radar-title::before { content: "▸"; display: inline-block; width: 16px; color: var(--muted); transition: transform .15s; }
.radar[open] .radar-title::before { transform: rotate(90deg); }
.radar .when-open { display: none; }
.radar[open] .when-open { display: inline; }
.radar[open] .when-closed { display: none; }
@media (prefers-reduced-motion: reduce) { .radar-title::before { transition: none; } }
.radar svg.board { display: block; width: 100%; height: auto; }
.radar .legend { padding: 4px 14px 12px; }
.radar a:focus-visible { outline: none; }
.radar a:focus-visible .blip { stroke: var(--accent); stroke-width: 2; }
.sweep { transform-origin: 62% 50%; animation: sweep 9s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .sweep { animation: none; } }

/* ---------- score bugs ---------- */
.bug { display: grid; grid-template-columns: 6px minmax(0, 1fr); background: var(--surface); border: 1px solid var(--line);
  border-left: 0; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; margin-bottom: 8px; }
.bug:hover { background: var(--surface-2); }
.bug .edge.undecided { background: repeating-linear-gradient(180deg, var(--edge) 0 6px, transparent 6px 10px) !important; }
.bug .body { padding: 10px 12px; min-width: 0; }
.teams { font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: .03em; line-height: 1.1; }
.teams .at { font-size: 14px; color: var(--muted); font-weight: 600; margin: 0 2px; }
.bug .meta { font-size: 12.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.strip { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 6px; font-family: var(--mono); font-size: 13px; font-weight: 500; }
.strip .hot { color: var(--lv-warning); }
.wdir { display: inline-flex; align-items: center; gap: 3px; }
.wdir svg { width: 12px; height: 12px; }

.alert-card { background: var(--surface); border: 1px solid var(--lv-warning); border-radius: var(--radius); overflow: hidden; display: block; text-decoration: none; color: inherit; }
.alert-card.lv-border-severe { border-color: var(--lv-severe); }
.alert-card .top { display: flex; align-items: stretch; justify-content: space-between; }
.chips { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-family: var(--display); font-size: 30px; font-weight: 800; letter-spacing: .03em; line-height: 1; }
.chips .t { background: var(--line); padding: 4px 8px; }
.chips .at { font-size: 16px; color: var(--muted); font-weight: 600; }
.alert-card .top .badge { height: auto; }
.grid4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); font-family: var(--mono); }
.grid4 > div { padding: 10px 12px; border-right: 1px solid var(--line); }
.grid4 > div:last-child { border-right: 0; }
.k { font-size: 10.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .02em; }
.v { font-size: 20px; font-weight: 700; }
.indoor-list { border: 1px solid var(--line); border-radius: var(--radius); font-family: var(--mono); font-size: 12.5px; color: var(--text-2); }
.indoor-list a { display: flex; justify-content: space-between; gap: 10px; padding: 11px 12px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; min-height: 44px; }
.indoor-list a:last-child { border-bottom: 0; }
.indoor-list strong { color: var(--text); }

/* ---------- game page ---------- */
.backlink { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; font-family: var(--display); font-size: 16px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text); text-decoration: none; }
.backlink svg { width: 20px; height: 20px; }
.hero-bug { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-top: 6px; }
.hero-bug .chips { padding: 0; font-size: 40px; }
.hero-bug .chips .t { padding: 4px 10px; }
.facts { margin-top: 12px; font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--text-2); text-transform: uppercase; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-top: 14px; }
.panel-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 12px 14px 0; }
.panel-head h2 { margin: 0; color: var(--text); font-size: 18px; letter-spacing: .06em; }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 10px; border-top: 1px solid var(--line); font-family: var(--mono); }
.grid2 > div { padding: 12px 14px; border-bottom: 1px solid var(--line); }
.grid2 > div:nth-child(odd) { border-right: 1px solid var(--line); }
.grid2 > div:nth-last-child(-n+2) { border-bottom: 0; }
.grid2 .v { font-size: 26px; }
.grid2 .u { font-size: 15px; color: var(--muted); }
.panel p { margin: 0; padding: 12px 14px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.45; }
.hours { display: grid; grid-template-columns: repeat(auto-fit, minmax(70px, 1fr)); gap: 8px; padding: 10px 14px 14px; font-family: var(--mono); font-size: 12px; text-align: center; }
.hours > div { background: var(--surface-2); padding: 8px 4px; }
.hours .t { color: var(--muted); }
.hours .tv { font-size: 18px; font-weight: 700; margin: 4px 0 2px; }
.rule-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; font-family: var(--mono); font-size: 11px; }
.rule-chips span { border: 1px solid var(--line-strong); padding: 4px 8px; }
.prow { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 8px; }
.prow[open] { border-color: var(--accent); }
.prow summary { list-style: none; display: flex; align-items: stretch; cursor: pointer; min-height: 56px; }
.prow summary::-webkit-details-marker { display: none; }
.prow .who { flex: 1; min-width: 0; padding: 10px 12px; }
.prow .name { font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; }
.prow .pos { font-size: 12px; color: var(--muted); text-transform: uppercase; }
.prow .nums { padding: 10px 12px; text-align: right; font-family: var(--mono); }
.prow .nums .big { font-size: 22px; font-weight: 700; }
.prow .nums .none { font-size: 14px; font-weight: 700; color: var(--muted); margin-top: 4px; }
.gtable { border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; }
.gtable .r { display: grid; grid-template-columns: 62px minmax(0, 1fr) 44px 46px; gap: 6px; padding: 7px 12px; border-top: 1px solid #1E2830; }
.gtable .r:first-child { border-top: 0; color: var(--muted); font-size: 10.5px; }
.gtable .r span:last-child { text-align: right; font-weight: 700; }
.gtable .foot { padding: 8px 12px; border-top: 1px solid var(--line); color: var(--muted); }
.cta { display: flex; align-items: center; justify-content: center; min-height: 48px; background: var(--accent); color: var(--accent-ink);
  font-family: var(--display); font-size: 17px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; text-decoration: none;
  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%); padding: 0 20px; text-align: center; }
.cta.ghost { background: transparent; color: var(--text); border: 1px solid var(--line-strong); clip-path: none; font-weight: 700; }

/* ---------- shared bits used by other screens ---------- */
.matchup { font-family: var(--display); font-weight: 800; font-size: 22px; letter-spacing: .03em; }
.matchup .at { color: var(--muted); font-weight: 600; margin: 0 4px; font-size: 15px; }
.when { font-size: 13px; color: var(--muted); }
.chip { display: inline-flex; align-items: center; gap: 5px; border-radius: 2px; padding: 3px 8px; font-family: var(--mono);
  font-size: 11.5px; font-weight: 500; background: var(--surface-2); color: var(--text-2); border: 1px solid var(--line); white-space: nowrap; }
.chip.outdoor { color: var(--lv-clear); }
.chip.closed_roof { color: var(--text-2); }
.chip.unknown { background: var(--warn-bg); color: var(--warn-ink); border-color: transparent; }
.chip.demo { background: var(--demo-bg); color: var(--demo-ink); border-color: transparent; }
.chip.stale { background: var(--warn-bg); color: var(--warn-ink); border-color: transparent; }
.wx { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.wx-icon { width: 40px; height: 40px; color: var(--lv-advisory); }
.wx-icon svg, .ti svg, .ic svg { width: 100%; height: 100%; display: block; }
.wx-temp { font-family: var(--mono); font-size: 24px; font-weight: 700; }
.wx-grid { display: flex; flex-wrap: wrap; gap: 4px 14px; font-family: var(--mono); font-size: 13px; }
.wx-grid span { white-space: nowrap; }
.ic { display: inline-block; width: 14px; height: 14px; vertical-align: -2px; margin-right: 3px; color: var(--muted); }
.source { margin-top: 8px; font-size: 12px; color: var(--muted); line-height: 1.45; }
.note { font-size: 13px; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.callout { background: var(--surface-2); border-radius: var(--radius); padding: 10px 12px; font-size: 13.5px; margin: 10px 0; line-height: 1.45; }
.callout.warn { background: var(--warn-bg); color: var(--warn-ink); }
.empty, .error, .loading { text-align: center; padding: 28px 16px; color: var(--muted); }
.empty { font-family: var(--mono); font-size: 13px; }
.error { color: var(--bad-ink); background: var(--bad-bg); border-radius: var(--radius); }
.loading { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.loading::before { content: ""; display: block; width: 34px; height: 34px; margin: 0 auto 12px; border-radius: 50%;
  border: 1px solid var(--line-strong); background: conic-gradient(from 0deg, rgba(47,165,140,.55), transparent 25%); animation: spin 1.4s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loading::before { animation: none; } }

input[type=search], input[type=number], select { width: 100%; padding: 11px 12px; border-radius: var(--radius); border: 1px solid var(--line-strong);
  background: var(--bg); min-height: 44px; color: var(--text); }
label.field { display: block; font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 500; text-transform: uppercase; letter-spacing: .03em; }
label.field > input, label.field > select { margin-top: 4px; font-family: var(--font); text-transform: none; letter-spacing: 0; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; gap: 8px; align-items: center; font-size: 14px; min-height: 44px; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: var(--radius);
  border: 1px solid var(--line-strong); background: var(--surface); font-family: var(--display); font-weight: 700; font-size: 16px;
  letter-spacing: .06em; text-transform: uppercase; cursor: pointer; text-decoration: none; color: var(--text); }
.btn.primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.btn.icon { width: 44px; padding: 0; }
.btn[aria-pressed=true] { color: var(--accent); }
.seg { display: inline-flex; border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 2px; gap: 2px; }
.seg button { border: 0; background: transparent; padding: 7px 12px; border-radius: 2px; font-family: var(--display); font-size: 15px;
  font-weight: 700; letter-spacing: .06em; text-transform: uppercase; min-height: 38px; cursor: pointer; color: var(--muted); }
.seg button[aria-pressed=true] { background: var(--accent); color: var(--accent-ink); }

.list { list-style: none; margin: 0; padding: 0; }
.list > li { border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.player-link { display: flex; align-items: center; gap: 12px; padding: 10px 2px; text-decoration: none; color: inherit; min-height: 52px; }
.avatar { width: 44px; height: 44px; border-radius: 2px; background: var(--surface-2); object-fit: cover; flex: none; }
.pname { font-family: var(--display); font-size: 19px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; }
.pmeta { font-size: 12.5px; color: var(--muted); }

.stats3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.stat .k { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.stat .v { font-family: var(--mono); font-size: 22px; font-weight: 700; }
.stat .s { font-family: var(--mono); font-size: 11px; color: var(--muted); }

.glog > li { padding: 12px 0; }
.glog .top { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.glog .top strong { font-family: var(--display); font-size: 18px; letter-spacing: .03em; text-transform: uppercase; }
.glog .pts { font-family: var(--mono); font-size: 20px; font-weight: 700; }
.glog .ctx { font-size: 13px; color: var(--muted); margin-top: 2px; }
.glog .wxline { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cols .card { padding: 12px; margin: 0; }
.cmp-head { font-family: var(--display); font-weight: 800; font-size: 19px; letter-spacing: .03em; text-transform: uppercase; line-height: 1.1; }
.cmp-head a { color: var(--text); text-decoration: none; }
.kv { display: flex; justify-content: space-between; gap: 6px; font-size: 13.5px; padding: 3px 0; }
.kv .k { color: var(--muted); font-size: 13px; text-transform: none; }
.kv .num { font-size: 13.5px; }
details summary { cursor: pointer; font-weight: 600; min-height: 32px; }

.tabbar { position: fixed; bottom: 0; left: 0; right: 0; z-index: 6; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 9px; font-family: var(--display);
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); text-decoration: none; min-height: 56px; }
.tabbar a[aria-current=page] { color: var(--accent); }
.tabbar .ti { width: 24px; height: 24px; }
.attrib { max-width: 760px; margin: 8px auto 0; padding: 0 16px 16px; font-size: 12px; color: var(--muted); line-height: 1.5; }
.attrib a { color: inherit; }

.welcome { border-color: var(--line-strong); }
.welcome h2 { font-family: var(--display); font-size: 24px; font-weight: 800; letter-spacing: .02em; line-height: 1.05; color: var(--text); text-transform: uppercase; }
.welcome-intro { margin: 8px 0 0; font-size: 15px; color: var(--text-2); }
.welcome-list { margin: 14px 0 0; padding-left: 18px; font-size: 14px; color: var(--muted); }
.welcome-list strong { color: var(--text); }
.welcome-list li { margin: 4px 0; }
.welcome-list a { color: inherit; }
.welcome-try { width: 100%; text-align: center; line-height: 1.25; padding: 10px 14px; height: auto; }
.howto { margin-top: 12px; }
.howto ul { padding-left: 18px; margin: 6px 0 0; }
.howto li { margin: 4px 0; }

/* ---------- main page hero ---------- */
.hero { padding: 14px 0 8px; }
.hero .kick { font-size: 12px; color: var(--muted); letter-spacing: .05em; }
.hero h1 { font-size: 42px; line-height: .98; margin: 8px 0 10px; }
.hero .lede { font-size: 16px; line-height: 1.45; color: var(--text-2); margin: 0 0 16px; max-width: 34em; }
.hero-search label.field { font-size: 12px; color: var(--text-2); }
.hero-search input { min-height: 50px; font-size: 16px; padding: 0 14px; border-color: var(--line-strong); }
.hero-search .list { margin: 4px 0 0; }
.feature { display: block; margin-top: 16px; padding: 14px 16px 12px; background: var(--surface); border: 1px solid var(--line);
  border-left: 6px solid var(--lv); border-radius: var(--radius); color: inherit; text-decoration: none; }
.feature:hover { background: var(--surface-2); }
.feature .f-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--muted); letter-spacing: .05em; }
.feature .f-teams { font-family: var(--display); font-weight: 800; font-size: 38px; letter-spacing: .03em; line-height: 1; margin-top: 10px; }
.feature .f-teams .at { font-size: 18px; color: var(--muted); font-weight: 600; margin: 0 4px; }
.feature .f-why { font-family: var(--mono); font-size: 15px; font-weight: 700; color: var(--lv); margin-top: 8px; }
.feature .f-foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; margin-top: 12px; padding-top: 10px;
  border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); }
.feature .f-go { color: var(--accent); font-weight: 700; }
.hero-try { display: block; margin-top: 12px; font-size: 14px; color: var(--accent); text-decoration: none; font-weight: 600; }
.hero-try:hover { text-decoration: underline; }

/* one line per game */
.grow-list { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.grow-row { display: grid; grid-template-columns: 5px minmax(0, 1fr) auto 18px; align-items: center; gap: 12px; min-height: 58px;
  padding-right: 10px; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; }
.grow-row:last-child { border-bottom: 0; }
.grow-row:hover { background: var(--surface-2); }
.grow-row .edge { align-self: stretch; }
.grow-row .edge.undecided { background: repeating-linear-gradient(180deg, var(--edge) 0 6px, transparent 6px 10px) !important; }
.grow-row .who { display: flex; flex-direction: column; min-width: 0; padding: 8px 0; }
.grow-row .teams { font-size: 20px; }
.grow-row .when { font-size: 11.5px; white-space: nowrap; color: var(--muted); letter-spacing: .02em; }
.grow-row .why { display: flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; font-weight: 600; color: var(--text-2);
  text-align: right; max-width: 52vw; }
.grow-row .lvs svg { width: 11px; height: 11px; display: block; }
.grow-row .go { color: var(--muted); font-size: 22px; line-height: 1; }
.indoor-fold { margin-top: 10px; }
.indoor-fold > summary { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 48px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--radius); font-size: 14px; color: var(--text-2); cursor: pointer; list-style: none; }
.indoor-fold > summary::-webkit-details-marker { display: none; }
.indoor-fold[open] > summary .mono { visibility: hidden; }
.indoor-fold .indoor-list { margin-top: 6px; }
.howto.card { margin-top: 14px; }
.howto > summary { cursor: pointer; font-size: 14px; color: var(--text-2); }
@media (min-width: 768px) { .hero h1 { font-size: 56px; } .feature .f-teams { font-size: 48px; } .grow-row .why { max-width: none; } }

/* ---------- hero v2: headline, stat box, one button ---------- */
.hero h1 { font-size: 46px; line-height: .95; }
.statbox { display: grid; grid-template-columns: 1.35fr 1fr; align-items: center; margin-top: 18px; border: 1px solid var(--line-strong);
  border-radius: 10px; background: var(--surface); padding: 14px 4px; }
.statbox .s-main { display: flex; align-items: center; gap: 12px; padding: 0 14px; border-right: 1px solid var(--line-strong); }
.statbox .s-num { font-family: var(--display); font-weight: 800; font-size: 76px; line-height: .85; color: var(--accent); }
.statbox .s-num.calm { color: var(--lv-clear); }
.statbox .s-lbl { font-family: var(--display); font-weight: 800; font-size: 25px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; }
.statbox .s-side { display: flex; align-items: center; gap: 10px; padding: 0 12px; color: var(--muted); }
.statbox .s-ic svg { width: 38px; height: 38px; stroke-width: 1.4; }
.statbox .s-n2 { display: block; font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; color: var(--text); }
.statbox .s-l2 { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; line-height: 1.35; margin-top: 2px; }
.cta.hero-cta { width: 100%; margin-top: 14px; min-height: 56px; border: 0; border-radius: 10px; clip-path: none; cursor: pointer;
  font-family: var(--display); font-size: 22px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; gap: 10px; }
.hero-search-wrap { margin-top: 12px; }
.hero-search-wrap[hidden] { display: none; }

.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin: 26px 0 10px; }
.sec-head h2 { margin: 0; font-size: 26px; color: var(--text); }

/* alert tiles */
.atile { position: relative; display: block; padding: 12px 34px 12px 14px; background: var(--surface); border: 1px solid var(--line);
  border-left: 6px solid var(--lv); border-radius: 10px; color: inherit; text-decoration: none; }
.atile:hover { background: var(--surface-2); }
.atile.hot.big { border-color: var(--lv); }
.atile .a-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.atile .a-lv { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 800; font-size: 15px; letter-spacing: .05em; color: var(--lv); }
.atile .a-lv svg { width: 13px; height: 13px; }
.atile .a-time { font-family: var(--mono); font-size: 11.5px; color: var(--text-2); white-space: nowrap; }
.atile .a-teams { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; letter-spacing: .03em; margin-top: 8px; white-space: nowrap; }
.atile .a-teams .at { font-size: .6em; color: var(--muted); font-weight: 600; margin: 0 3px; vertical-align: .1em; }
.atile .a-where { font-family: var(--mono); font-size: 11.5px; color: var(--muted); letter-spacing: .03em; margin-top: 6px; }
.atile .a-fx { display: flex; align-items: center; gap: 10px; margin-top: 10px; font-family: var(--mono); font-size: 12.5px; color: var(--text-2); }
.atile .a-fx > span:last-child { display: flex; flex-direction: column; }
.atile .a-fx strong { font-family: var(--display); font-size: 18px; letter-spacing: .05em; color: var(--lv); }
.atile .a-ic svg { width: 22px; height: 22px; color: var(--muted); }
.atile.big { padding: 16px 40px 16px 18px; }
.atile.big .a-teams { font-size: 46px; margin-top: 10px; }
.atile.big .a-ic svg { width: 36px; height: 36px; color: var(--lv); }
.atile .a-go { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 26px; color: var(--muted); }
.atile:not(.big) .a-go { top: auto; bottom: 10px; transform: none; font-size: 20px; }
.agrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 8px; }
.agrid .atile { padding: 10px 26px 10px 12px; border-left-width: 5px; }
.agrid .atile .a-teams { font-size: 26px; }
.agrid .atile .a-fx { font-size: 11.5px; gap: 6px; }
@media (max-width: 360px) { .agrid { grid-template-columns: 1fr; } }
@media (min-width: 768px) { .hero h1 { font-size: 60px; } .agrid { grid-template-columns: repeat(3, 1fr); } }
.hero h1 { font-size: clamp(30px, 10.6vw, 64px); }
.hero h1 > span { display: block; white-space: nowrap; }
.agrid .atile { min-width: 0; }
.agrid .atile .a-time { margin-top: 4px; font-size: 11px; color: var(--muted); }
.atile .a-lv svg { flex: none; }
.agrid .atile .a-teams { font-size: clamp(20px, 6.6vw, 28px); }
