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

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

.ds-svg {
  width: min(220px, 70vw);
  height: auto;
  overflow: visible;
}

.ds-path {
  fill: none;
  stroke: #17141a;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  animation: ds-draw 2.2s ease-out infinite;
}

.ds-path-trail {
  fill: none;
  stroke: #17141a;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  opacity: 0.22;
  animation: ds-draw 2.2s ease-out 90ms infinite;
}

.ds-tip {
  fill: #17141a;
  opacity: 0;
  transform-origin: 80px 30px;
  transform: scale(0);
}

@keyframes ds-tip-pop {
  0%, 50% {
    opacity: 0;
    transform: scale(0);
  }
  58% {
    opacity: 1;
    transform: scale(1.6);
  }
  66% {
    opacity: 1;
    transform: scale(1);
  }
  78%, 100% {
    opacity: 0;
    transform: scale(0);
  }
}
.ds-tip {
  animation: ds-tip-pop 2.2s ease-out infinite;
}

@keyframes ds-draw {
  0% {
    stroke-dashoffset: 100;
  }
  55% {
    stroke-dashoffset: 0;
  }
  80% {
    stroke-dashoffset: 0;
  }
  100% {
    stroke-dashoffset: -100;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ds-path {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }
  .ds-path-trail {
    animation: none !important;
    opacity: 0 !important;
  }
  .ds-tip {
    animation: none !important;
    opacity: 0 !important;
    transform: scale(0) !important;
  }
}
