:root{color-scheme:dark;--bg:#141819;--panel:#202728;--text:#f4f1e9;--muted:#b8c0bc;--accent:#c5e5a1;font:16px/1.5 system-ui,sans-serif}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;background:var(--bg);color:var(--text)}
header,main,footer{max-width:76rem;margin:auto;padding:1.25rem clamp(1rem,4vw,3rem)}
header,.heading,.actions,.row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}
.brand{font-size:1.7rem;color:var(--accent);letter-spacing:-.06em}
h1,h2,p{margin-top:0}
h1{font-size:clamp(2rem,6vw,3.5rem);letter-spacing:-.055em}
h2{font-size:1.4rem}
section{margin-bottom:2rem}
#login{max-width:30rem;margin:8vh auto}
#access{display:grid;gap:.65rem}
button,input,select{font:inherit;padding:.5rem .75rem;border-radius:.4rem;border:1px solid #55665c}
button{background:var(--accent);color:#172418;font-weight:650;cursor:pointer}
button:disabled{opacity:.6;cursor:default}
input,select{color:var(--text);background:var(--panel)}
#message,footer,.muted{color:var(--muted)}
#message:empty{display:none}
.rooms,.catalog{display:grid;gap:1rem}
.rooms{grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr))}
.catalog{grid-template-columns:repeat(auto-fill,minmax(9rem,1fr));margin-top:1rem}
.room,.row,.card,#player{background:var(--panel);border-radius:.6rem;padding:.9rem}
.row{margin-bottom:.5rem}
.card{display:flex;flex-direction:column;justify-content:space-between;gap:.65rem}
.card img,.poster-empty{width:100%;aspect-ratio:2/3;object-fit:cover;border-radius:.3rem;background:#303936}
.card button{width:100%}
video{width:100%;max-height:65vh;background:black}
.actions{justify-content:flex-start}
.opt-in{display:block;margin:.5rem 0}
form#search{display:flex;flex-wrap:wrap;gap:.5rem}
