.gallery-jump{display:flex;flex-wrap:wrap;gap:14px;margin:28px 0}.gallery-jump a{padding:10px 18px;border:1px solid var(--line);border-radius:4px}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.gallery-grid figure{margin:0;min-width:0}.gallery-item{display:block;position:relative;background:#11121a;border:1px solid var(--line);border-radius:6px;overflow:hidden}.gallery-item img{width:100%;height:250px;object-fit:contain;transition:transform .2s}.gallery-item:hover img{transform:scale(1.025)}.enlarge-label{position:absolute;bottom:8px;right:8px;background:#181923ed;color:#fff;padding:5px 9px;border-radius:4px;font-size:12px}.gallery-grid figcaption{font-size:14px;line-height:1.5;margin-top:10px;color:var(--muted)}#posters .gallery-item img{height:330px}#gallery-viewer{background:#1c1d26;color:#fff;border:1px solid #727480;border-radius:8px;width:min(1050px,94vw);max-height:94dvh;padding:18px;overflow:auto}#gallery-viewer::backdrop{background:#000d}#gallery-viewer button{font:inherit;background:#30323d;color:white;border:1px solid #727480;padding:10px 16px;min-height:44px;border-radius:4px;cursor:pointer}#gallery-viewer button:focus-visible{outline:3px solid #ffd275;outline-offset:3px}.viewer-toolbar,.viewer-controls{display:flex;align-items:center;justify-content:space-between;gap:12px}.viewer-toolbar{margin-bottom:14px}#gallery-large{max-height:65dvh;width:auto;max-width:100%;margin:auto;object-fit:contain}#gallery-caption{margin:16px 0;color:#e1e2e8}body.gallery-open{overflow:hidden}.viewer-controls a{font-size:14px}.gallery-item:focus-visible{outline:3px solid #ffd275;outline-offset:4px}@media(max-width:800px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:480px){.gallery-grid{grid-template-columns:1fr}.gallery-item img{height:240px}.viewer-controls{flex-wrap:wrap}.viewer-controls a{order:3;width:100%;text-align:center}#gallery-viewer{padding:12px}#gallery-large{max-height:55dvh}}@media(prefers-reduced-motion:reduce){.gallery-item img{transition:none}}
