.ru-gallery .gv-open{display:block;width:100%;padding:0;border:0;background:transparent;cursor:zoom-in;color:inherit}
.gv-open:focus-visible{outline:3px solid #192421;outline-offset:5px}
.gallery-viewer{box-sizing:border-box;position:fixed;inset:0;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;background:#101412;color:#fff;overflow:hidden}
.gallery-viewer::backdrop{background:#101412}
.gallery-viewer .gv-stage{position:absolute;inset:70px 68px 65px;display:flex;align-items:center;justify-content:center;touch-action:pan-y pinch-zoom}
.gallery-viewer .gv-image{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;user-select:none}
.gallery-viewer button{position:absolute;display:flex;align-items:center;justify-content:center;width:48px;height:48px;margin:0;padding:0;border:1px solid #ffffff60;border-radius:50%;background:#101412cc;color:#fff;cursor:pointer;font:36px/1 Arial,sans-serif;z-index:1}
.gallery-viewer button:focus-visible{outline:2px solid white;outline-offset:4px}
.gallery-viewer .gv-close{right: max(16px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top))}
.gallery-viewer .gv-prev{left:12px;top:calc(50% - 24px)}
.gallery-viewer .gv-next{right:12px;top:calc(50% - 24px)}
.gallery-viewer .gv-count{position:absolute;bottom:max(18px,env(safe-area-inset-bottom));left:0;right:0;margin:0;text-align:center;font:15px/1.5 Arial,sans-serif;color:white}
@media(max-width:600px){.gallery-viewer .gv-stage{inset:72px 8px 84px}.gallery-viewer .gv-prev,.gallery-viewer .gv-next{top:auto;bottom:max(12px,env(safe-area-inset-bottom))}.gallery-viewer .gv-prev{left:20px}.gallery-viewer .gv-next{right:20px}.gallery-viewer .gv-count{bottom:max(25px,env(safe-area-inset-bottom))}}
