img.imgzoom-able { cursor: zoom-in; }
img.imgzoom-able:focus-visible { outline: 2px solid #1a73e8; outline-offset: 2px; }
html.imgzoom-open { overflow: hidden; }
.imgzoom-overlay { position: fixed; inset: 0; z-index: 99999; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .88); cursor: zoom-out; }
.imgzoom-overlay[hidden] { display: none; }
.imgzoom-figure { margin: 0; max-width: 94vw; max-height: 94vh; display: flex; flex-direction: column; align-items: center; }
.imgzoom-img { max-width: 94vw; max-height: 86vh; width: auto; height: auto; object-fit: contain; background: #fff; box-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.imgzoom-caption { color: #eee; font: 14px/1.4 system-ui, sans-serif; margin-top: .6em; max-width: 80ch; text-align: center; }
.imgzoom-caption:empty { display: none; }
.imgzoom-close, .imgzoom-nav { position: absolute; border: 0; background: rgba(255, 255, 255, .15); color: #fff; font: 32px/1 system-ui, sans-serif; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; }
.imgzoom-close { top: 12px; right: 12px; }
.imgzoom-nav { top: 50%; transform: translateY(-50%); }
.imgzoom-prev { left: 12px; }
.imgzoom-next { right: 12px; }
.imgzoom-close:hover, .imgzoom-nav:hover, .imgzoom-close:focus-visible, .imgzoom-nav:focus-visible { background: rgba(255, 255, 255, .3); outline: 2px solid #fff; }
.imgzoom-nav[hidden] { display: none; }
@media (max-width: 600px) { .imgzoom-nav { width: 40px; height: 40px; font-size: 26px; } }
