a[data-preview-src]{cursor:zoom-in}
a[data-preview-src]:focus-visible{outline:3px solid #c95728;outline-offset:4px}
dialog.site-image-preview{box-sizing:border-box;position:fixed;inset:0;border:0;border-radius:8px;padding:48px 20px 20px;width:fit-content;max-width:min(96vw,1500px);max-height:94dvh;margin:auto;background:#fffef9;color:#123244;overflow:auto;box-shadow:0 18px 60px #0005}
.site-image-preview::backdrop{background:#102a37c9}
.site-image-preview figure{margin:0;text-align:center}
.site-image-preview img{display:block;width:auto;height:auto;max-width:100%;max-height:78dvh;object-fit:contain;margin:auto}
.site-image-preview img[hidden]{display:none}
.site-image-preview figcaption{font-size:14px;line-height:1.6;text-align:center;margin-top:14px}
.site-image-preview-close{position:absolute;right:10px;top:8px;display:grid;place-items:center;width:36px;height:36px;border:1px solid #cbd7cf;border-radius:50%;background:#fff;color:#123244;cursor:pointer}
.site-image-preview-close svg{width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none}
.site-image-preview-close:hover{background:#ffe126}
.site-image-preview-close:focus-visible{outline:3px solid #c95728;outline-offset:2px}
.site-image-preview-error{padding:20px;font-size:15px}
@media(max-width:600px){dialog.site-image-preview{max-width:96vw;padding:48px 10px 16px}.site-image-preview img{max-height:74dvh}}
