/* The companion owns these names only. Decorative layers never intercept page input. */
#kisha-companion{position:fixed;left:auto;right:18px;bottom:calc(72px + env(safe-area-inset-bottom,0px));width:96px;height:133px;z-index:45;pointer-events:none;font:13px/1.5 system-ui,sans-serif;color:#10243d;isolation:isolate}
#kisha-companion [hidden]{display:none!important}
#kisha-companion .kc-art{display:block;width:96px;height:133px;overflow:visible;pointer-events:none;filter:drop-shadow(0 7px 6px #23425d18)}
#kisha-companion .kc-bubble{position:absolute;left:auto;right:0;bottom:145px;width:245px;max-width:calc(100vw - 32px);box-sizing:border-box;padding:14px 18px;background:#fff;border:1px solid #b7d8ec;border-radius:18px 18px 5px 18px;box-shadow:0 6px 24px #133b5c17;pointer-events:none}
#kisha-companion .kc-bubble::after{content:'';position:absolute;right:27px;bottom:-7px;width:12px;height:12px;background:#fff;border-right:1px solid #b7d8ec;border-bottom:1px solid #b7d8ec;transform:rotate(45deg)}
#kisha-companion [data-kc-message]{margin:0;color:#10243d!important;font:13px/1.6 system-ui,sans-serif;overflow-wrap:anywhere}
#kisha-companion :is(.kc-hide,.kc-show){pointer-events:auto;cursor:pointer;box-sizing:border-box;font:13px system-ui,sans-serif;border:1px solid #a7cde5;color:#165276;background:#fff;box-shadow:0 3px 10px #173b5b15}
#kisha-companion .kc-hide{position:absolute;left:-38px;bottom:82px;width:44px;height:44px;border-radius:50%;font-size:22px}
#kisha-companion .kc-show{position:absolute;right:0;bottom:0;min-width:70px;min-height:44px;padding:10px 14px;border-radius:24px}
#kisha-companion :is(.kc-hide,.kc-show):focus-visible{outline:3px solid #0b8fc6;outline-offset:3px}
#kisha-companion[data-minimized=true]{height:44px;width:70px}
#kisha-companion .kc-figure{transform-origin:65px 130px;animation:kc-breathe 4.6s ease-in-out infinite}
#kisha-companion :is(.kc-head,.kc-arm,.kc-figure){transition:transform .38s cubic-bezier(.2,.7,.3,1)}
#kisha-companion .kc-head{transform-origin:65px 80px}
#kisha-companion .kc-eyes{transform-origin:65px 55px;animation:kc-blink 6s infinite}
#kisha-companion .kc-arm-left{transform-origin:44px 98px}
#kisha-companion .kc-arm-right{transform-origin:86px 98px}
#kisha-companion .kc-leg-left{transform-origin:48px 128px}
#kisha-companion .kc-leg-right{transform-origin:79px 128px}
#kisha-companion .kc-foot-left{transform-origin:45px 153px}
#kisha-companion .kc-foot-right{transform-origin:83px 153px}
#kisha-companion .kc-ground-shadow{transform-origin:65px 170px}
#kisha-companion[data-motion=walking]{animation:kc-arrive 2.35s cubic-bezier(.25,.6,.35,1) both}
#kisha-companion[data-motion=walking] .kc-figure{animation:kc-weight-shift .68s ease-in-out infinite}
#kisha-companion[data-motion=walking] .kc-leg-left{animation:kc-step .68s ease-in-out infinite}
#kisha-companion[data-motion=walking] .kc-leg-right{animation:kc-step .68s ease-in-out -.34s infinite}
#kisha-companion[data-motion=walking] .kc-arm-left{animation:kc-arm-swing .68s ease-in-out infinite}
#kisha-companion[data-motion=walking] .kc-arm-right{animation:kc-arm-swing .68s ease-in-out -.34s infinite}
#kisha-companion[data-motion=walking] .kc-foot-left{animation:kc-foot-roll .68s ease-in-out infinite}
#kisha-companion[data-motion=walking] .kc-foot-right{animation:kc-foot-roll .68s ease-in-out -.34s infinite}
#kisha-companion[data-motion=walking] .kc-head{animation:kc-head-balance .68s ease-in-out infinite}
#kisha-companion[data-motion=walking] .kc-ground-shadow{animation:kc-ground-contact .34s ease-in-out infinite}
#kisha-companion[data-motion=greeting][data-pose=idle] .kc-arm-left{animation:kc-wave 1.3s ease-in-out both}
#kisha-companion[data-motion=idle][data-pose=thinking] .kc-arm-right{transform:rotate(145deg)}
#kisha-companion[data-motion=idle][data-pose=thinking] .kc-head{transform:rotate(-7deg)}
#kisha-companion[data-motion=idle][data-pose=thinking] .kc-leg-right{animation:kc-foot-tap .95s ease-in-out infinite}
#kisha-companion[data-motion=idle][data-pose=listening] .kc-figure{animation:none;transform:translateX(2px) rotate(6deg)}
#kisha-companion[data-motion=idle][data-pose=listening] .kc-head{transform:rotate(-7deg)}
#kisha-companion[data-motion=idle][data-pose=listening] .kc-arm-right{transform:rotate(-158deg) scaleY(1.16)}
#kisha-companion[data-motion=idle][data-pose=speaking] .kc-head{animation:kc-nod 1.6s ease-in-out infinite}
#kisha-companion[data-motion=idle][data-pose=speaking] .kc-arm-left{transform:rotate(18deg)}
@keyframes kc-arrive{0%{transform:translateX(155px);opacity:0}12%{opacity:1}100%{transform:translateX(0);opacity:1}}
@keyframes kc-step{0%,100%{transform:rotate(-14deg)}25%{transform:rotate(-2deg) translateY(-1px)}50%{transform:rotate(14deg)}75%{transform:rotate(1deg)}}
@keyframes kc-arm-swing{0%,100%{transform:rotate(11deg)}50%{transform:rotate(-12deg)}}
@keyframes kc-foot-roll{0%,100%{transform:rotate(-7deg)}35%{transform:rotate(3deg)}65%{transform:rotate(7deg)}85%{transform:rotate(0)}}
@keyframes kc-weight-shift{0%,50%,100%{transform:translateY(0) rotate(0)}25%{transform:translateY(-1.6px) rotate(1deg)}75%{transform:translateY(-1.6px) rotate(-1deg)}}
@keyframes kc-head-balance{0%,100%{transform:rotate(-1.5deg)}50%{transform:rotate(1.5deg)}}
@keyframes kc-ground-contact{0%,100%{transform:scaleX(1);opacity:.12}50%{transform:scaleX(.92);opacity:.09}}
@keyframes kc-wave{0%,100%{transform:rotate(0)}20%{transform:rotate(119deg)}36%{transform:rotate(142deg)}52%{transform:rotate(119deg)}68%{transform:rotate(140deg)}82%{transform:rotate(119deg)}}
@keyframes kc-breathe{0%,100%{transform:translateY(0)}50%{transform:translateY(-1.3px)}}
@keyframes kc-blink{0%,43%,47%,100%{transform:scaleY(1)}45%{transform:scaleY(.12)}}
@keyframes kc-foot-tap{0%,65%,100%{transform:rotate(0)}32%{transform:rotate(-6deg)}}
@keyframes kc-nod{0%,100%{transform:rotate(-1.5deg)}50%{transform:rotate(2deg)}}
@media(max-width:700px){#kisha-companion{right:14px;bottom:calc(92px + env(safe-area-inset-bottom,0px));width:80px;height:110px}#kisha-companion .kc-art{width:80px;height:110px}#kisha-companion .kc-bubble{bottom:122px;width:225px}#kisha-companion .kc-hide{left:-36px;bottom:60px}}
@media(prefers-reduced-motion:reduce){#kisha-companion,#kisha-companion *{animation:none!important;transition:none!important}}
