/* Gallery viewer controls — accessible, precisely centered and touch friendly. */
.hye-gallery-lightbox, .heg-lightbox {box-sizing:border-box!important;}
.hye-gallery-lightbox>button, .heg-lightbox>button {
 position:fixed!important; z-index:100001!important; display:flex!important;
 align-items:center!important; justify-content:center!important;
 width:54px!important;height:54px!important;min-width:54px!important;min-height:54px!important;
 padding:0!important;margin:0!important;line-height:1!important;
 border:1px solid rgba(255,215,132,.58)!important;border-radius:50%!important;
 background:rgba(17,30,49,.91)!important;color:#fff!important;
 box-shadow:0 8px 26px rgba(0,0,0,.35),inset 0 1px rgba(255,255,255,.12)!important;
 cursor:pointer!important;transform:none!important;transition:background .2s,border-color .2s,box-shadow .2s,scale .2s!important;
 -webkit-tap-highlight-color:transparent;touch-action:manipulation;
}
.hye-gallery-lightbox>button svg, .heg-lightbox>button svg {display:block!important;width:23px!important;height:23px!important;flex:none!important;stroke:currentColor;stroke-width:2.25;fill:none;stroke-linecap:round;stroke-linejoin:round;pointer-events:none;}
.hye-gallery-lightbox>button:hover, .heg-lightbox>button:hover {background:#ad852f!important;border-color:#f8d98e!important;box-shadow:0 10px 30px rgba(0,0,0,.45)!important;scale:1.06;}
.hye-gallery-lightbox>button:focus-visible,.heg-lightbox>button:focus-visible {outline:3px solid #f4cb67!important;outline-offset:4px!important;}
.hye-gallery-lightbox .hye-gallery-prev,.heg-lightbox .heg-prev {top:50%!important;bottom:auto!important;left:clamp(10px,2.5vw,36px)!important;right:auto!important;transform:translateY(-50%)!important;}
.hye-gallery-lightbox .hye-gallery-next,.heg-lightbox .heg-next {top:50%!important;bottom:auto!important;right:clamp(10px,2.5vw,36px)!important;left:auto!important;transform:translateY(-50%)!important;}
.hye-gallery-lightbox .hye-gallery-close,.heg-lightbox .heg-close {top:clamp(12px,2vw,26px)!important;right:clamp(12px,2vw,26px)!important;bottom:auto!important;left:auto!important;transform:none!important;}
.hye-gallery-lightbox figure,.heg-lightbox figure {min-width:0!important;}
@media(max-width:700px){
 .hye-gallery-lightbox,.heg-lightbox {padding:76px 12px 80px!important;}
 .hye-gallery-lightbox>button,.heg-lightbox>button {width:46px!important;height:46px!important;min-width:46px!important;min-height:46px!important;}
 .hye-gallery-lightbox .hye-gallery-prev,.heg-lightbox .heg-prev {left:8px!important;}
 .hye-gallery-lightbox .hye-gallery-next,.heg-lightbox .heg-next {right:8px!important;}
 .hye-gallery-lightbox figure img,.heg-lightbox figure img {max-height:calc(100dvh - 160px)!important;}
}
@media(prefers-reduced-motion:reduce){.hye-gallery-lightbox>button,.heg-lightbox>button{transition:none!important;}}
