.playroom .scene{transition:background .7s,border-color .7s}
.playroom .scene.has-pose-art #sprite{visibility:hidden}
#animated-sprite{display:none;position:absolute;width:365px;height:365px;background-repeat:no-repeat;background-size:400% 200%;background-position:0 0;pointer-events:none;filter:drop-shadow(0 12px 14px #11081e44);transform-origin:50% 82%}
.has-pose-art #animated-sprite{display:block}
.playroom .has-pose-art .character,.playroom .has-pose-art .character.adult{top:73px;height:270px;animation:none}
.playroom .has-pose-art .character #sprite{width:365px;height:365px!important;aspect-ratio:1!important;mask-image:none}
.playroom .has-pose-art #animated-sprite{animation:nyami-idle 4s ease-in-out infinite}
.playroom .has-pose-art .character.reacting #animated-sprite{animation:nyami-purr .6s ease-in-out}
.playroom .scene[data-care-mode=energy]{background:radial-gradient(ellipse at 55% 45%,#58457566,transparent 60%),linear-gradient(155deg,#171b37,#211a35 70%,#33253e);border-color:#60567c}
.playroom .scene[data-care-mode=clean]{background:radial-gradient(ellipse at 50% 80%,#7bb8ba3d,transparent 60%),linear-gradient(145deg,#263348,#263145 70%,#354759);border-color:#628e9c}
.playroom .scene[data-care-mode=food]{background:radial-gradient(ellipse at 50% 70%,#be9c6c30,transparent 70%),linear-gradient(145deg,#3a2843,#342638 70%,#4b3541);border-color:#8b697f}
.playroom .scene[data-care-mode=joy]{background:radial-gradient(ellipse at 48% 70%,#9d6aad40,transparent 70%),linear-gradient(145deg,#38274c,#2a213e 70%,#423151);border-color:#866294}
.playroom [data-care-mode=energy] .room-window{opacity:.25;background:#4e527b}
.playroom [data-care-mode=clean] .room-window{opacity:.3}
.playroom [data-care-mode=energy] .room-moon{opacity:0}
.playroom .scene[data-care-mode=energy] #animated-sprite{animation:nyami-sleep 4.6s ease-in-out infinite}
.playroom .scene[data-care-mode=clean] #animated-sprite{animation:nyami-wash 3.8s ease-in-out infinite}
.playroom .scene[data-care-mode=food] #animated-sprite{animation:nyami-nibble 2.5s ease-in-out infinite}
.playroom .scene[data-care-mode=joy] #animated-sprite{animation:nyami-play 2.8s ease-in-out infinite}
.playroom .scene .room-reaction:empty:after{content:none}
.scene-caption{position:absolute;left:24px;top:65px;font-size:9px;letter-spacing:.3px;color:#bfa9ce;z-index:1;max-width:170px}
.care-atmosphere{position:absolute;inset:90px 0 40px;pointer-events:none;overflow:hidden;z-index:3}
.care-atmosphere i{position:absolute;display:none;left:calc(20% + var(--i)*6%);bottom:5%;animation-delay:calc(var(--i)*-.65s);pointer-events:none;font-style:normal}
[data-care-mode=energy] .care-atmosphere i{display:block;left:calc(12% + var(--i)*8%);bottom:calc(40% + var(--i)*5%);font-size:calc(8px + var(--i)*1px);color:#f3dcaa;animation:nyami-star 3s ease-in-out infinite;animation-delay:calc(var(--i)*-.4s)}
[data-care-mode=energy] .care-atmosphere i:before{content:'✧'}
[data-care-mode=energy] .care-atmosphere i:nth-child(3n):before{content:'✦'}
[data-care-mode=energy] .care-atmosphere i:nth-child(7){left:60%;bottom:45%;font:italic 20px Georgia;color:#d6c3eb;animation:nyami-zzz 4s ease-in-out infinite}
[data-care-mode=energy] .care-atmosphere i:nth-child(7):before{content:'z z'}
[data-care-mode=clean] .care-atmosphere i{display:block;width:calc(9px + var(--i)*2px);height:calc(9px + var(--i)*2px);border-radius:50%;border:1px solid #d8fcff99;background:radial-gradient(circle at 30% 25%,#ffffff80,transparent 35%),linear-gradient(135deg,#92dce62c,#d7b8f333);animation:nyami-bubble 5.5s linear infinite;animation-delay:calc(var(--i)*-.55s)}
[data-care-mode=food] .care-atmosphere i:nth-child(-n+4){display:block;left:calc(39% + var(--i)*6%);font-size:12px;color:#f3c5b2;animation:nyami-tasty 3s ease-in-out infinite;animation-delay:calc(var(--i)*-.7s)}
[data-care-mode=food] .care-atmosphere i:before{content:'♡'}
[data-care-mode=joy] .care-atmosphere i:nth-child(-n+6){display:block;left:calc(20% + var(--i)*11%);font-size:16px;color:#d8a9ec;animation:nyami-sparkle 2.8s ease-in-out infinite;animation-delay:calc(var(--i)*-.45s)}
[data-care-mode=joy] .care-atmosphere i:before{content:'✧'}
.care-moon{display:none;position:absolute;left:22%;top:91px;color:#f7dfad;font:55px Georgia;text-shadow:0 0 35px #f7dfad44;rotate:-15deg;z-index:1;pointer-events:none}
[data-care-mode=energy] .care-moon{display:block;animation:nyami-star 5s ease-in-out infinite}
.care-yarn{display:none;position:absolute;left:24%;bottom:95px;width:34px;height:34px;background:repeating-linear-gradient(25deg,#bc78af 0 3px,#efb6db 4px 5px,#ca8abb 6px 8px);border-radius:50%;box-shadow:inset -7px -5px 10px #60305255,0 8px 15px #15091f33;z-index:3;pointer-events:none}
.care-yarn i{position:absolute;width:45px;height:10px;border-bottom:2px solid #d69ac6;border-radius:50%;left:23px;bottom:3px}
[data-care-mode=joy] .care-yarn{display:block;animation:nyami-yarn 3s ease-in-out infinite}
.playroom .has-pose-art #animated-sprite.pose-enter{animation:nyami-arrive .4s ease-out,nyami-idle 4s .4s ease-in-out infinite}
.playroom .care-nuzzle #animated-sprite{filter:drop-shadow(0 0 14px #e2b1f277)}
@keyframes nyami-idle{50%{translate:0 -4px;rotate:-.6deg}}
@keyframes nyami-purr{30%{translate:0 -7px;rotate:2deg}70%{translate:0 0;rotate:-1deg}}
@keyframes nyami-sleep{50%{scale:1.012 1.02;translate:0 -2px}}
@keyframes nyami-wash{30%{rotate:-1deg;translate:0 -3px}70%{rotate:1deg}}
@keyframes nyami-nibble{20%,50%{translate:0 3px;rotate:1deg}35%,65%{translate:0 0;rotate:-.5deg}}
@keyframes nyami-play{25%{rotate:-2deg;translate:-3px -3px}65%{rotate:2deg;translate:4px 1px}}
@keyframes nyami-star{50%{opacity:.4;scale:.8}}
@keyframes nyami-zzz{0%{opacity:0;translate:0 15px}40%{opacity:1}100%{opacity:0;translate:12px -30px}}
@keyframes nyami-bubble{0%{translate:0 10px;opacity:0}15%{opacity:.8}85%{opacity:.7}100%{translate:calc(var(--drift)*30px) -230px;opacity:0}}
@keyframes nyami-tasty{0%{translate:0 0;opacity:0}40%{opacity:.7}100%{translate:12px -100px;opacity:0}}
@keyframes nyami-sparkle{0%,100%{opacity:0;translate:0 0;scale:.6}50%{opacity:.8;translate:4px -30px;scale:1}}
@keyframes nyami-yarn{0%,100%{translate:0 0;rotate:0deg}50%{translate:36px -7px;rotate:120deg}}
@keyframes nyami-arrive{from{opacity:.5;scale:.96}to{opacity:1;scale:1}}
@media(max-width:650px){.playroom .has-pose-art .character,.playroom .has-pose-art .character.adult{top:72px;height:225px}.playroom .has-pose-art #animated-sprite{width:300px;height:300px}.playroom .has-pose-art .character #sprite{width:300px;height:300px!important}.scene-caption{left:15px;top:48px;font-size:8px}.care-atmosphere{inset:90px 0 85px}.care-moon{left:12%;top:110px;font-size:39px}.care-yarn{left:15%;bottom:157px;width:26px;height:26px}.care-yarn i{width:30px;left:18px}.playroom .has-pose-art .pet-hint{bottom:160px;font-size:8px}.playroom .has-pose-art .nameplate{bottom:104px}}
.playroom.streaming .has-pose-art .character,.playroom.streaming .has-pose-art .character.adult{top:135px;height:300px}
.playroom.streaming .has-pose-art #animated-sprite{width:450px;height:450px}
.playroom.streaming .scene-caption{top:72px}
.playroom.streaming .care-moon{top:135px}
@media(max-width:650px){.playroom.streaming .has-pose-art .character,.playroom.streaming .has-pose-art .character.adult{top:100px;height:270px}.playroom.streaming .has-pose-art #animated-sprite{width:340px;height:340px}}
@media(prefers-reduced-motion:reduce){.playroom #animated-sprite,.playroom .care-atmosphere i,.playroom .care-moon,.playroom .care-yarn{animation:none!important;transition:none!important}.playroom .care-atmosphere i{opacity:.35}}
/* Individual measured illustration bounds prevent neighboring poses from leaking into view. */
.playroom #animated-sprite{--art-size:295px;left:50%;top:50%;transform:translate(-50%,-50%)}
.playroom [data-care-mode=energy] #animated-sprite,.playroom [data-care-mode=clean] #animated-sprite{--art-size:310px}
.playroom .has-pose-art .nameplate{bottom:35px}
@media(max-width:650px){.playroom .has-pose-art .character,.playroom .has-pose-art .character.adult{top:50px;height:225px}.playroom #animated-sprite{--art-size:225px}.playroom [data-care-mode=energy] #animated-sprite,.playroom [data-care-mode=clean] #animated-sprite{--art-size:235px}.playroom .has-pose-art .nameplate{bottom:104px}}
.playroom.streaming #animated-sprite{--art-size:365px}
.playroom.streaming [data-care-mode=energy] #animated-sprite,.playroom.streaming [data-care-mode=clean] #animated-sprite{--art-size:380px}
@media(max-width:650px){.playroom.streaming #animated-sprite{--art-size:280px}.playroom.streaming [data-care-mode=energy] #animated-sprite,.playroom.streaming [data-care-mode=clean] #animated-sprite{--art-size:290px}}
