/* Image zoom: hover preview + lightbox (see /static/img-zoom.js) */
@media (hover:hover) and (pointer:fine){img.iz-t{cursor:zoom-in}}
.iz-pv{position:fixed;inset:0;z-index:9998;display:flex;align-items:center;justify-content:center;background:rgba(12,18,24,.55);pointer-events:none;opacity:0;visibility:hidden;transition:opacity .15s ease,visibility 0s linear .15s}
.iz-pv.on{opacity:1;visibility:visible;transition:opacity .15s ease}
.iz-pv img{display:block;max-width:none;border-radius:6px;background:#f7faff;box-shadow:0 12px 40px rgba(0,0,0,.35);object-fit:contain}
.iz-box{position:fixed;inset:0;z-index:9999;display:none;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:48px 56px 16px;background:rgba(12,18,24,.93);cursor:zoom-out;animation:iz-in .15s ease}
.iz-box.on{display:flex}
.iz-img{max-width:100%;max-height:calc(100% - 56px);width:auto;height:auto;object-fit:contain;border-radius:4px;background:#f7faff}
.iz-cap{margin:0;max-width:900px;color:#d9e2ea;font-size:13px;line-height:1.45;text-align:center;cursor:default}
.iz-btn{position:absolute;border:0;background:rgba(255,255,255,.12);color:#fff;font:400 28px/1 system-ui,sans-serif;width:44px;height:44px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0 0 3px}
.iz-btn:hover,.iz-btn:focus-visible{background:rgba(255,255,255,.26);outline:2px solid #fff;outline-offset:1px}
.iz-btn[hidden]{display:none}
.iz-close{top:8px;right:8px}
.iz-prev{left:6px;top:50%;margin-top:-22px}
.iz-next{right:6px;top:50%;margin-top:-22px}
html.iz-lock,html.iz-lock body{overflow:hidden}
@keyframes iz-in{from{opacity:0}to{opacity:1}}
@media (max-width:700px){.iz-box{padding:56px 8px 12px}.iz-prev,.iz-next{top:auto;bottom:10px;margin:0}.iz-img{max-height:calc(100% - 96px)}.iz-cap{padding:0 52px;font-size:12px}}
@media (prefers-reduced-motion:reduce){.iz-pv,.iz-pv.on{transition:none}.iz-box{animation:none}}
