body{background:#222b30}.game{max-width:1400px;padding:18px 24px}header{margin-bottom:8px}.daybar{padding-bottom:10px}.room-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px;color:#bbc1b5;font-size:14px}.room-toolbar button{border:1px solid #647269;border-radius:20px;background:#304039;color:#ecdec5;padding:8px 14px;font-size:14px}.room-viewport{overflow:auto;border:1px solid #5a5b53;border-radius:18px;background:#3d414b;scrollbar-width:thin;scrollbar-color:#a4916f #303838}.scene{width:100%;aspect-ratio:3/2;border:0;border-radius:0;background:#3d414b;overflow:hidden;touch-action:pan-x pan-y}.room{object-fit:fill;width:100%;height:100%;pointer-events:none;user-select:none}.scene .person{position:absolute;bottom:auto;width:9%;min-width:0;transform:translate(-50%,-97%);transition:none;filter:drop-shadow(0 4px 3px #1e17154d);background:none;border:0;padding:0;aspect-ratio:3/4}.scene .person.child{width:6.6%;bottom:auto}.scene .person .sprite{display:block;width:100%;height:100%;padding:0;margin:0;border:0;border-radius:0;background-color:transparent;background-image:url('assets/family-atlas.png');background-size:400% 100%;background-repeat:no-repeat;animation:breathe 4s ease-in-out infinite}.scene .person .name{position:absolute;top:98%;left:50%;transform:translateX(-50%);font-size:12px;line-height:1.2;background:#27392cdd;color:#f4e7cd;border:1px solid #b3a07e77;padding:3px 7px;white-space:nowrap;margin:0}.scene .person.active .name{background:#57492c;border-color:#d1b16c}.scene .person.walking .sprite{animation:small-step .26s ease-in-out infinite alternate}.scene .person.facing-left .sprite{scale:-1 1}.hotspot{z-index:1000;width:36px;height:36px;min-width:36px;background:#283d32dc;font-size:22px}.hotspot span{top:38px}.bed{left:33%;top:33%;right:auto}.window{left:61%;top:23%;right:auto}.fire{left:89%;top:44%;right:auto}.wardrobe{left:11%;top:40%}#destination{position:absolute;width:20px;height:10px;border:2px solid #ffe5a0;border-radius:50%;transform:translate(-50%,-50%);opacity:0;pointer-events:none;z-index:2}#destination.visible{opacity:1}.night{z-index:990}.family-shortcuts{display:flex;justify-content:center;gap:8px;padding:12px 0}.family-shortcuts button{background:#304139;border:1px solid #5f7062;border-radius:20px;color:#e7ddc9;font-size:14px;padding:9px 16px;min-height:40px}.dashboard{padding:12px 4px 18px}.actions{max-width:800px;margin:0 auto}.actions button{padding:10px 8px;font-size:22px}.actions span{margin-top:4px}.journal{padding-top:15px}dialog{z-index:2000}#toast{z-index:3000}.room-viewport.zoomed .scene{width:150%;max-width:none}.room-viewport.zoomed{max-height:75dvh}.room-toolbar span{line-height:1.5}@keyframes small-step{from{translate:0 0;rotate:-2deg}to{translate:0 -3px;rotate:2deg}}@media(max-width:600px){.game{padding:12px 10px}header{margin-bottom:7px}.brand small{font-size:10px}.scene{aspect-ratio:3/2}.room-toolbar{font-size:12px}.room-toolbar button{font-size:13px;padding:8px 12px}.room-viewport{border-radius:12px}.hotspot{width:28px;height:28px;min-width:28px;font-size:18px}.hotspot span{font-size:10px;top:29px;padding:2px 5px}.scene .person .name{font-size:9px;padding:2px 4px}.family-shortcuts{gap:6px;flex-wrap:wrap}.family-shortcuts button{font-size:14px;padding:9px 13px}.room-viewport.zoomed .scene{width:200%;min-width:650px}.dashboard{padding-top:9px}.room-viewport.zoomed{max-height:65dvh}.scene .person{width:10%}.scene .person.child{width:7.5%}}@media(orientation:landscape) and (max-height:600px){.game{padding:8px 16px}.brand h1{font-size:18px}.brand small,.crest{display:none}.room-viewport{max-height:78dvh}.scene{width:min(100%,115dvh);margin:auto}.room-viewport.zoomed .scene{width:150%;max-width:none}.dashboard{padding-top:15px}.daybar{font-size:13px}header button{padding:6px 14px}}
