/* Gallery stays native-scrollable, with reachable app return and safe-area clearance. */
html.gallery-page-html,html.gallery-page-html body {touch-action:pan-y pinch-zoom!important;}
html.gallery-page-html body {padding-top:calc(50px + env(safe-area-inset-top,0px))!important;padding-bottom:env(safe-area-inset-bottom,0px)!important;}
html.gallery-page-html body > .nav {height:calc(50px + env(safe-area-inset-top,0px))!important;padding:env(safe-area-inset-top,0px) max(8px,env(safe-area-inset-right,0px)) 0 max(8px,env(safe-area-inset-left,0px))!important;background:#081725!important;box-sizing:border-box!important;}
html.gallery-page-html .gallery-nav-right {display:flex!important;position:static!important;margin-left:auto!important;padding:0!important;width:auto!important;max-width:none!important;border:0!important;}
html.gallery-page-html .gallery-back-button {display:inline-flex!important;min-height:40px!important;font-size:12px!important;padding:6px 12px!important;}
html.gallery-page-html .gallery-main > .gallery-page-panel {padding:8px!important;width:100%!important;max-width:1180px!important;margin:0 auto!important;border:0!important;border-radius:0!important;}
html.gallery-page-html .gallery-page-head h1 {font-size:clamp(22px,5vw,32px)!important;line-height:1.1!important;}
html.gallery-page-html .gallery-card h2 {font-size:clamp(16px,4vw,22px)!important;line-height:1.2!important;}
html.gallery-page-html .gallery-card .photo-date {font-size:12px!important;}
