:root { --bg:#0e1117; --card:#171b24; --fg:#e6e8ee; --muted:#8b93a7; --accent:#6c8cff; --danger:#ff6b6b; --ok:#3ddc97; }
* { box-sizing: border-box; }
body { margin:0; min-height:100vh; background:var(--bg); color:var(--fg); font:16px/1.5 system-ui,sans-serif; display:flex; flex-direction:column; align-items:center; padding:24px 16px; }
main { width:100%; max-width:860px; }
h1 { margin:8px 0 24px; font-size:1.6rem; }
a { color:var(--accent); }
.card { background:var(--card); border-radius:12px; padding:20px; margin-bottom:16px; }
.card h2 { margin:0 0 12px; font-size:1.1rem; }
.center { text-align:center; }
.choices { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; margin-top:15vh; }
.big { display:inline-block; min-width:200px; padding:28px 36px; font-size:1.4rem; border-radius:14px; background:var(--accent); color:#fff; text-decoration:none; text-align:center; }
.big.alt { background:var(--card); border:2px solid var(--accent); }
button, .btn { font:inherit; padding:8px 16px; border-radius:8px; border:0; background:var(--accent); color:#fff; cursor:pointer; }
button.secondary { background:#2a3042; }
input[type=password], input[type=text] { font:inherit; padding:8px 12px; border-radius:8px; border:1px solid #2a3042; background:#0e1117; color:var(--fg); }
.row { display:flex; gap:8px; align-items:center; margin:8px 0; flex-wrap:wrap; }
.row label { width:110px; color:var(--muted); }
.row input { flex:1; min-width:200px; }
.badge { display:inline-block; padding:2px 10px; border-radius:99px; font-size:.85rem; background:#2a3042; }
.badge.live { background:var(--ok); color:#06210f; }
.error { color:var(--danger); min-height:1.4em; }
.muted { color:var(--muted); font-size:.9rem; }
.player { position:relative; background:#000; border-radius:12px; overflow:hidden; aspect-ratio:16/9; }
.player video { width:100%; height:100%; display:block; background:#000; }
.player .overlay { position:absolute; inset:0; display:flex; align-items:center; justify-content:center; font-size:1.3rem; color:var(--muted); text-align:center; padding:16px; }
.titlebar { display:flex; align-items:center; justify-content:space-between; gap:16px; }
.titlebar .res { margin-left:auto; font-variant-numeric:tabular-nums; }
body.cinema { padding:12px 0; }
body.cinema main { max-width:none; }
body.cinema .titlebar { padding:0 16px; }
body.cinema .player { border-radius:0; max-height:calc(100vh - 110px); margin:0 auto; }
[hidden] { display:none !important; }
