:root{font-family:'Trebuchet MS',system-ui,sans-serif;color:#61724e;background:#b8cfae;--cream:#fff9e8}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{position:fixed;inset:0}button,input{font:inherit}button{border:0;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:focus-visible,input:focus-visible{outline:3px solid #f4b64f;outline-offset:4px}button:disabled{opacity:.5;cursor:default}svg{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}button svg{pointer-events:none}[hidden]{display:none!important}
.world{position:absolute;inset:0;width:100%;height:100%;height:100dvh;isolation:isolate;overflow:hidden;touch-action:none;background:linear-gradient(#c4d8bd 0 48%,#e6c49c 49%)}.room-art{position:absolute;inset:0;background:url('../assets/world/room-day.png') center center/cover no-repeat;pointer-events:none;z-index:-3}.light-layer{position:absolute;inset:0;pointer-events:none;background:radial-gradient(ellipse at 50% 30%,#fff4bc26,transparent 70%);z-index:-2}.night-layer{position:absolute;inset:0;background:linear-gradient(#122b5d6e,#2e274d6b);opacity:0;transition:opacity 1.8s;pointer-events:none;z-index:2}.world.sleeping .night-layer{opacity:1}.world.rose .room-art{filter:hue-rotate(325deg) saturate(.88)}.world.ocean .room-art{filter:hue-rotate(45deg) saturate(.8)}
.hud-top{position:absolute;left:max(18px,env(safe-area-inset-left));right:max(18px,env(safe-area-inset-right));top:max(18px,env(safe-area-inset-top));display:flex;align-items:center;gap:10px;z-index:20;pointer-events:none}.hud-top button{pointer-events:auto}.hud-circle,.profile-button{height:48px;min-width:48px;background:#fffcf0e8;border:2px solid #fffaf0;box-shadow:0 4px 0 #a58b6059,0 7px 15px #5e6b3c16;border-radius:17px;display:flex;align-items:center;justify-content:center;backdrop-filter:blur(8px)}.profile-button{gap:7px;padding:0 12px;background:#fff5ddf2;color:#85724b;font-size:12px;font-weight:bold}.profile-paw{color:#a69871;display:flex}.profile-paw svg{width:24px;height:24px;fill:#e4d8b3}.hud-circle svg{width:22px;height:22px}.wallet{height:43px;display:flex;gap:7px;align-items:center;background:#fff8e5e8;border:2px solid #fffaf0;border-radius:22px;padding:4px 12px 4px 5px;box-shadow:0 3px 0 #aa8f6559;font-size:14px;margin-left:auto}.coin{width:27px;height:27px;border-radius:50%;background:#f3c35e;box-shadow:0 0 0 2px #d9a74c inset;color:#fff5bf;display:inline-grid;place-items:center;font-size:20px}
.pet-actor{position:absolute;left:50%;top:62%;width:calc(clamp(230px,62vw,350px)*var(--life-size,.76));aspect-ratio:1;background:transparent;transform:translate(-50%,-87.5%);padding:0;z-index:5;outline-offset:-20px!important;touch-action:none}.pet-actor canvas{width:100%;height:100%;display:block;position:relative;pointer-events:none;filter:drop-shadow(0 4px 2px #72522e1c)}.pet-shadow{position:absolute;width:66%;height:6%;bottom:10.5%;left:17%;background:#60442c42;border-radius:50%;filter:blur(5px);transform:scaleY(.65);pointer-events:none}.sleep-symbols{display:none;position:absolute;inset:0;pointer-events:none}.is-sleeping .sleep-symbols{display:block}.sleep-symbols i{position:absolute;right:25%;top:30%;font-style:normal;font-weight:bold;color:#dfebff;font-size:20px;opacity:0;animation:dream 3s infinite linear}.sleep-symbols i:nth-child(2){animation-delay:1s}.sleep-symbols i:nth-child(3){animation-delay:2s}
.care-dock{position:absolute;bottom:max(22px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);display:flex;gap:clamp(7px,2.4vw,15px);padding:8px 10px;z-index:20;max-width:100%;align-items:center;justify-content:center}.care-button{position:relative;flex-shrink:0;width:clamp(44px,12.1vw,65px);height:clamp(48px,13vw,69px);border-radius:37%;background:var(--button-color);border:3px solid #fff9e8;box-shadow:0 5px 0 var(--button-shadow),0 9px 20px #73542e30;display:grid;place-items:center;transition:transform .12s;overflow:visible}.care-button>span{position:relative;z-index:2;display:flex}.care-button svg{width:clamp(23px,6.5vw,32px);height:clamp(23px,6.5vw,32px);stroke-width:2}.care-button:active{transform:translateY(4px);box-shadow:0 1px 0 var(--button-shadow)}.care-button i{position:absolute;left:8px;right:8px;bottom:3px;height:3px;background:#fff8;overflow:hidden;border-radius:5px}.care-button i:after{content:'';position:absolute;inset:0 auto 0 0;width:var(--stat,80%);background:currentColor;opacity:.6;border-radius:5px}.food{--button-color:#ffe2a1;--button-shadow:#d3a556;color:#a77831}.water{--button-color:#bee7f1;--button-shadow:#76adba;color:#4b8d9e}.bath{--button-color:#dfd3f5;--button-shadow:#b39dcc;color:#9271b6}.play{--button-color:#ffc9a6;--button-shadow:#d29671;color:#b97848}.love{--button-color:#f8c7d9;--button-shadow:#ca95aa;color:#c27794}.sleep{--button-color:#d8e7a9;--button-shadow:#9cb36e;color:#839451}.care-button.low{animation:need-pulse 1.7s infinite}.care-button.selected{transform:translateY(-6px);box-shadow:0 8px 0 var(--button-shadow),0 0 0 5px #fff4}
.need-indicator{position:absolute;left:50%;top:38%;transform:translateX(-50%);width:46px;height:46px;border-radius:50%;background:#fffaf0f2;box-shadow:0 3px 0 #beab8454;z-index:8;display:grid;place-items:center;color:#ac8c56;animation:bob 2s infinite}.need-indicator:after{content:'';position:absolute;bottom:-5px;width:10px;height:10px;background:#fffaf0;transform:rotate(45deg)}.care-feedback{position:absolute;left:50%;top:48%;z-index:9;pointer-events:none}.reward-float{position:absolute;white-space:nowrap;color:#fff9c7;text-shadow:0 2px 0 #c99c49;font-size:26px;font-weight:bold;animation:reward 1.4s ease-out forwards}.reward-float.heart{font-size:40px;color:#f8a5c4;text-shadow:0 2px 0 #cb7b9b}.daily-gift{position:absolute;right:20px;bottom:120px;background:#fff2bc;border:3px solid #fff9e4;border-radius:19px;width:49px;height:49px;box-shadow:0 4px 0 #c9a463;color:#bf9253;z-index:12;animation:bob 3s infinite}.daily-gift svg{width:27px;height:27px}.sparkles{position:absolute;inset:0;pointer-events:none;z-index:3}.sparkles span{position:absolute;width:5px;height:5px;border-radius:50%;background:#fff6cf;box-shadow:0 0 8px #fff8ce;animation:dust 9s infinite ease-in-out;opacity:0}.loading-paw{position:absolute;left:50%;top:58%;transform:translate(-50%,-50%);color:#e8b6ba;z-index:7;animation:bob 1s infinite}.loading-paw svg{width:45px;height:45px;fill:#f6d9dd}
.toast{position:fixed;left:50%;bottom:115px;transform:translate(-50%,12px);background:#fff9e9f5;color:#7c7152;border:2px solid #fffdf1;border-radius:17px;padding:10px 16px;max-width:calc(100vw - 40px);font-size:12px;line-height:1.5;text-align:center;z-index:100;opacity:0;pointer-events:none;transition:.2s;box-shadow:0 6px 30px #64533525}.toast.show{opacity:1;transform:translate(-50%,0)}dialog{border:3px solid #fffdf3;background:#fff9e9;color:#6f765b;border-radius:29px;box-shadow:0 20px 80px #263c324d;padding:22px;width:calc(100% - 30px);max-width:420px;max-height:84dvh;overflow:auto}dialog::backdrop{background:#24372e65;backdrop-filter:blur(7px)}.modal-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:20px}.modal-heading h2{font-size:22px;margin:0;color:#637451}.modal-heading .hud-circle{height:36px;min-width:36px;border-radius:13px;box-shadow:0 3px 0 #b8ad8a4d}.modal-heading svg{width:16px;height:16px}.menu-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 18px}.menu-tile{background:#edf0db;border:2px solid #fffdf1;border-radius:19px;display:flex;align-items:center;flex-direction:column;padding:14px 4px;gap:8px;font-size:11px;min-height:85px;box-shadow:0 3px 0 #d0d7b6}.menu-tile svg{width:28px;height:28px;color:#93a277}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:13px 0;border-top:1px solid #e6e4ce;font-size:12px}.switch{width:42px;height:26px;border-radius:20px;background:#d9dcc7;padding:3px;flex-shrink:0}.switch:after{content:'';display:block;width:20px;height:20px;background:#fffef3;border-radius:50%;transition:.2s}.switch.on{background:#9bb579}.switch.on:after{transform:translateX(16px)}.help{font-size:11px;line-height:1.8;color:#92957d;margin:12px 0}.small-actions{display:flex;gap:8px;margin-top:16px}.secondary,.primary{padding:12px 15px;border-radius:13px;border:2px solid #fffdf4;font-size:12px;min-height:44px;background:#e8edcf;color:#73865b;box-shadow:0 3px 0 #c2cea4}.primary{background:#99b77b;color:#fffef2;box-shadow:0 3px 0 #758e5e}.small-actions button{flex:1;font-size:10px;padding:10px 6px}.wide{width:100%;margin-top:15px}
.life-stages{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin:18px 0}.life-stage{border-radius:16px;background:#eff0de;padding:8px 4px 13px;text-align:center;border:2px solid #e6e9d3;position:relative}.life-stage.current{border-color:#a5bd83;background:#e4edce}.life-stage img{width:100%;aspect-ratio:1;object-fit:contain;display:block}.life-stage strong{font-size:11px;display:block}.life-stage small{font-size:9px;color:#9b9e87;display:block;margin-top:5px}.age-name{display:flex;align-items:center;justify-content:space-between;gap:10px}.age-name strong{font-size:18px;color:#71815a}.age-name button{background:#e9edd5;border-radius:50%;width:35px;height:35px;display:grid;place-items:center}.age-name svg{width:15px;height:15px}.age-value{font-size:12px;margin:8px 0;color:#989c81}.progress-track{height:7px;background:#e5e8d2;border-radius:10px;overflow:hidden;margin:12px 0}.progress-track i{height:100%;display:block;background:#abc38c;border-radius:10px}.clip-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:6px}.clip-grid button{font-size:9px;border-radius:10px;padding:9px 3px;min-height:36px;background:#eaedd7}.clip-grid .selected{background:#bdd29b;color:#5e7648}.preview-area{position:relative;height:200px;background:radial-gradient(#fff8df,#e9edcf);border-radius:20px;margin:14px 0}.preview-area .pet-actor{width:180px;pointer-events:none}.stats-grid{display:grid;gap:13px;margin:18px 0}.stat-row{display:flex;align-items:center;gap:10px;font-size:11px}.stat-row svg{width:20px;height:20px;color:#9aab7b}.stat-row strong{min-width:56px;font-size:11px}.stat-row .progress-track{flex:1}.stat-row small{min-width:30px;color:#92997b}
.shop-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.shop-item{padding:12px;background:#eff0df;border-radius:20px;text-align:center;border:2px solid #fffdf0;display:flex;flex-direction:column}.shop-illustration{height:80px;background:#e4e9ca;border-radius:13px;display:grid;place-items:center;color:#9cae76}.shop-illustration.rose{background:#f2dbdc;color:#c294a0}.shop-illustration.ocean{background:#d5e8e7;color:#7ca7a9}.shop-illustration.treat{background:#f0e3be;color:#bba46b}.shop-illustration svg{width:40px;height:40px}.shop-item h3{font-size:12px;margin:13px 0 7px}.shop-item p{font-size:10px;line-height:1.5;color:#92987d;margin:0 0 12px;flex:1}.shop-item button{background:#dce7bd;border-radius:10px;padding:10px 3px;min-height:37px;font-size:10px;color:#7c8c5c}.inventory-row{display:flex;justify-content:space-between;align-items:center;font-size:12px;margin:20px 0}.history-entry{display:flex;align-items:start;gap:10px;border-bottom:1px solid #e8e7d5;padding:12px 0}.history-entry svg{width:17px;height:17px;color:#b3bd94;flex-shrink:0}.history-entry p{font-size:11px;line-height:1.6;margin:0}.history-entry small{font-size:9px;color:#a1a48d}.profile-form label{font-size:12px;display:block;margin-bottom:9px}.profile-form input{width:100%;border:2px solid #e3e8cf;background:#fffdf1;padding:13px;border-radius:13px;font-size:16px;color:#71815d}
.ball-game{position:absolute;inset:0;z-index:30;background:#b7d7ad18;backdrop-filter:blur(2px)}.ball-game>#end-game{position:absolute;left:18px;top:max(20px,env(safe-area-inset-top));background:#fff7e4}.game-clock,.game-score{position:absolute;top:max(20px,env(safe-area-inset-top));height:47px;min-width:55px;padding:11px;text-align:center;background:#fff4d6;border:3px solid #fff9e7;border-radius:19px;color:#ab8846;font-size:20px;font-weight:bold;box-shadow:0 4px 0 #c8ac72}.game-clock{left:50%;transform:translateX(-50%)}.game-score{right:20px}.ball-target{position:absolute;width:66px;height:66px;background:radial-gradient(circle at 30% 25%,#ffa48d,#e56d58 60%,#b64137);border:3px solid #ffcfad;border-radius:50%;box-shadow:0 7px 0 #9a6b4940;left:50%;top:55%;transition:left .13s,top .13s}.ball-target:after{content:'';position:absolute;inset:10px;border-radius:50%;border-left:3px solid #ffd1aa;transform:rotate(-35deg)}.game-result{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);width:260px;border-radius:30px;border:4px solid #fff8dc;background:#fff1c9;padding:25px;text-align:center;box-shadow:0 10px 0 #ae925a4d}.game-result .stars{font-size:38px;color:#edbc59;letter-spacing:6px}.game-result p{font-size:23px;font-weight:bold;color:#b28e48;margin:15px 0}.game-result .small-actions button{font-size:12px}.no-motion *{animation:none!important;transition:none!important}
@keyframes dream{0%{transform:translate(0,0) scale(.65);opacity:0}20%{opacity:.8}100%{transform:translate(20px,-65px) scale(1.3);opacity:0}}@keyframes bob{0%,100%{translate:0 0}50%{translate:0 -5px}}@keyframes reward{to{transform:translate(-50%,-95px) scale(1.2);opacity:0}}@keyframes dust{0%,100%{opacity:0;transform:translate(0,0)}40%{opacity:.8}80%{transform:translate(22px,-35px);opacity:0}}@keyframes need-pulse{50%{filter:brightness(1.08);box-shadow:0 5px 0 var(--button-shadow),0 0 0 5px #fff5}}
@media(min-width:700px){.care-dock{bottom:30px;gap:18px}.care-button{width:66px;height:70px}.care-button svg{width:31px;height:31px}.pet-actor{width:calc(clamp(250px,26vw,380px)*var(--life-size,.76))}.hud-top{left:28px;right:28px;top:24px}.daily-gift{right:30px;bottom:34px}}@media(max-width:350px){.care-dock{gap:6px;padding:5px}.care-button{width:43px;height:47px;border-width:2px}.hud-top{left:13px;right:13px;gap:7px}.hud-circle,.profile-button{height:43px;min-width:43px}.wallet{height:40px}.profile-button{padding:0 9px;font-size:10px}}@media(max-height:540px) and (min-width:600px){.care-dock{bottom:14px}.care-button{width:49px;height:53px}.pet-actor{width:calc(210px*var(--life-size,.76))}.hud-top{top:12px}.hud-circle,.profile-button{height:40px;min-width:40px}.daily-gift{bottom:18px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

.world.playing .care-dock,.world.playing .hud-top,.world.playing .daily-gift{opacity:0;pointer-events:none}
/* Controles de cuidado: barras legíveis sobre o cenário. */
.care-dock{width:min(calc(100% - 24px),480px);max-width:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;padding:10px;bottom:max(15px,env(safe-area-inset-bottom));border:1px solid #ffffff87;border-radius:25px;background:#fff9e66b;box-shadow:0 10px 30px #66502e20;backdrop-filter:blur(12px)}
.care-button{width:100%;height:78px;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border-radius:17px;border:1px solid #fffdf7;background:#fffdf2ef;box-shadow:0 3px 10px #7a66451c,inset 0 1px 0 #fff;transition:transform .18s,box-shadow .18s;color:var(--care-ink,currentColor)}
.care-button>.care-icon{display:grid;place-items:center;width:32px;height:32px;border-radius:12px;background:var(--button-color);box-shadow:inset 0 1px 0 #ffffff7a;flex-shrink:0}
.care-button .care-icon svg{width:23px;height:23px;stroke-width:1.8}
.care-button>.care-meter{position:relative;display:block;width:calc(100% - 14px);height:7px;min-height:7px;border-radius:8px;background:#e5e2d7;box-shadow:inset 0 1px 2px #70695412;overflow:hidden;flex-shrink:0}
.care-fill{display:block;height:100%;width:var(--stat,0%);border-radius:8px;background:currentColor;opacity:.82;transition:width .2s linear}
.care-button>.care-value{display:block;font-size:9px;font-weight:600;line-height:10px;letter-spacing:.15px;color:#8a8676}
.care-button:active{transform:translateY(2px);box-shadow:0 1px 4px #7a66451c}.care-button.selected{transform:none;box-shadow:0 0 0 2px #a0b781,0 3px 10px #7a66451c;background:#f8fcefeb}.care-button.low{animation:none}.care-button.low .care-meter{background:#f0d7ca}.care-button.low .care-fill{background:#cf9478;opacity:1}.care-button.low .care-value{color:#bc896d}.care-button.low>.care-icon{box-shadow:0 0 0 2px #e7bda344}
/* Sinais visuais do bichinho. */
.pet-stink{display:none;position:absolute;left:-12%;top:-9%;width:124%;height:92%;pointer-events:none;z-index:3}.is-stinky .pet-stink{display:block}.pet-stink>svg{width:100%;height:100%;overflow:visible;opacity:.56}.odor-wave{animation:odor-rise 4.8s ease-in-out infinite;transform-origin:center;stroke-width:2.2}.odor-two{animation-delay:-1.5s}.odor-three{animation-delay:-3s}.odor-fly{position:absolute;width:5px;height:4px;background:#6f7051;border-radius:50%;box-shadow:0 1px 2px #4a4b3730;animation:fly-orbit 7s ease-in-out infinite}.odor-fly:before,.odor-fly:after{content:'';position:absolute;width:5px;height:3px;top:-2px;left:-2px;border-radius:50%;background:#f2f2d7ba;transform:rotate(-27deg)}.odor-fly:after{left:2px;transform:rotate(27deg)}.fly-one{left:17%;top:45%}.fly-two{right:13%;top:24%;animation-delay:-3s;animation-direction:reverse}
/* Cocô e xixi são objetos de toque no chão. */
.toilet-corner{position:absolute;width:clamp(130px,38vw,170px);height:86px;transform:translate(-50%,-40%);z-index:4;pointer-events:none}.toilet-corner svg{width:100%;height:100%;stroke:none}.pet-actor:disabled{opacity:1}.care-button:disabled{opacity:.72;cursor:default}.world.playing .toilet-corner{visibility:hidden}
.waste-layer,.cleanup-layer{position:absolute;inset:0;pointer-events:none}.waste-layer{z-index:6}.cleanup-layer{z-index:12}.floor-waste{position:absolute;width:62px;height:62px;padding:0;background:none;transform:translate(-50%,-72%);pointer-events:auto;touch-action:manipulation;border-radius:50%;-webkit-tap-highlight-color:transparent}.floor-waste.pee{width:78px;height:55px;transform:translate(-50%,-60%)}.waste-art{position:absolute;inset:0;display:grid;place-items:center;transform-origin:70% 90%}.waste-art svg{display:block;width:100%;height:100%;stroke:none;filter:drop-shadow(0 2px 1px #76533616)}.floor-waste:active:not(:disabled) .waste-art{scale:.94}.floor-waste:disabled{opacity:1;cursor:default}.waste-odor{position:absolute;width:8px;height:20px;left:46%;top:-3px;border-left:2px solid #a8ab7866;border-radius:50%;animation:odor-rise 4s ease-in-out infinite;pointer-events:none}.pee .waste-odor{display:none}.being-cleaned .waste-art{animation:waste-collect 1.9s ease-in forwards}.being-cleaned .waste-odor{display:none}
.cleanup-effect{position:absolute;width:130px;height:136px;transform:translate(-50%,-76%);pointer-events:none}.sweeper-broom{position:absolute;width:58px;height:116px;left:0;top:0;transform-origin:50% 76%;animation:broom-sweep 1.9s ease-in-out forwards}.sweeper-pan{position:absolute;width:69px;height:80px;right:1px;bottom:0;transform:rotate(-7deg);animation:pan-collect 1.9s ease-in-out forwards}.cleanup-effect svg{width:100%;height:100%;stroke:none;filter:drop-shadow(0 3px 2px #5e684b28)}.clean-spark{position:absolute;right:18px;top:45px;color:#fff7be;font-size:27px;text-shadow:0 1px 2px #b5b278;opacity:0;animation:clean-twinkle 1.9s ease-out forwards}.spark-two{left:26px;top:64px;font-size:19px;animation-delay:.12s}.clean-bubble{position:absolute;width:16px;height:16px;border:2px solid #fcffedcc;border-radius:50%;background:#e5f3d75e;left:53px;bottom:22px;opacity:0;animation:clean-twinkle 1.9s ease-out forwards}.bubble-two{left:78px;bottom:12px;width:10px;height:10px;animation-delay:.1s}
@keyframes odor-rise{0%,100%{opacity:.2;transform:translateY(5px) scaleX(.8)}50%{opacity:.8;transform:translateY(-8px) scaleX(1.15)}}
@keyframes fly-orbit{0%,100%{translate:0 0}25%{translate:11px -8px}50%{translate:18px 4px}75%{translate:-4px 7px}}
@keyframes broom-sweep{0%{opacity:0;transform:translate(-12px,-9px) rotate(-26deg)}12%{opacity:1}25%{transform:translate(11px,8px) rotate(16deg)}39%{transform:translate(-6px,-2px) rotate(-23deg)}55%{transform:translate(15px,9px) rotate(17deg)}69%{transform:translate(-3px,0) rotate(-20deg)}82%{opacity:1;transform:translate(21px,8px) rotate(19deg)}100%{opacity:0;transform:translate(25px,-8px) rotate(24deg)}}
@keyframes pan-collect{0%{opacity:0;translate:18px 8px}15%,70%{opacity:1;translate:0 0}85%{opacity:1;translate:8px -3px;rotate:-8deg}100%{opacity:0;translate:20px -16px;rotate:-15deg}}
@keyframes waste-collect{0%,24%{opacity:1;transform:translate(0,0) scale(1)}50%{opacity:.85;transform:translate(7px,2px) scale(.85)}75%{opacity:.4;transform:translate(17px,3px) scale(.4)}100%{opacity:0;transform:translate(24px,0) scale(.05)}}
@keyframes clean-twinkle{0%,45%{opacity:0;transform:translateY(5px) scale(.5)}70%{opacity:1;transform:translateY(-5px) scale(1)}100%{opacity:0;transform:translateY(-19px) scale(.8)}}
@media(max-width:350px){.care-dock{width:calc(100% - 16px);padding:8px;gap:4px;border-radius:22px}.care-button{height:74px;border-width:1px;border-radius:15px}.care-button>.care-icon{width:29px;height:29px;border-radius:10px}.care-button .care-icon svg{width:21px;height:21px}.care-button>.care-meter{width:calc(100% - 12px);height:6px;min-height:6px}.care-button>.care-value{font-size:8px}}
@media(max-height:540px) and (min-width:600px){.care-dock{width:380px;padding:7px;gap:7px}.care-button{height:68px}.care-button>.care-icon{width:27px;height:27px}.care-button .care-icon svg{width:21px;height:21px}}
.world.playing .waste-layer,.world.playing .cleanup-layer{visibility:hidden}
.room-art{background-image:var(--room-image,url('../assets/world/room-day.png'))}
.world.rose .room-art,.world.ocean .room-art{filter:none}
.shop-wallet{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:-8px 0 15px;font-size:11px;color:#8f9276}
.shop-wallet strong{font-size:16px;color:#aa8140;background:#f9eac3;padding:8px 13px;border-radius:16px;white-space:nowrap}
.dressing-room{background:#f5edda;border:2px solid #fffdf1;border-radius:22px;overflow:hidden;margin-bottom:12px}
.dressing-scene{height:210px;position:relative;background-size:cover;background-position:center 41%;isolation:isolate;overflow:hidden}
.dressing-scene:after{content:'';position:absolute;inset:0;box-shadow:inset 0 -14px 22px #e8dcc660;pointer-events:none}
.dressing-scene .preview-actor{width:190px;z-index:1}
.fitting-label{position:absolute;left:10px;top:10px;padding:5px 9px;background:#fff8e7e8;color:#927958;font-size:10px;border-radius:10px}
.fitting-stages{display:flex;justify-content:center;gap:5px;padding:9px 9px 0}
.fitting-stages button{font-size:10px;border-radius:10px;padding:8px 12px;min-height:32px;background:#ede5ce}
.fitting-stages button[aria-pressed=true]{background:#a7bd8c;color:#fffdf0}
.fitting-caption{padding:10px 13px;display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:49px}
.fitting-caption strong{font-size:12px;color:#71825a}.fitting-caption span{font-size:10px;max-width:185px;line-height:1.5;color:#929078}
.fitting-caption .secondary{font-size:9px;padding:6px 8px;min-height:32px;box-shadow:none}.fitting-buy{width:calc(100% - 24px);margin:0 12px 14px}
.wardrobe-slots{display:flex;gap:5px;margin:10px 0 15px}.wardrobe-slots button{flex:1;font-size:10px;padding:9px 3px;min-height:36px;background:#e9e5d3;border-radius:11px}
.shop-tabs{position:sticky;top:-22px;z-index:4;display:grid;grid-template-columns:repeat(3,1fr);gap:5px;background:#fff9e9;padding:12px 0 10px;box-shadow:0 8px 9px #fff9e9}
.shop-tabs button{min-height:36px;font-size:11px;padding:8px 4px;border-radius:12px;background:#e9edda}.shop-tabs button[aria-pressed=true]{background:#93ad76;color:#fffcee;box-shadow:0 3px 0 #728c59}
.shop-filter{display:flex;align-items:center;justify-content:space-between;margin:13px 0}.shop-filter h3{font-size:14px;margin:0}.shop-filter small{font-size:10px;font-weight:normal;background:#e7ead6;padding:3px 7px;border-radius:9px}
.shop-filter button{font-size:10px;min-height:34px;padding:8px 10px;border-radius:10px;background:#eee9d7}.shop-filter button[aria-pressed=true]{background:#d5e1bd;color:#637d4f}
.shop-grid{gap:10px}.shop-item{padding:9px;border:2px solid transparent;border-radius:18px}.shop-item.equipped{border-color:#a5bc84}.shop-item.trying{border-color:#dfb97e;background:#f2ead7}
.shop-item .shop-illustration{width:100%;height:105px;padding:0;position:relative;overflow:hidden;border-radius:12px;background:radial-gradient(ellipse at 35% 25%,#fff9e5,#e3d9c3)}
.shop-illustration img{width:100%;height:100%;object-fit:contain;display:block}.shop-illustration.room img{object-fit:cover;object-position:center 40%}
.shop-item h3{font-size:12px;line-height:1.4;margin:10px 0 6px}.shop-item p{font-size:10px;line-height:1.6;margin-bottom:9px}
.shop-item .try-item{background:transparent;min-height:31px;font-size:10px;padding:7px 0;color:#9e8057;text-decoration:underline;text-underline-offset:3px}
.shop-item .buy-item{min-height:40px;background:#dce6c5;font-size:10px;font-weight:bold;padding:9px 3px;border-radius:11px;margin-top:3px}
.shop-item .buy-item:disabled{opacity:.65}.owned-badge{position:absolute;top:5px;right:5px;background:#fff9e9ed;color:#7c8c63;font-size:8px;padding:4px 6px;border-radius:8px}
.shop-empty{grid-column:1/-1;padding:20px;background:#eff0df;border-radius:16px}.inventory-row span{display:flex;align-items:center;gap:6px;font-size:11px}.inventory-row svg{width:20px;height:20px}
.shop-item .shop-illustration.full-outfit{height:150px;background:radial-gradient(ellipse at 50% 35%,#fff9ef,#e6dec8)}
.full-outfit img{padding:4px;object-fit:contain}.outfit-includes{font-size:11px;line-height:1.7;padding:0 13px;margin:0 0 12px;color:#93846c}
.remove-outfit{margin:0 0 12px;font-size:11px}.dressing-scene .preview-actor{width:210px}
@media(max-width:350px){dialog{padding:16px;width:calc(100% - 18px)}.shop-tabs{top:-16px}.shop-item h3{font-size:11px}.shop-item .buy-item{font-size:9px}.shop-grid{gap:7px}.dressing-scene{height:180px}}
@media(prefers-reduced-motion:reduce){.odor-wave,.odor-fly,.waste-odor{animation:none!important}.being-cleaned .waste-art{opacity:.3}.clean-spark,.clean-bubble{display:none}}
