.interior-room{--room-safe-bottom:env(safe-area-inset-bottom,0px);position:fixed;inset:0;z-index:70;overflow:hidden;background:#3b453a;color:#eee8d8;font-family:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif;isolation:isolate;animation:room-arrive .32s ease-out}
.interior-room[hidden]{display:none!important}
.room-header{z-index:2}
.room-notice{z-index:3}
@keyframes room-arrive{from{opacity:0;transform:scale(1.012)}to{opacity:1;transform:scale(1)}}
.room-backdrop{position:absolute;inset:0;background:radial-gradient(ellipse at 27% 42%,#d3b28150,transparent 60%),linear-gradient(140deg,#3a483c,#6b5b45 70%,#2e3d35);z-index:-1}
.room-scene{position:absolute;inset:0 328px 0 0;touch-action:none;overflow:hidden}
.room-scene canvas{display:block;width:100%;height:100%;outline:none;touch-action:none}
.room-scene canvas:focus-visible{outline:2px solid #ebc581;outline-offset:-5px}
.room-header{position:absolute;inset:0 0 auto;min-height:112px;display:grid;grid-template-columns:160px 1fr 112px;align-items:start;gap:20px;padding:26px 34px;background:linear-gradient(#26382ce8,#29382b60,transparent);pointer-events:none}
.room-header button{pointer-events:auto}
.room-back{display:flex;align-items:center;gap:9px;margin-top:4px;padding:10px 13px;border:1px solid #f6efd83d;border-radius:9px;background:#263b326b;color:#eee8d8;font:inherit;font-size:12px;white-space:nowrap;cursor:pointer}
.room-back svg{width:19px;height:19px;transform:rotate(180deg)}
.room-heading{padding-top:2px;text-align:center;margin-right:146px}
.room-heading>small{display:block;font-size:8px;letter-spacing:2.2px;color:#d4d1b9}
.room-heading h1{font-family:"Songti SC",STSong,Georgia,serif;font-size:26px;font-weight:400;letter-spacing:2px;margin:8px 0 4px}
.room-heading p{font-size:10px;letter-spacing:.5px;color:#d5cfb8;margin:0;line-height:1.7}
.room-header-actions{display:flex;justify-content:flex-end;gap:7px;pointer-events:auto}
.room-icon{width:37px;height:37px;display:grid;place-items:center;border:1px solid #ede6ce34;border-radius:8px;color:inherit;background:#263d3378;cursor:pointer}
.room-icon svg{width:18px;height:18px}
.room-warmth{position:absolute;right:29px;top:93px;width:272px;padding:11px 14px 10px;background:#20392f7a;border:1px solid #e9dfc426;border-radius:10px;backdrop-filter:blur(10px)}
.room-warmth>span{display:flex;align-items:center;gap:7px;font-size:11px;color:#f2d9ab}
.room-warmth b{font-weight:500;letter-spacing:1px}
.room-warmth svg{width:17px;height:17px}
.room-warmth small{display:block;margin-top:7px;font-size:9px;color:#d5d6bf}
.room-meter{height:4px;border-radius:10px;overflow:hidden;background:#d1b7893d;margin-top:8px}
.room-meter i{display:block;height:100%;border-radius:10px;background:linear-gradient(90deg,#c18c52,#e8b574);transition:width .8s linear}
.room-panel{position:absolute;right:29px;top:185px;bottom:92px;width:272px;overflow-y:auto;overscroll-behavior:contain;padding:20px 18px;background:linear-gradient(135deg,#f3efe4f7,#e5dfcdf5);color:#364739;border:1px solid #faf6e970;border-radius:14px;box-shadow:0 14px 45px #0c201d35;scrollbar-width:thin;scrollbar-color:#89947b66 transparent;backdrop-filter:blur(18px)}
.room-panel-title{display:flex;align-items:center;gap:10px;margin-bottom:17px}
.room-panel-title>span{width:37px;height:37px;display:grid;place-items:center;border:1px solid #86937545;border-radius:11px;color:#74866a}
.room-panel-title svg{width:23px;height:23px}
.room-panel-title small{display:block;font-size:7px;letter-spacing:1.35px;color:#929782}
.room-panel h2{font-family:"Songti SC",STSong,Georgia,serif;font-size:22px;font-weight:500;margin:5px 0 0;letter-spacing:1px}
.room-copy{font-size:11px;line-height:1.95;color:#7b826b;margin:0 0 16px}
.room-welcome-title{font-family:"Songti SC",STSong,Georgia,serif;font-size:24px;font-weight:400;line-height:1.65;letter-spacing:1px;margin:23px 0 12px}
.room-welcome-checklist{display:grid;gap:8px;margin:22px 0}
.room-welcome-checklist button{display:flex;gap:10px;align-items:center;text-align:left;width:100%;border:1px solid #b7bba365;padding:11px 10px;border-radius:9px;background:#fffdf638;color:#596d52;font:inherit;font-size:11px;cursor:pointer}
.room-welcome-checklist svg{width:20px;height:20px;flex:none}
.room-welcome-checklist svg:last-child{margin-left:auto;width:15px;height:15px}
.room-options{display:grid;grid-template-columns:1fr;gap:8px;margin:13px 0 15px}
.room-option{position:relative;display:grid;grid-template-columns:78px 1fr;column-gap:8px;align-items:center;text-align:left;border:1px solid #b5bba17a;border-radius:9px;padding:8px 9px;background:#fbf9f13d;color:#52674d;font:inherit;cursor:pointer;min-height:76px}
.room-option-art{grid-row:1/3;width:78px;height:55px}
.room-option b{font-size:11px;font-weight:500;padding-right:9px;align-self:end}
.room-option small{font-size:9px;line-height:1.6;color:#8c917d;align-self:start;padding-top:4px}
.room-option>svg:last-child:not(.room-option-art){position:absolute;right:6px;top:7px;width:13px;height:13px;color:#58734b}
.room-option.is-selected{border-color:#879873;background:#dce2ca80;box-shadow:inset 0 0 0 1px #87987330}
.room-option:disabled{opacity:.42;cursor:not-allowed}
.room-action{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:42px;border:1px solid #3e5d40;border-radius:9px;margin:10px 0 0;padding:10px 12px;background:#3b573e;color:#f2eddb;font:inherit;font-size:11px;font-weight:500;letter-spacing:.5px;cursor:pointer}
.room-action svg{width:17px;height:17px;flex:none}
.room-action:hover{background:#4a694c}
.room-action.room-secondary{color:#657359;border-color:#a2ac8e99;background:transparent}
.room-action.room-secondary:hover{background:#d7ddc666}
.room-action:disabled{opacity:.45;cursor:not-allowed}
.room-palette{border-top:1px solid #a8b09142;padding-top:15px;margin-top:20px}
.room-palette>span{font-size:10px;color:#89907b}
.room-palette>div{display:flex;gap:9px;justify-content:space-between;margin-top:12px}
.room-swatch{border:0;padding:0;background:transparent;color:#7a826e;cursor:pointer;width:70px;position:relative;font:inherit}
.room-swatch>span{display:block;width:32px;height:32px;margin:0 auto;border-radius:50%;background:linear-gradient(135deg,var(--swatch) 58%,var(--swatch-accent) 58%);border:3px solid #f4f0e3;box-shadow:0 0 0 1px #bfc1aa}
.room-swatch.is-selected>span{box-shadow:0 0 0 2px #768869}
.room-swatch>svg{width:13px;height:13px;color:#3b583e;position:absolute;top:9px;left:28px}
.room-swatch small{display:block;font-size:8px;line-height:1.5;margin-top:8px}
.room-footnote{font-size:9px;line-height:1.85;color:#939782;margin:17px 0 0}
.room-stove-steps{list-style:none;padding:0;margin:18px 0 20px;display:grid;grid-template-columns:1fr 1fr;gap:12px 7px}
.room-stove-steps li{display:flex;align-items:center;gap:6px;color:#a0a28d;font-size:9px}
.room-stove-steps li>span{width:22px;height:22px;display:grid;place-items:center;border:1px solid #afb69c80;border-radius:50%;font-size:9px;flex:none}
.room-stove-steps svg{width:12px;height:12px}
.room-stove-steps .is-done{color:#617752}
.room-stove-steps .is-done>span{background:#d7dfc6;border-color:#8a9c76}
.room-stove-steps .is-current{color:#9d6c3f}
.room-stove-steps .is-current>span{background:#efe0bf;border-color:#c5a16c}
.room-heater-status{padding:13px 12px;border-radius:10px;background:#e6d9ba65;border:1px solid #cbb7945c;margin-bottom:15px}
.room-heater-status b{font-size:13px;font-family:"Songti SC",STSong,Georgia,serif;font-weight:500;color:#775b3c}
.room-heater-status p{font-size:10px;line-height:1.85;color:#91846a;margin:6px 0 0}
.room-meter-label{display:flex;justify-content:space-between;gap:8px;color:#8c876f;font-size:9px;margin-top:15px}
.room-vent-status{display:flex;gap:7px;align-items:center;border-top:1px solid #a8b09142;padding-top:14px;margin-top:19px;font-size:9px;color:#879177}
.room-vent-status svg{width:18px;height:18px;flex:none}
.room-stove-sketch{display:grid;place-items:center;height:115px;color:#859174;margin:10px 0 14px;background:radial-gradient(ellipse,#d7d7b47a,transparent 65%)}
.room-stove-sketch svg{width:64px;height:64px;stroke-width:1}
.room-soft-title{font-family:"Songti SC",STSong,Georgia,serif;font-size:20px;line-height:1.55;font-weight:500;margin:0 0 13px}
.room-light-illustration{height:150px;display:grid;place-items:center;color:#8b937a;position:relative}
.room-light-illustration svg{width:63px;height:76px;z-index:1}
.room-light-illustration:before{content:"";position:absolute;inset:10px 20px;opacity:0;background:radial-gradient(circle,#f9d89b95,transparent 65%);transition:opacity .4s}
.room-light-illustration.is-on{color:#a68449}
.room-light-illustration.is-on:before{opacity:1}
.room-placement{margin-top:18px;padding-top:13px;border-top:1px solid #b5baa246}
.room-placement>span{display:flex;justify-content:space-between;align-items:center;gap:5px;color:#91927b;font-size:9px}
.room-placement output{color:#6b7e5c;font-variant-numeric:tabular-nums}
.room-nudges{display:grid;grid-template-columns:repeat(6,1fr);gap:5px;margin-top:10px}
.room-nudges button{height:33px;border:1px solid #acb49480;border-radius:7px;background:#eeeedb80;color:#627554;font-size:15px;cursor:pointer}
.room-text-action{border:0;padding:8px 0 0;background:transparent;color:#8c947d;font:inherit;font-size:9px;cursor:pointer}
.room-camera-controls{position:absolute;left:24px;bottom:134px;display:flex;gap:6px;align-items:center;padding:5px;border:1px solid #e9e3c32b;border-radius:11px;background:#263a3063;backdrop-filter:blur(10px)}
.room-camera-controls .room-icon{border:0;background:transparent;width:32px;height:32px}
.room-sit{display:flex;gap:7px;align-items:center;border:0;border-left:1px solid #eee2bc36;background:transparent;color:inherit;padding:7px 10px;font:inherit;font-size:11px;cursor:pointer}
.room-sit svg{width:18px;height:18px}
.room-sit:disabled{opacity:.4;cursor:not-allowed}
.room-object-tray{position:absolute;left:24px;right:352px;bottom:48px;display:flex;justify-content:center;gap:6px;padding:9px 12px;border:1px solid #e4e6d035;border-radius:14px;background:#263a30a8;backdrop-filter:blur(16px);overflow:auto;scrollbar-width:none}
.room-object{position:relative;min-width:55px;flex:1;max-width:80px;min-height:54px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid transparent;border-radius:9px;background:transparent;color:#c5cbb6;font:inherit;font-size:10px;cursor:pointer;white-space:nowrap}
.room-object>svg{width:21px;height:21px}
.room-object.is-selected{color:#ecd5a5;border-color:#d0bb8052;background:#d5c48e18}
.room-object>i{position:absolute;width:4px;height:4px;background:#cdb977;border-radius:50%;top:7px;right:9px}
.room-scene-hint{position:absolute;bottom:16px;left:24px;right:352px;text-align:center;font-size:9px;letter-spacing:.7px;color:#d1ceb591;margin:0;pointer-events:none}
.room-notice{position:absolute;left:calc((100% - 328px)/2);bottom:143px;transform:translate(-50%,10px);max-width:min(400px,80vw);padding:12px 16px;border-radius:10px;background:#f0ebd8ef;box-shadow:0 6px 25px #142a2030;color:#5d6c50;font-size:11px;line-height:1.8;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;z-index:4}
.room-notice.is-visible{opacity:1;transform:translate(-50%,0)}
.room-loading{position:absolute;inset:0 328px 0 0;display:flex;gap:12px;flex-direction:column;align-items:center;justify-content:center;background:#405344;color:#dddac2;z-index:1;font-size:12px;letter-spacing:1px}
.room-loading[hidden]{display:none}
.room-loading svg{width:38px;height:38px}
.room-loading .room-action{width:auto}
.interior-room button:focus-visible{outline:2px solid #bf9a54;outline-offset:3px}
.interior-room button{transition:background .15s,border-color .15s,color .15s}
.room-entry{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;padding:11px 12px;margin-top:10px;background:#8f9e6c26;border:1px solid #a7b28977;border-radius:8px;color:#586e49;font:inherit;font-size:11px;cursor:pointer}
.room-entry svg{width:18px;height:18px}
.room-entry:disabled{opacity:.5;cursor:not-allowed}
.tool-btn#enter-tent-btn.has-heat{color:#f0c383;background:#8d653957;border-color:#c6a87566}
.room-packing-note{border-top:1px solid #a7b28944;padding-top:10px!important;color:#89926f!important}
.interior-room.reduced-motion,.reduced-motion .interior-room{animation:none}
.interior-room.reduced-motion *{transition:none!important;animation:none!important}
@media(min-width:1500px){.room-panel,.room-warmth{right:40px;width:310px}.room-scene,.room-loading{right:390px}.room-object-tray,.room-scene-hint{right:414px}.room-header{padding:30px 40px}.room-heading{margin-right:204px}.room-warmth{top:112px}.room-panel{top:210px;padding:25px 23px}.room-panel h2{font-size:24px}.room-copy{font-size:12px}.room-notice{left:calc((100% - 390px)/2)}}
@media(max-width:900px){.room-header{padding:19px 20px;grid-template-columns:115px 1fr 82px;gap:9px}.room-heading{margin-right:130px}.room-heading h1{font-size:22px}.room-heading p{font-size:9px}.room-back{font-size:10px;padding:9px}.room-panel,.room-warmth{right:17px;width:247px}.room-panel{padding:17px 15px;bottom:70px}.room-scene,.room-loading{right:281px}.room-object-tray{left:14px;right:295px;gap:2px;padding:7px}.room-object{min-width:49px;font-size:9px}.room-scene-hint{left:14px;right:295px}.room-camera-controls{left:14px;bottom:129px}.room-notice{left:calc((100% - 281px)/2)}}
@media(max-width:760px) and (min-height:501px){
 .ritual-mode .scene-tools{top:156px;max-width:calc(100% - 32px);overflow-x:auto;scrollbar-width:none}
 .ritual-mode .scene-tools .tool-btn{flex:none}
 .room-header{padding:15px 13px;min-height:90px;grid-template-columns:54px 1fr 68px;gap:8px;background:linear-gradient(#253b30ec,#28392c90,transparent)}
 .room-back{padding:8px;margin:0;border-radius:9px}.room-back>span{display:none}.room-back svg{width:20px}
 .room-heading{margin:0}.room-heading h1{font-size:19px;letter-spacing:.8px;margin:7px 0 3px}.room-heading>small{font-size:6px;letter-spacing:1.1px}.room-heading p{font-size:8px;letter-spacing:0;max-width:220px;margin:auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
 .room-header-actions{gap:3px}.room-header-actions .room-icon{width:31px;height:32px;border:0;background:transparent}
 .room-scene,.room-loading{inset:77px 0 calc(31vh + 87px + var(--room-safe-bottom))}
 .room-panel{top:auto;bottom:calc(83px + var(--room-safe-bottom));left:12px;right:12px;width:auto;height:29vh;min-height:178px;max-height:300px;padding:17px 18px;border-radius:15px;box-sizing:border-box}
 .room-panel-title{margin-bottom:10px}.room-panel h2{font-size:20px}.room-panel-title>span{width:31px;height:31px}.room-panel-title small{font-size:6px}.room-copy{font-size:10px;margin-bottom:11px}
 .room-welcome-title{font-size:20px;line-height:1.5;margin:10px 0}.room-welcome-title br{display:none}.room-welcome-checklist{grid-template-columns:1fr 1fr;gap:6px;margin:13px 0}.room-welcome-checklist button{font-size:9px;padding:8px;gap:5px}.room-welcome-checklist svg{width:16px;height:16px}
 .room-options{grid-template-columns:repeat(3,1fr);gap:6px;margin:10px 0}.room-option{display:flex;flex-direction:column;padding:6px 4px;gap:4px;min-height:98px;text-align:center}.room-option-art{width:72px;height:47px}.room-option b{font-size:9px;align-self:center;padding:0}.room-option small{font-size:7px;padding:0;line-height:1.5;align-self:center}.room-option>svg:last-child:not(.room-option-art){top:4px;right:4px;width:10px;height:10px}
 .room-palette{margin-top:14px;padding-top:12px}.room-palette>div{justify-content:flex-start;gap:18px}.room-action{min-height:39px;font-size:10px;margin-top:8px}.room-stove-steps{grid-template-columns:repeat(3,1fr);margin:12px 0;gap:9px}.room-stove-steps li{font-size:8px}.room-stove-steps li>span{width:18px;height:18px}.room-heater-status{padding:9px 11px;margin-bottom:10px}.room-heater-status p{font-size:9px}
 .room-warmth{top:92px;right:13px;width:132px;padding:8px 10px;background:#26392e75;border-radius:9px}.room-warmth>span{font-size:9px;gap:5px}.room-warmth svg{width:14px;height:14px}.room-warmth small{font-size:7px;margin-top:5px}.room-warmth .room-meter{margin-top:5px;height:3px}
 .room-camera-controls{left:13px;top:94px;bottom:auto;gap:1px;padding:3px;border-radius:9px}.room-camera-controls .room-icon{width:27px;height:29px}.room-camera-controls .room-icon svg{width:15px;height:15px}.room-sit{padding:5px 7px;gap:3px;font-size:9px}.room-sit svg{width:14px;height:14px}
 .room-object-tray{left:12px;right:12px;bottom:calc(12px + var(--room-safe-bottom));padding:6px 7px;justify-content:flex-start;border-radius:12px}.room-object{min-width:42px;min-height:46px;font-size:8px;gap:4px}.room-object>svg{width:18px;height:18px}.room-object>i{right:6px;top:5px;width:3px;height:3px}.room-scene-hint{bottom:calc(31vh + 87px + var(--room-safe-bottom));left:12px;right:12px;font-size:7px;letter-spacing:.2px}
 .room-notice{left:50%;bottom:calc(31vh + 108px + var(--room-safe-bottom));max-width:85vw;width:max-content;font-size:10px;padding:10px 13px}.room-stove-sketch{height:75px;margin:3px 0 10px}.room-stove-sketch svg{height:44px}.room-soft-title{font-size:18px}.room-light-illustration{height:85px}.room-light-illustration svg{height:57px}
}
@media(max-height:560px) and (min-width:600px){.room-header{padding:12px 19px}.room-heading h1{font-size:19px}.room-heading p{display:none}.room-warmth{top:68px;padding:7px 11px}.room-warmth small{display:none}.room-panel{top:126px;bottom:15px}.room-object-tray{bottom:23px}.room-camera-controls{bottom:98px}.room-scene-hint{bottom:7px}.room-notice{bottom:110px}}
