.hall-gallery{scroll-margin-top:6rem}
.hg-frame{position:relative;background:#080b0e}
.hg-open{width:100%;display:block;border:0;padding:0;background:none;cursor:zoom-in;touch-action:pan-y pinch-zoom}
.hg-open img{display:block;width:100%;height:100%;aspect-ratio:1.86;object-fit:contain;user-select:none}
.hg-controls{color:#f2eadc;padding:12px 0}
.hg-close{cursor:pointer;min-height:44px;min-width:44px;background:none;color:inherit;border:none;font:inherit;padding:4px 10px}
.hg-close:hover{color:#eca677}
.hg-stage{position:relative;min-height:0}
.hg-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:44px;height:44px;display:grid;place-items:center;border:1px solid #f2eadc80;border-radius:50%;background:#080b0ec9;color:#fff5e4;cursor:pointer;padding:0}
.hg-arrow[data-step="-1"]{left:clamp(6px,1.2vw,20px)}
.hg-arrow[data-step="1"]{right:clamp(6px,1.2vw,20px)}
.hg-arrow::before{content:"";width:11px;height:11px;border:solid currentColor;border-width:2px 2px 0 0;transform:translateX(-2px) rotate(45deg)}
.hg-arrow[data-step="-1"]::before{transform:translateX(2px) rotate(-135deg)}
.hg-arrow:hover{background:#0a0c0ff2;color:#eca677}
.hg-controls p{margin:0;text-align:center;font:400 clamp(.9rem,1.6vw,1.2rem)/1.3 "Cinzel",Georgia,serif}
.hg-controls small{display:inline-block;color:#dda27f;font:600 .73rem/1.6 "Manrope",sans-serif;letter-spacing:.12em}
.hg-open:focus-visible,.hg-arrow:focus-visible,.hg-close:focus-visible{outline:2px solid #eca677;outline-offset:2px}
.hg-viewer[open]{box-sizing:border-box;position:fixed;inset:0;margin:0;width:100%;height:100%;max-width:none;max-height:none;background:#080b0e;color:#f2eadc;border:0;padding:0 clamp(8px,1.5vw,24px);display:grid;grid-template-rows:auto minmax(0,1fr) auto}
.hg-viewer::backdrop{background:#080b0e}
.hg-close{justify-self:end}
.hg-viewer img{width:100%;height:100%;min-height:0;object-fit:contain;touch-action:pan-y pinch-zoom}
html:has(.hg-viewer[open]){overflow:hidden}
@media(max-width:600px){.hall-gallery{margin-inline:-8px}.hg-controls{gap:2px}.hg-controls button span{display:none}.hg-controls button{font-size:1.3rem}.hg-controls small{font-size:.65rem}.hg-frame.frame:before,.hg-frame.frame:after{width:17px;height:17px}.hg-frame.frame:before{top:-4px;left:-4px}.hg-frame.frame:after{bottom:-4px;right:-4px}}
