/* Adaptive decoration only; original images, controls and proportions stay intact. */
.landing-map a,.map a{touch-action:manipulation}
/* The internal-page scroll rule must not override the modal scroll lock. */
body.preview-is-open{overflow:hidden!important;overscroll-behavior:none}
.file-preview .preview-viewport{touch-action:pan-x pan-y}
/* Critical native artwork does not depend on the optional life stylesheet. */
#landingScene>.landing-static-art{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}
#journey[data-state="LANDING_READY"] #landingScene>.landing-static-art{visibility:visible}
.native-cat-fallback{position:absolute;z-index:4;width:clamp(23.5px,7.7%,42px);aspect-ratio:1;pointer-events:none;background-image:url('../living/landing-storybook-cat.webp');background-size:400% 400%;background-position:0 66.6667%;transform:translate(-50%,-91.40625%) rotate(-.20rad)}
.artwork-recovery{position:absolute;inset:40% 12% auto;z-index:100;padding:14px;border-radius:12px;background:#28143cf2;color:#fff;text-align:center;font:14px/1.7 Vazirmatn,Tahoma,sans-serif}
.artwork-recovery button{display:block;margin:8px auto 0;padding:8px 18px;color:inherit;background:#673590;border:1px solid #d9b0ef;border-radius:12px;font:inherit;cursor:pointer}
.living-paused,.living-paused *,.living-paused *:before,.living-paused *:after{animation-play-state:paused!important}
html[data-performance-profile="LOW"] .world-local-plane,html[data-performance-profile="LOW"] .world-subject-plane,html[data-performance-profile="LOW"] .scene-foreground,html[data-performance-profile="LOW"] .scene-reflection,html[data-performance-profile="LOW"] .world-window-light,html[data-performance-profile="LOW"] .world-material-light,html[data-performance-profile="LOW"] .world-floor-reflection{display:none!important}
html[data-performance-profile="LOW"] .landing-art-extension .art-sample{filter:none;opacity:.23}
html[data-performance-profile="LOW"] .crystal-ring{display:none}
html[data-performance-profile="MEDIUM"] .scene-foreground,html[data-performance-profile="MEDIUM"] .world-subject-plane{animation:none;transform:none}
html[data-performance-profile="LOW"] .world-audio-toggle,html[data-performance-profile="LOW"] .approved-discovery-guide{backdrop-filter:none}

html[data-performance-profile="LOW"] .landing-art-extension .art-sample{display:none}
html[data-performance-profile="LOW"] .locked-card .card-face,html[data-performance-profile="MEDIUM"] .locked-card .card-face{background-image:none!important;box-shadow:none}
html[data-performance-profile="LOW"] .scene-detail,html[data-performance-profile="LOW"] .scene-crystal,html[data-performance-profile="LOW"] .environment-light{display:none}

/* The reveal underlay must not cover the approved native fallback image. */
.native-art-fallback #landingUnderlay{display:none!important}
.native-art-fallback #landingScene>.landing-static-art{visibility:visible!important;opacity:1!important}
.native-art-fallback #landingScene>.landing-art{visibility:hidden!important}
.campaign-art,.landing-static-art,.section-stage>img{backface-visibility:visible;will-change:auto;filter:none;transform:none}
html[data-performance-profile="MEDIUM"] .world-local-plane,html[data-performance-profile="MEDIUM"] .world-subject-plane{display:none!important}
html[data-performance-profile="LOW"] .landing-art-extension{display:none!important}
.landing-map a.navigation-pending rect{fill:#fff2;stroke:#ffe4a8;stroke-width:2}

/* Android compatibility: same approved native artwork, one visible image plane.
   SVG masks, full-image cloned card faces and blurred extensions are decorative. */
.android-static-art #landingScene>.landing-static-art{display:block!important;visibility:visible!important;opacity:1!important;filter:none!important;transform:none!important;will-change:auto!important;backface-visibility:visible!important;z-index:0}
.android-static-art #landingScene>.landing-art,.android-static-art #landingUnderlay,.android-static-art #flightStage,.android-static-art .landing-art-extension{display:none!important}
.android-static-art .campaign-art,.android-static-art .section-stage>img{opacity:1!important;visibility:visible!important;filter:none!important;transform:none!important;will-change:auto!important;backface-visibility:visible!important}
.android-static-art .landing-scene,.android-static-art .section-stage,.android-static-art .world-shell{perspective:none!important;transform-style:flat!important;backface-visibility:visible!important;will-change:auto!important;filter:none!important}
.android-static-art .living-scene{contain:none;isolation:auto}
.android-static-art .world-local-plane,.android-static-art .world-subject-plane,.android-static-art .scene-foreground,.android-static-art .scene-reflection,.android-static-art .scene-detail,.android-static-art .world-window-light,.android-static-art .world-material-light,.android-static-art .world-floor-reflection,.android-static-art .environment-light{display:none!important}
.android-static-art .world-audio-toggle,.android-static-art .approved-discovery-guide{backdrop-filter:none;-webkit-backdrop-filter:none}
.map a:active rect{fill:#fff2;stroke:#ffe4a8;stroke-width:2}

.world-audio-toggle.needs-resume{border-color:#ffe4a8;box-shadow:0 0 0 2px #ffe4a833}
