#fxLayer,
#finaleFx {
  pointer-events: none;
}

#finaleFx {
  position: fixed;
  z-index: 2;
  inset: 0;
  overflow: hidden;
}

.finale-card {
  position: relative;
  z-index: 1;
}

.juice-node {
  pointer-events: none;
  position: absolute;
  transform-origin: center;
  will-change: transform, opacity;
}

.juice-halo {
  border-radius: 50%;
  background: radial-gradient(circle, rgb(255 248 205 / 0%) 35%, rgb(255 221 109 / 54%) 58%, rgb(255 238 173 / 0%) 78%);
  mix-blend-mode: screen;
}

.juice-halo.juice-coral {
  background: radial-gradient(circle, rgb(255 244 221 / 0%) 35%, rgb(240 151 124 / 42%) 58%, rgb(255 228 190 / 0%) 78%);
}

.juice-particle {
  border-radius: 50%;
  box-shadow: 0 0 6px rgb(255 244 198 / 45%);
  opacity: 0;
  will-change: transform, opacity;
}

.juice-particle.juice-trail::after {
  position: absolute;
  top: 50%;
  right: 50%;
  width: 32px;
  height: 2px;
  content: "";
  background: linear-gradient(90deg, transparent, currentColor);
  border-radius: 999px;
  opacity: 0.58;
  transform: translateY(-50%) rotate(calc(var(--trail-angle) + 180deg));
  transform-origin: right center;
}

.juice-edgeglint {
  width: 4px;
  height: 86px;
  background: linear-gradient(180deg, transparent, currentColor, transparent);
  border-radius: 999px;
  opacity: 0;
  filter: blur(0.3px);
  mix-blend-mode: screen;
}

.juice-edgeglint.juice-gold {
  color: rgb(242 193 65 / 48%);
}

.juice-edgeglint.juice-ice {
  color: rgb(169 227 237 / 48%);
}

@media (prefers-reduced-motion: reduce) {
  .juice-node {
    animation: none !important;
    transition: none !important;
  }
}
