/* A separate stationary layer keeps ripples at the press point as the cursor moves. */
.pulsarPointerFeedback,
.pulsarPointerFeedback[popover] {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: clip;
  pointer-events: none;
  z-index: 2147483645; /* Directly below the existing cursor fallback layer. */
}

.pulsarPointerFeedback::backdrop {
  background: transparent;
  pointer-events: none;
}

.pulsarPointerRipple {
  position: absolute;
  box-sizing: border-box;
  width: 180px;
  height: 180px;
  margin: -90px 0 0 -90px;
  border: 2px solid currentColor;
  border-radius: 50%;
  pointer-events: none;
  animation: pulsar-pointer-ripple 500ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes pulsar-pointer-ripple {
  from { transform: scale(0.12); opacity: 0.72; }
  to { transform: scale(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  .pulsarPointerFeedback { display: none !important; }
  .pulsarPointerRipple { animation: none; }
}
