.optin-gallery{position:fixed;inset:0;margin:0;border:0;padding:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;background:rgba(4,8,13,.97);color:#fff;overflow:hidden;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom}
.optin-gallery::backdrop{background:rgba(0,0,0,.8)}
.optin-gallery-stage{position:absolute;inset:max(64px,env(safe-area-inset-top)) 68px max(48px,env(safe-area-inset-bottom));display:grid;place-items:center}
.optin-gallery-image{display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain}
.optin-gallery button{position:absolute;z-index:2;display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid #ffffff3b;border-radius:50%;background:#141d28e8;color:#fff;cursor:pointer;transition:background .18s ease,transform .18s ease}
.optin-gallery button:hover{background:#263b50}
.optin-gallery button:active{transform:scale(.94)}
.optin-gallery button:focus-visible{outline:3px solid #00d4ef;outline-offset:4px}
.optin-gallery button svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.optin-gallery-close{top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right))}
.optin-gallery-prev,.optin-gallery-next{top:calc(50% - 24px)}
.optin-gallery-prev{left:max(12px,env(safe-area-inset-left))}
.optin-gallery-next{right:max(12px,env(safe-area-inset-right))}
.optin-gallery-count{position:absolute;bottom:max(12px,env(safe-area-inset-bottom));left:0;right:0;margin:0;text-align:center;color:#dce7f2;font:500 14px/1.5 var(--font-body,system-ui)}
@media(max-width:600px){.optin-gallery-stage{left:56px;right:56px}.optin-gallery-prev{left:max(4px,env(safe-area-inset-left))}.optin-gallery-next{right:max(4px,env(safe-area-inset-right))}}
@media(prefers-reduced-motion:reduce){.optin-gallery button{transition:none}}
