:root{--bg:#0b0c10;--panel:#12141a;--panel2:#0f1116;--text:#e7e8ee;--muted:#a9adbb;--line:#272a36;--accent2:#cfd2dc;--danger:#fb7185;--shadow:0 4px 20px rgba(0,0,0,.4);--radius:12px}
*{box-sizing:border-box}
html,body{height:100%;margin:0;padding:0}
body{font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#0b0c10;color:var(--text)}
a{color:var(--text);text-decoration:none}a:hover{opacity:.85}
.container{display:flex;flex-direction:column;width:100%;height:100vh;padding:8px 10px;gap:8px;overflow:hidden}
.topbar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-shrink:0;min-height:0}
.brand{display:flex;flex-direction:column;gap:1px;white-space:nowrap}
.brand .title{font-weight:700;font-size:16px;letter-spacing:.1px}
.brand .subtitle{color:var(--muted);font-size:11px}
.controls{display:flex;align-items:center;gap:8px;flex-wrap:nowrap}
.btn{background:linear-gradient(180deg,#1e2130,#13151e);border:1px solid var(--line);color:var(--text);padding:7px 12px;border-radius:9px;cursor:pointer;font-size:13px;white-space:nowrap;line-height:1}
.btn:hover{border-color:#3a3f55}.btn:active{transform:translateY(1px)}
.btn.primary{border-color:#3b3f55;background:linear-gradient(180deg,#202437,#131726)}
.input{background:#0f1116;border:1px solid var(--line);color:var(--text);padding:7px 10px;border-radius:9px;outline:none;font-size:13px}
.input:focus{border-color:#3a3f55}
.card{background:#0f1116;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);display:flex;flex-direction:column;overflow:hidden;min-height:0}
.card-head{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:9px 12px 8px;border-bottom:1px solid rgba(255,255,255,.05);flex-shrink:0}
.card-head h2{margin:0;font-size:12px;letter-spacing:.3px;color:var(--accent2);font-weight:600;text-transform:uppercase}
.badge{font-size:11px;color:var(--muted);border:1px solid rgba(255,255,255,.07);padding:4px 9px;border-radius:999px;background:rgba(0,0,0,.3);white-space:nowrap}
.player-wrap{flex:1;min-height:0;padding:8px;display:flex;align-items:center;justify-content:center;overflow:hidden}
video{display:block;width:100%;height:100%;max-width:100%;border-radius:10px;background:#000;border:1px solid rgba(255,255,255,.07);object-fit:contain;max-height:100%;aspect-ratio:16/9}
.nowplaying{padding:8px 12px;border-top:1px solid rgba(255,255,255,.05);background:rgba(0,0,0,.25);flex-shrink:0}
.nowplaying .np-title{font-weight:700;margin:0 0 2px 0;font-size:13px}
.nowplaying .np-meta{color:var(--muted);font-size:11px;display:flex;gap:10px;flex-wrap:wrap}
.iconbtn{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:9px;border:1px solid rgba(255,255,255,.09);background:rgba(0,0,0,.25)}
.iconbtn:hover{border-color:rgba(255,255,255,.2)}
.iconbtn svg{width:14px;height:14px;opacity:.85}
.notice{padding:6px 12px;color:var(--muted);font-size:11px;flex-shrink:0;border-top:1px solid rgba(255,255,255,.04)}
