:root {
  --bg: #0b0d10;
  --text: #f2f4f6;
  --muted: #9aa4ae;
  --faint: #5c666f;
  --accent: #e03131;
  --idle: #3a4148;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

main {
  max-width: 1920px;
  margin: 0 auto;
}

.masthead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
}

.wordmark {
  font-weight: 800;
  letter-spacing: 0.18em;
}

.badge {
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 3px 10px;
  border-radius: 999px;
}

.badge.off { background: var(--idle); }

/* Full-bleed 16:9 player, up to 1920 CSS px wide. hls.js runs with
   capLevelToPlayerSize, so the displayed element size (× devicePixelRatio)
   drives rendition selection — keeping the element this wide is what lets
   ABR reach the 1080p rung at desktop widths. */
.player-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

#player {
  display: block;
  width: 100%;
  height: 100%;
  background: #000;
}

.overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  background: radial-gradient(ellipse at center, rgba(20, 24, 29, 0.35), rgba(11, 13, 16, 0.85));
  pointer-events: none;
}

.overlay[hidden] { display: none; }

#overlay-message {
  color: var(--muted);
  font-size: 18px;
  margin: 0;
}

.unmute {
  position: absolute;
  top: 16px;
  left: 16px;
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.92);
  color: #111;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.unmute[hidden] { display: none; }

.blurb { padding: 20px; }

#status-title {
  margin: 0 0 6px;
  font-size: 24px;
}

#status-description {
  margin: 0;
  color: var(--muted);
  white-space: pre-line;
  max-width: 70ch;
}

.foot {
  padding: 8px 20px 28px;
  color: var(--faint);
  font-size: 13px;
}
