.fep-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.fep-item {
  position: absolute;
  top: -12vh;
  left: 0;
  will-change: transform, opacity;
  user-select: none;
  pointer-events: none;
  line-height: 1;
  animation-name: fep-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

.fep-shape {
  width: 18px;
  height: 24px;
  border-radius: 70% 30% 65% 35%;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.fep-shape::after {
  content: "";
  position: absolute;
  inset: 2px 4px 6px 4px;
  border-radius: inherit;
  background: rgba(255,255,255,.22);
}

.fep-rain {
  width: 2px;
  height: 20px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(148,199,255,.2), rgba(84,158,255,.9));
  box-shadow: 0 0 6px rgba(84,158,255,.25);
}

.fep-snow {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 0 10px rgba(255,255,255,.4);
}

.fep-bubble {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.7);
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.65), rgba(147,222,255,.12) 65%, rgba(147,222,255,.02));
}

@keyframes fep-fall {
  0% {
    transform: translate3d(0, -12vh, 0) rotate(0deg);
    opacity: 0;
  }
  8% {
    opacity: var(--fep-opacity, .75);
  }
  100% {
    transform: translate3d(var(--fep-drift, 30px), 112vh, 0) rotate(var(--fep-rotate, 240deg));
    opacity: 0;
  }
}
