.hl-zoom-enhanced .dialog-message.dialog-lightbox-message {
    width: 100% !important;
    height: 100%;
    margin: 0;
}
.hl-zoom-enhanced .hl-zoom-bar {
    position: absolute; z-index: 20; top: auto; bottom: calc(70px + env(safe-area-inset-bottom, 0px)); right: 16px; left: auto; transform: none;
    box-sizing: border-box; width: 256px; max-width: calc(100vw - 24px); padding: 8px 12px;
    background: #0c2340; color: #fff; border: 1px solid #9ba8b5; border-radius: 10px;
    box-shadow: 0 3px 16px #0005; font: 15px/1.4 Arial, sans-serif; text-align: center;
}
.hl-zoom-enhanced .hl-zoom-bar[hidden] { display: none; }
.hl-zoom-enhanced .hl-zoom-controls { display: flex; gap: 8px; align-items: center; }
.hl-zoom-enhanced .hl-zoom-bar button {
    box-sizing: border-box; min-width: 44px; min-height: 44px; margin: 0; padding: 6px 12px;
    border: 1px solid #a8b8c8; border-radius: 5px; background: #fff; color: #0c2340;
    font: bold 24px/1 Arial, sans-serif; cursor: pointer; touch-action: manipulation;
}
.hl-zoom-enhanced .hl-zoom-bar button[data-zoom="fit"] { font-size: 15px; white-space: nowrap; }
.hl-zoom-enhanced .hl-zoom-bar button:hover { background: #d9f0fa; }
.hl-zoom-enhanced .hl-zoom-bar button:focus-visible { outline: 3px solid #72dbff; outline-offset: 3px; }
.hl-zoom-enhanced .hl-zoom-bar button[aria-disabled="true"] { opacity: .55; cursor: default; }
.hl-zoom-enhanced .hl-zoom-bar output { min-width: 42px; color: #fff; font-variant-numeric: tabular-nums; }
.hl-zoom-enhanced .hl-zoom-bar small { display: block; margin-top: 5px; color: #eef5fa; font-size: 12px; }
.hl-zoom-enhanced .hl-zoom-touch { display: none; }
.hl-zoom-enhanced .elementor-slideshow__header :is(.eicon-zoom-in-bold, .eicon-zoom-out-bold, .e-eicon-zoom-in-bold, .e-eicon-zoom-out-bold) { display: none !important; }
.hl-zoom-enhanced .hl-is-zoomed .swiper-zoom-container { cursor: grab; }
.hl-zoom-enhanced .hl-is-zoomed .swiper-zoom-container:active { cursor: grabbing; }
/* Keep close/fullscreen/navigation visible while reading an archive image. */
.hl-zoom-enhanced .elementor-slideshow__header,
.hl-zoom-enhanced .dialog-close-button { opacity: 1 !important; pointer-events: auto !important; }
.hl-zoom-enhanced .elementor-slideshow__footer { position: absolute; background: #0c2340e6; }
@media (max-width: 767px) {
    .hl-zoom-enhanced .dialog-message.dialog-lightbox-message {
        width: 100% !important;
        height: calc(100% - 116px - env(safe-area-inset-bottom, 0px)) !important;
    }
    .hl-zoom-enhanced .hl-zoom-bar {
        top: auto; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        right: 12px; left: auto; transform: none;
    }
}
@media (pointer: coarse) {
    .hl-zoom-enhanced .hl-zoom-mouse { display: none; }
    .hl-zoom-enhanced .hl-zoom-touch { display: inline; }
}
