html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ffffff;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.cue {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: clamp(8px, 2vw, 12px);
  color: #17141a;
  font-weight: 600;
  font-size: clamp(14px, 4vw, 18px);
  line-height: 1;
  font-family: inherit;
}

.cue__wrap {
  position: relative;
  display: grid;
}

.cue__arrow {
  grid-area: 1/1;
  color: #17141a;
  animation: bob 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes bob {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}
.cue__fx {
  grid-area: 1/1;
  color: #17141a;
  pointer-events: none;
  overflow: visible;
}

.cue__trail {
  stroke: currentColor;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  opacity: 0;
}

.cue__spark {
  fill: currentColor;
  opacity: 0;
  transform: scale(1.6);
  transform-origin: center;
  transform-box: fill-box;
  filter: drop-shadow(0 0 1px currentColor);
}

.cue__bit {
  fill: currentColor;
  opacity: 0;
  transform: translate(0, 0);
  animation: bit-fly 420ms ease-out forwards;
}

@keyframes bit-fly {
  0% {
    opacity: 0.9;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(0.3);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cue__arrow {
    animation: none;
  }
  .cue__fx {
    display: none;
  }
}
