.account-mascot-stage {
  --account-mascot-size: 300px;
  width: var(--account-mascot-size);
  max-width: 100%;
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-self: center;
}
.account-mascot-picture {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  isolation: isolate;
  pointer-events: none;
}
.account-mascot-dancer {
  position: absolute;
  inset: 0;
  transform-origin: 52% 94%;
  animation: account-mascot-dance 16s ease-in-out infinite;
  animation-play-state: paused;
}
.account-mascot-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.account-mascot-shadow {
  position: absolute;
  left: 26%;
  bottom: 0;
  width: 52%;
  height: 7%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(44, 49, 72, .15) 0%, rgba(44, 49, 72, .055) 45%, transparent 72%);
  animation: account-mascot-floor 16s ease-in-out infinite;
  animation-play-state: paused;
  z-index: -1;
}
.account-mascot-stage[data-motion="playing"] .account-mascot-dancer,
.account-mascot-stage[data-motion="playing"] .account-mascot-shadow { animation-play-state: running; }
.account-mascot-motion {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 126px;
  min-height: 44px;
  padding: 0 12px;
  margin-top: 5px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #687182;
  font: inherit;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}
.account-mascot-motion:hover:not(:disabled) { color: #282b31; background: rgba(40, 43, 49, .04); }
.account-mascot-motion:focus-visible { outline: 2px solid #425bd3; outline-offset: 3px; }
.account-mascot-motion:disabled { cursor: default; }
/* A welcome, two dancing steps, an inviting lean, then a held rest. */
@keyframes account-mascot-dance {
  0%, 8%, 100% { transform: translate3d(0, 0, 0) rotate(0); }
  15% { transform: translate3d(-9px, -4px, 0) rotate(-5deg); }
  23% { transform: translate3d(8px, -7px, 0) rotate(5deg); }
  31% { transform: translate3d(0, 0, 0) rotate(0); }
  38% { transform: translate3d(-18px, -5px, 0) rotate(-7deg); }
  43% { transform: translate3d(-13px, -18px, 0) rotate(-3deg); }
  48% { transform: translate3d(-7px, 0, 0) rotate(-2deg); }
  55% { transform: translate3d(18px, -5px, 0) rotate(7deg); }
  60% { transform: translate3d(13px, -18px, 0) rotate(3deg); }
  65% { transform: translate3d(7px, 0, 0) rotate(2deg); }
  73%, 77% { transform: translate3d(10px, -3px, 0) rotate(5deg); }
  85%, 96% { transform: translate3d(0, 0, 0) rotate(0); }
}
@keyframes account-mascot-floor {
  0%, 8%, 31%, 48%, 65%, 85%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 1; }
  15% { transform: translate3d(-6px, 0, 0) scale(.98); opacity: .9; }
  23% { transform: translate3d(6px, 0, 0) scale(.96); opacity: .86; }
  38% { transform: translate3d(-12px, 0, 0) scale(.96); opacity: .9; }
  43% { transform: translate3d(-9px, 0, 0) scale(.88); opacity: .68; }
  55% { transform: translate3d(12px, 0, 0) scale(.96); opacity: .9; }
  60% { transform: translate3d(9px, 0, 0) scale(.88); opacity: .68; }
  73%, 77% { transform: translate3d(7px, 0, 0) scale(.98); opacity: .94; }
}
@media (max-width: 1100px) and (min-width: 901px) { .account-mascot-stage { --account-mascot-size: 220px; } }
@media (max-width: 900px) { .account-mascot-stage { --account-mascot-size: 240px; } }
@media (prefers-reduced-motion: reduce) {
  .account-mascot-dancer, .account-mascot-shadow { animation: none !important; transform: none !important; }
}
