*{box-sizing:border-box;touch-action:manipulation}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden}body{color:#fff;background:#080b18;font-family:Arial,Tahoma,sans-serif}.app{background:#12172b;max-width:1280px;height:100dvh;margin:auto;position:relative}button{font:inherit;color:#fff;cursor:pointer;border:0}header{z-index:5;background:#0b1025;border-bottom:1px solid #ffffff18;justify-content:space-around;align-items:center;height:68px;display:flex;position:relative}header div{flex-direction:column;gap:4px;display:flex}header small{color:#9da9cb;font-size:10px}header button{background:#ffffff12;border-radius:10px;padding:9px 13px}.layout{top:68px;bottom:132px;display:flex;position:absolute;inset-inline:0}.world{direction:ltr;background:#1d2745;border:8px solid #10172b;width:76%;position:relative;overflow:hidden}.room{color:#ffffff70;background:linear-gradient(145deg,#604b39,#4d392f);border:5px solid #15203c;padding:8px;font-size:12px;position:absolute;box-shadow:inset 0 0 50px #0004}.room b{letter-spacing:1px}.kitchen{width:35%;height:52%;top:0;left:0}.living{background:linear-gradient(145deg,#554333,#40342f);width:65%;height:67%;top:0;left:35%}.bedroom{background:linear-gradient(145deg,#4c3c45,#3b3140);width:38%;height:48%;top:52%;left:0}.hall{background:linear-gradient(90deg,#49382e,#594334);border-top:5px solid #15203c;position:absolute;inset:67% 0 0 38%}.prop{text-align:center;color:#c8a77a;text-shadow:0 3px #0004;font-size:36px;position:absolute}.prop small{color:#fff9;font-size:9px;display:block}.fridge{color:#87989e;background:linear-gradient(90deg,#c9d7db,#eef4f3);border-radius:8px;width:55px;height:95px;padding-top:20px;top:15%;left:8%}.counter{color:#96704e;top:13%;left:42%}.sofa{color:#8f5c4b;font-size:60px;top:33%;right:12%}.table{color:#8a6548;font-size:65px;top:50%;left:14%}.desk{color:#98704e;font-size:60px;top:15%;right:10%}.toybox{color:#b4793d;font-size:65px;bottom:12%;left:12%}.dad{z-index:2;text-align:center;position:absolute;top:27%;right:17%}.dad span{font-size:62px;transition:all .2s;display:block}.dad span.wake{filter:drop-shadow(0 0 12px #ff795e);animation:.18s infinite shake}.dad small{color:#fff;font-weight:700}.cat{z-index:2;font-size:38px;position:absolute;top:39%;left:30%}.door{color:#b97b3c;font-size:70px;position:absolute;top:-30px;left:18%}.dropzone{color:#ffe477;border:3px dashed #ffe477;border-radius:50%;justify-content:center;align-items:center;width:110px;height:70px;font-size:24px;animation:1.3s infinite glow;display:flex;position:absolute;top:76%;left:45%;box-shadow:0 0 25px #ffe47744}.dropzone small{font-size:9px;position:absolute;top:72px}.objective{z-index:4;position:absolute;transform:translate(-50%,-50%)}.objective i{filter:drop-shadow(0 0 12px #ffe96d);font-size:44px;font-style:normal}.objective span{color:#ffe96d;font-size:32px;animation:.7s infinite bob;position:absolute;top:-35px;left:12px}.player{z-index:7;text-align:center;filter:drop-shadow(0 7px 5px #0008);width:48px;transition:left 40ms linear,top 40ms linear;position:absolute;transform:translate(-50%,-50%)}.player .head{font-size:36px;line-height:30px}.player .body{color:#ffd859;background:#4779cf;border-radius:9px 9px 13px 13px;width:31px;height:35px;margin:auto;padding-top:7px;font-size:15px}.player>i{font-size:25px;font-style:normal;position:absolute;top:9px;left:-17px}.toast{z-index:9;white-space:nowrap;background:#111a37e8;border:1px solid #ffffff28;border-radius:20px;padding:10px 18px;font-size:13px;position:absolute;bottom:8%;left:50%;transform:translate(-50%)}@keyframes bob{50%{transform:translateY(-8px)}}@keyframes glow{50%{box-shadow:0 0 38px #ffe47799}}@keyframes shake{50%{transform:translate(4px)rotate(4deg)}}aside{background:#0c1229;width:24%;padding:18px;overflow:auto}aside h2{color:#ffe05e;margin:0 0 16px;font-size:18px}.tasks{flex-direction:column;gap:7px;display:flex}.tasks>div{background:#ffffff08;border:1px solid #ffffff08;border-radius:10px;align-items:center;gap:8px;padding:10px;font-size:11px;display:flex}.tasks>div span{background:#2b3553;border-radius:50%;place-items:center;width:20px;height:20px;display:grid}.tasks .active{color:#ffe98d;background:#ffc94b16;border-color:#ffc94b55}.tasks .active span{background:#d59c28}.tasks .complete{opacity:.45}.tasks .complete span{background:#388b5b}aside h3{justify-content:space-between;margin:18px 0 6px;font-size:12px;display:flex}.noise{background:#303750;border-radius:10px;height:17px;overflow:hidden}.noise i{background:linear-gradient(90deg,#42d56a,#ffd24d 60%,#ff4e4e);height:100%;transition:all .2s;display:block}.sleep{background:#244b3d;border-radius:8px;margin-top:9px;padding:9px;font-size:11px}.sleep.danger{background:#8d303b;animation:.3s infinite shake}aside p{color:#aeb8d4;font-size:10px;line-height:1.6}footer{background:#080d20;border-top:1px solid #ffffff14;justify-content:space-around;align-items:center;width:100%;height:132px;display:flex;position:absolute;bottom:0}.dpad{flex-direction:column;align-items:center;width:120px;display:flex}.dpad div{gap:36px;display:flex}.dpad button{background:#34405f;border-radius:50%;width:39px;height:39px;box-shadow:inset 0 0 0 2px #ffffff10}.interact,.quiet{border-radius:50%;width:84px;height:84px;font-size:29px;box-shadow:inset 0 0 0 3px #ffffff20,0 8px 16px #0007}.interact{background:#ec7447}.quiet{background:#5367d6}.interact small,.quiet small{font-size:10px;display:block}.overlay{z-index:20;text-align:center;background:radial-gradient(circle at 50% 35%,#34458d,#080b1e 70%);flex-direction:column;justify-content:center;align-items:center;padding:25px;display:flex;position:absolute;inset:0}.logo{gap:5px;font-size:75px;display:flex}.menu h1{color:#ffe35e;margin:10px;font-size:54px}.menu h2{max-width:450px;font-size:17px;font-weight:400}.overlay button{background:#f47746;border-radius:28px;margin:18px;padding:14px 42px;font-size:20px;font-weight:700;box-shadow:0 8px 22px #0005}.features{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.features span{background:#ffffff0c;border:1px solid #ffffff18;border-radius:15px;padding:8px 12px;font-size:11px}.card{background:#1c2753;border:2px solid #ffffff1c;border-radius:26px;min-width:300px;padding:28px;box-shadow:0 25px 60px #0008}.big{font-size:70px}.card h1{color:#ffe35e}.card p{color:#bdc7e3;font-size:13px}.winStars{font-size:35px}.haunted .room{background:linear-gradient(145deg,#403342,#28243b)}.pirate .room{background:linear-gradient(145deg,#75522e,#50391f)}.space .room{background:linear-gradient(145deg,#35435a,#222b45)}.dino .room{background:linear-gradient(145deg,#52623b,#35472f)}@media (width<=700px){header{height:56px;font-size:12px}.layout{top:56px;bottom:116px}.world{border-width:4px;width:72%}.room{border-width:3px}.prop{font-size:24px}.fridge{width:38px;height:65px;padding-top:10px}.sofa,.desk,.toybox{font-size:38px}.table{font-size:45px}.dad{top:29%;right:10%}.dad span{font-size:45px}.player{width:40px}.player .head{font-size:30px}.player .body{width:26px;height:30px}.objective i{font-size:34px}.dropzone{width:75px;height:52px;left:43%}aside{width:28%;padding:7px}aside h2{font-size:13px}.tasks>div{gap:4px;padding:6px;font-size:8px}.tasks>div span{width:15px;height:15px;font-size:8px}aside p{display:none}footer{height:116px}.dpad{transform:scale(.88)}.interact,.quiet{width:70px;height:70px}.menu h1{font-size:40px}.logo{font-size:55px}}.character-lab-link{color:#fff;background:#2d416e;border:1px solid #95b5ff88;border-radius:99px;justify-content:center;align-items:center;margin:-4px 0 18px;padding:12px 20px;font-size:15px;font-weight:700;text-decoration:none;display:inline-flex;box-shadow:0 7px 20px #0004}.character-lab-link:hover,.character-lab-link:focus-visible{outline-offset:2px;background:#385586;outline:2px solid #fbd56a}.character-3d-layer{z-index:6;pointer-events:none;position:absolute;inset:0;overflow:hidden}.character-3d-layer canvas{pointer-events:none;width:100%;height:100%;display:block}.player.model-ready .head,.player.model-ready .body,.dad.model-ready span,.cat.model-ready{visibility:hidden}.orientation-overlay{display:none}@media (orientation:portrait) and (pointer:coarse){.orientation-overlay{z-index:1000;padding:24px max(24px,env(safe-area-inset-right)) 24px max(24px,env(safe-area-inset-left));text-align:center;color:#fff;background:radial-gradient(#243b69,#080d20 75%);justify-content:center;align-items:center;display:flex;position:fixed;inset:0;overflow:auto}.orientation-card{background:#101a35;border:1px solid #6b82b866;border-radius:25px;max-width:380px;padding:22px 18px;box-shadow:0 14px 38px #0008}.rotate-phone{white-space:nowrap;font-size:57px;animation:2.1s ease-in-out infinite tiltPhone}.rotate-phone span{color:#ffe477;vertical-align:middle;font-size:43px}.orientation-card h2{color:#ffe477;margin:8px 0;font-size:25px}.orientation-card p{color:#d7e0fc;margin:0;font-size:15px;line-height:1.8}}@keyframes tiltPhone{0%,to{transform:rotate(0)}50%{transform:rotate(75deg)}}@media (orientation:landscape) and (height<=600px){.app{width:100%;max-width:none;height:100dvh;min-height:0;overflow:hidden}header{height:44px;min-height:44px;padding-left:max(10px,env(safe-area-inset-left));padding-right:max(10px,env(safe-area-inset-right));justify-content:space-between;gap:8px;font-size:12px}header small{font-size:10px}header button{padding:5px 10px}.layout{min-height:0;top:44px;bottom:94px}.world{border-width:3px;width:78%}.room{border-width:3px;padding:4px;font-size:10px}.room b{font-size:10px}.prop{font-size:24px}.prop small{font-size:8px}.fridge{width:37px;height:57px;padding-top:9px;font-size:19px}.sofa,.desk,.toybox,.table{font-size:34px}.dad span{font-size:38px}.player{width:40px}.player .head{font-size:30px;line-height:27px}.player .body{width:25px;height:29px;padding-top:5px}.cat{font-size:27px}.dropzone{border-width:2px;width:66px;height:43px;font-size:19px;top:75%;left:44%}.dropzone small{top:44px}.objective i{font-size:27px}.objective span{font-size:19px;top:-20px;left:10px}aside{overscroll-behavior:contain;width:22%;min-width:0;padding:7px 8px}aside h2{margin:0 0 7px;font-size:13px}.tasks{gap:3px}.tasks>div{gap:4px;padding:5px 4px;font-size:9px;line-height:1.25}.tasks>div span{width:16px;min-width:16px;height:16px;font-size:9px}aside h3{margin:8px 0 4px;font-size:10px}.noise{height:10px}.sleep{margin-top:5px;padding:5px;font-size:10px}aside p{display:none}footer{height:94px;padding:0 max(14px,env(safe-area-inset-right)) 0 max(14px,env(safe-area-inset-left));justify-content:space-between;gap:10px}.dpad{flex-shrink:0;width:116px;height:88px;display:block;position:relative;transform:none}.dpad button{touch-action:none;width:32px;height:32px;font-size:16px}.dpad>button:first-child{position:absolute;top:0;left:42px}.dpad>button:last-child{position:absolute;top:56px;left:42px}.dpad>div{justify-content:space-between;gap:0;display:flex;position:absolute;top:28px;left:0;right:0}.interact,.quiet{flex-shrink:0;width:66px;min-width:66px;height:66px;font-size:25px}.interact small,.quiet small{font-size:10px}.interact{margin-inline-start:auto}.overlay{padding:10px max(24px,env(safe-area-inset-left)) 10px max(24px,env(safe-area-inset-right));overflow-y:auto}.logo{font-size:35px}.menu h1{margin:2px;font-size:clamp(25px,7vh,38px)}.menu h2{margin:4px 0;font-size:13px;line-height:1.3}.overlay button{margin:7px;padding:9px 29px;font-size:16px}.character-lab-link{margin:2px 0 8px;padding:7px 12px;font-size:12px}.features{gap:4px}.features span{padding:6px 8px;font-size:10px}.card{min-width:min(300px,90vw);padding:15px}.big{font-size:40px}.card h1{margin:6px;font-size:28px}.card p{margin:6px;font-size:12px}.winStars{font-size:25px}}@media (orientation:landscape) and (height<=390px){.layout{bottom:82px}footer{height:82px}.dpad{transform:scale(.86)}.interact,.quiet{width:57px;min-width:57px;height:57px;font-size:22px}.features span{padding:4px 7px}.overlay{padding-top:5px;padding-bottom:5px}}
