/* Scroll momentum is independent of the character's idle performance. */
.roaming-mascot.scroll-companion{left:auto;right:18px;bottom:auto;top:48%;width:100px;height:115px;animation:none;transform:translate3d(0,var(--follow-y,0px),0) rotate(var(--follow-tilt,0deg));will-change:transform;transition:opacity .2s;pointer-events:none}.scroll-companion .walker-facing{animation:none;transform:none}.scroll-companion .walker-body{animation:companion-hover 3.8s ease-in-out infinite;transform-origin:50% 65%}.scroll-companion .walker-shadow{display:none}.scroll-companion .walker-body>img:first-child{animation:companion-wave 12s infinite}.scroll-companion .companion-heart{position:absolute;inset:0;opacity:0;animation:companion-love 12s infinite}.scroll-companion:before{content:'';position:absolute;left:35%;right:35%;top:50%;height:100%;border-radius:50%;background:linear-gradient(#a36dff40,#52e9ff18,transparent);filter:blur(8px);transform-origin:50% 0;transform:scaleY(.3);opacity:.3;transition:transform .3s,opacity .3s;z-index:-1}.scroll-companion[data-falling=yes]:before{transform:scaleY(1.2);opacity:.9}.scroll-companion .walker-spark{animation:companion-spark 2s ease-out infinite;left:20%;bottom:0}.scroll-companion .walker-spark.spark-b{left:75%;animation-delay:1s}.motion-paused .scroll-companion{transform:none;opacity:.7}.motion-paused .scroll-companion:before{display:none}
@keyframes companion-hover{0%,100%{transform:translateY(0) rotate(-3deg) scale(1)}50%{transform:translateY(-8px) rotate(3deg) scale(1.025)}}@keyframes companion-wave{0%,66%,98%,100%{opacity:1}70%,94%{opacity:0}}@keyframes companion-love{0%,66%,98%,100%{opacity:0}70%,94%{opacity:1}}@keyframes companion-spark{0%{opacity:0;transform:translateY(-6px) scale(.3)}20%{opacity:.8}100%{opacity:0;transform:translateY(50px) scale(.9)}}
@media(max-width:760px){.roaming-mascot.scroll-companion{width:68px;height:80px;right:5px;top:58%}}@media(prefers-reduced-motion:reduce){.roaming-mascot.scroll-companion{transform:none!important}.scroll-companion *{animation:none!important}.scroll-companion:before,.scroll-companion .companion-heart{display:none}.scroll-companion .walker-body>img:first-child{opacity:1}}
