@charset "UTF-8";
.line-anime {
  position: absolute;
  top: -15px;
  right: 0;
  width: 80%;
  aspect-ratio: 1320 / 348;
  z-index: 1;
  pointer-events: none;
}

.line-anime img {
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  opacity: 0;
  will-change: opacity, transform;
}

.line-anime.is-active img:first-child {
  animation: lineSoftFade 1.4s ease-out 0.15s forwards;
}

.line-anime img:nth-child(n + 2) {
  transform: translateY(-10px);
}

.line-anime.is-active img:nth-child(n + 2) {
  animation: petalSoftDrop 1.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.line-anime.is-active img:nth-child(2) {
  animation-delay: 0.45s;
}

.line-anime.is-active img:nth-child(3) {
  animation-delay: 0.58s;
}

.line-anime.is-active img:nth-child(4) {
  animation-delay: 0.72s;
}

.line-anime.is-active img:nth-child(5) {
  animation-delay: 0.86s;
}

.line-anime.is-active img:nth-child(6) {
  animation-delay: 1s;
}

.line-anime.is-active img:nth-child(7) {
  animation-delay: 1.14s;
}

@keyframes lineSoftFade {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes petalSoftDrop {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }

  60% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .line-anime img {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.top-score-effect {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.96;
  perspective: 520px;
  perspective-origin: 38% 34%;
}

.top-score-effect__svg {
  position: absolute;
  top: -18%;
  right: -6%;
  width: 118%;
  height: 108%;
  overflow: visible;
  transform-origin: 0% 45%;
  transform-style: preserve-3d;
  transform: translate3d(-7%, 3%, 0) rotateZ(-6deg) skewX(0deg) scaleX(0.82);
  animation: topScoreDepth 15s ease-in-out infinite;
}

.top-score-effect__line {
  fill: none;
  stroke: var(--color);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: 0.92;
  filter: drop-shadow(0 0 3px rgba(146, 243, 164, 0.32));
  transform-box: fill-box;
  transform-origin: center;
  transform: translate3d(0, 0, 0);
  animation: none;
}

.top-score-effect__petal {
  opacity: 0.9;
  transform-box: fill-box;
  transform-origin: center;
  filter: drop-shadow(0 0 4px rgba(146, 243, 164, 0.45));
  transform: translate3d(0, 0, 18px);
  animation: none;
}

.top-score-effect__petal-2 {
  opacity: 0.82;
  animation-delay: -1.2s;
}

.top-score-effect__petal-3 {
  opacity: 0.86;
  animation-delay: -2.2s;
}

.top-score-effect__petal-4 {
  opacity: 0.78;
  animation-delay: -3s;
}

@keyframes topScoreDepth {
  0% {
    transform: translate3d(-7%, 3%, -42px) rotateZ(-6deg) skewX(0deg) scaleX(0.78);
  }

  50% {
    transform: translate3d(-7%, 3%, 78px) rotateZ(-6deg) skewX(0deg) scaleX(0.9);
  }

  100% {
    transform: translate3d(-7%, 3%, -42px) rotateZ(-6deg) skewX(0deg) scaleX(0.78);
  }
}

@media (prefers-reduced-motion: reduce) {
  .top-score-effect__svg,
  .top-score-effect__line,
  .top-score-effect__petal {
    animation: none;
  }
}


@media screen and (min-width: 1px) and (max-width: 743px) {
  .line-anime {
  top: -5px;
  width: 100%;
}

  .top-score-effect {
    display: none;
  }
}

@media screen and (min-width: 744px) and (max-width: 1024px) {
  .top-score-effect__svg {
    top: 4%;
    right: -20%;
    width: 132%;
    height: 86%;
  }
}
