* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, sans-serif; background: #14161a; color: #e8e8e8; min-height: 100vh; display: flex; flex-direction: column; }
a { color: #f5c518; text-decoration: none; }
a:hover { text-decoration: underline; }
header.top { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1rem 1.5rem; background: #1d2026; border-bottom: 1px solid #2c3038; }
header.top .logo { font-weight: 700; font-size: 1.2rem; color: #f5c518; }
header.top nav { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
form.inline { display: inline; }
main { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 1.5rem; }
footer { text-align: center; font-size: .8rem; color: #888; padding: 1rem; border-top: 1px solid #2c3038; }
h1 { margin-top: 0; }
h1 small { font-size: .5em; color: #999; font-weight: normal; }
input, select, textarea, button { font: inherit; padding: .5rem .7rem; border-radius: 6px; border: 1px solid #3a3f4a; background: #22262e; color: #e8e8e8; }
button { background: #f5c518; color: #111; border: none; cursor: pointer; font-weight: 600; }
button.link { background: none; color: #f5c518; padding: 0; font-weight: normal; }
button.danger { background: #b03a3a; color: #fff; }
button.small { padding: .3rem .6rem; font-size: .85rem; }
.filters { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.filters input { flex: 1; min-width: 200px; }
.stack { display: flex; flex-direction: column; gap: .75rem; max-width: 420px; }
.stack label { display: flex; flex-direction: column; gap: .3rem; }
.narrow { max-width: 360px; }
.flash { background: #1f3b2a; border: 1px solid #2f6b47; padding: .7rem 1rem; border-radius: 6px; margin-bottom: 1rem; }
.flash.error { background: #3b1f1f; border-color: #7a3030; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 1.2rem; }
.card { background: #1d2026; border-radius: 10px; padding: .6rem; display: flex; flex-direction: column; gap: .4rem; }
.card img { width: 100%; border-radius: 6px; display: block; }
.card h3 { font-size: .95rem; margin: .3rem 0 0; }
.card h3 span { color: #999; font-weight: normal; }
.card .meta, .meta { color: #aaa; font-size: .85rem; margin: 0; }
.card form { display: flex; gap: .4rem; flex-wrap: wrap; }
.noposter { aspect-ratio: 2 / 3; background: #2a2e37; border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #777; font-size: .85rem; }
.detail { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: 2rem; }
.detail .big { width: 100%; border-radius: 10px; }
.detail h2 { margin-top: 2rem; }
code { background: #22262e; padding: .1rem .35rem; border-radius: 4px; }
@media (max-width: 640px) { .detail { grid-template-columns: 1fr; } }
