:root { color-scheme: dark; }
body { margin:0; background:#0b0f17; color:#e8edf5; font-family:system-ui,Segoe UI,Roboto,sans-serif; }
.topbar { padding:1rem 1.5rem; border-bottom:1px solid #1c2535; }
.brand { color:#e8edf5; text-decoration:none; font-weight:700; font-size:1.2rem; }
main { padding:1.5rem; }
.grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(150px,1fr)); gap:1rem; }
.card { text-decoration:none; color:#e8edf5; }
.card img { width:100%; border-radius:8px; display:block; aspect-ratio:2/3; object-fit:cover; }
.noposter { width:100%; aspect-ratio:2/3; border-radius:8px; background:#1c2535; display:flex; align-items:center; justify-content:center; padding:.5rem; text-align:center; }
.cardname { margin-top:.4rem; font-size:.85rem; }
.pager { margin-top:1.5rem; display:flex; gap:1rem; }
.pager a { color:#34d399; text-decoration:none; }
.detail { display:flex; gap:1.5rem; flex-wrap:wrap; }
.detail .poster { width:280px; max-width:100%; border-radius:10px; }
.meta { flex:1; min-width:260px; }
.tags { color:#9fb0c7; }
.play { display:inline-block; margin-top:1rem; padding:.6rem 1.4rem; background:#34d399; color:#06281d; border-radius:6px; text-decoration:none; font-weight:700; }
.player video { width:100%; max-width:960px; border-radius:10px; background:#000; }
.fallback { margin-top:1rem; color:#9fb0c7; max-width:960px; }
.fallback input { width:100%; padding:.4rem; margin-top:.3rem; }
.warn { color:#fbbf24; }
.empty { color:#9fb0c7; }
.login { max-width:320px; display:flex; flex-direction:column; gap:.8rem; }
.login input { padding:.5rem; width:100%; }
.login button { padding:.6rem; background:#34d399; color:#06281d; border:0; border-radius:6px; font-weight:700; cursor:pointer; }
