.lystro-mascot {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 12;
  display: grid;
  place-items: center;
  width: 124px;
  height: 124px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  transform: translate3d(0, 0, 0);
  -webkit-tap-highlight-color: transparent;
}
.lystro-mascot[hidden] { display: none !important; }
.lystro-mascot.is-ready { opacity: .8; }
.lystro-mascot.is-moving { transition: transform 1s linear, opacity .2s ease; }
.lystro-mascot:hover, .lystro-mascot:focus-visible { opacity: 1; }
.lystro-mascot:focus-visible { outline: 2px solid #63734b; outline-offset: 3px; border-radius: 16px; }
.lystro-mascot-facing {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 2px 3px rgba(38, 48, 28, .12));
}
.lystro-mascot.facing-right .lystro-mascot-facing { transform: scaleX(-1); }
.lystro-mascot-sprite {
  position: absolute;
  inset: 0;
  opacity: 0;
  background-repeat: no-repeat;
  clip-path: inset(2px);
  pointer-events: none;
  user-select: none;
}
html[data-theme="dark"] .lystro-mascot-facing {
  filter: brightness(1.25) drop-shadow(0 1px 5px rgba(194, 219, 169, .23));
}
@media (max-width: 620px) {
  .lystro-mascot { width: 88px; height: 88px; }
  .lystro-mascot.is-ready { opacity: .75; }
}
@media (prefers-reduced-motion: reduce) {
  .lystro-mascot, .lystro-mascot.is-moving,
  .lystro-mascot-sprite { transition: none !important; }
}

.lystro-mascot-rig { position: absolute; inset: 0; display: none; pointer-events: none; }
.lystro-mascot.rig-walking .lystro-mascot-rig { display: block; }
.lystro-mascot.rig-walking .lystro-mascot-facing { visibility: hidden; }
.lystro-mascot-rig svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lystro-mascot-rig svg[hidden] { display: none; }
.lystro-mascot-rig svg.mirrored { transform: scaleX(-1); }
html[data-theme="dark"] .lystro-mascot-rig { filter: brightness(1.25) drop-shadow(0 1px 5px rgba(194, 219, 169, .23)); }
