html:has(.image-viewer[open]){overflow:hidden}
.image-viewer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:66px 12px 12px;border:0;background:transparent;overflow:hidden}
.image-viewer[open]{display:grid;place-items:center}
.image-viewer::backdrop{background:#030914ec}
.image-viewer img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;min-height:0}
.image-viewer-close{position:absolute;top:12px;right:12px;min-height:44px;border:1px solid #b5c8dd;border-radius:8px;padding:8px 14px;background:#fff;color:#10213c;font:inherit;font-weight:700;cursor:pointer}
.image-viewer{padding:66px clamp(44px,7vw,90px) 62px}
.image-viewer-arrow{position:absolute;top:50%;transform:translateY(-50%);width:clamp(36px,5vw,56px);height:clamp(44px,7vw,64px);border:1px solid #b5c8dd;border-radius:9px;background:#fff;color:#10213c;font:inherit;font-size:2rem;line-height:1;cursor:pointer}
.image-viewer-arrow.previous{left:clamp(4px,1.5vw,20px)}
.image-viewer-arrow.next{right:clamp(4px,1.5vw,20px)}
.image-viewer-caption{position:absolute;bottom:8px;left:12px;right:12px;margin:0;color:#fff;text-align:center;font-size:.95rem;pointer-events:none}
