/* =====================================
   SHARED AITAI COUNTER + FLYING STARS
===================================== */

body.home-page .server-click-star {
  position: fixed !important;
  z-index: 999999 !important;
  pointer-events: none !important;

  color: #ef9fc5 !important;
  text-shadow:
    1px 1px 0 #ffffff,
    -1px 1px 0 #ffffff,
    1px -1px 0 #ffffff,
    -1px -1px 0 #ffffff !important;

  font-size: 17px !important;
  font-weight: 900 !important;
  line-height: 1 !important;

  animation: serverStarFly 900ms ease-out forwards !important;
}

@keyframes serverStarFly {
  from {
    opacity: 1;
    transform:
      translate(-50%, -50%)
      scale(.75)
      rotate(0deg);
  }

  to {
    opacity: 0;
    transform:
      translate(
        calc(-50% + var(--star-x)),
        calc(-50% + var(--star-y))
      )
      scale(1.35)
      rotate(var(--star-r));
  }
}

body.home-page .aitai-button,
body.home-page .aitai-card,
body.home-page #aitai-button,
body.home-page #aitai-card {
  cursor: pointer !important;
}
