/* Keep the star on its traced path while it returns to the top. */
.scroll-star.is-at-end,
.scroll-star.is-returning-top {
  opacity: 1 !important;
  filter: drop-shadow(0 9px 16px rgba(143, 100, 25, .38)) !important;
}

.scroll-star.is-at-end {
  border-radius: 50%;
  animation: scrollStarHomeGlow 1.8s ease-in-out infinite;
}

@keyframes scrollStarHomeGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(207, 169, 87, 0); }
  50% { box-shadow: 0 0 0 8px rgba(207, 169, 87, .18); }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-star,
  .scroll-star.is-at-end,
  .scroll-star.is-returning-top {
    transition-duration: .01ms !important;
    animation: none !important;
  }
}
