:root {
  --bg: #0d0e11;
  --card: #1a1c21;
  --text: #e8e9ec;
  --muted: #9a9ca3;
  --accent: #5b8cff;
  --live: #e5484d;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 15px/1.4 system-ui, -apple-system, "Segoe UI", sans-serif; }
#stage { position: fixed; inset: 0; display: grid; place-items: center; background: #000; }
video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.overlay { position: fixed; inset: 0; display: grid; place-items: center; background: rgba(13, 14, 17, .88); padding: 16px; }
.card { background: var(--card); border-radius: 12px; padding: 24px; width: min(360px, 100%); display: grid; gap: 12px; text-align: center; box-shadow: 0 10px 40px rgba(0,0,0,.4); }
.card h1 { font-size: 20px; margin: 0; }
.card p { margin: 0; color: var(--muted); }
.name { display: grid; gap: 4px; text-align: left; color: var(--muted); font-size: 13px; }
input[type=text], input:not([type]) { background: #0f1014; color: var(--text); border: 1px solid #2c2f36; border-radius: 8px; padding: 9px 10px; font: inherit; }
button { background: #2a2d34; color: var(--text); border: 0; border-radius: 8px; padding: 8px 12px; font: inherit; cursor: pointer; }
button:hover { background: #343841; }
button.primary { background: var(--accent); color: #fff; padding: 10px; font-weight: 600; }
button.primary:hover { filter: brightness(1.1); }
.hidden { display: none !important; }
.bar { position: fixed; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px; padding: 10px 16px; background: linear-gradient(transparent, rgba(0,0,0,.75)); opacity: 0; transition: opacity .2s; }
#stage:hover .bar, .bar:focus-within, .bar.show { opacity: 1; }
.pill { background: #444; color: #fff; font-weight: 700; font-size: 12px; padding: 2px 8px; border-radius: 4px; letter-spacing: .04em; }
.pill.on { background: var(--live); }
.note { color: var(--muted); font-size: 13px; }
.spacer { flex: 1; }
.vol { display: flex; align-items: center; gap: 6px; }
.vol input { width: 90px; }
.stats { position: fixed; top: 12px; left: 12px; margin: 0; background: rgba(0,0,0,.7); padding: 10px 12px; border-radius: 8px; font: 12px/1.5 ui-monospace, Consolas, monospace; color: #cfd2d8; pointer-events: none; }
