.mascot-illustration {
  --mascot-size: 96px;
  position: relative;
  display: inline-flex;
  width: var(--mascot-size);
  height: var(--mascot-size);
  align-items: center;
  justify-content: center;
  margin: 0;
  pointer-events: none;
  user-select: none;
  contain: layout paint;
}

.mascot-illustration img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 26px rgba(35, 44, 86, 0.18));
}

.mascot-illustration.is-missing {
  display: none;
}

.mascot-illustration--glow::before {
  content: "";
  position: absolute;
  inset: 12%;
  z-index: -1;
  border-radius: 999px;
  background:
    radial-gradient(circle at 42% 38%, rgba(255, 255, 255, 0.58), transparent 30%),
    radial-gradient(circle, rgba(124, 92, 255, 0.32), rgba(36, 120, 255, 0.16) 44%, transparent 72%);
  filter: blur(14px);
  opacity: 0.72;
}

.mascot-illustration--floating {
  animation: mascotFloat 5.8s ease-in-out infinite;
}

.mascot-hero-corner {
  position: absolute;
  left: clamp(22px, 5vw, 78px);
  bottom: clamp(28px, 8vh, 86px);
  z-index: 2;
  opacity: 0.9;
}

.mascot-feedback {
  flex: 0 0 auto;
  margin-right: 2px;
  vertical-align: middle;
}

.mascot-empty {
  display: flex;
  margin: 4px auto 8px;
  opacity: 0.9;
}

.mascot-daily-slot {
  display: flex;
  margin: 10px 0 4px;
}

.mascot-daily-slot + .mascot-daily-slot {
  display: none;
}

.training-actions #trainingFeedback {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.training-mini-list .mascot-empty {
  justify-self: start;
  margin-left: 0;
}

@keyframes mascotFloat {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1deg);
  }

  50% {
    transform: translate3d(0, -8px, 0) rotate(1deg);
  }
}

@media (max-width: 920px) {
  .mascot-hero-corner {
    left: 18px;
    bottom: 24px;
    --mascot-size: 82px;
  }
}

@media (max-width: 700px) {
  .mascot-hero-corner {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mascot-illustration--floating {
    animation: none;
  }
}
