* { box-sizing: border-box; }
:root { color-scheme: dark; font-family: system-ui, sans-serif; background: #141319; color: #f4f1f7; --surface: #211f28; --edge: #51485e; --muted: #c5b9d0; --accent: #f3bf82; }
body { margin: 0; }
main { width: min(100%, 950px); margin: 0 auto; padding: max(20px, env(safe-area-inset-top)) clamp(14px, 4vw, 32px) max(24px, env(safe-area-inset-bottom)); }
header, .row { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem; }
header { justify-content: space-between; border-bottom: 1px solid var(--edge); margin-bottom: 1rem; }
h1 { font-size: clamp(1.7rem, 7vw, 2.6rem); margin: .5rem 0; }
h2 { line-height: 1.2; }
p { line-height: 1.55; white-space: pre-wrap; }
label { display: block; margin: .55rem 0; }
button, input, select, .button { font: inherit; min-height: 44px; border-radius: .55rem; border: 1px solid var(--edge); padding: .55rem .8rem; }
input, select { color: inherit; background: var(--surface); max-width: 100%; }
input:not([type=checkbox]) { flex: 1; min-width: min(13rem, 100%); }
input[type=checkbox] { min-height: auto; accent-color: var(--accent); }
button, .button { color: #201707; background: var(--accent); font-weight: 650; cursor: pointer; text-decoration: none; }
button:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.panel, article, #review li { background: var(--surface); border: 1px solid var(--edge); border-radius: .85rem; padding: .85rem; margin: .6rem 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%, 150px),1fr)); gap: .7rem; padding: .7rem 0; }
article { display: flex; flex-direction: column; gap: .5rem; margin: 0; }
article h2 { font-size: 1rem; margin: 0; flex: 1; }
.poster { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: .5rem; background: #312b3a; }
video { display: block; width: 100%; max-height: 70vh; background: #000; margin: 1rem 0; }
.pill { border: 1px solid var(--edge); border-radius: 1rem; color: var(--muted); padding: .25rem .6rem; align-self: flex-start; }
#review { list-style: none; padding: 0; }
code { overflow-wrap: anywhere; }
[hidden] { display: none !important; }
