/* SOSK lightbox (dependency-free). */
.lb { position: fixed; inset: 0; z-index: 2147483100; background: rgb(14,12,9); touch-action: none;
  opacity: 0; transition: opacity .22s ease; -webkit-user-select: none; user-select: none; overscroll-behavior: contain; }
.lb.on { opacity: 1; }
.lb-strip { position: absolute; inset: 0; will-change: transform; }
.lb-slide { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.lb-slide img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: 0 0; will-change: transform;
  -webkit-touch-callout: none; -webkit-user-drag: none; pointer-events: none; }
.lb-bar { position: absolute; left: 0; right: 0; top: 0; display: flex; align-items: center; justify-content: space-between;
  padding: calc(env(safe-area-inset-top) + 4px) 8px 4px 16px; color: #fff; z-index: 2;
  background: linear-gradient(rgba(0,0,0,.45), transparent); transition: opacity .2s; }
.lb-count { font: 600 .95rem/1 -apple-system, system-ui, sans-serif; letter-spacing: .04em; }
.lb-btn { width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.lb-btn svg { width: 24px; height: 24px; }
.lb-nav { position: absolute; top: 50%; margin-top: -24px; z-index: 2; }
.lb-prev { left: 10px; } .lb-next { right: 10px; }
@media (hover: none) { .lb-nav { display: none; } }
.lb.anim .lb-strip, .lb.anim .lb-slide img { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
@media (prefers-reduced-motion: reduce) { .lb, .lb.anim .lb-strip, .lb.anim .lb-slide img { transition-duration: .01s; } }
html.lb-lock, html.lb-lock body { overflow: hidden; }
