.ch-gallery .ch-g-status{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.ch-gallery .ch-g-intro{grid-template-columns:1fr}
.ch-gallery .ch-g-viewer{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:hidden;color:#fff}
.ch-gallery .ch-g-viewer[open]{display:grid;place-items:center}
.ch-gallery .ch-g-viewer::backdrop{background:rgba(10,13,11,.92)}
.ch-gallery .ch-g-vimage{grid-area:auto;width:auto;height:auto;max-width:calc(100% - 120px);max-height:calc(100% - 36px);max-height:calc(100dvh - 36px);display:block;background:none;border:0;border-radius:0;box-shadow:none;object-fit:contain}
.ch-gallery .ch-g-viewer button{position:absolute;display:grid;place-items:center;width:50px;height:50px;border:0;border-radius:0;background:transparent;color:#fff;text-shadow:0 1px 7px #000,0 0 2px #000;padding:0;line-height:1;cursor:pointer}
.ch-gallery .ch-g-viewer button:hover{background:transparent}
.ch-gallery .ch-g-prev,.ch-gallery .ch-g-next{top:50%;transform:translateY(-50%);font-size:50px}
.ch-gallery .ch-g-prev{left:max(6px,env(safe-area-inset-left))}
.ch-gallery .ch-g-next{right:max(6px,env(safe-area-inset-right))}
.ch-gallery .ch-g-close{top:max(6px,env(safe-area-inset-top));right:max(6px,env(safe-area-inset-right));font-size:34px}
@media(max-width:600px){.ch-gallery .ch-g-vimage{max-width:100%;max-height:calc(100dvh - 100px)}.ch-gallery .ch-g-prev,.ch-gallery .ch-g-next{font-size:38px}.ch-gallery .ch-g-prev{left:0}.ch-gallery .ch-g-next{right:0}}
