/* Full-screen photo viewer (Mighty, Oct 2026) */
.lb-open,.lb-open body{overflow:hidden}
.lb{position:fixed;inset:0;z-index:1000;display:grid;grid-template-rows:auto 1fr auto;background:rgba(12,14,16,.97);color:#fff;font-family:Arial,Helvetica,sans-serif}
.lb[hidden]{display:none}
.lb-top{display:flex;align-items:center;gap:18px;padding:16px 22px;min-height:72px}
.lb-count{font-size:17px;font-weight:700;letter-spacing:.5px;white-space:nowrap}
.lb-caption{font-size:15px;color:#cfd6da;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lb-close{display:inline-flex;align-items:center;gap:8px;background:#fff;color:#1b303f;border:0;padding:11px 18px;font:700 15px Arial,Helvetica,sans-serif;cursor:pointer}
.lb-close span{font-size:20px;line-height:1;font-weight:400}
.lb-close:hover{background:#e6edf1}
.lb-stage{position:relative;display:flex;align-items:center;justify-content:center;min-height:0;padding:0 92px}
.lb-figure{margin:0;width:100%;height:100%;display:flex;align-items:center;justify-content:center;min-height:0}
.lb-img{width:auto;max-width:100%;max-height:calc(100vh - 230px);object-fit:contain;box-shadow:0 10px 40px rgba(0,0,0,.45);transition:opacity .2s ease;user-select:none;-webkit-user-drag:none}
.lb-img.lb-fade{opacity:0}
.lb-arrow{position:absolute;top:50%;transform:translateY(-50%);width:58px;height:58px;border-radius:50%;border:0;background:#fff;color:#1b303f;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 10px rgba(0,0,0,.35);transition:transform .15s,background .15s;z-index:2}
.lb-arrow:hover{background:#e6edf1;transform:translateY(-50%) scale(1.06)}
.lb-arrow svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.lb-prev{left:22px}.lb-next{right:22px}
.lb-thumbs{display:flex;gap:8px;justify-content:safe center;padding:16px 22px 22px;overflow-x:auto;scrollbar-width:thin}
.lb-thumb{flex:0 0 auto;width:108px;height:72px;padding:0;border:3px solid transparent;background:#222;cursor:pointer;opacity:.55;transition:opacity .15s,border-color .15s}
.lb-thumb img{width:100%;height:100%;object-fit:cover}
.lb-thumb:hover{opacity:.9}
.lb-thumb.active{opacity:1;border-color:#fff}
.lb .lb-close:focus-visible,.lb-arrow:focus-visible,.lb-thumb:focus-visible{outline:3px solid #d99c3b;outline-offset:3px}
.lb-single .lb-arrow,.lb-single .lb-thumbs{display:none}
@media(max-width:700px){
  .lb-top{padding:12px 14px;min-height:60px}.lb-caption{display:none}.lb-count{flex:1}
  .lb-stage{padding:0}
  .lb-img{max-height:calc(100vh - 190px);box-shadow:none}
  .lb-arrow{width:44px;height:44px;background:rgba(255,255,255,.92)}.lb-prev{left:8px}.lb-next{right:8px}
  .lb-arrow svg{width:20px;height:20px}
  .lb-thumbs{justify-content:flex-start;padding:12px 14px 18px}
  .lb-thumb{width:76px;height:52px}
}
@media(prefers-reduced-motion:reduce){.lb-img,.lb-arrow,.lb-thumb{transition:none}}
