.compatlas-mascot {
  position: fixed;
  z-index: 19;
  right: clamp(12px, 2vw, 28px);
  bottom: calc(18px + env(safe-area-inset-bottom));
  width: clamp(58px, 5vw, 72px);
  aspect-ratio: 1;
  color: var(--fg);
  filter: drop-shadow(0 12px 18px color-mix(in oklab, var(--fg) 14%, transparent));
  transition: transform .3s cubic-bezier(.16, 1, .3, 1), filter .3s ease;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}

.compatlas-mascot canvas,
.compatlas-mascot svg {
  display: block;
  width: 100%;
  height: 100%;
}

@media (hover: hover) and (pointer: fine) {
  .compatlas-mascot:hover {
    transform: translateY(-3px) rotate(-1deg);
    filter: drop-shadow(0 16px 22px color-mix(in oklab, var(--fg) 18%, transparent));
  }
}

@media (max-width: 720px) {
  .compatlas-mascot {
    right: 10px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    width: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .compatlas-mascot { transition: none; }
  .compatlas-mascot:hover { transform: none; }
}

@media print {
  .compatlas-mascot { display: none; }
}
