.gh-image-preview__trigger {position:relative;display:block;width:100%;padding:0;border:0;background:none;cursor:zoom-in;}
.gh-image-preview__trigger>img {display:block;width:100%;height:auto;}
.gh-image-preview__icon {position:absolute;right:4px;bottom:4px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;color:#777;background:#fff;}
.gh-image-preview__icon .icon {width:16px;height:16px;}
.gh-image-preview {margin:auto;border:0;border-radius:12px;padding:40px 20px 20px;max-width:calc(100vw - 40px);max-height:calc(100dvh - 40px);background:white;overflow:auto;}
.gh-image-preview::backdrop {background:#0009;}
.gh-image-preview>img {display:block;max-width:100%;max-height:calc(100dvh - 150px);width:auto;height:auto;margin:auto;object-fit:contain;}
.gh-image-preview>p {margin:12px 0 0;text-align:center;font-size:14px;}
.gh-image-preview__close {position:absolute;right:8px;top:4px;width:32px;height:32px;border:0;background:none;color:#171717;font:32px/1 sans-serif;}
.gh-image-preview-open {overflow:hidden;}
.gh-image-preview__icon .icon path {fill:currentColor;}
.gh-image-preview__icon {width:30px;height:30px;background:transparent;}
.gh-image-preview__icon img {display:block;width:30px;height:30px;}
.gh-image-preview {width:min(1640px,calc(100vw - 40px));}
.gh-image-preview>img {width:100%;height:calc(100dvh - 170px);max-height:1100px;object-fit:contain;}
