.aluen-ambient-glow {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  background: radial-gradient(circle 345px at var(--aluen-glow-x, 50%) var(--aluen-glow-y, 50%), rgba(230, 168, 196, .20), rgba(228, 231, 239, .09) 42%, transparent 72%);
  transition: opacity .5s ease;
  will-change: background, opacity;
}

.aluen-ambient-glow.is-visible { opacity: 1; }
.aluen-ambient-glow.is-captured {
  opacity: 1;
  background: radial-gradient(
    circle 285px at var(--aluen-glow-x, 50%) var(--aluen-glow-y, 50%),
    rgba(230, 168, 196, .3),
    rgba(228, 231, 239, .13) 38%,
    rgba(107, 79, 163, .06) 56%,
    transparent 72%
  );
  transition-duration: .18s;
}

.aluen-ambient-glow.is-captured.is-compact-captured {
  background: radial-gradient(
    circle 138px at var(--aluen-glow-x, 50%) var(--aluen-glow-y, 50%),
    rgba(230, 168, 196, .34),
    rgba(228, 231, 239, .13) 32%,
    rgba(107, 79, 163, .045) 52%,
    transparent 72%
  );
}

/* En superficies, la energia vive dentro de la geometria y no como un disco externo. */
.aluen-ambient-glow.is-captured.is-surface-captured { opacity: 0; }

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .aluen-ambient-glow { display: none; }
}
