.hoodie-husky {
  display: inline-block; width: 100%; aspect-ratio: 228 / 268;
  background: url("/art/hoodie-husky.webp") no-repeat 0% 50% / 600% 100%;
  animation: husky-wave 4.8s steps(1,end) infinite;
}
@keyframes husky-wave {
  0%, 34% {background-position-x:0%}
  40% {background-position-x:20%}
  47%,61%,76% {background-position-x:40%}
  54%,69% {background-position-x:60%}
  82% {background-position-x:80%}
  89% {background-position-x:20%}
  95%,100% {background-position-x:0%}
}
.hoodie-husky.fed {background-position-x:100%;animation:husky-chew 1.2s ease-in-out infinite}
@keyframes husky-chew {0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-2px) rotate(1deg)}}
.mascot-peek {
  position: absolute; bottom: 0; right: 0; width: clamp(47px,6.25cqw,98px);
  aspect-ratio: 228/265; overflow: hidden; z-index: 3;
}
.mascot-peek .husky-emerge {
  display: block; position: absolute; inset: 0;
  transform: translate(8%,47%) rotate(-6deg); transform-origin: center bottom;
  transition: transform .32s cubic-bezier(.2,.7,.24,1.15);
}
.mascot-peek:is(:hover,:focus-visible,:active) .husky-emerge {transform:translate(0,0)}
.mascot-peek.husky-responding .husky-emerge {animation:husky-perk .56s cubic-bezier(.2,.75,.32,1) both}
@keyframes husky-perk {
  0% {transform:translate(1%,10%) rotate(-3deg) scale(.99,.97)}
  35% {transform:translate(0,-4%) rotate(3deg)}
  68% {transform:translate(0,1%) rotate(-1.5deg)}
  100% {transform:translate(0,0)}
}
.mascot-peek:is(:hover,:focus-visible) .hoodie-husky,.acct-husky .hoodie-husky {
  animation-name: husky-greet; animation-duration: 2.9s;
}
@keyframes husky-greet {
  0% {background-position-x:20%}
  7%,25%,44%,62% {background-position-x:40%}
  17%,35%,54% {background-position-x:60%}
  72% {background-position-x:80%}
  81% {background-position-x:20%}
  88%,100% {background-position-x:0%}
}
.acct-husky .hoodie-husky {width:94px; flex:none;}
.acct-husky .hoodie-husky.fed {animation:husky-chew 1.2s ease-in-out infinite; background-position-x:100%}
body.map-open .mascot-peek {visibility:hidden}
@media (max-width:700px) and (orientation:portrait) {
  .mascot-peek:not(:hover,:focus-visible,:active,.husky-responding) .husky-emerge {transform:translate(3%,26%) rotate(-4deg)}
}
@media(prefers-reduced-motion:reduce) {
  .hoodie-husky,.acct-husky .hoodie-husky,.mascot-peek:is(:hover,:focus-visible) .hoodie-husky {animation:none!important}
  .hoodie-husky:not(.fed) {background-position-x:40%}
  .mascot-peek .husky-emerge {transition:none}
  .mascot-peek.husky-responding .husky-emerge {animation:none;transform:translate(0,0)}
  .mascot-peek.husky-responding .hoodie-husky {background-position-x:60%}
}
