.click-star {
  position: fixed;
  z-index: 1000;
  display: block;
  width: 25px;
  height: 25px;
  pointer-events: none;
  user-select: none;
  transform: translate(-50%, -50%) rotate(var(--star-tilt, 0deg));
  animation: blue-star-pop 600ms ease-out both;
}

.click-star svg {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes blue-star-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -45%) rotate(var(--star-tilt, 0deg)) scale(.65);
  }
  22% {
    opacity: .9;
    transform: translate(-50%, -55%) rotate(var(--star-tilt, 0deg)) scale(1);
  }
  60% {
    opacity: .7;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -100%) rotate(var(--star-tilt, 0deg)) scale(.85);
  }
}

.navlinks a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 9px;
  height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M18 2L21 13L34 11L25 21L29 34L18 27L7 34L10 21L2 14L14 13Z' fill='%236188c2'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  transform: translateX(-50%);
  transition: opacity 150ms ease;
  pointer-events: none;
}

.navlinks a.is-current::after {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .click-star {
    animation: none;
    opacity: .85;
  }

  .navlinks a::after {
    transition: none;
  }
}
