/* Wire Monkey lightbox: self-contained, no dependencies. Pairs with lightbox.js. */
[data-lightbox] img.lb-thumb,[data-lightbox] figure{cursor:zoom-in}
[data-lightbox] img.lb-thumb:focus{outline:none}
[data-lightbox] img.lb-thumb:focus-visible{outline:3px solid #6EC3F5;outline-offset:-3px}
html.lb-lock{scroll-behavior:auto!important}
html.lb-lock body{position:fixed;left:0;right:0;width:100%;overflow:hidden}

.lb{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;
  background:rgba(7,20,60,.96);color:#fff;font-family:var(--body,'Satoshi',system-ui,sans-serif);
  opacity:0;visibility:hidden;transition:opacity .25s cubic-bezier(.2,.7,.2,1),visibility 0s linear .25s;
  -webkit-tap-highlight-color:transparent;touch-action:pan-y pinch-zoom;overscroll-behavior:contain}
.lb.is-open{opacity:1;visibility:visible;transition:opacity .25s cubic-bezier(.2,.7,.2,1),visibility 0s}
.lb[hidden]{display:none}

.lb__stage{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;
  padding:4.5rem 5.5rem 1.5rem;box-sizing:border-box}
.lb__fig{margin:0;display:flex;flex-direction:column;align-items:center;gap:.9rem;max-width:100%;max-height:100%;min-height:0}
.lb__img{display:block;max-width:100%;max-height:calc(100vh - 10.5rem);max-height:calc(100dvh - 10.5rem);width:auto;height:auto;
  border-radius:14px;box-shadow:0 30px 80px -20px rgba(0,0,0,.6),0 0 0 1px rgba(110,195,245,.18);
  background:#0B1D4F;object-fit:contain;opacity:1;transform:scale(1);
  transition:opacity .2s ease,transform .25s cubic-bezier(.2,.7,.2,1);user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}
.lb:not(.is-open) .lb__img{transform:scale(.97)}
.lb__img.is-loading{opacity:0}
.lb__cap{margin:0;max-width:46rem;text-align:center;font-size:.95rem;line-height:1.45;font-weight:500;color:#C3D2EC;min-height:1.4em}
.lb__cap strong{color:#fff;font-weight:700}

.lb__btn{position:absolute;display:grid;place-items:center;width:48px;height:48px;padding:0;margin:0;border-radius:999px;
  border:1px solid rgba(110,195,245,.35);background:rgba(11,29,79,.72);color:#fff;cursor:pointer;
  transition:background .2s ease,border-color .2s ease,transform .2s ease;-webkit-appearance:none;appearance:none}
.lb__btn svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.lb__btn:hover{background:#6EC3F5;border-color:#6EC3F5;color:#071640}
.lb__btn:active{transform:scale(.94)}
.lb__btn:focus{outline:none}
.lb__btn:focus-visible{outline:3px solid #6EC3F5;outline-offset:3px}
.lb.is-pointer .lb__btn:focus-visible{outline:none}
.lb__close{top:max(1rem,env(safe-area-inset-top));right:max(1rem,env(safe-area-inset-right))}
.lb__prev{left:max(1.25rem,env(safe-area-inset-left));top:50%;margin-top:-24px}
.lb__next{right:max(1.25rem,env(safe-area-inset-right));top:50%;margin-top:-24px}
.lb__prev:active,.lb__next:active{transform:scale(.94)}
.lb__count{position:absolute;top:max(1.55rem,calc(env(safe-area-inset-top) + .55rem));left:max(1.25rem,env(safe-area-inset-left));
  padding:.3rem .75rem;border-radius:999px;background:rgba(110,195,245,.16);border:1px solid rgba(110,195,245,.3);
  font-size:.8rem;font-weight:700;letter-spacing:.06em;color:#fff;font-variant-numeric:tabular-nums}
.lb.is-single .lb__prev,.lb.is-single .lb__next,.lb.is-single .lb__count{display:none}
.lb__sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

@media (max-width:640px){
  .lb__stage{padding:4.25rem .75rem 5.75rem}
  .lb__img{max-height:calc(100vh - 12rem);max-height:calc(100dvh - 12rem);border-radius:12px}
  .lb__cap{font-size:.88rem;padding:0 .5rem}
  .lb__btn{width:46px;height:46px}
  .lb__close{top:max(.75rem,env(safe-area-inset-top));right:max(.75rem,env(safe-area-inset-right))}
  .lb__count{top:max(1.3rem,calc(env(safe-area-inset-top) + .55rem));left:max(.9rem,env(safe-area-inset-left))}
  .lb__prev,.lb__next{top:auto;margin-top:0;bottom:max(1.25rem,calc(env(safe-area-inset-bottom) + .75rem))}
  .lb__prev{left:calc(50% - 58px)}
  .lb__next{right:calc(50% - 58px)}
}
@media (prefers-reduced-motion:reduce){
  .lb,.lb.is-open,.lb__img,.lb__btn{transition:none}
  .lb:not(.is-open) .lb__img{transform:none}
}
