/* Minimal, accessible full-screen artwork lightbox. */
.omb-lightbox{position:fixed;inset:0;width:100vw;width:100dvw;height:100vh;height:100dvh;
 max-width:none;max-height:none;box-sizing:border-box;margin:0;padding:15px;
 border:0;border-radius:0;background:rgba(2,5,17,.97);color:#f5f7ff;
 overflow:hidden;overscroll-behavior:contain;-webkit-tap-highlight-color:transparent}
.omb-lightbox[open]{display:grid;place-items:center}
.omb-lightbox::backdrop{background:rgba(1,4,14,.94)}
.omb-lightbox-stage{max-width:calc(100vw - 150px);max-width:calc(100dvw - 150px);
 width:max-content;max-height:calc(100dvh - 92px);display:grid;
 justify-items:center;align-content:center;gap:6px;min-width:0}
.omb-lightbox-image{display:block;max-width:100%;width:auto;height:auto;
 max-height:calc(100vh - 118px);max-height:calc(100dvh - 118px);
 object-fit:contain;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.omb-lightbox-caption{max-width:640px;margin:8px 0 0!important;padding:0 5px;
 color:rgba(235,241,255,.75)!important;font-family:Inter,sans-serif;font-size:12px;
 line-height:1.55;letter-spacing:.015em;text-align:center;font-weight:300}
.omb-lightbox-counter{font-size:10px;letter-spacing:.15em;color:rgba(217,229,255,.46)}
.omb-lightbox button{position:fixed;z-index:5;display:grid;place-items:center;
 padding:0;border:1px solid rgba(208,223,255,.2);border-radius:50%;
 background:rgba(12,21,48,.45);color:#e8f2ff;cursor:pointer;line-height:1;
 font-weight:200;transition:background .2s,border-color .2s,transform .2s}
.omb-lightbox button:hover{background:rgba(36,52,91,.78);border-color:rgba(142,228,222,.6)}
.omb-lightbox button:focus-visible{outline:2px solid #90e8e0;outline-offset:3px}
.omb-lightbox-close{top:max(17px,env(safe-area-inset-top));right:max(17px,env(safe-area-inset-right));
 width:46px;height:46px;font-size:32px}
.omb-lightbox-prev,.omb-lightbox-next{top:50%;width:45px;height:58px;border-radius:17px!important;
 transform:translateY(-50%);font-size:41px}
.omb-lightbox-prev{left:clamp(10px,2vw,30px)}
.omb-lightbox-next{right:clamp(10px,2vw,30px)}
.omb-lightbox-prev:hover,.omb-lightbox-next:hover{transform:translateY(-50%) scale(1.04)}
body.omb-lightbox-open{overflow:hidden}
@media(max-width:740px){
 .omb-lightbox{padding:12px}
 .omb-lightbox-stage{max-width:calc(100vw - 24px);max-width:calc(100dvw - 24px);
 max-height:calc(100dvh - 105px)}
 .omb-lightbox-image{max-height:calc(100dvh - 142px)}
 .omb-lightbox-close{width:45px;height:45px;top:max(11px,env(safe-area-inset-top));
 right:max(11px,env(safe-area-inset-right))}
 .omb-lightbox-prev,.omb-lightbox-next{top:auto;bottom:max(13px,env(safe-area-inset-bottom));
 width:44px;height:44px;border-radius:50%!important;transform:none;font-size:33px}
 .omb-lightbox-prev{left:20px}.omb-lightbox-next{right:20px}
 .omb-lightbox-prev:hover,.omb-lightbox-next:hover{transform:scale(1.04)}
}
@media(prefers-reduced-motion:reduce){.omb-lightbox button{transition:none!important}}
