/* V20: preserve the photograph's geometry and keep controls on real objects. */
#room-dialog{width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;margin:0;padding:0;border:0;border-radius:0;background:#201b15;color:#eadbc1;overflow:hidden}
#room-dialog>.room-top{position:absolute;inset:0 0 auto;z-index:50;background:linear-gradient(#201b15c9,transparent);color:#eadbc1;padding:5px 18px;min-height:44px;font:12px/1.6 "STSong",serif;pointer-events:none}
#room-dialog>.room-top button{pointer-events:auto;color:#f0dfc2;min-width:44px;min-height:44px}
#room-dialog #room-body{height:100%;padding:0;display:grid;place-items:center;background:#201b15;overflow:auto}
#room-dialog .room-inner{width:min(100vw,150dvh);max-width:none;margin:0;padding:0}
#room-dialog .object-scene{width:100%;height:auto;aspect-ratio:3/2;min-height:0;max-height:none;margin:0;border:0;border-radius:0;overflow:hidden}
#room-dialog .object-scene>.world-photo{transform:none!important}
#room-dialog .room-drawer{position:absolute;z-index:60;bottom:0;left:50%;transform:translateX(-50%);width:min(720px,96vw);max-height:70dvh;overflow:auto;background:#e9dfc9;color:#544735;border:0;padding:0 20px;box-shadow:0 -8px 35px #100b0866}
#room-dialog .room-drawer:not([open]){display:none}
#room-dialog .room-drawer>summary{padding:15px 0;min-height:44px}
#room-dialog .object-scene .scene-dock button:before,#room-dialog .scene-star:before,#room-dialog .scene-star:after,#room-dialog .journal-chest:before{display:none!important}
#room-dialog .object-scene .scene-dock button{font:13px/1.7 "STSong",serif!important;letter-spacing:1px;text-shadow:0 1px 4px #24170d}
#room-dialog .object-scene .scene-back{top:7%;left:2%}
#room-dialog .object-scene .world-topline{top:7%}
#room-dialog .object-scene .scene-dock .stay-sound,#room-dialog .object-scene .scene-dock .scene-fire{font-size:0!important;text-shadow:none;padding:0!important}
#room-dialog .object-scene .stay-sound{left:var(--lamp-x,15%);top:var(--lamp-y,20%);right:auto;width:10%;height:19%;transform:translate(-50%,-50%);border-radius:50%!important}
#room-dialog [data-world=tea]{--lamp-x:94%;--lamp-y:16%}
#room-dialog [data-world=voice]{--lamp-x:60%;--lamp-y:45%}
#room-dialog [data-world=stars]{--lamp-x:17%;--lamp-y:35%}
#room-dialog [data-world=candle]{--lamp-x:24%;--lamp-y:32%}
#room-dialog [data-world=journal]{--lamp-x:67%;--lamp-y:18%}
#room-dialog .object-scene .stay-sound:hover,#room-dialog .object-scene .stay-sound:focus-visible{background:radial-gradient(ellipse,#ffe3a51f,transparent 70%)!important}
#room-dialog .object-scene .scene-fire[aria-pressed=true]{background:radial-gradient(ellipse,#f39d231b,transparent 70%)!important;animation:hearthQuiet 4s ease-in-out infinite alternate}
@keyframes hearthQuiet{to{box-shadow:inset 0 0 28px #ef93291a}}
#room-dialog .object-scene .world-bottomline{display:none}
#room-dialog .object-scene .world-caption{top:13%;left:20%;right:20%;pointer-events:none}
#room-dialog .object-scene .tea-ritual{width:44%!important;left:28%!important;bottom:3%!important;top:auto!important;filter:none}
#room-dialog .object-scene .tea-ritual .pot-touch span,#room-dialog .object-scene .tea-ritual .cup-touch span{display:none}
#room-dialog .object-scene .tea-ritual .pot-return{display:none}
#room-dialog .object-scene .tea-ritual-note{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#room-dialog .object-scene .pot-contact{filter:blur(1.4px)}
#room-dialog .object-scene .tea-ritual>svg{filter:none!important}
#room-dialog .object-scene .pot-touch,#room-dialog .object-scene .cup-touch{min-width:44px;min-height:44px;background:transparent!important;border:0;cursor:grab}
#room-dialog .object-scene .pot-touch:active{cursor:grabbing}
#room-dialog .object-scene.cup-near:after{content:'';position:absolute;inset:0;pointer-events:none;z-index:2;background:radial-gradient(ellipse,transparent 40%,#21170d36);transition:opacity 1s}
#room-dialog .object-scene .boiling-steam{left:49%;top:43%;width:5%;height:15%}
#room-dialog .object-scene #letter-reopen,#room-dialog .object-scene .journal-chest,#room-dialog .object-scene .candle-invitation,#room-dialog .object-scene .scene-star{font-size:0!important;background:transparent!important;border:0!important;box-shadow:none!important;text-shadow:none;padding:0!important}
#room-dialog .object-scene .journal-chest{left:41%;bottom:3%;width:26%;height:15%;transform:none}
#room-dialog .object-scene .scene-star{left:50%;top:28%;width:25%!important;height:22%!important}
#room-dialog .object-scene .candle-invitation{left:43%;bottom:30%;width:15%;height:20%}
#room-dialog .object-scene .scene-books{left:31%;right:24%;bottom:15%;gap:12px;align-items:end}
#room-dialog .object-scene .scene-books a{min-height:64px;max-width:125px;font-size:13px;rotate:-8deg;translate:0 0}
#room-dialog .object-scene .scene-books a:nth-child(2){rotate:6deg;translate:0 -18px}
#room-dialog .object-scene .scene-books a:nth-child(3){rotate:-3deg;translate:0 6px}
#room-dialog .object-scene .scene-crystal{top:25%}
#room-dialog .object-scene .spot-ring{opacity:.2}
#room-dialog .object-scene .world-spots button:hover .spot-ring{opacity:1}
@media(max-width:600px){#room-dialog .object-scene .scene-dock button{font-size:12px!important}#room-dialog .object-scene .world-caption{display:none}#room-dialog .object-scene .scene-books{left:18%;right:18%;bottom:14%}#room-dialog .object-scene .scene-books a{font-size:12px;min-height:55px}#room-dialog .object-scene .scene-paper,#room-dialog .object-scene .scene-reflection{position:fixed;z-index:65;inset:12dvh 4vw 12dvh!important;max-height:76dvh;overflow:auto;rotate:0}#room-dialog .object-scene .scene-again{position:fixed;z-index:66;bottom:6dvh;right:8vw}#room-dialog .object-scene .world-topline,#room-dialog .object-scene .scene-back{top:0}}
@media(prefers-reduced-motion:reduce){#room-dialog .object-scene *{animation:none!important;transition:none!important}}
.reduce-motion #room-dialog .object-scene *{animation:none!important;transition:none!important}
#room-dialog .object-scene .journal-chest{left:18%;bottom:1%;width:35%;height:18%}
#room-dialog .object-scene:not([data-season=winter]):not([data-world=tea]) .stay-sound{left:auto;right:3%;top:17%;width:auto;height:44px;transform:none}
#room-dialog .object-scene:not([data-season=winter]):not([data-world=tea]) .stay-sound:after{content:'听山';font:13px/1.7 "STSong",serif;color:#fff1d7;text-shadow:0 1px 4px #24170d}
#room-dialog .object-scene .pot-docked .pot-contact{opacity:.18}

#journey-sound{position:absolute;z-index:9;right:24px;top:24px;min-height:44px;padding:10px 14px;border:1px solid #e8d5ad66;background:#302316a8;color:#f1e2c6;font:14px/1.6 "STSong",serif;border-radius:2px}#journey-sound[hidden]{display:none}#journey-sound:focus-visible{outline:2px solid #f1d6a1;outline-offset:3px}

/* The visitor pushes away from the camera: the free edges recede into the courtyard. */
.door-opening .journey-door-left{transform:rotateY(88deg)}
.door-opening .journey-door-right{transform:rotateY(-88deg)}
.journey-door-leaf{backface-visibility:visible}
#info-dialog{max-height:90vh;max-height:90dvh;overflow:auto;overscroll-behavior:contain}
#info-dialog>.room-top{position:sticky;top:0;z-index:5;background:#f3eddf}
#info-close,#share-close,#room-close{min-width:44px;min-height:44px}
.visitor-guide details>summary{min-height:48px;padding:12px 0;cursor:pointer}
@media(max-width:600px){
 #room-dialog{height:100vh;height:100dvh}
 #room-dialog>.room-top{padding-top:max(5px,env(safe-area-inset-top));padding-right:max(12px,env(safe-area-inset-right))}
 #room-dialog .room-drawer{position:fixed;left:2vw;right:2vw;bottom:env(safe-area-inset-bottom);width:96vw;transform:none;max-height:78vh;max-height:78dvh;overscroll-behavior:contain}
 #room-dialog .room-drawer>summary{position:sticky;top:0;background:#e9dfc9;z-index:2}
 #room-dialog .drawer-content input,#room-dialog .drawer-content textarea,#info-dialog input,#share-dialog input,#share-dialog textarea{font-size:16px}
 #room-dialog .object-scene .scene-paper,#room-dialog .object-scene .scene-reflection{inset:8dvh 3vw max(16px,env(safe-area-inset-bottom))!important;max-height:84dvh;overscroll-behavior:contain}
 #room-dialog .object-scene .scene-paper .panel-close,#room-dialog .object-scene .scene-reflection .panel-close{position:sticky;top:0;z-index:2;float:none;display:block;margin-left:auto;background:#e7d7b7!important;padding:10px;min-height:44px}
 #room-dialog .object-scene .scene-paper textarea{width:100%;min-height:140px;max-height:40dvh}
 #room-dialog .object-scene .scene-again{bottom:1dvh}
 #room-dialog .object-scene .incense-touch{touch-action:none}
 #room-dialog .object-scene .scene-books a{display:flex;align-items:center;justify-content:center;min-width:44px}
 #info-dialog{width:94vw;max-width:94vw;padding:16px;max-height:90dvh}
 #info-dialog .visitor-guide{font-size:15px;line-height:1.9;overflow-wrap:anywhere}
 #journey-sound{top:max(16px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right))}
}
@media(max-width:600px) and (orientation:portrait){
 #room-dialog .object-scene .scene-dock .stay-toggle,#room-dialog .object-scene .scene-dock .stay-card{position:fixed!important;bottom:calc(12px + env(safe-area-inset-bottom));z-index:45;min-height:48px}
 #room-dialog .object-scene .scene-dock .stay-toggle{left:16px;right:auto}
 #room-dialog .object-scene .scene-dock .stay-card{right:16px;left:auto}
}

@media(max-width:600px){
 #room-dialog .object-scene .scene-paper,#room-dialog .object-scene .scene-reflection{top:calc(var(--xg-vtop,0px) + 8px)!important;bottom:auto!important;height:calc(var(--xg-vh,100dvh) - 16px);max-height:calc(var(--xg-vh,100dvh) - 16px)}
 #info-dialog,#share-dialog{max-height:calc(var(--xg-vh,100dvh) - 24px);overflow:auto;overscroll-behavior:contain}
 #share-dialog>.room-top{position:sticky;top:0;z-index:5;background:#f4eedf}
}

/* Scene audit: effects stay attached to the photographed objects. */
#room-dialog .object-scene .living-atmosphere{transform:none}
#room-dialog .object-scene .journal-cup-steam{position:absolute;left:16.6%;top:59%;width:6%;height:20%;overflow:visible;pointer-events:none}
.journal-cup-steam path{fill:none;stroke:#fff4df;stroke-width:2;stroke-linecap:round;filter:blur(.8px);opacity:.55;transform-origin:50% 100%;animation:cupSteamDrift 7s ease-in-out infinite}
.journal-cup-steam path+path{stroke-width:1.3;animation-delay:-3.5s;animation-duration:9s}
@keyframes cupSteamDrift{0%,100%{opacity:.25;transform:skewX(-5deg) scaleX(.9)}50%{opacity:.65;transform:skewX(6deg) scaleX(1.1)}}
#room-dialog .tea-first-person .tea-incense-smoke{left:63.5%;top:34.5%;width:12%;height:32%}
#room-dialog .tea-first-person .smoke-ribbon{animation-name:incenseRibbonDrift;opacity:.8}
#room-dialog .tea-first-person .smoke-second{opacity:.55}
@keyframes incenseRibbonDrift{0%,100%{transform:skewX(-5deg) scaleX(.88);opacity:.6}50%{transform:skewX(7deg) scaleX(1.12);opacity:.9}}
#room-dialog .object-scene[data-world=tea] .living-steam{display:none}
#room-dialog .object-scene .boiling-steam{display:none}
#room-dialog .object-scene.tea-first-person .boiling-steam{display:block;left:47.6%;top:34%;width:5.4%;height:23%}
#room-dialog .object-scene.tea-first-person .boiling-steam i{border-left-color:#fff7e5a6;filter:blur(1px);height:100%}
.tea-charcoal{display:none;position:absolute;left:47.5%;top:68.8%;width:5%;height:5.3%;overflow:hidden;mix-blend-mode:screen;pointer-events:none;background:radial-gradient(ellipse at 50% 95%,#ffb249aa,#eb611744 48%,transparent 75%)}
.tea-first-person .tea-charcoal{display:block}
.tea-charcoal i{position:absolute;bottom:-8%;left:30%;width:38%;height:90%;border-radius:55% 45% 35% 50%;background:linear-gradient(0deg,#ff701e,#ffc76b 65%,#fff3b3);filter:blur(.7px);transform-origin:50% 100%;animation:charcoalFlicker 2.1s ease-in-out infinite alternate}
.tea-charcoal i:nth-child(2){left:9%;height:65%;animation-delay:-.8s;animation-duration:1.7s}
.tea-charcoal i:nth-child(3){left:60%;height:75%;animation-delay:-1.3s;animation-duration:2.6s}
@keyframes charcoalFlicker{from{transform:scale(.88,.72) skewX(-8deg);opacity:.7}to{transform:scale(1,1) skewX(7deg);opacity:1}}
#room-dialog .object-scene.tea-first-person[data-season=winter] .stove-fire{left:8.4%;top:47%;width:8.8%;height:12%}
.sample-scene>canvas{display:block;width:100%;height:100%;object-fit:contain}
.page-hidden .journal-cup-steam path,.page-hidden .tea-charcoal i{animation-play-state:paused}
.reduce-motion .journal-cup-steam path,.reduce-motion .tea-charcoal i{animation:none!important;opacity:.45}
.reduce-motion .boiling-steam{display:none!important}
@media(prefers-reduced-motion:reduce){.journal-cup-steam path,.tea-charcoal i{animation:none!important;opacity:.45}#room-dialog .object-scene .boiling-steam{display:none!important}}
@media(max-width:700px){
 .keepsake-section{display:grid;grid-template-columns:minmax(0,1fr);gap:28px;padding:32px 24px}
 .keepsake-section .keepsake-copy{width:100%;min-width:0;max-width:none}
 .keepsake-copy h2{font-size:28px;line-height:1.6;word-break:normal}
 .keepsake-copy p{max-width:none}
 .keepsake-copy .home-actions{display:flex;flex-wrap:wrap;gap:12px}
 .keepsake-section .sample-card{box-sizing:border-box;width:100%;max-width:420px;min-width:0;margin:0 auto;transform:none;padding:16px 16px 28px}
 .sample-card .sample-scene{margin-bottom:16px}
}
#room-dialog .object-scene[data-world=tea]:not(.tea-first-person) .stove-fire{display:none}
/* Entrance: keep useful controls, remove schematic-looking decoration. */
.gate-push-hint{display:none}
.mountain-welcome .hero-actions .wood-sign:before{height:15cqh;top:-15cqh;background:#b5a17b66}
.mountain-welcome .hero-actions .wood-sign{background:linear-gradient(#34291c44,#34291c33)}
.guide-entry.guide-envelope{rotate:-8deg;filter:drop-shadow(1px 3px 4px #211b1926)}
.guide-envelope:after{color:#874b40;border-color:#874b4088;rotate:0deg}
#sound-top{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
#sound-top .sound-bell{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round}
#sound-top .sound-label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:700px){.mountain-welcome h1{left:calc(8% + 10px)}.mountain-welcome>p:not(.eyebrow){left:calc(8% + 10px)}.keepsake-copy>p:not(.eyebrow){font-size:14px}.keepsake-copy .text-link{font-size:14px}}
/* A complete picture in a timber frame, without the mobile letterbox void. */
#room-dialog{width:min(1100px,calc(100vw - 20px));max-width:calc(100vw - 20px);height:auto;max-height:calc(100dvh - 24px);margin:auto;border:7px solid #6a4c32;border-radius:3px;background:#453322;box-shadow:0 12px 60px #120d0a66;overflow:auto}
#room-dialog::backdrop{background:#241e17b8;backdrop-filter:blur(3px)}
#room-dialog>.room-top{position:relative;inset:auto;min-height:44px;padding:0 10px;background:#453322;color:#e8dbc3;border-bottom:0;font-size:12px;pointer-events:auto}
#room-dialog>.room-top #room-close{border:0;border-radius:0;font-size:20px;background:none}
#room-dialog #room-body{display:block;height:auto;overflow:visible;background:transparent}
#room-dialog .room-inner{width:100%;padding:0 0 48px;box-sizing:border-box}
#room-dialog .object-scene{overflow:visible}
#room-dialog .object-scene>.world-photo{overflow:hidden}
#room-dialog .object-scene .scene-dock .stay-toggle,#room-dialog .object-scene .scene-dock .stay-card{position:absolute!important;top:auto;bottom:-47px!important;min-height:44px;font-size:12px!important;color:#eadfc9!important}
#room-dialog .object-scene .scene-dock .stay-toggle{left:12px!important;right:auto}
#room-dialog .object-scene .scene-dock .stay-card{right:12px!important;left:auto}
#room-dialog .object-scene .scene-back{left:12px;top:4px}
#room-dialog .object-scene .world-topline{top:4px;right:12px}
#room-dialog .object-scene .world-expand,#room-dialog .object-scene .scene-dock .scene-back{font:12px/1.7 "Songti SC","STSong",serif!important;color:#f2e6cf!important;min-height:44px;letter-spacing:1px}
#room-dialog .drawer-membership{display:block;margin:20px 0;padding:12px 0;font-size:13px;color:#63533b}
#room-dialog .object-scene .tea-ritual{width:37%!important;left:30.5%!important;bottom:4.5%!important;filter:saturate(.82) brightness(.94) sepia(.12) drop-shadow(0 2px 2px #25170d4d)}
#room-dialog .tea-first-person .tea-table-book{left:13%;top:78.5%;width:19%;height:19%;filter:saturate(.82) brightness(.94) sepia(.12) drop-shadow(2px 4px 3px #25170d61)}
@media(max-width:600px){#room-dialog{height:auto;max-height:calc(100dvh - 24px)}#room-dialog .room-inner{width:100%}#room-dialog .room-drawer{position:fixed;bottom:0;max-height:70dvh}}
#room-dialog{inset:auto;top:50%;left:50%;transform:translate(-50%,-50%);margin:0}
#room-dialog .room-inner.scene-first{padding:0 0 48px!important}
#room-dialog .room-drawer{position:relative;inset:auto;left:auto;bottom:auto;transform:none;width:100%;box-sizing:border-box;margin:48px 0 0;padding:0 16px;max-height:40dvh;overflow:auto;box-shadow:none}

/* Rooms occupy the viewport; the photograph and atmosphere share one camera. */
#room-dialog{position:fixed;inset:0!important;top:0;left:0;transform:none;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;box-shadow:none;background:#30291f;overflow:hidden}
#room-dialog::backdrop{background:transparent;backdrop-filter:none}
#room-dialog>.room-top{position:absolute;inset:calc(66px + env(safe-area-inset-top)) auto auto 20px;padding:0;min-height:0;background:none;border:0;box-shadow:none;pointer-events:none;color:#fff5dfb3;font:11px/1.6 "Songti SC","STSong",serif;letter-spacing:2px;z-index:25}
#room-dialog #room-close{display:none!important}
#room-dialog #room-body,#room-dialog .room-inner.scene-first{width:100%;height:100%;max-width:none;padding:0!important;margin:0;background:none;overflow:hidden}
#room-dialog .object-scene{position:relative;width:100%;height:100dvh;min-height:100dvh;max-height:100dvh;aspect-ratio:auto;margin:0;border:0;border-radius:0;overflow:hidden;touch-action:pan-y}
#room-dialog .object-scene>.world-photo,#room-dialog .object-scene>.living-atmosphere{position:absolute;inset:auto;left:50%;top:50%;width:max(100vw,150dvh);height:max(100dvh,66.6667vw);transform:translate(calc(-50% + var(--scene-pan,0px)),-50%)!important;transform-origin:center;transition:none;max-width:none;pointer-events:none}
#room-dialog .world-light{background:linear-gradient(#0e120b26,transparent 18%,transparent 82%,#16110c38);pointer-events:none}
#room-dialog .object-scene .world-spots,#room-dialog .object-scene .world-person,#room-dialog .object-scene .world-caption{display:none!important}
#room-dialog .object-scene .scene-back{position:absolute!important;top:calc(12px + env(safe-area-inset-top));left:16px;bottom:auto}
#room-dialog .object-scene .world-topline{position:absolute;inset:calc(12px + env(safe-area-inset-top)) 16px auto auto;width:auto;z-index:30;display:block!important}
#room-dialog .object-scene .world-topline>span{display:none}
#room-dialog .object-scene .world-expand,#room-dialog .object-scene .scene-dock .scene-back{font:12px/1.7 "Songti SC","STSong",serif!important;color:#fff4dfd9!important;background:transparent!important;border:0!important;min-width:44px;min-height:44px;text-shadow:0 1px 5px #17120c99}
#room-dialog .object-scene .scene-dock .stay-toggle,#room-dialog .object-scene .scene-dock .stay-card{position:absolute!important;top:auto;bottom:calc(12px + env(safe-area-inset-bottom))!important;font-size:12px!important;min-height:44px;background:none!important}
#room-dialog .object-scene .scene-dock .stay-toggle{left:16px!important}
#room-dialog .object-scene .scene-dock .stay-card{right:16px!important}
#room-dialog .room-drawer{position:fixed;left:0;right:0;bottom:0;top:auto;transform:none;z-index:60;width:100%;max-height:72dvh;margin:0;padding:0 22px 24px;overflow:auto;background:#ece4d3f5;box-shadow:0 -8px 30px #21170d22}
#room-dialog .object-scene .scene-books{position:absolute;left:20px;right:20px;bottom:100px;display:flex;justify-content:center;gap:18px;align-items:center;z-index:22}
#room-dialog .object-scene .scene-books a{background:none!important;border:0!important;box-shadow:none!important;color:#fff3db!important;writing-mode:horizontal-tb;min-height:44px;max-width:none;padding:8px 2px!important;font:13px/1.7 "STSong",serif!important;rotate:0!important;translate:none!important;text-shadow:0 1px 4px #20170b}
#room-dialog .object-scene .scene-crystal{display:none}
#room-dialog .object-scene .journal-chest,#room-dialog .object-scene .candle-invitation,#room-dialog .object-scene #letter-reopen,#room-dialog .object-scene .scene-star{position:absolute!important;left:50%;right:auto;top:auto!important;bottom:100px;width:auto!important;height:auto!important;min-width:44px;min-height:44px;transform:translateX(-50%);font:13px/1.7 "STSong",serif!important;color:#fff3db!important;padding:8px 14px!important;text-shadow:0 1px 5px #21180c}
#room-dialog .object-scene .scene-dock .stay-sound{position:absolute;left:16px!important;right:auto!important;top:auto!important;bottom:64px;width:44px;height:44px;transform:none;font-size:0!important}
#room-dialog .object-scene .stay-sound:after{content:'听山';font:11px/1.7 "STSong",serif;color:#fff3dbcc}
#room-dialog .object-scene .scene-fire{display:none!important}
#room-dialog .object-scene .incense-ritual{left:50%!important;bottom:19%;width:80px;transform:translateX(-50%)}
#room-dialog .object-scene .scene-paper,#room-dialog .object-scene .scene-reflection{position:fixed!important;inset:90px 20px 80px!important;width:auto;height:auto;max-height:calc(100dvh - 170px);z-index:65;overflow:auto}
#room-dialog .object-scene .boiling-steam{position:absolute!important}
.mountain-welcome h1,.mountain-welcome>p:not(.eyebrow){left:calc(8% + 15px)}
.mountain-welcome .hero-actions .wood-sign:before{bottom:100%;top:auto;height:60px;background:#b5a17b80}
.gate-push-hint{display:none!important}
#room-dialog .tea-charcoal{background:radial-gradient(ellipse at 50% 90%,#ffac365e,#ed6c1b22 55%,transparent 80%);animation:emberBreath 3.7s ease-in-out infinite alternate}
#room-dialog .tea-charcoal i{display:none}
@keyframes emberBreath{from{opacity:.45}to{opacity:.9}}
#room-dialog .tea-first-person .tea-incense-smoke{left:65.25%;top:36.5%;width:8.5%;height:30%}
#room-dialog .tea-first-person .smoke-ribbon{opacity:.45;animation-name:tea-incense-drift}
#room-dialog .object-scene .incense-ritual{bottom:100px;width:auto;min-width:44px;height:44px;z-index:24}
#room-dialog .object-scene .incense-ritual>svg{display:none}
#room-dialog .object-scene .incense-touch{position:static!important;font:13px/1.7 "STSong",serif!important;color:#fff3db!important;min-height:44px;width:auto!important;background:none!important;text-shadow:0 1px 4px #21180c}
#room-dialog .object-scene .incense-touch:before,#room-dialog .object-scene .incense-touch:after{display:none}
@media(prefers-reduced-motion:reduce){#room-dialog .tea-charcoal{animation:none}}
.reduce-motion #room-dialog .tea-charcoal{animation:none}
#room-dialog .object-scene .living-water>.incense-ritual{position:absolute;left:60%!important;bottom:32%;width:8%;height:18%;min-width:0;transform:translateX(-50%);pointer-events:none}
#room-dialog .object-scene[data-season=winter] .living-water>.incense-ritual{left:51.5%!important;bottom:37%}
#room-dialog .object-scene .living-water>.incense-ritual>svg{display:block;width:100%;height:100%}
#room-dialog .object-scene>.incense-touch{position:absolute!important;left:50%!important;right:auto;top:auto!important;bottom:100px!important;transform:translateX(-50%);width:110px!important;min-height:44px;white-space:nowrap;writing-mode:horizontal-tb;z-index:24}
#room-dialog .object-scene>.living-atmosphere{display:block!important}

/* The incense control belongs to its burner, not to the viewport. */
#room-dialog .object-scene .living-atmosphere .incense-ritual>.incense-touch{position:absolute!important;inset:auto!important;left:50%!important;bottom:0!important;transform:translateX(-50%);width:max(100%,44px)!important;height:40%;min-height:44px;min-width:44px;padding:0!important;pointer-events:auto;writing-mode:horizontal-tb;white-space:nowrap;z-index:25;transition:color .6s ease,text-shadow .6s ease}
#room-dialog .object-scene .living-atmosphere .incense-ritual>.incense-touch[aria-pressed=true]{color:transparent!important;text-shadow:none!important;background:transparent!important;box-shadow:none!important}
#room-dialog .object-scene .incense-touch:focus-visible{outline:1px solid #f4ce84!important;outline-offset:3px}

/* Consistent quiet affordances on indoor object actions. */
#room-dialog .object-scene .scene-dock button,#room-dialog .object-scene .study-shuffle,#room-dialog .object-scene .add-firewood{border-radius:3px!important;text-shadow:0 2px 4px #18130de0!important;background:linear-gradient(90deg,#241c1410,#241c1470,#241c1410)!important;min-height:44px;transition:color .2s,background-color .2s}
#room-dialog .object-scene button:active{color:#ffe0a6!important}
@media(hover:hover){#room-dialog .object-scene .scene-dock button:hover,#room-dialog .object-scene .study-shuffle:hover,#room-dialog .object-scene .add-firewood:hover{color:#ffe0a6!important;background-color:#3b30234d!important}}

/* v9 speaker replaces both the old label and the invisible lantern hotspot. */
#room-dialog .object-scene .stay-sound:before,#room-dialog .object-scene .stay-sound:after{display:none!important;content:none!important}
#room-dialog .object-scene .scene-dock .stay-sound{width:46px;height:46px;border:1px solid #f5e7c455!important;border-radius:50%!important;background:#25231d55!important;display:grid;place-items:center;backdrop-filter:blur(6px)}
.stay-sound svg{width:24px;height:24px;fill:none;stroke:#fff0d7;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}.stay-sound .speaker-muted{display:none}.stay-sound.sound-muted .speaker-muted{display:block}.stay-sound.sound-muted .speaker-waves{display:none}
/* Burner base sits safely within the tabletop, not on the front apron. */
#room-dialog .object-scene[data-world=water] .living-atmosphere>.incense-ritual{left:59.5%!important;bottom:37%!important;top:auto!important;width:7%!important;height:18%!important;transform:translateX(-50%)!important;filter:drop-shadow(1px 2px 1px #24180c55)}
#room-dialog .object-scene[data-world=water][data-season=winter] .living-atmosphere>.incense-ritual{left:51.5%!important;bottom:38%!important}
.world-timebar{display:block;margin:16px 0;color:inherit}.world-timebar small{display:block;font-size:12px;line-height:1.8;margin-top:8px}
body[data-time=day] .living-lamp,body[data-time=day] .hero-lantern-glow,body[data-time=day] .living-stars{display:none!important}
body[data-time=night] .living-daylight,body[data-time=night] .living-leafshade{display:none!important}
body[data-time=night] .wildlife{display:none!important}

body[data-time=night] .journey-door-leaf{filter:brightness(.72) sepia(.13)}
body[data-time=night] .journey-door-leaf:after{display:block;content:'';position:absolute;inset:0;width:auto;height:auto;border:0;border-radius:0;background:radial-gradient(ellipse at 10% 0%,#ffc47740,transparent 65%);pointer-events:none}

.porch-seats{position:absolute;inset:0;pointer-events:none}#room-dialog .object-scene .porch-seat{position:absolute;pointer-events:auto;top:73%;min-height:44px;padding:6px 12px;background:#28221877!important;color:#fff1db!important;border:1px solid #f0ddba55!important;border-radius:20px;font:12px/1.6 "STSong",serif;text-shadow:0 1px 3px #22180b}.porch-nap{left:24%}.porch-garden{left:76%}
.porch-rest-note{position:absolute;z-index:30;bottom:120px;left:10%;right:10%;text-align:center;color:#fff3db;font:14px/1.8 "STSong",serif;text-shadow:0 1px 4px #21180b}.porch-rest-note[hidden]{display:none}.porch-rest-note button{display:block;margin:8px auto;min-height:44px;background:#29221acc;color:#fff3db;border:1px solid #e5d2b077;border-radius:20px;padding:4px 18px}.porch-napping:after{content:'';position:absolute;inset:0;z-index:4;pointer-events:none;background:linear-gradient(#151710cc,transparent 38%,transparent 63%,#151710aa);animation:porch-eyelids 2s ease-out}
@keyframes porch-eyelids{from{opacity:0}to{opacity:1}}.reduce-motion .porch-napping:after{animation:none}@media(prefers-reduced-motion:reduce){.porch-napping:after{animation:none}}
