/* Gallery-only immersive view: photographs, position, progress, and return. */
body.af-gallery-page{height:100dvh;min-height:0;overflow:hidden!important;--gallery-photo-width:min(29vw,calc((100dvh - 170px)*.75),480px)}
.af-gallery-page :is(.af-topbar,.studio-announcement,.studio-footer,.support-widget,.support-bubble,.support-launcher,.af-gallery-intro,.af-gallery-hint,.af-gallery-current,.af-gallery-caption,.af-gallery-explore){display:none!important}
.af-gallery-page main.af-cinema-gallery{height:100dvh;min-height:0;padding:78px 0 24px;display:flex;flex-direction:column}
.af-gallery-page .af-gallery-shell{display:flex;flex-direction:column;flex:1;min-height:0;padding:0}
.af-gallery-page .af-gallery-viewport{flex:1;min-height:0;height:auto}
.af-gallery-page .af-gallery-track{align-items:center;padding:12px clamp(24px,5vw,90px) 16px;gap:clamp(22px,3.5vw,60px)}
.af-gallery-page .af-gallery-item:nth-child(n){width:var(--gallery-photo-width);align-self:center;margin:0}
.af-gallery-page .af-gallery-item:nth-child(n) .af-gallery-media{height:calc(var(--gallery-photo-width)*4/3)}
.af-gallery-page .af-gallery-media::after{display:none}
.af-gallery-page .af-gallery-controls{display:flex;flex-direction:column;flex:none;gap:19px;width:calc(100% - clamp(48px,10vw,180px));margin:16px auto 0}
.af-gallery-page .af-gallery-position button{display:none}.af-gallery-page .af-gallery-progress{width:100%;flex:none}.af-gallery-page .af-gallery-counter{font-size:10px}
.af-gallery-back{position:fixed;z-index:1001;top:22px;left:clamp(24px,5vw,90px);display:inline-flex;align-items:center;gap:12px;min-height:44px;color:#d7ad82;font:400 10px var(--font-text);letter-spacing:.15em;text-transform:uppercase;text-decoration:none}
.af-gallery-back>span:first-child{font-size:20px;letter-spacing:0}.af-gallery-back:hover{color:#f3ede5}.af-gallery-back:focus-visible{outline:1px solid #d7ad82;outline-offset:5px}
.af-gallery-page .af-viewer-top>.af-gallery-eyebrow,.af-gallery-page .af-viewer-caption>div,.af-gallery-page .af-viewer-prev,.af-gallery-page .af-viewer-next{display:none!important}
.af-gallery-page .af-viewer-layout{grid-template-rows:70px minmax(0,1fr) 40px;min-height:0}.af-gallery-page .af-viewer-top{justify-content:flex-start}.af-gallery-page .af-viewer-close{display:inline-flex;align-items:center;gap:12px;color:#d7ad82;padding:0;font:400 10px var(--font-text);letter-spacing:.15em;text-transform:uppercase}.af-viewer-close>span:first-child{font-size:20px;letter-spacing:0}
.af-gallery-page .af-viewer-stage{padding:4px 0 10px}.af-gallery-page .af-viewer-caption{min-height:0;padding:12px 0 0;justify-content:center;align-items:center}.af-gallery-page .af-viewer-count{padding:0}
.af-gallery-page .af-gallery-status,.af-gallery-page .af-gallery-retry{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
.af-gallery-page .af-gallery-retry:focus-visible{position:fixed!important;left:24px;bottom:20px;width:auto!important;height:auto!important;padding:12px!important;clip-path:none;background:#190f0b;z-index:10}
@media(max-width:780px){body.af-gallery-page{--gallery-photo-width:min(78vw,calc((100dvh - 160px)*.75))}.af-gallery-page main.af-cinema-gallery{padding:72px 0 23px}.af-gallery-page .af-gallery-track{gap:24px}.af-gallery-back{top:16px}.af-gallery-page .af-gallery-controls{gap:18px;margin-top:14px}.af-gallery-page .af-viewer-layout{grid-template-rows:64px minmax(0,1fr) 38px;padding-bottom:max(20px,env(safe-area-inset-bottom))}}
