@import url('assets/fonts/fonts.css');
:root{--paper:#faf7f2;--ink:#343443;--muted:#777584;--teal:#137e73;--pink:#f37d93;--line:#ece6df;--white:#fff;--radius:24px;font-family:'Nunito',system-ui,sans-serif;color:var(--ink);background:var(--paper);font-size:16px;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.55}button{transition:background .2s,transform .15s,box-shadow .2s}button:not(:disabled):active{transform:translateY(2px)}button:focus-visible,a:focus-visible,input:focus-visible,.scene:focus-visible{outline:3px solid #157e73;outline-offset:4px}button{border:0}a{color:inherit;text-decoration:none}button[hidden],[hidden]{display:none!important}.app{max-width:1640px;margin:auto;padding:0 44px}.topbar{height:104px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:16px}.brand{display:flex;align-items:center;gap:13px;font-family:Comfortaa,sans-serif;font-size:25px;letter-spacing:-1px;white-space:nowrap}.brand b{font-weight:700;color:var(--teal)}.brand small{display:block;font:800 10px Nunito,sans-serif;letter-spacing:2.1px;color:#88818a;margin-top:6px}.brand-icon{width:48px;height:52px;background:#ffe3a3;color:var(--teal);display:grid;place-items:center;border-radius:17px;font:bold 49px system-ui;line-height:1}.header-actions{display:flex;align-items:center;gap:12px}.coins{display:flex;align-items:center;gap:7px;background:#fff0c9;padding:10px 15px;border:1px solid #f5e1ac;border-radius:30px;font-size:14px}.coins>span:first-child{color:#cc8b17;font-size:24px}.coins b{font-size:21px}.shop-button{background:var(--teal);color:white;border-radius:30px;padding:12px 21px;font-weight:800;box-shadow:0 4px 0 #0a605b}.shop-button span{margin-right:7px}.icon-button{width:42px;height:42px;border-radius:50%;background:white;border:1px solid var(--line);font-size:22px;display:inline-grid;place-items:center}.icon-button[aria-pressed=true]{color:var(--teal);background:#d9f3e9}.welcome{display:flex;justify-content:space-between;gap:16px;align-items:center;padding:28px 0 22px}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:900;color:#928a8f}h1,h2,p{margin:0}h1{font-family:Comfortaa,sans-serif;font-size:25px;line-height:1.5;font-weight:700;letter-spacing:-.9px;margin-top:5px}h1 span{color:var(--teal)}h2{font-weight:900;letter-spacing:-.3px;font-size:20px}.pause-button{font-size:14px;font-weight:800;background:transparent;color:#7b7581;display:flex;align-items:center;gap:8px}.pause-button[aria-pressed=true]{color:var(--teal)}.needs{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;margin-bottom:24px}.need{display:flex;align-items:center;gap:12px;background:white;border-radius:18px;border:1px solid var(--line);padding:13px 16px}.need-icon{background:var(--wash);border-radius:13px;width:41px;height:41px;display:grid;place-items:center;font-size:22px;flex-shrink:0}.need-details{flex:1;min-width:0}.need-name{display:flex;justify-content:space-between;gap:5px;font-size:13px;font-weight:800;margin-bottom:7px}.need-name span:last-child{color:#8c8790;font-weight:700;font-size:12px}.need-track{background:var(--wash);height:7px;border-radius:20px;overflow:hidden}.need-track i{height:100%;display:block;background:var(--color);border-radius:20px;transition:width .6s}.need.low{border-color:var(--color)}.game-layout{display:grid;grid-template-columns:160px minmax(0,1fr) 260px;gap:24px;align-items:start}.rooms{padding:4px 0}.nav-heading{font-weight:900;display:flex;align-items:center;justify-content:space-between;font-size:16px;margin:0 9px 16px}.nav-heading span{font-size:23px;color:#a49c9f}.floor-label{color:#a09a9b;font-weight:900;font-size:10px;letter-spacing:1.5px;margin:16px 13px 7px}.room-button{display:flex;align-items:center;gap:10px;width:100%;border-radius:14px;padding:12px 11px;font-size:14px;font-weight:800;background:transparent;text-align:left;margin:3px 0;min-height:48px}.room-button .room-icon{font-size:21px;width:28px;text-align:center;filter:saturate(.8)}.room-button:hover{background:#efebe4}.room-button.active{color:#087466;background:#dbefe7;box-shadow:inset 3px 0 var(--teal)}.room-button.active::after{content:'•';margin-left:auto;color:var(--teal)}.nav-foot{border-top:1px dashed #dcd4cb;margin:23px 10px 0;padding-top:17px;font-size:11px;color:#968b91;text-align:center}.nav-foot span{display:block;font-size:24px;color:#dfa0a6;margin-bottom:2px}.scene-shell{background:white;border:5px solid white;border-radius:25px;box-shadow:0 8px 25px #5b49440a;overflow:hidden}.scene{height:440px;position:relative;isolation:isolate;overflow:hidden;background:#e0eee5;border-radius:20px;touch-action:pan-y}.scene-art{position:absolute;inset:0;background-image:url('assets/room-atlas.png');background-size:300% 300%;background-position:0% 0%;z-index:-2;transition:filter .8s}.scene-top{position:absolute;inset:16px 17px auto;display:flex;align-items:center;justify-content:space-between;gap:8px;pointer-events:none;z-index:4}.room-label{background:#ffffffeb;border:1px solid #ffffffaa;border-radius:30px;padding:8px 16px;font-size:14px;font-weight:900;box-shadow:0 3px 10px #67544510}.scene-day{background:#ffffffd4;font-size:11px;font-weight:800;border-radius:30px;padding:7px 10px;color:#776850}.speech{position:absolute;left:50%;top:23%;transform:translateX(-50%);background:#fffef5;border:2px solid white;border-radius:19px 19px 19px 3px;padding:12px 18px;max-width:72%;text-align:center;box-shadow:0 5px 20px #6d51451f;font-size:15px;font-weight:800;z-index:4;pointer-events:none;transition:opacity .3s}.child{position:absolute;left:54%;top:73%;width:155px;height:205px;padding:0;background:transparent;transform:translate(-50%,-100%);border-radius:40%;z-index:3;transition:left .65s,top .65s;touch-action:none}.child:not(:disabled):active{transform:translate(-50%,-100%) scale(.96)}.child-sprite{position:absolute;inset:0;background:url('assets/child-atlas.png') 0% 100% / 300% 100% no-repeat;animation:breathe 3s ease-in-out infinite;z-index:1}.child-shadow{position:absolute;bottom:2px;left:16%;width:68%;height:13px;border-radius:50%;background:#80634833;filter:blur(4px)}.child.happy .child-sprite{animation:hop .42s ease-in-out 3}.child.sleeping .child-sprite{animation:breathe 4s ease-in-out infinite;filter:brightness(.88)}.sleep-z{display:none;position:absolute;top:0;right:-8px;font:bold 30px Comfortaa;color:#fbfbff;text-shadow:1px 1px 2px #47516f}.child.sleeping .sleep-z{display:block;animation:floatUp 3s infinite}.hotspot{position:absolute;left:8%;top:59%;display:flex;flex-direction:column;align-items:center;gap:5px;background:#fffffff0;border:2px solid white;border-radius:18px;padding:8px 12px;box-shadow:0 4px 15px #68513926;font-size:12px;font-weight:900;z-index:4}.hotspot>span:first-child{font-size:24px}.hotspot:hover{background:#fff8d8;transform:translateY(-3px)}.scene-caption{position:absolute;bottom:13px;left:50%;transform:translateX(-50%);background:#ffffffda;border-radius:20px;padding:6px 12px;font-size:11px;color:#756e68;font-weight:800;white-space:nowrap;pointer-events:none}.puppy{position:absolute;right:9%;bottom:15%;width:115px;height:130px;background:none;padding:0;z-index:3}.puppy img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 5px 3px #684d2729)}.puppy span{position:absolute;bottom:-13px;left:10%;font-size:12px;background:white;border-radius:12px;padding:3px 8px;white-space:nowrap}.puppy.wag{animation:wiggle .3s ease-in-out 4}.child-card{display:flex;align-items:center;gap:11px;padding:15px 15px 11px}.child-avatar{background:#fff0df;border:2px solid #ffe2b7;color:#dd9970;font-size:30px;width:46px;height:46px;display:grid;place-items:center;border-radius:50%;flex-shrink:0}.child-info{flex:1;min-width:0}.child-info>div:first-child{display:flex;align-items:center;gap:10px;margin-bottom:5px}.child-info strong{font-size:17px;font-weight:900}.child-info>div:first-child>span{font-size:11px;border-radius:20px;background:#f4eee5;padding:3px 8px;color:#948776}.level-line{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:800;color:#97908d}.level-line>span{white-space:nowrap}.level-line>span:first-child{color:var(--teal)}.xp-track{flex:1;background:#eef3eb;border-radius:9px;height:6px;overflow:hidden}.xp-track i{display:block;background:#75b59a;height:100%;width:0;transition:width .5s}.text-button{background:transparent;color:#9a8d87;font-size:20px}.action-panel{margin-top:19px;border:1px solid var(--line);background:#ffffffa6;border-radius:20px;padding:17px 18px}.action-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}.action-heading h2{font-size:16px}.action-heading>span{font-size:11px;color:#9b9392}.actions{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.action-button{background:#f8f4ee;border:1px solid #efe8dd;border-radius:15px;min-height:78px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;font-size:13px;font-weight:900;padding:10px 6px}.action-button>span:first-child{font-size:25px}.action-button:hover:not(:disabled){background:#fff0c8;border-color:#e8d497;transform:translateY(-3px)}.action-button small{font-size:10px;color:#948575;font-weight:700}.activity{display:flex;align-items:center;gap:10px;margin-top:13px;font-size:12px;font-weight:800;color:var(--teal)}.activity>div{flex:1;height:7px;background:#e4efe9;border-radius:8px;overflow:hidden}.activity i{display:block;height:100%;width:0;background:#60af90;transition:width .12s linear}.activity button{background:none;color:var(--muted)}.journal{display:flex;flex-direction:column;gap:18px}.task-card{background:white;border:1px solid var(--line);border-radius:22px;padding:23px 20px 18px}.task-card .eyebrow{font-size:9px;letter-spacing:1.25px}.task-card h2{font-size:20px;margin:8px 0 6px}.task-card h2 span{color:#d9a84f}.task-card>p{color:#9c9190;font-size:12px;margin-bottom:20px}.quest{display:flex;gap:10px;align-items:center;padding:12px 0;border-bottom:1px dashed #ece5dd;font-size:13px;font-weight:800}.quest>span{background:#f7f4ed;width:32px;height:32px;border-radius:11px;display:grid;place-items:center;font-size:18px;flex-shrink:0}.quest small{display:block;font-size:11px;font-weight:600;color:#a09690;margin-top:3px}.quest.done{color:#569883}.quest.done>span{background:#e5f5ed;color:var(--teal)}.quest-reward{display:flex;align-items:center;gap:8px;background:#fff7e6;border-radius:13px;margin-top:17px;padding:12px 9px;flex-wrap:wrap}.quest-reward>span{font-size:24px}.quest-reward strong{font-size:11px;display:block}.quest-reward small{font-size:10px;color:#a1865a}.quest-reward button{font-size:11px;font-weight:900;background:#f4d785;padding:6px 9px;border-radius:8px;margin-left:auto}.growth-card{padding:22px 20px;background:#e7f0e9;border-radius:22px;border:1px solid #dbe7dd}.growth-card .eyebrow{font-size:10px;color:#759180}.growth-card h2{font-size:18px;line-height:1.35;margin:8px 0}.growth-card p{font-size:12px;color:#749081;line-height:1.65}.growth-stages{display:flex;align-items:center;margin-top:18px;justify-content:space-between}.growth-stages>span{text-align:center;filter:grayscale(.8);opacity:.55;font-size:24px}.growth-stages>span.active{filter:none;opacity:1}.growth-stages small{display:block;font-size:9px;font-weight:900;color:#789383;margin-top:3px}.growth-stages i{width:14px;height:1px;background:#bed1c3}.shop-teaser{display:flex;align-items:center;text-align:left;gap:10px;background:#f8e9e5;border-radius:18px;padding:17px 14px}.shop-teaser>span{font-size:35px}.shop-teaser strong{font-size:13px;display:block}.shop-teaser small{font-size:10px;color:#a2827d;display:block;margin-top:5px}.shop-teaser>b{margin-left:auto;color:#be8e85;font-size:23px}footer{display:flex;justify-content:space-between;align-items:center;margin:22px 0 26px;color:#a29993;font-size:11px;gap:15px}footer button{background:none;font-size:12px;color:#898079}footer button span{display:inline-grid;place-items:center;border:1px solid #c5bdb4;border-radius:50%;width:17px;height:17px;margin-left:5px}.scene-effect{position:absolute;inset:0;pointer-events:none;z-index:7;overflow:hidden}.particle{position:absolute;left:50%;top:45%;font-size:25px;animation:particle 1.8s ease-out forwards}.pause-overlay{position:absolute;inset:0;background:#334951dc;backdrop-filter:blur(6px);color:#fff;z-index:10;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px}.pause-overlay>span{font-size:58px;color:#ffe5a4}.pause-overlay strong{font-family:Comfortaa;font-size:27px}.pause-overlay p{opacity:.7;margin-bottom:10px}.decor{position:absolute;inset:0;pointer-events:none;z-index:2}.decor-item{position:absolute;font-size:38px;filter:drop-shadow(0 4px 3px #6a503428)}dialog{border:0;padding:28px;border-radius:28px;box-shadow:0 20px 100px #40364644;width:min(640px,calc(100% - 32px));max-height:90dvh;background:var(--paper);color:var(--ink)}dialog::backdrop{background:#2d3b4866;backdrop-filter:blur(5px)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.dialog-heading h2{font-family:Comfortaa;font-size:25px;line-height:1.4}.dialog-heading .eyebrow{display:block;margin-bottom:6px}.dialog-intro{font-size:14px;color:var(--muted)}.shop-balance{margin:17px 0;background:#fff0cb;border-radius:12px;padding:10px 14px;color:#a06e1f;font-size:14px}.shop-balance b{margin-left:5px}.shop-tabs{display:flex;gap:6px;margin:15px 0 20px;flex-wrap:wrap}.shop-tabs button{padding:8px 14px;border-radius:20px;background:white;font-size:13px;font-weight:800}.shop-tabs button.active{background:var(--teal);color:#fff}.shop-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:13px}.shop-item{border:1px solid var(--line);background:white;border-radius:19px;padding:17px;display:flex;flex-direction:column;align-items:flex-start}.shop-item-icon{font-size:43px;background:var(--item-color,#f3eee6);border-radius:17px;width:100%;height:82px;display:grid;place-items:center;margin-bottom:13px}.shop-item h3{font-size:16px;margin:0 0 5px}.shop-item p{font-size:12px;color:var(--muted);line-height:1.5;margin-bottom:13px;flex:1}.shop-item button{width:100%;border-radius:11px;padding:9px;background:#fff0c9;font-size:13px;font-weight:900}.shop-item button.equipped{background:#e5f3eb;color:var(--teal)}.dialog-footnote{font-size:12px;line-height:1.7;color:var(--muted);margin-top:20px}.primary-button{background:var(--teal);color:#fff;border-radius:14px;padding:13px 19px;font-weight:900;font-size:14px}.secondary-button{background:white;border:1px solid #dfd9d0;border-radius:13px;padding:11px 15px;font-size:13px;font-weight:800}.wide{width:100%;margin-top:16px}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:16px;border-top:1px solid var(--line);margin-top:20px;padding-top:20px}.setting-row p{font-size:12px;color:var(--muted);margin-top:5px}.setting-row strong{font-size:15px}.input-row{display:flex;gap:9px;margin-top:9px}input{width:100%;min-width:0;background:#fff;border:1px solid #ddd6cb;border-radius:12px;padding:11px 12px}label{font-size:14px;font-weight:800}.backup-buttons{display:flex;gap:9px;margin-top:13px;flex-wrap:wrap}.danger{font-size:13px;color:#ba6773;margin-top:20px;text-decoration:underline}.dialog-buttons{display:flex;gap:12px;justify-content:flex-end;margin-top:22px}#reset-dialog p{font-size:15px;line-height:1.7}.help-list p{font-size:15px;line-height:1.8;margin:15px 0}.help-list b{color:var(--teal)}#level-dialog{text-align:center;width:min(400px,calc(100% - 32px));padding:34px}.level-close{position:absolute;top:12px;right:12px}.level-celebration{width:95px;height:95px;margin:7px auto 24px;background:#ffefb7;color:#dc9c1f;display:grid;place-items:center;font-size:68px;border-radius:50%;animation:wiggle 2s infinite}#level-dialog h2{font-family:Comfortaa;font-size:26px;margin:12px 0}#level-message{font-size:15px;line-height:1.6;color:var(--muted)}.level-gift{display:inline-block;border-radius:20px;background:#fff0c9;color:#ad7d24;font-weight:900;padding:10px 20px;margin:20px 0 4px}.toast-stack{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);z-index:200;width:max-content;max-width:calc(100% - 32px);display:flex;flex-direction:column;gap:8px;pointer-events:none}.toast{padding:13px 22px;background:#254b45;color:white;border:1px solid #ffffff33;border-radius:17px;box-shadow:0 5px 25px #173b3b26;text-align:center;font-size:14px;animation:toastIn .25s ease-out}.toast.error{background:#a6495e}@keyframes breathe{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-3px) scale(1.014)}}@keyframes hop{0%,100%{transform:translateY(0)}50%{transform:translateY(-17px)}}@keyframes wiggle{0%,100%{transform:rotate(-4deg)}50%{transform:rotate(4deg)}}@keyframes floatUp{0%{opacity:0;transform:translateY(10px)}50%{opacity:1}100%{opacity:0;transform:translateY(-25px)}}@keyframes particle{0%{transform:translate(0,0) scale(.5);opacity:1}100%{transform:translate(var(--dx),-150px) rotate(var(--turn));opacity:0}}@keyframes toastIn{from{transform:translateY(10px);opacity:0}to{transform:translateY(0);opacity:1}}
@media(min-width:1450px){.scene{height:500px}.child{width:170px;height:225px}.game-layout{grid-template-columns:174px minmax(0,1fr) 278px;gap:27px}.action-button{min-height:88px}.room-button{padding:14px 12px}.need{padding:16px 19px}}
@media(max-width:1190px){.app{padding:0 25px}.game-layout{grid-template-columns:135px minmax(0,1fr) 220px;gap:17px}.task-card,.growth-card{padding:19px 15px}.scene{height:410px}.room-button{font-size:12px;gap:6px;padding:10px 7px}.needs{gap:8px}.need{padding:11px 10px;gap:8px}.need-name{font-size:12px}.need-icon{width:32px;height:35px;font-size:18px}.action-heading>span{display:none}.brand{font-size:23px}.journal .eyebrow{font-size:9px}.shop-teaser{padding:14px 10px}.shop-teaser>span{font-size:28px}}
@media(max-width:980px){.game-layout{grid-template-columns:132px minmax(0,1fr)}.journal{grid-column:1/-1;display:grid;grid-template-columns:1.2fr 1fr;align-items:start}.shop-teaser{display:none}.task-card{padding:20px}#quests{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.quest-reward{margin-top:12px}.scene{height:450px}.topbar{height:91px}.welcome{padding-top:22px}h1{font-size:22px}.action-heading>span{display:block}.growth-card{min-height:242px}}
@media(max-width:680px){.app{padding:0 14px}.topbar{height:80px;gap:7px}.brand{font-size:18px;gap:7px;letter-spacing:-.8px}.brand-icon{width:35px;height:40px;font-size:38px;border-radius:12px}.brand small{font-size:7px;letter-spacing:1px;margin-top:5px}.header-actions{gap:6px}.coins{gap:3px;padding:7px 10px}.coins b{font-size:17px}.coins>span:last-child{display:none}.coins>span:first-child{font-size:18px}.shop-button{padding:10px 12px;font-size:12px}.shop-button span{display:none}.icon-button{width:33px;height:33px;font-size:18px}#sound-toggle{display:none}.welcome{padding:20px 0 15px;align-items:flex-start;gap:5px}.welcome .eyebrow{font-size:9px;letter-spacing:1.3px}h1{font-size:18px;line-height:1.55;letter-spacing:-.6px;max-width:290px}.pause-button{font-size:13px;padding:5px 0;white-space:nowrap}.pause-button span{display:none}.needs{gap:6px;margin-bottom:14px}.need{display:block;padding:9px 7px;border-radius:13px}.need-icon{margin:0 auto 7px;width:28px;height:28px;font-size:17px;border-radius:10px}.need-name{font-size:10px;justify-content:center;margin-bottom:6px}.need-name>span:last-child{display:none}.need-track{height:5px}.game-layout{display:flex;flex-direction:column;gap:13px}.rooms{width:100%;padding:0}.nav-heading,.nav-foot,.floor-label{display:none}#room-list{display:flex;gap:5px;overflow-x:auto;padding:0 1px 7px;scrollbar-width:thin;scrollbar-color:#b7cec1 transparent}.room-button{min-width:max-content;width:auto;font-size:12px;padding:9px 12px;border:1px solid var(--line);background:white;margin:0;min-height:42px;gap:6px;border-radius:13px}.room-button .room-icon{font-size:19px;width:22px}.room-button.active{background:#dbefe7;box-shadow:none;border-color:#a6cdbb}.room-button.active::after{display:none}.play-column{width:100%}.scene-shell{border-width:4px;border-radius:21px}.scene{height:390px;border-radius:17px}.scene-top{inset:12px 11px auto}.room-label{font-size:12px;padding:7px 12px}.scene-day{font-size:9px;padding:6px 8px}.child{width:137px;height:182px}.speech{font-size:13px;max-width:80%;padding:10px 13px;top:24%}.hotspot{left:6%;font-size:10px;padding:7px 9px;top:57%}.hotspot>span:first-child{font-size:21px}.scene-caption{font-size:10px;bottom:12px;max-width:93%;white-space:normal;text-align:center}.puppy{width:96px;height:107px;right:6%}.child-card{padding:12px 9px 9px;gap:9px}.child-avatar{width:37px;height:37px;font-size:25px}.child-info strong{font-size:15px}.child-info>div:first-child>span{font-size:10px}.level-line{font-size:10px;gap:6px}.action-panel{margin-top:13px;padding:14px 11px;border-radius:18px}.action-heading{margin-bottom:10px}.action-heading h2{font-size:15px}.action-heading>span{font-size:9px;max-width:125px;text-align:right}.actions{gap:6px}.action-button{font-size:11px;min-height:80px;border-radius:12px;padding:9px 3px}.action-button>span:first-child{font-size:24px}.action-button small{font-size:9px}.journal{display:grid;width:100%;gap:12px;grid-template-columns:1fr}.growth-card{min-height:0;padding:19px 20px}.growth-stages{max-width:260px;margin:15px auto 0}.growth-stages small{font-size:11px}.growth-card .eyebrow{font-size:10px}.growth-card p{font-size:13px}.task-card{padding:21px 18px}.task-card>p{margin-bottom:8px}.task-card .eyebrow{font-size:10px}.quest{font-size:12px}.quest-reward{flex-wrap:nowrap}.quest-reward strong{font-size:12px}.quest-reward small{font-size:11px}.quest-reward button{font-size:12px;padding:8px 12px}footer{font-size:10px;align-items:flex-start;margin:19px 0 24px}footer>span{max-width:220px}footer button{white-space:nowrap;font-size:11px}dialog{padding:22px 18px;border-radius:23px}.dialog-heading h2{font-size:21px}.shop-grid{gap:9px}.shop-item{padding:12px}.shop-item h3{font-size:14px}.shop-item p{font-size:11px}.shop-item-icon{height:70px;font-size:37px}.input-row{flex-wrap:wrap}.input-row input{flex:1;min-width:140px}.dialog-buttons{flex-direction:column}.decor-item{font-size:30px}}
@media(max-width:370px){.brand{font-size:16px}.brand-icon{display:none}.scene{height:350px}.header-actions{gap:4px}.app{padding:0 10px}.shop-button{padding:10px}.speech{font-size:12px}.needs{gap:4px}.need{padding:8px 4px}.need-name{font-size:9px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Keep original sprite proportions and primary touch controls readable. */
.child{width:205px;height:205px}.scene-art{background-color:#d9bba0}.need-name{font-size:14px}.room-button,.action-button{font-size:14px}.task-card>p,.quest small,.growth-card p,.shop-item p,.shop-item button{font-size:13px}.quest{font-size:14px}.toast-stack .toast:nth-last-child(n+3){display:none}
@media(min-width:1450px){.child{width:225px;height:225px}}
@media(max-width:1190px){.room-button{font-size:13px}.need-name{font-size:12px}}
@media(max-width:680px){.scene{height:300px}.child{width:170px;height:170px}.speech{top:20%;font-size:12px;padding:8px 12px}.scene-caption{font-size:10px;bottom:8px}.hotspot{top:54%}.need-name{font-size:10px}.room-button{font-size:13px}.action-button{font-size:13px;min-height:85px}.action-button small{font-size:10px}.welcome{padding:15px 0 12px}.journal .quest{font-size:13px}.quest small{font-size:12px}.shop-item p{font-size:12px}.shop-item button{font-size:13px}.activity{flex-wrap:wrap}.activity>span{flex-basis:85%}.activity>div{min-width:75%}.puppy{width:95px;height:105px}.toast-stack{bottom:10px}.toast{font-size:12px;padding:10px 15px}}
@media(max-width:370px){.scene{height:290px}}
