.animal .motion-rig{position:absolute;inset:0;transform-origin:50% 100%;pointer-events:none}
.animal .motion-frame{position:absolute;left:50%;bottom:0;display:block;background-repeat:no-repeat;transform:translateX(-50%);pointer-events:none;will-change:opacity}
.animal .facing{position:absolute;inset:0;transform-origin:50% 100%;transition:transform .55s ease;animation:none!important}
.animal .sleep-bubble{left:49%;top:68%;animation-duration:var(--breath,5s)!important}
.animal .hobby-note{top:8%;font-size:15px;opacity:.45}
.animal.sleep .motion-rig{animation:critters-sleep var(--breath,5s) ease-in-out infinite}
.animal.read .motion-rig{animation:critters-read 12s ease-in-out infinite}
.animal.write .motion-rig{animation:critters-write 7s ease-in-out infinite}
.animal.sniff .motion-rig,.animal.groom .motion-rig,.animal.brush .motion-rig{animation:critters-sniff 9s ease-in-out infinite}
.animal.exercise .motion-rig{animation:critters-stretch 11s ease-in-out infinite}
.animal.greeting .motion-rig{animation:critters-greet 8s ease-in-out infinite}
.animal.sleep .sleep-bubble{animation-delay:var(--phase,0s)}
.pet-habit{font:20px/1.35 'Classroom Hand',sans-serif;text-align:center;max-width:550px;margin:8px auto 18px;color:#62735b}
@keyframes critters-sleep{50%{transform:scale(1.005,.987)}}
@keyframes critters-read{46%,54%{transform:rotate(-.65deg)}}
@keyframes critters-write{45%,55%{transform:translateX(.4px)}50%{transform:translateX(-.4px)}}
@keyframes critters-sniff{42%,58%{transform:rotate(.6deg)}50%{transform:rotate(-.6deg)}}
@keyframes critters-stretch{45%,60%{transform:scale(1.006,1.018)}}
@keyframes critters-greet{30%{transform:rotate(-1deg)}45%{transform:rotate(.6deg)}60%{transform:rotate(0)}}
@media(prefers-reduced-motion:reduce){.animal .motion-rig,.animal .facing,.animal .sleep-bubble,.animal .hobby-note{animation:none!important;transition:none!important}}
