:root {
  --bg: #0a0a0a;
  --surface: #151515;
  --border: #2a2a2a;
  --text: #f4f4f2;
  --muted: #9a9a9a;
  --accent: #e10600;
  --ok: #2fbf71;
  color-scheme: dark;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 16px; }
header.top { border-bottom: 1px solid var(--border); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.brand span { color: var(--accent); }
main { padding: 32px 0 64px; }
h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.1; margin: 0 0 8px; text-transform: uppercase; letter-spacing: .01em; }
.muted { color: var(--muted); }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); margin-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--border); padding: 20px; text-decoration: none; display: block; }
.card:hover { border-color: var(--accent); }
.card h2 { margin: 6px 0; font-size: 20px; text-transform: uppercase; }
.badge { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; border: 1px solid var(--border); }
.badge.live { background: var(--accent); border-color: var(--accent); }
.price { font-weight: 800; font-size: 22px; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 20px; }
input[type=email] { background: #000; color: var(--text); border: 1px solid var(--border); padding: 12px 14px; font-size: 16px; min-width: 0; flex: 1 1 240px; }
button, .btn { background: var(--accent); color: #fff; border: 0; padding: 13px 22px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; cursor: pointer; text-decoration: none; display: inline-block; }
button.ghost, .btn.ghost { background: transparent; border: 1px solid var(--border); }
button:disabled { opacity: .5; cursor: default; }
.msg { margin-top: 14px; min-height: 1.5em; }
.msg.err { color: #ff6b6b; }
.player { position: relative; background: #000; aspect-ratio: 16 / 9; margin-top: 20px; }
.player video { width: 100%; height: 100%; display: block; background: #000; }
.player .overlay { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 16px; background: rgba(0,0,0,.7); }
.player .overlay[hidden] { display: none; }
/* "No signal" notices over the top of the picture (holes, slate). */
.player .notice { position: absolute; left: 0; right: 0; top: 0; padding: 10px 14px; background: rgba(0,0,0,.78); border-left: 4px solid var(--accent); font-size: 14px; line-height: 1.4; pointer-events: none; }
.player .notice[hidden] { display: none; }
.stats { font: 12px/1.6 ui-monospace, Menlo, monospace; color: var(--muted); margin-top: 10px; }
.live-btn { background: #2a2a2a; display: inline-flex; align-items: center; gap: 8px; }
.live-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: #888; }
.live-btn.at-live { background: var(--accent); }
.live-btn.at-live .dot { background: #fff; animation: livepulse 1.4s ease-in-out infinite; }
@keyframes livepulse { 50% { opacity: .3; } }
