/*
 * John, the character of the agent (<myup-mascot>).
 *
 * This file only DRAWS him: a blob, two eyes and the props he plays with. Everything he DOES is decided by the app
 * (EngineMascot) and played by agent-mascot.js, which receives each movement only when it is needed.
 * Everything is in em, so one number sets his size: <myup-mascot size="32">.
 */
/* ---- the character: everything is in em, so one number (--size) scales it ---- */
myup-mascot{-webkit-user-select:none;user-select:none;--hi:#a4eaff;--mid:#3d9bff;--deep:#1d4fe0;--rim:rgba(120,220,255,.55);--glow:rgba(60,150,255,.5);--eye:#fff;--eyeglow:rgba(255,255,255,.7);--cheek:rgba(255,140,200,.55);--ext:0 0 0 transparent;--fx:#fff;
  position:relative;display:inline-block;flex:none;width:1em;height:1em;font-size:var(--mm-size,32px);line-height:1;vertical-align:middle;pointer-events:auto;cursor:pointer;touch-action:manipulation}
myup-mascot *{pointer-events:none}
.mm-shadow{position:absolute;left:.13em;right:.13em;bottom:-.012em;height:.09em;border-radius:50%;background:rgba(0,0,0,.55);filter:blur(.03em)}
.mm-body{position:absolute;left:0;right:0;bottom:.05em;height:.9em;transform-origin:50% 92%}
.mm-skin{position:absolute;inset:0;border-radius:50% 50% 47% 47%/57% 57% 43% 43%;background:radial-gradient(120% 110% at 30% 18%,var(--hi) 0%,var(--mid) 46%,var(--deep) 100%);
  box-shadow:inset 0 -.07em .12em -.02em var(--rim),inset 0 .035em .07em rgba(255,255,255,.45),var(--ext),0 .05em .18em -.04em var(--glow)}
.mm-gloss{position:absolute;left:.14em;top:.075em;width:.34em;height:.19em;border-radius:50%;background:linear-gradient(180deg,rgba(255,255,255,.8),rgba(255,255,255,0));transform:rotate(-24deg)}
.mm-gaze{position:absolute;inset:0;transform:translate(calc(var(--gx,0)*.085em),calc(var(--gy,0)*.07em)) scale(calc(1 - var(--ax,0)*.1),calc(1 - var(--ay,0)*.06));transition:transform .09s cubic-bezier(.2,.9,.3,1)}
.mm-face{position:absolute;left:0;right:0;top:.31em;height:.28em}
.mm-eye{position:absolute;left:50%;top:50%;width:.115em;height:.21em;border-radius:50%/50%;transform:translate(-50%,-50%) translate(-.135em,0em) rotate(0deg)}
.mm-eye.r{transform:translate(-50%,-50%) translate(.135em,0em) rotate(0deg)}
.mm-eye>i{display:block;width:100%;height:100%;border-radius:inherit;background:var(--eye);box-shadow:0 0 .035em var(--eyeglow);transform-origin:50% 50%;animation:mm-blink 4.6s ease-in-out var(--mm-d,0s) infinite}
.mm-eye>b{position:absolute;left:-62%;right:-62%;top:10%;height:80%;opacity:0;background:linear-gradient(160deg,#ffe6f2,#ff86bf);clip-path:polygon(50% 100%,14% 62%,2% 40%,4% 20%,16% 4%,34% 0,50% 14%,66% 0,84% 4%,96% 20%,98% 40%,86% 62%)}
.mm-cheek{position:absolute;top:74%;width:.1em;height:.052em;border-radius:50%;background:var(--cheek);filter:blur(.012em);opacity:0}
.mm-cheek.l{left:calc(50% - .27em)}.mm-cheek.r{left:calc(50% + .17em)}
.mm-props{position:absolute;inset:0;pointer-events:none}
.mm-fx{position:absolute;opacity:0}
.mm-fx-spark,.mm-fx-spark1{width:.09em;height:.09em;background:#fff;filter:drop-shadow(0 0 .02em rgba(255,255,255,.8));clip-path:polygon(50% 0,61% 39%,100% 50%,61% 61%,50% 100%,39% 61%,0 50%,39% 39%)}
.mm-fx-spark.s1{left:.84em;top:.14em}.mm-fx-spark.s2{left:.06em;top:.3em;width:.06em;height:.06em}.mm-fx-spark.s3{left:.9em;top:.46em;width:.05em;height:.05em}
.mm-fx-spark1{left:.7em;top:.22em;width:.08em;height:.08em}
.mm-fx-dots{left:.7em;top:.1em;display:flex;gap:.028em}
.mm-fx-dots i{width:.04em;height:.04em;border-radius:50%;background:#fff;animation:mm-dot-hop 1.1s ease-in-out var(--mm-d,0s) infinite}
.mm-fx-dots i:nth-child(2){animation-delay:calc(.15s + var(--mm-d,0s))}.mm-fx-dots i:nth-child(3){animation-delay:calc(.3s + var(--mm-d,0s))}
.mm-fx-excl{left:.8em;top:0;font-size:.32em;font-weight:800;line-height:1;color:#fff;text-shadow:0 0 .2em rgba(255,255,255,.5)}
.mm-fx-q{left:.8em;top:-.03em;font-size:.34em;font-weight:800;line-height:1;color:#fff;text-shadow:0 0 .2em rgba(255,255,255,.4)}
.mm-fx-ring{left:-.07em;right:-.07em;top:-.04em;bottom:0;border-radius:50%}
.mm-fx-ring i{position:absolute;inset:0;border-radius:50%;border:.016em solid transparent;border-top-color:rgba(255,255,255,.75);border-right-color:rgba(255,255,255,.25);animation:mm-spin 1.6s linear var(--mm-d,0s) infinite}
.mm-fx-heart{left:0;top:0;width:1em;height:.6em}
.mm-fx-heart i{position:absolute;width:.1em;height:.09em;opacity:0;background:linear-gradient(160deg,#ffe6f2,#ff86bf);clip-path:polygon(50% 100%,14% 62%,2% 40%,4% 20%,16% 4%,34% 0,50% 14%,66% 0,84% 4%,96% 20%,98% 40%,86% 62%)}
.mm-fx-heart i.h1{left:.74em;top:.2em;animation:mm-heart-float 1.5s ease-out var(--mm-d,0s) infinite}
.mm-fx-heart i.h2{left:.16em;top:.26em;width:.07em;height:.062em;animation:mm-heart-float 1.5s ease-out calc(.5s + var(--mm-d,0s)) infinite}
.mm-fx-bulb{left:.395em;top:-.19em;width:.21em;height:.28em}
.mm-fx-bulb::before{content:"";position:absolute;left:0;right:0;top:0;height:.2em;border-radius:50%;background:radial-gradient(circle at 40% 35%,#fffbe0,#ffd84a 62%,#f5b800);box-shadow:0 0 .12em .03em rgba(255,214,74,.75);animation:mm-bulb-glow 1s ease-in-out var(--mm-d,0s) infinite}
.mm-fx-bulb::after{content:"";position:absolute;left:.055em;right:.055em;top:.185em;height:.07em;border-radius:.02em;background:linear-gradient(#d4dbea,#8b95ad)}
.mm-fx-confetti{left:-.15em;right:-.15em;top:-.1em;height:1.1em}
.mm-fx-confetti i{position:absolute;top:0;width:.045em;height:.075em;border-radius:.01em;opacity:0;animation:mm-confetti-fall 1.9s ease-in calc(var(--cd,0s) + var(--mm-d,0s)) infinite}
.mm-fx-confetti i:nth-child(1){left:6%;background:#62d2f0;--cd:0s;--dx:.05em}.mm-fx-confetti i:nth-child(2){left:16%;background:#fff;--cd:.5s;--dx:-.04em}.mm-fx-confetti i:nth-child(3){left:27%;background:#2f86f6;--cd:.2s;--dx:.06em}
.mm-fx-confetti i:nth-child(4){left:37%;background:#ffd84a;--cd:.8s;--dx:-.05em}.mm-fx-confetti i:nth-child(5){left:47%;background:#8a6dff;--cd:.35s;--dx:.04em}.mm-fx-confetti i:nth-child(6){left:56%;background:#62d2f0;--cd:1s;--dx:-.06em}
.mm-fx-confetti i:nth-child(7){left:66%;background:#ff8fc3;--cd:.1s;--dx:.05em}.mm-fx-confetti i:nth-child(8){left:76%;background:#fff;--cd:.65s;--dx:-.03em}.mm-fx-confetti i:nth-child(9){left:86%;background:#2f86f6;--cd:.3s;--dx:.04em}
.mm-fx-confetti i:nth-child(10){left:12%;background:#ffd84a;--cd:1.2s;--dx:-.05em}.mm-fx-confetti i:nth-child(11){left:51%;background:#ff8fc3;--cd:1.4s;--dx:.06em}.mm-fx-confetti i:nth-child(12){left:92%;background:#62d2f0;--cd:.9s;--dx:-.04em}
.mm-fx-sweat{left:.72em;top:.24em}
.mm-fx-sweat i{display:block;width:.034em;height:.056em;border-radius:50% 50% 50% 50%/62% 62% 38% 38%;background:linear-gradient(#eefaff,#9fdcff);opacity:0;animation:mm-sweat-slide 1.8s ease-in var(--mm-d,0s) infinite}
.mm-fx-joy{left:0;top:.4em;width:1em;height:.2em}
.mm-fx-joy i{position:absolute;top:.04em;width:.032em;height:.052em;border-radius:50% 50% 50% 50%/62% 62% 38% 38%;background:#cdeeff;opacity:0}
.mm-fx-joy i.j1{left:.3em;animation:mm-joy-l 1s ease-out var(--mm-d,0s) infinite}.mm-fx-joy i.j2{left:.66em;animation:mm-joy-r 1s ease-out calc(.3s + var(--mm-d,0s)) infinite}
.mm-fx-bubble i{position:absolute;left:.86em;top:.5em;width:.04em;height:.04em;border:.008em solid rgba(255,255,255,.85);border-radius:50%;background:rgba(255,255,255,.12);opacity:0;animation:mm-bubble-grow 2.6s ease-out var(--mm-d,0s) infinite}
@keyframes mm-blink{0%,89%,100%{transform:scaleY(1)}92%{transform:scaleY(.08)}95%{transform:scaleY(1)}97%{transform:scaleY(.08)}99%{transform:scaleY(1)}}
@keyframes mm-spark-pop{0%,100%{transform:scale(.5) rotate(0deg)}50%{transform:scale(1.15) rotate(20deg)}}
@keyframes mm-excl-pop{0%{transform:scale(0)}30%{transform:scale(1.3)}55%{transform:scale(1)}100%{transform:scale(1)}}
@keyframes mm-q-bob{0%,100%{transform:translateY(0) rotate(-8deg)}50%{transform:translateY(-.15em) rotate(8deg)}}
@keyframes mm-dot-hop{0%,100%{transform:translateY(0)}40%{transform:translateY(-.04em)}}
@keyframes mm-spin{to{transform:rotate(360deg)}}
@keyframes mm-heart-float{0%{transform:translateY(.05em) scale(.4);opacity:0}25%{opacity:1}100%{transform:translateY(-.24em) scale(1.1);opacity:0}}
@keyframes mm-bulb-glow{0%,100%{box-shadow:0 0 .1em .02em rgba(255,214,74,.6)}50%{box-shadow:0 0 .17em .05em rgba(255,214,74,.95)}}
@keyframes mm-confetti-fall{0%{transform:translate(0,0) rotate(0deg);opacity:0}10%{opacity:1}85%{opacity:1}100%{transform:translate(var(--dx,.05em),1em) rotate(540deg);opacity:0}}
@keyframes mm-sweat-slide{0%{transform:translateY(0);opacity:0}15%{opacity:1}100%{transform:translateY(.14em);opacity:0}}
@keyframes mm-joy-l{0%{transform:translate(0,0);opacity:0}20%{opacity:1}100%{transform:translate(-.14em,.1em);opacity:0}}
@keyframes mm-joy-r{0%{transform:translate(0,0);opacity:0}20%{opacity:1}100%{transform:translate(.14em,.1em);opacity:0}}
@keyframes mm-bubble-grow{0%{transform:scale(.3);opacity:0}20%{opacity:1}85%{transform:scale(4);opacity:1}100%{transform:scale(4.8);opacity:0}}
/* ---- new props: one per kind of creation ---- */
.mm-fx-slides{left:.95em;top:.08em;width:.45em;height:.4em}
.mm-fx-slides i,.mm-fx-slidesfan i{position:absolute;width:.26em;height:.17em;border-radius:.022em;background:linear-gradient(180deg,#2f86f6 0 22%,#fff 22%);box-shadow:0 .015em .04em rgba(0,0,0,.35);opacity:0}
.mm-fx-slides i::after,.mm-fx-slidesfan i::after{content:"";position:absolute;left:.03em;top:.075em;width:.14em;height:.012em;border-radius:.01em;background:#c5cde0;box-shadow:0 .028em 0 #c5cde0}
.mm-fx-slides i:nth-child(1){left:.1em;top:.17em;animation:mm-slide-in 2.4s ease-out var(--mm-d,0s) infinite}
.mm-fx-slides i:nth-child(2){left:.06em;top:.1em;animation:mm-slide-in 2.4s ease-out calc(.6s + var(--mm-d,0s)) infinite}
.mm-fx-slides i:nth-child(3){left:.02em;top:.03em;animation:mm-slide-in 2.4s ease-out calc(1.2s + var(--mm-d,0s)) infinite}
.mm-fx-slidesfan{left:.85em;top:.15em;width:.5em;height:.4em}
.mm-fx-slidesfan i{left:.12em;top:.12em;transform-origin:20% 100%;opacity:1}
.mm-fx-slidesfan i:nth-child(1){transform:rotate(-24deg);animation:mm-fan-a 1.2s ease-out both}.mm-fx-slidesfan i:nth-child(2){animation:mm-fan-b 1.2s ease-out both}.mm-fx-slidesfan i:nth-child(3){transform:rotate(24deg);animation:mm-fan-c 1.2s ease-out both}
.mm-fx-clapper{left:-.34em;top:.12em;width:.26em;height:.2em}
.mm-fx-clapper::before{content:"";position:absolute;left:0;right:0;bottom:0;height:.14em;border-radius:.02em;background:#14161c;border:.008em solid #3a3f4d}
.mm-fx-clapper::after{content:"";position:absolute;left:0;right:0;top:.012em;height:.05em;border-radius:.015em;background:repeating-linear-gradient(115deg,#fff 0 .025em,#14161c .025em .05em);transform-origin:0 100%;animation:mm-clap 1.2s ease-in-out var(--mm-d,0s) infinite}
.mm-fx-rec{left:-.3em;top:.02em}.mm-fx-rec i{display:block;width:.04em;height:.04em;border-radius:50%;background:#ff4d5e;animation:mm-rec-blink 1s step-end var(--mm-d,0s) infinite}
.mm-fx-flash{left:.82em;top:-.08em;width:.36em;height:.36em}
.mm-fx-flash i{position:absolute;inset:0;border-radius:50%;background:radial-gradient(circle,#fff 0,rgba(255,255,255,.65) 32%,transparent 70%);opacity:0;animation:mm-flash 1.5s ease-out var(--mm-d,0s) infinite}
.mm-fx-polaroid{left:-.34em;top:0;width:.3em;height:.9em}
.mm-fx-polaroid i{position:absolute;top:0;width:.1em;height:.12em;border-radius:.008em;background:linear-gradient(#cdd5e6,#cdd5e6) .012em .012em/.076em .076em no-repeat,#fff;box-shadow:0 .01em .03em rgba(0,0,0,.4);opacity:0;animation:mm-polaroid-fall 1.5s ease-in var(--mm-d,0s) infinite}
.mm-fx-polaroid i:nth-child(1){left:.02em}.mm-fx-polaroid i:nth-child(2){left:.15em;animation-delay:calc(.7s + var(--mm-d,0s))}
.mm-fx-doc{left:1.0em;top:.08em;width:.26em;height:.32em;border-radius:.02em;background:#fff;box-shadow:0 .02em .06em rgba(0,0,0,.4)}
.mm-fx-doc i{position:absolute;left:.03em;height:.014em;border-radius:.01em;background:#c5cde0;transform-origin:0 50%;transform:scaleX(0);animation:mm-doc-type 2.4s ease-out var(--mm-d,0s) infinite}
.mm-fx-doc i:nth-child(1){top:.07em;width:.17em}.mm-fx-doc i:nth-child(2){top:.12em;width:.19em;animation-delay:calc(.5s + var(--mm-d,0s))}.mm-fx-doc i:nth-child(3){top:.17em;width:.14em;animation-delay:calc(1s + var(--mm-d,0s))}.mm-fx-doc i:nth-child(4){top:.22em;width:.18em;animation-delay:calc(1.5s + var(--mm-d,0s))}
.mm-fx-cube{left:.98em;top:.05em;width:.27em;height:.3em;perspective:.8em}
.mm-fx-cube i{position:absolute;inset:0;background:linear-gradient(135deg,#9fe8ff,#3d9bff 55%,#1d4fe0);clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);animation:mm-cube-spin 2s linear var(--mm-d,0s) infinite}
.mm-fx-cube i::before{content:"";position:absolute;inset:0;background:rgba(255,255,255,.28);clip-path:polygon(50% 0,100% 25%,50% 50%,0 25%)}
.mm-fx-palette{left:-.42em;top:.05em;width:.5em;height:.34em}
.mm-fx-palette i{position:absolute;width:.075em;height:.075em;border-radius:50%;opacity:0;animation:mm-pop 2.4s ease-out var(--mm-d,0s) infinite}
.mm-fx-palette i:nth-child(1){left:.02em;top:.2em;background:#62d2f0}.mm-fx-palette i:nth-child(2){left:.11em;top:.1em;background:#ff8fc3;animation-delay:calc(.35s + var(--mm-d,0s))}.mm-fx-palette i:nth-child(3){left:.22em;top:.04em;background:#ffd84a;animation-delay:calc(.7s + var(--mm-d,0s))}.mm-fx-palette i:nth-child(4){left:.33em;top:.1em;background:#8a6dff;animation-delay:calc(1.05s + var(--mm-d,0s))}
.mm-fx-phone{left:1.02em;top:.05em;width:.16em;height:.28em;border-radius:.032em;background:#0f1320;border:.01em solid #4a5168}
.mm-fx-phone::before{content:"";position:absolute;inset:.02em;border-radius:.02em;background:linear-gradient(160deg,#3d9bff,#8a6dff)}
.mm-fx-wave{left:1.02em;top:.12em;display:flex;align-items:flex-end;gap:.022em;height:.26em}
.mm-fx-wave i{width:.026em;height:.26em;border-radius:.02em;background:#fff;transform-origin:50% 100%;animation:mm-eq .9s ease-in-out var(--mm-d,0s) infinite}
.mm-fx-wave i:nth-child(2){animation-delay:calc(-.2s + var(--mm-d,0s))}.mm-fx-wave i:nth-child(3){animation-delay:calc(-.45s + var(--mm-d,0s))}.mm-fx-wave i:nth-child(4){animation-delay:calc(-.1s + var(--mm-d,0s))}.mm-fx-wave i:nth-child(5){animation-delay:calc(-.6s + var(--mm-d,0s))}
.mm-fx-shapes{inset:-.22em}
.mm-fx-shapes i.orb{position:absolute;inset:0;animation:mm-spin 3.2s linear var(--mm-d,0s) infinite}
.mm-fx-shapes b{position:absolute;width:.09em;height:.09em}
.mm-fx-shapes b.c{left:50%;top:0;margin-left:-.045em;border-radius:50%;background:#62d2f0}.mm-fx-shapes b.s{left:6%;bottom:18%;border-radius:.016em;background:#ff8fc3}.mm-fx-shapes b.t{right:6%;bottom:18%;background:#ffd84a;clip-path:polygon(50% 0,100% 100%,0 100%)}
.mm-fx-mag{left:.92em;top:-.06em;width:.26em;height:.26em}
.mm-fx-mag i{position:absolute;left:0;top:0;width:.15em;height:.15em;border:.02em solid #fff;border-radius:50%;background:rgba(255,255,255,.12);animation:mm-mag-sweep 2.4s ease-in-out var(--mm-d,0s) infinite}
.mm-fx-mag i::after{content:"";position:absolute;left:.125em;top:.125em;width:.075em;height:.022em;border-radius:.01em;background:#fff;transform:rotate(45deg);transform-origin:0 50%}
.mm-fx-belt{left:-.32em;right:-.32em;bottom:-.07em;height:.1em;overflow:hidden}
.mm-fx-belt::before{content:"";position:absolute;left:0;right:0;bottom:.01em;height:.012em;background:rgba(255,255,255,.4)}
.mm-fx-belt i{position:absolute;bottom:.02em;width:.06em;height:.06em;border-radius:.012em;background:#62d2f0;animation:mm-belt-move 2.4s linear var(--mm-d,0s) infinite}
.mm-fx-belt i:nth-child(2){background:#fff;animation-delay:calc(.8s + var(--mm-d,0s))}.mm-fx-belt i:nth-child(3){background:#ffd84a;animation-delay:calc(1.6s + var(--mm-d,0s))}
.mm-fx-check{left:.86em;top:-.06em;width:.2em;height:.2em;border-radius:50%;background:linear-gradient(160deg,#7dd3a8,#2fb67c);box-shadow:0 0 .08em rgba(125,211,168,.6);animation:mm-check-pop 1.2s ease-out var(--mm-d,0s) infinite}
.mm-fx-check::after{content:"";position:absolute;left:.062em;top:.034em;width:.048em;height:.09em;border:solid #fff;border-width:0 .02em .02em 0;transform:rotate(45deg)}
.mm-fx-arrow{left:.84em;top:-.1em;width:.3em;height:.3em;transform:rotate(-45deg)}
.mm-fx-arrow i{position:absolute;left:0;top:50%;width:.2em;height:.024em;margin-top:-.012em;border-radius:.01em;background:#fff;animation:mm-arrow-bob 1s ease-in-out var(--mm-d,0s) infinite}
.mm-fx-arrow i::after{content:"";position:absolute;right:0;top:50%;width:.07em;height:.07em;border:solid #fff;border-width:.024em .024em 0 0;transform:translateY(-50%) rotate(45deg)}
.mm-fx-clock{left:-.32em;top:-.08em;width:.22em;height:.22em;border-radius:50%;border:.016em solid #fff;background:rgba(255,255,255,.08)}
.mm-fx-clock i{position:absolute;left:50%;top:50%;width:.014em;background:#fff;transform-origin:50% 0;animation:mm-spin 6s linear var(--mm-d,0s) infinite}
.mm-fx-clock i.h1{height:.07em;margin-left:-.007em}.mm-fx-clock i.h2{height:.09em;margin-left:-.007em;animation-duration:1.6s}
.mm-fx-choices i{position:absolute;top:.34em;width:.2em;height:.26em;border-radius:.03em;border:.012em solid rgba(255,255,255,.7);background:rgba(255,255,255,.1);animation:mm-choice-glow 1.6s ease-in-out var(--mm-d,0s) infinite}
.mm-fx-choices i.c1{left:-.4em}.mm-fx-choices i.c2{left:1.2em;animation-delay:calc(.8s + var(--mm-d,0s))}
.mm-fx-zzz{left:.74em;top:.2em;width:.3em;height:.3em}
.mm-fx-zzz b{position:absolute;left:0;bottom:0;font-weight:700;color:#fff;opacity:0;font-size:.13em;animation:mm-z-float 2.4s ease-out var(--mm-d,0s) infinite}
.mm-fx-zzz b:nth-child(2){animation-delay:calc(.8s + var(--mm-d,0s))}.mm-fx-zzz b:nth-child(3){animation-delay:calc(1.6s + var(--mm-d,0s))}
.mm-fx-ball{inset:0}.mm-fx-ball i{position:absolute;left:50%;top:50%;width:.06em;height:.06em;margin:-.03em 0 0 -.03em;border-radius:50%;background:#fff;box-shadow:0 0 .05em #fff,0 0 .1em rgba(98,210,240,.8)}
@keyframes mm-slide-in{0%{transform:translate(.3em,-.1em) rotate(14deg) scale(.6);opacity:0}25%{transform:translate(0,0) rotate(-3deg) scale(1);opacity:1}85%{opacity:1}100%{transform:translate(-.04em,.03em) rotate(-3deg) scale(1);opacity:0}}
@keyframes mm-fan-a{from{transform:rotate(0)}to{transform:rotate(-24deg)}}@keyframes mm-fan-b{from{transform:rotate(0)}to{transform:rotate(0)}}@keyframes mm-fan-c{from{transform:rotate(0)}to{transform:rotate(24deg)}}
@keyframes mm-clap{0%,60%{transform:rotate(-26deg)}70%,100%{transform:rotate(0deg)}}
@keyframes mm-rec-blink{0%,49%{opacity:1}50%,100%{opacity:.15}}
@keyframes mm-flash{0%,58%{transform:scale(.2);opacity:0}62%{opacity:1}100%{transform:scale(1.4);opacity:0}}
@keyframes mm-polaroid-fall{0%{transform:translateY(0) rotate(-8deg);opacity:0}15%{opacity:1}100%{transform:translateY(.8em) rotate(14deg);opacity:0}}
@keyframes mm-doc-type{0%{transform:scaleX(0)}35%,88%{transform:scaleX(1)}100%{transform:scaleX(1);opacity:.2}}
@keyframes mm-cube-spin{to{transform:rotateY(360deg)}}
@keyframes mm-pop{0%{transform:scale(0);opacity:0}15%{transform:scale(1.25);opacity:1}30%,85%{transform:scale(1);opacity:1}100%{transform:scale(.8);opacity:0}}
@keyframes mm-eq{0%,100%{transform:scaleY(.25)}50%{transform:scaleY(1)}}
@keyframes mm-mag-sweep{0%,100%{transform:translate(0,0)}25%{transform:translate(.1em,.05em)}55%{transform:translate(-.05em,.1em)}80%{transform:translate(.04em,-.02em)}}
@keyframes mm-belt-move{from{transform:translateX(-.1em)}to{transform:translateX(1.55em)}}
@keyframes mm-check-pop{0%{transform:scale(0)}25%{transform:scale(1.25)}45%,100%{transform:scale(1)}}
@keyframes mm-arrow-bob{0%,100%{transform:translateX(0)}50%{transform:translateX(.05em)}}
@keyframes mm-choice-glow{0%,100%{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.4)}50%{background:rgba(98,210,240,.3);border-color:#62d2f0}}
@keyframes mm-z-float{0%{transform:translate(0,0) scale(.6);opacity:0}20%{opacity:1}100%{transform:translate(.16em,-.2em) scale(1.5);opacity:0}}

/* ---- calm by default: he breathes, he blinks, and that is all ---- */
.mm-body{animation:mm-breathe 5.2s ease-in-out var(--mm-d,0s) infinite}
@keyframes mm-breathe{0%,100%{transform:scale(1,1)}50%{transform:scale(1.008,1.014)}}
/* the person is typing: he looks at the box, eyes a little wider */
myup-mascot[data-listening] .mm-eye{height:.235em}
myup-mascot[data-listening] .mm-face{transform:translate(0,.05em)}
myup-mascot .mm-eye,myup-mascot .mm-face{transition:height .2s ease,transform .2s ease}
myup-mascot .mm-skin{transition:transform .11s cubic-bezier(.2,.9,.3,1),filter .11s ease}
myup-mascot.mm-blink-now .mm-eye>i{transform:scaleY(.08)}
myup-mascot.mm-poked .mm-skin{transform:translateY(-.035em) scale(1.09,.89);filter:brightness(1.14)}
myup-mascot.mm-poked .mm-gaze{transform:translate(calc(var(--gx,0)*.085em),calc(var(--gy,0)*.07em - .04em)) scale(1.1,.88)}
/* small avatars keep the eyes and drop the props, which would only be dots */
myup-mascot[data-compact] .mm-props{display:none}
@media (prefers-reduced-motion:reduce){myup-mascot *{animation:none!important;transition:none!important}}
