:root { color-scheme: dark; font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif; background: #080d18; color: #e7edf7; }
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at 12% 0%, #203454 0, transparent 38rem), #080d18; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: 40px 0 80px; }
.top { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.eyebrow { color: #66e0c1; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; }
h1 { margin: 8px 0; font-size: clamp(28px, 4vw, 48px); letter-spacing: -.04em; }
h2 { margin: 0 0 8px; font-size: 22px; }
p { color: #9baac1; line-height: 1.65; }
.readonly { border: 1px solid #315071; border-radius: 999px; padding: 8px 13px; color: #9ddff0; font-size: 12px; white-space: nowrap; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.card { display: block; padding: 20px; border: 1px solid #21334e; border-radius: 18px; background: rgba(15, 26, 46, .82); transition: transform .18s, border-color .18s; }
.card:hover { transform: translateY(-2px); border-color: #57cdb8; }
.case-id { color: #6e819c; font: 12px ui-monospace, SFMono-Regular, monospace; }
.case-title { margin-top: 10px; font-size: 18px; font-weight: 700; line-height: 1.35; overflow-wrap: anywhere; }
.case-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; color: #9baac1; font-size: 13px; }
.pill { padding: 5px 8px; border-radius: 999px; background: #14243b; }
.detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(260px, .6fr); gap: 18px; }
.panel { padding: 22px; border: 1px solid #21334e; border-radius: 18px; background: rgba(15, 26, 46, .82); }
.back { display: inline-flex; margin-bottom: 18px; color: #66e0c1; font-size: 14px; }
.ratio { font-size: 52px; font-weight: 800; letter-spacing: -.06em; color: #66e0c1; }
.facts { display: grid; gap: 10px; margin: 18px 0 0; }
.fact { display: grid; grid-template-columns: 150px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid #203049; }
.fact b { color: #aab8cc; font-size: 13px; }
.fact span { color: #e7edf7; line-height: 1.5; }
.media { width: 100%; border-radius: 12px; background: #03060b; }
.media-unavailable { display: grid; place-items: center; min-height: 180px; border-radius: 12px; background: #03060b; color: #8292aa; text-align: center; padding: 24px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 10px; }
.thumbs img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; }
.empty, .loading, .error { padding: 40px 0; color: #9baac1; }
@media (max-width: 760px) { .top, .detail { display: block; } .readonly { display: inline-block; margin-top: 14px; } .panel + .panel { margin-top: 14px; } .fact { grid-template-columns: 1fr; gap: 3px; } }
