.club-glitter-rain {
  position: fixed;
  inset: 0;
  z-index: 999;
  overflow: hidden;
  pointer-events: none;
  user-select: none;
}
.club-glitter-rain i {
  position: absolute;
  top: -24px;
  left: var(--x);
  width: var(--size);
  height: var(--size);
  background: radial-gradient(circle, white 8%, var(--tint) 65%);
  border-radius: 50%;
  animation: club-glitter-fall var(--period) linear var(--phase) infinite;
}
.club-glitter-rain i:nth-child(3n + 1) {
  clip-path: polygon(50% 0,61% 38%,100% 50%,61% 60%,50% 100%,39% 61%,0 50%,39% 39%);
}
@keyframes club-glitter-fall {
  0% { transform: translate3d(0,0,0) rotate(0deg); opacity: 0; }
  12%,68% { opacity: .83; }
  42%,88% { opacity: .32; }
  100% { transform: translate3d(var(--drift),calc(100vh + 48px),0) rotate(100deg); opacity: 0; }
}
@media (max-width: 650px) {
  .club-glitter-rain i:nth-child(n + 17) { display: none; }
}
@media (prefers-reduced-motion: reduce), print {
  .club-glitter-rain { display: none; }
  .club-glitter-rain i { animation: none; }
}
