/* MAHAN photo viewer. DARK backdrop by his order 11 Oct 2026 (*"background must be dark so focus stays on photo"*) — the viewer only; every page stays light.
   The two buttons sit right beside the photo (his *"on monitors arrows are too far"*). The photo's largest size (--aw / --ah) is set by viewer.js from the screen. */
a[data-vw]{cursor:zoom-in}
a[data-vw]:focus-visible{outline:3px solid var(--leaf,#3aa655);outline-offset:3px}
.lb{position:fixed;left:0;top:0;width:100%;height:100%;z-index:200;background:#0d110e;display:none;flex-direction:column;align-items:center;justify-content:center;padding:64px 20px 24px;box-sizing:border-box}
.lb.on{display:flex}
.lb .lb-row{display:flex;align-items:center;justify-content:center;gap:22px;width:100%;flex:1;min-height:0}
.lb .lb-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none;min-width:min(100%,240px)}
.lb img{display:block;max-width:var(--aw,100%);max-height:var(--ah,70vh);width:auto;height:auto;object-fit:contain;border-radius:10px;background:#fff}
/* the soft preview is drawn at the SAME size the sharp photo will have (viewer.js sets its width): no jump */
.lb img.lo{height:auto;aspect-ratio:var(--ar,3/2);object-fit:contain}
.lb .lb-cap{width:0;min-width:100%;margin:14px 0 0;text-align:center;color:#d6e0d9;font-size:16px;line-height:1.4;min-height:22px;overflow-wrap:anywhere}
.lb .lb-cap b{display:block;font-weight:600;font-size:17px;color:#fff}.lb .lb-cap span{display:block;margin-top:3px;font-size:14.5px;color:#aebbb2}.lb .lb-cap h3,.lb .lb-cap p{margin:0}
.lb small{display:block;margin-top:6px;font:600 13px/1 Inter,sans-serif;letter-spacing:.08em;color:#7fd39a}
.lb button{display:flex;align-items:center;justify-content:center;border-radius:50%;border:0;cursor:pointer;font-family:Inter,sans-serif}
.lb .lb-p,.lb .lb-n{flex:none;width:60px;height:60px;background:var(--green,#1f7a3f);color:#fff;font-size:40px;line-height:1;padding-bottom:5px;box-shadow:0 10px 24px -12px rgba(0,0,0,.8)}
.lb .lb-p:hover,.lb .lb-n:hover{background:#2a9a52}
.lb .lb-p:focus-visible,.lb .lb-n:focus-visible,.lb .lb-x:focus-visible{outline:3px solid #7fd39a;outline-offset:3px}
.lb .lb-x{position:absolute;top:14px;right:16px;width:46px;height:46px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.3);color:#fff;font-size:28px}
.lb .lb-x:hover{background:rgba(255,255,255,.26)}
.lb.one .lb-p,.lb.one .lb-n,.lb.one small{display:none}
@media (max-width:760px){.lb{padding:56px 12px 16px}.lb .lb-row{flex-wrap:wrap;align-content:center;gap:12px 28px}.lb .lb-stage{order:0;flex:1 1 100%;min-width:0;max-width:100%}.lb .lb-p{order:1}.lb .lb-n{order:2}}
