.agl-gallery-stage,.agl-photo-stage{position:relative;background:#f0f0f0;border-radius:12px;overflow:hidden}.agl-gallery-open{display:block;cursor:zoom-in;touch-action:pan-y pinch-zoom}.agl-gallery-image{width:100%;height:auto;max-height:650px;object-fit:contain;display:block}.agl-gallery-prev,.agl-gallery-next{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:48px;border:1px solid #ffffff80;border-radius:50%;background:#151515c9;color:white;font-size:38px;line-height:1;cursor:pointer;z-index:2;display:grid;place-items:center;padding:0}.agl-gallery-prev{left:12px}.agl-gallery-next{right:12px}.agl-gallery-prev[hidden],.agl-gallery-next[hidden]{display:none}.agl-gallery button:focus-visible,.agl-photo-dialog button:focus-visible,.agl-gallery-thumbs a:focus-visible{outline:3px solid #c41e3a;outline-offset:3px}.agl-gallery-count{position:absolute;right:12px;bottom:12px;background:#171717d9;color:#fff;padding:5px 12px;border-radius:20px;font-size:13px;pointer-events:none}.agl-gallery-hint{font-size:13px;color:#666;margin:10px 0}.agl-gallery-thumbs{display:flex;gap:9px;overflow-x:auto;padding:4px 3px 10px;scroll-snap-type:x proximity}.agl-gallery-thumbs a{display:block;flex:0 0 100px;scroll-snap-align:start;border:3px solid transparent;border-radius:8px;overflow:hidden}.agl-gallery-thumbs a[aria-current]{border-color:#b61936}.agl-gallery-thumbs img{width:100%;height:70px;object-fit:cover;display:block}.agl-photo-dialog{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;padding:0;border:0;margin:0;background:#111;color:white;overflow:hidden}.agl-photo-dialog::backdrop{background:#111}.agl-photo-stage{height:calc(100dvh - 95px);margin-top:48px;display:flex;justify-content:center;align-items:center;background:#111;touch-action:pan-y pinch-zoom}.agl-photo-stage>img{max-width:100%;max-height:100%;object-fit:contain}.agl-photo-close{position:absolute;right:14px;top:7px;width:42px;height:42px;font-size:34px;line-height:1;border:0;background:#333;color:#fff;border-radius:50%;z-index:3;cursor:pointer}.agl-photo-counter{text-align:center;margin:8px;font-size:14px}.agl-photo-dialog:not([open]){display:none}@media(max-width:600px){.agl-gallery-prev,.agl-gallery-next{width:42px;height:42px}.agl-gallery-prev{left:8px}.agl-gallery-next{right:8px}.agl-gallery-thumbs a{flex-basis:80px}.agl-gallery-thumbs img{height:58px}}
