.house-mode{background:linear-gradient(#87d6ea,#d8f1df 65%,#e2f0df)}.house-mode .scenery,.house-mode .sky-shade{display:none}.house-mode .subheading{margin-top:26px}.house-mode .eyebrow{color:#237d8a}.house-mode h1{font-size:28px;text-shadow:0 2px #3b96ab}.house-mode .subheading p{color:#28677b;font-size:14px;text-shadow:none;font-weight:500}.world-panel{border:3px solid #fff;border-radius:26px;background:#b6e8ed;box-shadow:0 7px 0 #678c9525,0 12px 28px #3c7c8e20;overflow:hidden;margin:18px -6px 18px;position:relative}.world-status{position:absolute;top:14px;left:12px;right:12px;display:flex;align-items:center;justify-content:space-between;font-size:12px;z-index:2;pointer-events:none}.world-status span,.world-status b{background:#f7fffae6;border:1px solid #fff;border-radius:16px;padding:7px 10px;color:#2c7e83}.world-status b{background:#fff6d6;color:#a47b29;font-weight:800}.world-canvas{height:330px;width:100%;position:relative}.world-canvas canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.world-canvas canvas:active{cursor:grabbing}.world-guide{font-size:12px;text-align:center;color:#3b838a;position:absolute;bottom:65px;left:0;right:0;pointer-events:none}.world-controls{display:flex;justify-content:center;gap:6px;padding:9px 9px 12px;background:linear-gradient(#c6eee500,#def3e4)}.world-controls button{font-size:12px;background:#ffffffc9;padding:9px 10px;min-height:38px;box-shadow:0 2px #5d949022}.world-controls button:first-child,.world-controls button:nth-child(3){font-size:21px;line-height:20px;min-width:36px}.growth-panel .eyebrow{font-size:11px;letter-spacing:0}.growth-panel h2{font-size:18px}.growth-count{font-size:28px;color:#1c9b8a;white-space:nowrap}.growth-count small{font-size:14px;color:#8ba29b}.growth-panel .bar{height:9px;margin-top:14px}.next-build{display:flex;gap:10px;align-items:center;margin-top:16px;padding-top:15px;border-top:1px solid #e8ece4}.build-icon{font-size:37px}.build-icon img{height:45px;width:55px;object-fit:contain}.next-build>div{flex:1}.next-build b{font-size:14px}.next-build p{font-size:12px;line-height:1.5;margin-top:4px}.next-build button{font-size:12px;white-space:nowrap;padding:9px 10px}.home-inventory{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:15px}.home-inventory button{border:2px solid #e0e9e7;border-radius:17px;background:#f5f8ef;text-align:center;padding:12px 4px;color:#557a7b}.home-inventory button.selected{border-color:#52b9a0;background:#e9f9e9}.home-inventory button>span{font-size:35px;display:block;height:46px}.home-inventory button img{height:44px;max-width:65px;object-fit:contain;mix-blend-mode:multiply}.home-inventory button b{display:block;font-size:12px;margin-top:9px}.home-inventory button small{display:block;font-size:11px;margin-top:6px;color:#569179}.home-3d-fallback{height:100%;padding:110px 25px 0;text-align:center;background:linear-gradient(#ade7ed,#e7eed8)}.home-3d-fallback p{font-size:14px;margin-top:15px}@media(min-width:420px){.world-canvas{height:360px}}

.sound-panel{padding:16px}.sound-panel h2{font-size:18px}.sound-panel p{font-size:12px;margin-top:5px;color:#718e8d}.sound-master{background:linear-gradient(#32c8b6,#0ca38e);border:2px solid #8ce1c8;border-radius:15px;color:#fff;min-height:44px;padding:10px 13px;font-weight:800;font-size:14px;white-space:nowrap;box-shadow:0 3px #14867533}.sound-master[aria-pressed="true"]{background:#e4f4ed;color:#257b6c;border-color:#c3e5d7;box-shadow:none}.sound-details{margin-top:13px;border-top:1px solid #e7eee7;padding-top:4px}.sound-details summary{font-size:13px;font-weight:700;color:#598b85;padding:10px 0;cursor:pointer;min-height:40px}.sound-track{padding:9px 0 11px}.sound-track+.sound-track{border-top:1px solid #e7eee7}.sound-switch{display:flex;justify-content:space-between;align-items:center;font-size:14px;font-weight:800;min-height:40px}.sound-switch small{display:block;font-size:11px;font-weight:400;color:#819a95;margin:4px 0 0 23px}.sound-switch input{width:22px;height:22px;accent-color:#139e8d;cursor:pointer}.volume-row{display:flex;align-items:center;gap:12px;margin:11px 0 0}.volume-row input{flex:1;min-width:0;height:25px;accent-color:#22aa97;cursor:pointer}.volume-row output{min-width:36px;font-size:12px;text-align:right;color:#708d85}.sound-panel .sound-footnote{font-size:11px;line-height:1.6;color:#90a19b;margin-top:7px}
.companion-panel h2{font-size:17px}.companion-panel p{font-size:13px;margin-top:8px;line-height:1.7}.companion-panel .row{align-items:flex-start}.companion-panel .row>div{flex:1}.companion-panel button{font-size:13px;white-space:nowrap}
.character-panel h2{font-size:18px}.character-panel .muted{font-size:11px}.character-panel p{font-size:13px;margin:9px 0 13px;color:#5f8984;min-height:22px}.character-actions{display:flex;gap:8px}.character-actions button{flex:1;background:linear-gradient(#eefbf3,#dcefe6);border:1px solid #c5e2d2;border-radius:13px;padding:11px 4px;min-height:46px;font-size:13px;font-weight:800;color:#367a6b;box-shadow:0 3px #81ac9922}
.house-mode{background:linear-gradient(#b2dee7,#d7e9df 65%,#e4eddf)}.house-mode[data-home-theme="dusk"]{background:linear-gradient(#a9b8cf,#ead1bd 65%,#e6ddcc)}.house-mode[data-home-theme="dusk"] .subheading p{color:#677483}.house-mode[data-home-theme="dusk"] .eyebrow{color:#637f8f}.house-mode h1{text-shadow:0 2px #6b9fb0}.world-panel{border-radius:29px;box-shadow:0 8px 0 #648a9420,0 15px 35px #62858427}.world-canvas{height:390px}.world-status{top:15px;left:15px;right:15px}.world-status span,.world-status b{background:#fffff5d9;box-shadow:0 3px 10px #5f8c8f14;font-size:11px;letter-spacing:.3px;border:1px solid #fff9}.world-guide{bottom:114px;color:#366f79;font-size:11px;background:#fffff099;border-radius:15px;padding:5px 9px;left:50%;right:auto;transform:translateX(-50%);white-space:nowrap}.scene-themes{position:absolute;left:14px;bottom:75px;display:flex;gap:3px;background:#fffff0dc;border:1px solid #fff;border-radius:20px;padding:3px;box-shadow:0 4px 10px #3f7f8920}.scene-themes button{border-radius:15px;background:transparent;padding:8px 11px;font-size:12px;color:#6e8586;min-height:34px;font-weight:800}.scene-themes button[aria-pressed="true"]{background:#d3e9df;color:#3a7c70;box-shadow:0 1px 3px #829f8c24}.scene-zoom{position:absolute;right:13px;top:62px;display:grid;gap:6px}.scene-zoom button{width:36px;height:36px;border-radius:13px;border:1px solid #fff;background:#fffff1d9;color:#547e87;font-size:22px;box-shadow:0 3px 8px #42738d16}.world-controls{padding:11px 10px 13px;background:linear-gradient(#dfede6e6,#e5f1e9)}.world-controls button{font-size:12px;padding:10px;background:#fffef7e8}.house-mode[data-home-theme="dusk"] .world-controls{background:linear-gradient(#e6dcccdd,#eee3d4)}@media(min-width:420px){.world-canvas{height:420px}}@media(max-width:350px){.world-canvas{height:355px}.scene-themes button{padding:7px 9px}.world-guide{font-size:10px}}

.home-atmosphere h2{font-size:20px}.home-atmosphere .muted{font-size:10px}.atmosphere-selects{display:flex;gap:10px;margin-top:15px}.atmosphere-selects label{flex:1;min-width:0;color:#6b887c;font-size:12px}.atmosphere-selects select{width:100%;min-height:42px;margin-top:7px;border:1px solid #d3e0cc;border-radius:10px;padding:8px 5px;background:#f8fbed;color:#567b6e;font-size:12px}.home-atmosphere>p{font-size:10px;color:#92a58d;margin:12px 0;line-height:1.8}.home-life-toggle{display:flex;align-items:center;justify-content:space-between;padding:11px;background:#edf5e9;border-radius:13px;color:#5e826f;font-size:13px}.home-life-toggle small{font-size:10px;color:#8fa18b;display:block;margin-top:6px;line-height:1.6}.home-life-toggle input{accent-color:#529781;width:19px;height:19px}.character-actions{display:grid!important;grid-template-columns:repeat(3,1fr);gap:7px!important}.character-actions button{min-width:0;font-size:11px!important}.character-actions button.life-active{background:#d8f1d4;border-color:#98c6a1}.house-mode[data-home-theme=night]{background:#7892a3!important}.house-mode[data-home-theme=afternoon]{background:#d8d7b5!important}.house-mode[data-home-theme=morning]{background:#bbdfe0!important}


.life-action-group{border-top:1px solid #e1e8da;margin-top:14px;padding-top:12px}.life-action-group summary{cursor:pointer;color:#48695d;font-size:14px;font-weight:750;padding:5px 0}.life-action-group .character-actions{margin-top:10px}.life-action-group button.life-active{background:#cfe8d5;box-shadow:inset 0 0 0 2px #8eb79c}
