/* Scoped footer and shared photo viewer refinements. No model sizing rules. */
.ed-footer .lv-brand-legal,.sd-footer .lv-brand-legal{display:flex;flex-flow:row wrap;justify-content:center;align-items:baseline;column-gap:5px;row-gap:3px;width:100%;margin:8px 0 0;font-size:13px;line-height:1.5;color:#405b72;text-align:center}
.lv-brand-legal>span{white-space:nowrap}
.ed-footer .lv-brand-legal~small{display:block;grid-column:1/-1;margin:0;text-align:center;font-size:11px;line-height:1.6;color:#5c7185}
@media(max-width:480px){.ed-footer .lv-brand-legal,.sd-footer .lv-brand-legal{font-size:12px;column-gap:4px}.ed-footer .lv-brand-legal~small{font-size:10px}.ed-footer .ed-footer-inner{row-gap:10px}}
/* A neutral, opaque sheet replaces black letterboxing; native aspect is kept. */
#jr-lightbox{background:#f4f8fc!important;color:#102a43;text-shadow:none}
#jr-lightbox::backdrop{background:#f4f8fc;backdrop-filter:none}
#jr-lightbox::after{background:linear-gradient(180deg,#ffffffbd,#f4f8fcab);pointer-events:none}
#jr-lightbox .jr-viewer-ambient{filter:blur(32px) saturate(.65);opacity:.12;transition:none}
#jr-lightbox .jr-viewer-stage{background:transparent;touch-action:none}
#jr-lightbox .jr-viewer-stage img{object-fit:contain;box-shadow:0 10px 40px #102a4314;max-width:100%;max-height:100%}
#jr-lightbox .jr-viewer-top,#jr-lightbox .jr-viewer-bottom,#jr-lightbox .jr-viewer-status{color:#102a43;text-shadow:none}
#jr-lightbox button{min-width:44px;min-height:44px;color:#173951;background:#ffffffd9;border:1px solid #c7d8e8}
#jr-lightbox button:disabled{color:#6a7c8c;opacity:.45;cursor:default}
#jr-lightbox button:focus-visible{outline:2px solid #1769ff;outline-offset:3px}
.jr-photo-live-card>button{background:transparent!important;border-color:transparent}
.jr-photo-live-card img{object-fit:contain}
.jr-photo-live-card .v4-placeholder,.jr-project-gallery .jr-missing{background:transparent!important;color:#405b72!important}
.jr-photo-live-card>button:hover img{transform:none!important}
/* No page-level exit/reveal transitions; modal photo gestures stay independent. */
#workspace,#window-content,#page-veil,#journal-view,#os-world.os-muted{transition:none!important}
.route-ghost,.v9-shared-cover{display:none!important}
#journal-view .jr-reveal{opacity:1!important;transform:none!important;transition:none!important}
#window-content .v5-reveal,.sd-reveal{opacity:1!important;transform:none!important;animation:none!important;transition:none!important}
#hfs-fallback{max-width:760px;margin:90px auto;padding:24px;color:#102a43;background:#f4f8fc;font:16px/1.7 system-ui,sans-serif}
#hfs-fallback[hidden]{display:none!important}
#hfs-fallback a{color:#1769ff;margin:0 14px 12px 0;display:inline-block;min-height:44px}
/* This fallback affects only a document whose application failed to initialise. */
html.hfs-app-failed #main,html.hfs-app-failed #desktop{display:none!important}
html.hfs-app-failed #hfs-fallback{display:block!important}

#jr-lightbox #jr-viewer-name{color:#102a43}
#jr-lightbox .jr-viewer-status{background:#f4f8fcf5;color:#405b72;border-color:#d9e5f0;backdrop-filter:none}
#jr-lightbox .jr-viewer-bottom{background:#f4f8fce8;border-color:#d9e5f0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
#jr-lightbox .jr-viewer-stage img{transition:transform .12s linear}
/* Do not force the entire long journal onto one enormous composited texture. */
html#lv-r5#lv-r5.r5-atelier-fold #journey{transform:none;backface-visibility:visible;isolation:isolate}
html#lv-r5#lv-r5.r5-atelier-fold #journey [data-home-inview="false"] .lv-art-parallax,
html#lv-r5#lv-r5.r5-atelier-fold #journey [data-home-inview="false"] .p-photo-paper{will-change:auto}
html:not(.hfs-splash-active) .lv-classic-opening *,html:not(.hfs-splash-active) #lv-first-paint::before{animation:none!important}
/* A disabled-JS browser still gets a readable, keyboard-accessible document;
   this section is never parsed as active UI when JavaScript is enabled. */
.hfs-noscript{position:fixed;inset:0;z-index:2147483646;display:block;overflow:auto;background:#f4f8fc;color:#102a43;padding:clamp(24px,6vw,80px);font:16px/1.75 system-ui,sans-serif}
.hfs-noscript h1{font-size:32px;margin-bottom:16px}.hfs-noscript p{margin:12px 0}
.hfs-noscript nav{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.hfs-noscript a{display:inline-flex;align-items:center;min-height:44px;padding:8px 16px;border:1px solid #b9cde0;border-radius:12px;color:#175da8}
