/* Spoiler Político · Funky sólo en Modo Escarba */

.sp-funky-anchor {
  position: relative;
  display: inline-flex;
  align-items: center;
  overflow: visible !important;
  isolation: isolate;
}

.sp-funky-mascot {
  position: absolute;
  left: calc(100% + 8px);
  top: 50%;
  width: clamp(64px, 8vw, 112px);
  height: auto;
  max-width: none;
  z-index: 12;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transform: translate(24px, -50%) scale(.96);
  transform-origin: center left;
  transition:
    opacity 180ms ease-out,
    transform 520ms cubic-bezier(.22, 1.35, .36, 1);
  filter: drop-shadow(0 5px 8px rgba(0, 0, 0, .22));
}

.sp-funky-mascot.is-visible {
  opacity: 1;
  transform: translate(0, -50%) scale(1);
}

.sp-funky-mascot[hidden],
.sp-funky-no-space > .sp-funky-mascot {
  display: none !important;
}

@media (max-width: 430px) {
  .sp-funky-mascot {
    left: calc(100% + 4px);
    width: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sp-funky-mascot {
    transition: none;
    transform: translate(0, -50%) scale(1);
  }
}