/* Pictures in content never overflow their box (2026-12-01: .shot had no rule and stuck out). */
.shot, .vx-img, .kx-pic img, .gy-forest img, figure img, .g-sec p > img:not(.ico), .g-body p > img:not(.ico) {
  display: block; max-width: 100%; height: auto; margin: 6px auto;
}
.shot { image-rendering: pixelated; border: 2px solid #000; background: rgba(255,255,255,.04); box-shadow: 3px 3px 0 rgba(0,0,0,.35); }
img.lb-zoom { cursor: zoom-in; }
img.lb-zoom:hover { filter: brightness(1.08); }
.lb-ov { position: fixed; inset: 0; z-index: 9999; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(8,8,12,.92); padding: 16px; box-sizing: border-box; animation: lbIn .15s ease-out; }
.lb-ov[hidden] { display: none; }
.lb-ov img { max-width: 100%; max-height: calc(100vh - 110px); width: auto; height: auto; image-rendering: pixelated;
  border: 2px solid #000; box-shadow: 0 8px 30px rgba(0,0,0,.6); background: #111; cursor: zoom-out; touch-action: pan-y; }
.lb-cap { color: #eee; font-size: 15px; line-height: 1.4; max-width: 900px; text-align: center; margin-top: 10px; }
.lb-n { color: #aaa; font-size: 13px; margin-top: 4px; }
.lb-btn { position: absolute; background: rgba(0,0,0,.55); color: #fff; border: 2px solid #000; font-size: 26px; line-height: 1;
  width: 48px; height: 48px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lb-btn[hidden] { display: none; }
.lb-btn:hover, .lb-btn:focus-visible { background: rgba(255,255,255,.18); outline: 2px solid #f5c542; }
.lb-x { top: 12px; right: 12px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .lb-ov { animation: none; } }
@media (max-width: 600px) { .lb-prev, .lb-next { top: auto; bottom: 12px; transform: none; } .lb-ov img { max-height: calc(100vh - 150px); } }
