:root {
  --bg: #1b1b1f; --panel: #2b2b31; --line: #3d3d45; --text: #ffffff; --dim: #c9c9d1;
  --accent: #f5a623; --accent-hi: #ffc247; --accent-lo: #e8870e; --on-accent: #1b1b1f; --good: #3fb950; --warn: #ffc247;
}
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) { --bg: #faf6ef; --panel: #ffffff; --line: #e3d9c8; --text: #1b1b1f; --dim: #5b5b66; --accent: #b45f06; --accent-hi: #e8870e; --accent-lo: #8f4a04; --on-accent: #ffffff; --good: #1a7f37; --warn: #9a6700; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 system-ui, "Segoe UI", Roboto, sans-serif; }
a { color: var(--accent); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 16px; }
header.site { padding: 20px 0 8px; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { width: 36px; height: 36px; }
nav.site a { margin-left: 16px; color: var(--dim); text-decoration: none; font-size: 15px; }
nav.site a:hover, nav.site a[aria-current="page"] { color: var(--text); }
.hero { padding: 40px 0 16px; }
h1 { font-size: clamp(30px, 6vw, 48px); line-height: 1.1; margin: 0 0 12px; letter-spacing: -0.02em; }
h2 { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin: 36px 0 10px; font-weight: 600; }
p { margin: 0 0 14px; }
.lede { font-size: clamp(18px, 3vw, 22px); color: var(--dim); max-width: 640px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 18px 20px; }
.status { display: grid; gap: 6px; margin: 22px 0; }
.status .label { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.status .big { font-size: clamp(22px, 4vw, 30px); font-weight: 700; font-variant-numeric: tabular-nums; }
.status .sub { color: var(--dim); font-size: 15px; }
.status.live .label { color: var(--good); }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: var(--dim); margin-right: 8px; }
.live .dot { background: var(--good); box-shadow: 0 0 0 4px rgba(63,185,80,.25); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 8px; font-weight: 600; text-decoration: none; background: linear-gradient(135deg, var(--accent-hi), var(--accent-lo)); color: var(--on-accent); border: 1px solid transparent; }
.btn:hover { filter: brightness(1.1); }
h1 { border-left: 6px solid var(--accent); padding-left: 14px; }
.links { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.links a { display: flex; align-items: center; min-height: 56px; padding: 0 18px; border: 1px solid var(--line); background: var(--panel); border-radius: 10px; color: var(--text); text-decoration: none; font-weight: 600; }
.links a:hover { border-color: var(--accent); }
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 22px; background: #000; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player[hidden] { display: none; }
ul.plain { padding-left: 20px; }
dl.faq dt { font-weight: 700; margin-top: 18px; }
dl.faq dd { margin: 4px 0 0; color: var(--dim); }
footer.site { border-top: 3px solid var(--accent); margin-top: 56px; padding: 22px 0 40px; color: var(--dim); font-size: 14px; }
footer.site p { margin: 0 0 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.runstats { margin: 0 0 14px; }
.runstats .asof { color: var(--dim); font-size: 15px; margin-bottom: 8px; }
.runstats dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 0; }
.runstats dl div { background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; }
.runstats dl div.wide { grid-column: 1 / -1; }
.runstats dt { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.runstats dd { margin: 4px 0 0; font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.runstats .wide dd { font-size: 16px; font-weight: 400; }
.runstats[hidden] { display: none; }
.mapframe { position: relative; aspect-ratio: 4 / 3; margin: 0 0 10px; background: #1b1b1f; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.mapframe iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
