:root { color-scheme: dark; --bg: #0b0f17; --surface: #141b28; --surface2: #1d2738; --text: #f2f5fa; --muted: #9fb0c3; --accent: #e50914; --ok: #2fbf71; --warn: #ffb020; }
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; background: var(--bg); color: var(--text); }
header { padding: 16px 20px; border-bottom: 1px solid var(--surface2); display: flex; justify-content: space-between; align-items: center; }
.brand { font-weight: 800; letter-spacing: .02em; }
.brand span { color: var(--accent); }
main { max-width: 960px; margin: 0 auto; padding: 20px; }
.card { background: var(--surface); border: 1px solid var(--surface2); border-radius: 16px; padding: 18px; margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
.poster { background: var(--surface2); border-radius: 12px; overflow: hidden; cursor: pointer; border: 1px solid transparent; }
.poster:hover { border-color: var(--accent); }
.poster img { width: 100%; aspect-ratio: 2/3; object-fit: cover; display: block; }
.poster .t { padding: 8px; font-size: 13px; font-weight: 600; }
.poster .m { padding: 0 8px 8px; font-size: 12px; color: var(--muted); }
label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }
input, select { width: 100%; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--surface2); background: var(--bg); color: var(--text); }
button { background: var(--accent); color: #fff; border: 0; border-radius: 10px; padding: 12px 18px; font-weight: 700; cursor: pointer; }
button.secondary { background: var(--surface2); }
button:disabled { opacity: .55; cursor: wait; }
.row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.chip { background: var(--surface2); border-radius: 999px; padding: 4px 10px; font-size: 12px; }
.muted { color: var(--muted); font-size: 13px; }
.ok { color: var(--ok); } .warn { color: var(--warn); }
video { width: 100%; border-radius: 12px; background: #000; }
pre { background: var(--bg); border: 1px solid var(--surface2); border-radius: 12px; padding: 12px; overflow: auto; font-size: 12px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
td, th { border-bottom: 1px solid var(--surface2); padding: 8px; text-align: left; }
.details-head { display: flex; gap: 16px; flex-wrap: wrap; }
.details-head img { width: 160px; border-radius: 12px; }
