.wend-mascot{position:fixed;left:0;top:0;z-index:20;width:44px;height:44px;isolation:isolate;color:#243d3a;font:12px/1.4 "Courier New",monospace}
.wend-mascot[hidden]{display:none}
.wend-mascot *{box-sizing:border-box}
.wend-mascot__button{position:relative;display:flex;align-items:flex-end;justify-content:center;width:44px;height:44px;min-height:44px;margin:0;padding:0 4px;border:0;border-radius:8px;background:transparent;color:inherit;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}
.wend-mascot__button:hover{background:#d5f0e580}
.wend-mascot__button:focus-visible{outline:3px solid #568b77;outline-offset:3px;background:#e4f6ee}
.wend-mascot__jumper{display:block;width:36px;height:36px;transform-origin:50% 90%}
.wend-mascot__sprite{display:block;width:36px;height:36px;overflow:visible;filter:drop-shadow(0 1px 0 #243d3a20);transform-origin:50% 90%}
.wend-mascot__leaf{transform-origin:12px 5px}
.wend-mascot[data-hopping] .wend-mascot__leaf{animation:wend-leaf-hop var(--wend-hop-duration) ease-in-out}
.wend-mascot[data-reaction="hop"] .wend-mascot__leaf{animation:wend-leaf-hop .85s ease-in-out}
/* One shared bubble: hover text is replaced on click, never stacked. */
.wend-mascot__bubble{position:absolute;width:188px;padding:10px 12px;background:#f3fff8;color:#243d3a;border:2px solid #243d3a;border-radius:8px;box-shadow:3px 3px 0 #243d3a20;font:700 12px/1.45 "Courier New",monospace;overflow-wrap:anywhere;pointer-events:none;visibility:hidden}
.wend-mascot:has(.wend-mascot__button:hover) .wend-mascot__bubble,.wend-mascot:has(.wend-mascot__button:focus-visible) .wend-mascot__bubble,.wend-mascot[data-reaction] .wend-mascot__bubble{visibility:visible}
.wend-mascot__effect{display:none;vertical-align:middle;margin-right:6px;color:#243d3a;font:700 16px/1 "Courier New",monospace;transform-origin:center}
.wend-mascot[data-reaction] .wend-mascot__effect{display:inline-block;animation:wend-pop .35s ease both}
.wend-mascot__happy,.wend-mascot__arm{display:none}
.wend-mascot[data-reaction] .wend-mascot__happy{display:inline}
.wend-mascot[data-reaction] .wend-mascot__face{display:none}
.wend-mascot[data-reaction="wave"] .wend-mascot__arm{display:inline;transform-origin:19px 15px;animation:wend-wave .28s ease-in-out 4}
.wend-mascot[data-reaction="wave"] .wend-mascot__sprite{animation:wend-greet 1.12s ease-in-out}
.wend-mascot[data-reaction="hop"] .wend-mascot__sprite{animation:wend-hop .85s linear}
.wend-mascot[data-reaction="heart"] .wend-mascot__sprite{animation:wend-heart 1.1s ease-in-out}
.wend-mascot[data-reaction="heart"] .wend-mascot__effect{color:#a23562;animation:wend-heart 1.1s ease-in-out}
.wend-mascot[data-reaction="sparkle"] .wend-mascot__sprite{animation:wend-sparkle 1s ease-in-out}
.wend-mascot[data-reaction="sparkle"] .wend-mascot__effect{color:#735b1e;animation:wend-star 1s ease-in-out}
.wend-mascot[data-reaction="dance"] .wend-mascot__sprite{animation:wend-dance 1.2s ease-in-out}
.wend-mascot[data-reaction="wiggle"] .wend-mascot__sprite{animation:wend-wiggle 1s ease-in-out}
@keyframes wend-wave{0%,100%{transform:rotate(0)}50%{transform:rotate(-40deg)}}
@keyframes wend-greet{0%,100%{transform:rotate(0)}25%,75%{transform:rotate(-5deg) translateY(-2px)}50%{transform:rotate(4deg)}}
@keyframes wend-hop{0%,100%{transform:translateY(0) scale(1)}15%{transform:translateY(0) scale(1.12,.84)}30%{transform:translateY(-18px) scale(.94,1.08)}48%{transform:translateY(-28px) scale(1)}66%{transform:translateY(-18px) scale(1)}80%{transform:translateY(0) scale(1)}88%{transform:translateY(0) scale(1.14,.84)}}
@keyframes wend-leaf-hop{0%,100%{transform:rotate(0)}22%{transform:rotate(var(--wend-leaf-lean,-24deg))}55%{transform:rotate(calc(var(--wend-leaf-lean,-24deg) * -1))}80%{transform:rotate(var(--wend-leaf-lean,-24deg))}}
@keyframes wend-heart{0%,100%{transform:scale(1)}25%,55%{transform:scale(1.2,1.12)}40%,75%{transform:scale(.98)}}
@keyframes wend-sparkle{0%,100%{transform:translateY(0) rotate(0) scale(1)}30%{transform:translateY(-9px) rotate(-16deg) scale(1.08)}65%{transform:translateY(-9px) rotate(16deg) scale(1.08)}}
@keyframes wend-star{0%{transform:rotate(0) scale(.5)}50%{transform:rotate(180deg) scale(1.2)}100%{transform:rotate(360deg) scale(1)}}
@keyframes wend-dance{0%,100%{transform:translateX(0) rotate(0)}20%,60%{transform:translate(-7px,-4px) rotate(-14deg)}40%,80%{transform:translate(7px,-4px) rotate(14deg)}}
@keyframes wend-wiggle{0%,100%{transform:scale(1) skewX(0)}20%,60%{transform:scale(1.15,.9) skewX(-10deg)}40%,80%{transform:scale(.9,1.1) skewX(10deg)}}
@keyframes wend-pop{0%{opacity:0;transform:scale(.5)}100%{opacity:1;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.wend-mascot *{animation:none!important;transition:none!important}}
@media print{.wend-mascot{display:none!important}}
