/* A persistent photo-viewer close control, independent of auto-hidden toolbars. */
html body .vo-photo-close {
    position: fixed !important;
    top: max(12px, env(safe-area-inset-top)) !important;
    right: max(12px, env(safe-area-inset-right)) !important;
    z-index: 2147483647 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px !important;
    width: auto !important;
    min-width: 130px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 16px !important;
    border: 2px solid #fff !important;
    border-radius: 12px !important;
    background: #ffaa83 !important;
    color: #173b31 !important;
    box-shadow: 0 3px 16px #0008 !important;
    font: 700 16px/1.2 Arial, sans-serif !important;
    text-decoration: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    cursor: pointer !important;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    transform: none !important;
}
html body .vo-photo-close svg { width: 24px !important; height: 24px !important; flex: none; }
html body .vo-photo-close:focus-visible { outline: 3px solid #fff !important; outline-offset: 4px; }
html body .vo-photo-close:hover { background: #ffbf9f !important; }
html body .vo-photo-close-host .fancybox-toolbar { right: 164px !important; top: max(12px, env(safe-area-inset-top)) !important; }
html body .vo-photo-close-host.fancybox-container,
html body .vo-photo-close-host.fancybox__container,
html body .vo-photo-close-host.fancybox-wrap,
html body .vo-photo-close-host.highslide-container,
html body #lbOverlay.vo-photo-close-host { z-index: 2147483000 !important; }
html body dialog.vo-photo-fallback {
    width: 100vw; width: 100dvw; height: 100vh; height: 100dvh;
    max-width: none; max-height: none; margin: 0; border: 0;
    padding: 84px 12px 12px; background: #15201cf5;
}
html body dialog.vo-photo-fallback[open] { display: flex; align-items: center; justify-content: center; }
html body dialog.vo-photo-fallback::backdrop { background: #15201c; }
html body dialog.vo-photo-fallback > img { display: block; width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; }
/* Slimbox used natural image dimensions and could widen the mobile viewport. */
html body #lbCenter {
    position: fixed !important; inset: 84px 12px !important;
    width: auto !important; height: auto !important;
    margin: 0 !important; padding: 0 !important;
}
html body #lbImage {
    width: 100% !important; height: 100% !important;
    padding: 0 !important; border: 0 !important;
    background-size: contain !important;
    background-position: center !important; background-repeat: no-repeat !important;
}
html body #lbImage > div { width: 100% !important; height: 100% !important; }
html body #lbBottomContainer {
    position: fixed !important; top: auto !important; bottom: 12px !important;
    left: 12px !important; right: 12px !important;
    width: auto !important; margin: 0 !important; max-height: 60px !important; overflow: hidden !important;
}
html body #lbCloseLink { visibility: hidden !important; }
/* Keep native navigation/zoom controls; only the superseded close is hidden. */
html body .vo-photo-close-host .fancybox-button--close,
html body .vo-photo-close-host .fancybox-close-small,
html body .vo-photo-close-host .fancybox-close,
html body .vo-photo-close-host .vo-rw-close,
html body .vo-photo-close-host .rs-dialog-head > button,
html body .vo-photo-close-host .closebutton { visibility: hidden !important; pointer-events: none !important; }
