.curtain-glints {
  position: absolute;
  inset: 0;
  z-index: 3;
}

.curtain-glints i {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  width: 12px;
  height: 12px;
  margin: -6px 0 0 -6px;
  background: var(--gold);
  clip-path: polygon(50% 0, 62% 38%, 100% 50%, 62% 62%, 50% 100%, 38% 62%, 0 50%, 38% 38%);
  filter: drop-shadow(0 0 4px var(--curtain-light));
  opacity: 0;
}

@keyframes curtain-fx-twinkle {
  0% { opacity: 0; transform: scale(0) rotate(0); }
  40% { opacity: 1; transform: scale(var(--s, 1)) rotate(45deg); }
  100% { opacity: 0; transform: scale(calc(var(--s, 1) * 0.2)) rotate(120deg); }
}
