.codex-gallery {font-size:1rem;line-height:1.65}
.codex-gallery h3 {font-size:1.2rem;margin-bottom:1rem}
.codex-gallery p {margin:1rem 0;white-space:normal}
.codex-shots {display:flex;gap:1rem;overflow-x:auto;padding-bottom:1rem;scroll-snap-type:x proximity}
.codex-shots figure {margin:0;flex:0 0 auto;max-width:min(82vw,440px);scroll-snap-align:start}
.codex-shots img {height:380px;width:auto;max-width:100%;object-fit:contain;border:1px solid var(--border-color);border-radius:12px;background:var(--bg-surface-alt)}
.codex-shots figcaption {font-size:.875rem;max-width:36ch}
.codex-gallery details {margin:.8rem 0}
.codex-gallery summary {cursor:pointer;font-size:1rem}
.codex-hash {overflow-wrap:anywhere;font-size:.875rem}
@media(max-width:600px){.codex-shots img{height:310px}.codex-shots figure{max-width:80vw}}
