#withsoul-mascot {
  --soul-width: 108px;
  position: fixed !important;
  left: 10px;
  bottom: 106px;
  width: var(--soul-width);
  height: calc(var(--soul-width) * 1.55801105);
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-radius: 24px !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: 99998;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: opacity .18s ease;
  isolation: isolate;
}
#withsoul-mascot[hidden] { display: none !important; }
#withsoul-mascot::before, #withsoul-mascot::after { display: none !important; }
#withsoul-mascot:focus-visible { outline: 3px solid #E88CE3; outline-offset: 4px; }
#withsoul-mascot:hover, #withsoul-mascot:active, #withsoul-mascot:focus {
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
#withsoul-mascot .soul-sprite {
  display: block;
  width: 100%;
  height: 100%;
  background-image: url('./soul-sprites.webp');
  background-size: 600% 100%;
  background-position: 0% 0;
  background-repeat: no-repeat;
  transform-origin: 50% 92%;
  filter: drop-shadow(0 4px 4px rgb(15 30 75 / 16%));
  pointer-events: none;
}
#withsoul-mascot.is-chat-open { opacity: 0; pointer-events: none; }
#withsoul-mascot.is-ready .soul-sprite { animation: soul-breathe 5s ease-in-out infinite; }
@keyframes soul-breathe {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-3px) rotate(1deg); }
}
@media (max-width: 600px) {
  #withsoul-mascot { --soul-width: 82px; left: 12px; }
}
@media (max-height: 420px) {
  #withsoul-mascot { --soul-width: 64px; }
}
@media (prefers-reduced-motion: reduce) {
  #withsoul-mascot, #withsoul-mascot .soul-sprite { animation: none !important; transition: none !important; }
}
