/* Full-screen, click-through layer */
#ca-sparkle-layer {
  position: fixed;
  inset: 0;
  pointer-events: none; /* don’t block clicks */
  z-index: 999999;
  contain: layout paint size style;
}

/* Optional title */
.ca-sparkle-title {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
  opacity: .9;
  pointer-events: none;
}

/* Cursor follower */
.ca-cursor {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transform: translate(-50%,-50%);
  pointer-events: none;
  will-change: transform, opacity;
  mix-blend-mode: normal;
}

/* Spark node (transition forced with !important to beat theme resets) */
#ca-sparkle-layer .ca-spark {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  will-change: transform, opacity;
  filter: blur(.2px);
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  transition: transform 900ms cubic-bezier(0.4,0,0.2,1) !important,
              opacity   900ms cubic-bezier(0.4,0,0.2,1) !important;
}

/* Respect accessibility */
@media (prefers-reduced-motion: reduce) {
  #ca-sparkle-layer { display: none !important; }
}
