.ali-image-can-zoom{cursor:zoom-in}
/* Return focus after closing without a pointer-only browser outline. */
.ali-image-can-zoom:focus:not(:focus-visible){outline:none}
.ali-image-can-zoom:focus-visible{outline:2px solid #623cef;outline-offset:3px}
.ali-image-zoom-hint{position:fixed;z-index:900;width:28px;height:28px;min-width:0;padding:5px;border:0;border-radius:50%;background:#fff;color:#623cef;box-shadow:0 2px 10px #25213a26;cursor:zoom-in;line-height:0;pointer-events:none}
.ali-image-zoom-hint[hidden]{display:none}
.ali-image-zoom-hint svg{width:18px;height:18px}
.ali-image-viewer{box-sizing:border-box;width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;overflow:hidden;outline:none}
.ali-image-viewer::backdrop{background:#1d252bbd}
.ali-image-viewer-stage{height:100%;box-sizing:border-box;padding:32px;display:flex;align-items:center;justify-content:center;cursor:zoom-out}
.ali-image-viewer-stage img{display:block;width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;margin:0;border:0;box-shadow:none;cursor:default}
.ali-image-viewer-stage img[hidden]{display:none}
.ali-image-viewer-error{color:#fff;font:14px/1.6 system-ui}
/* Keep a keyboard/screen-reader exit without visible controls during pointer use. */
.ali-image-viewer-close{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;border:0;white-space:nowrap}
.ali-image-viewer-close:focus-visible{top:12px;right:12px;width:auto;height:auto;clip-path:none;padding:8px 12px;background:#fff;color:#42464d;border:1px solid #d7d9de;border-radius:4px;outline:2px solid #623cef;outline-offset:2px}
@media(max-width:560px){.ali-image-viewer-stage{padding:16px}}
