.gallery-controls{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:22px 0;color:var(--sub)}
.gallery-controls p{margin:0;font-size:14px}.gallery-controls>div{display:flex;gap:8px}
.gallery-controls button,.viewer-toolbar button{background:#282044;color:#fff;border:1px solid #8573cd;border-radius:12px;min-width:44px;min-height:44px;font:inherit;cursor:pointer}
.gallery-section .shots{display:flex;gap:22px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-color:#806bfc #14162a;padding:4px 4px 20px;margin:0;align-items:start}
.gallery-section .shot{flex:0 0 calc((100% - 44px)/3);min-width:0;scroll-snap-align:start;padding:10px}
.gallery-section .shot-image{display:block;cursor:zoom-in;border-radius:8px}
.gallery-section .shot img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:8px}
.gallery-section .shot figcaption{line-height:1.5}
a:focus-visible,button:focus-visible,.shots:focus-visible{outline:3px solid #baaaff;outline-offset:4px}
.screen-viewer{width:min(96vw,900px);height:94dvh;max-height:94dvh;padding:12px;background:#0c1021;color:#fff;border:1px solid #706298;border-radius:16px;overflow:auto}
.screen-viewer::backdrop{background:rgba(3,5,15,.94)}
.viewer-toolbar{display:flex;align-items:center;gap:10px;position:sticky;top:0;background:#0c1021;padding-bottom:12px;z-index:1}
#viewer-caption{flex:1;font-size:14px}.screen-viewer>img{display:block;max-width:100%;height:auto;max-height:calc(94dvh - 96px);margin:auto;object-fit:contain}
body.viewer-open{overflow:hidden}
@media(max-width:760px){.gallery-section .shot{flex-basis:82%;padding:8px}.gallery-section .shots{gap:14px}.gallery-controls{align-items:flex-end}.screen-viewer{width:98vw;padding:8px}#viewer-caption{font-size:12px}.viewer-toolbar{gap:6px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
