:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#0b0d12;--surface:#141821;--surface-hover:#1b2130;--border:#252c3d;--text:#eef1f7;--muted:#939db4;--accent:#f97316;--accent-hover:#ea580c;--danger:#ef4444;--radius:12px}*{box-sizing:border-box}body{background:var(--bg);color:var(--text);min-height:100vh;margin:0;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;line-height:1.5}.hidden{display:none!important}.topbar{z-index:20;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--border);background:#0b0d12e0;position:sticky;top:0}.topbar-inner{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;max-width:1200px;margin:0 auto;padding:.85rem 1.25rem;display:flex}.brand{color:var(--text);letter-spacing:-.02em;align-items:center;gap:.6rem;font-size:1.15rem;font-weight:700;text-decoration:none;display:inline-flex}.brand-dot{background:var(--accent);width:10px;height:10px;box-shadow:0 0 12px var(--accent);border-radius:999px}.topbar-actions{flex:1;justify-content:flex-end;align-items:center;gap:.6rem;min-width:240px;display:flex}.search-input{border:1px solid var(--border);background:var(--surface);width:100%;max-width:260px;color:var(--text);border-radius:8px;padding:.5rem .75rem;font-size:.92rem}.search-input:focus{outline:2px solid var(--accent);outline-offset:1px}.btn{cursor:pointer;border:1px solid #0000;border-radius:8px;justify-content:center;align-items:center;gap:.4rem;padding:.5rem .9rem;font-size:.9rem;font-weight:600;text-decoration:none;transition:background .15s,border-color .15s;display:inline-flex}.btn-block{width:100%;padding:.7rem 1rem}.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-hover)}.btn-secondary{background:var(--surface);color:var(--text);border-color:var(--border)}.btn-secondary:hover{background:var(--surface-hover)}.login-wrapper{justify-content:center;align-items:center;min-height:calc(100vh - 80px);padding:2rem 1.25rem;display:flex}.login-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);text-align:center;flex-direction:column;gap:1rem;width:100%;max-width:380px;padding:2rem 1.75rem;display:flex;box-shadow:0 20px 40px #0006}.login-icon{margin-bottom:-.25rem;font-size:2.2rem}.login-card h2{letter-spacing:-.01em;margin:0;font-size:1.35rem}.login-card p{margin:-.25rem 0 .5rem;font-size:.9rem}.login-error{color:var(--danger);margin:0;font-size:.85rem}.container{max-width:1200px;margin:0 auto;padding:1.5rem 1.25rem 3rem}.player-section{margin-bottom:2rem}.player-frame{border-radius:var(--radius);border:1px solid var(--border);aspect-ratio:16/9;background:#000;width:100%;max-height:70vh;overflow:hidden}.player-frame video{width:100%;height:100%;display:block}.player-meta{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:1rem;margin-top:.9rem;display:flex}.player-title{margin:0;font-size:1.35rem;font-weight:700}.player-info{color:var(--muted);margin:.25rem 0 0;font-size:.9rem}.section-header{justify-content:space-between;align-items:baseline;margin-bottom:1rem;display:flex}.section-header h2{margin:0;font-size:1.15rem}.muted{color:var(--muted);font-size:.9rem}.status-banner{border-radius:var(--radius);background:var(--surface);border:1px solid var(--border);color:var(--muted);margin-bottom:1.25rem;padding:1.25rem}.video-grid{grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:1rem;display:grid}.video-card{text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);cursor:pointer;padding:0;transition:transform .15s,border-color .15s,background .15s;overflow:hidden}.video-card:hover{background:var(--surface-hover);border-color:#3a455e;transform:translateY(-2px)}.video-card.active{border-color:var(--accent)}.video-thumb{border-bottom:1px solid var(--border);background:linear-gradient(135deg,#161c28,#0f131c);justify-content:center;align-items:center;height:140px;display:flex;position:relative}.play-badge{color:#fff;background:#f97316e6;border-radius:999px;place-items:center;width:44px;height:44px;font-size:1rem;display:grid}.video-card-body{padding:.85rem}.video-card-title{white-space:nowrap;text-overflow:ellipsis;margin:0;font-size:.98rem;font-weight:600;overflow:hidden}.video-card-meta{color:var(--muted);margin:.3rem 0 0;font-size:.82rem}.dialog{background:0 0;border:none;width:calc(100% - 2rem);max-width:460px;padding:0}.dialog::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#000000b8}.dialog-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);color:var(--text);flex-direction:column;gap:.9rem;padding:1.25rem;display:flex}.dialog-header{justify-content:space-between;align-items:center;display:flex}.dialog-header h3{margin:0;font-size:1.1rem}.icon-btn{color:var(--muted);cursor:pointer;background:0 0;border:none;font-size:1.1rem}.dialog-help{color:var(--muted);margin:0;font-size:.88rem}.field{flex-direction:column;gap:.35rem;font-size:.88rem;display:flex}.field input{border:1px solid var(--border);background:var(--bg);color:var(--text);border-radius:8px;padding:.65rem .75rem;font-size:.95rem}.field input:focus{outline:2px solid var(--accent);outline-offset:1px}.upload-status{color:var(--muted);min-height:1.2em;margin:0;font-size:.86rem}.dialog-actions{justify-content:flex-end;gap:.6rem;display:flex}
