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

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

.listcrayon {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: clamp(220px, 80vw, 300px);
}

.listcrayon__row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid rgba(51, 38, 28, 0.16);
  padding: 8px 16px;
}

.listcrayon__check {
  flex-shrink: 0;
  width: 24px;
  height: 20px;
  overflow: visible;
}

.listcrayon__check-path {
  fill: none;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 26;
  animation: checkDraw 2s ease-out infinite;
}

.listcrayon__row--1 .listcrayon__check-path {
  stroke: #dbb6b7;
  animation-delay: 0ms;
}

.listcrayon__row--2 .listcrayon__check-path {
  stroke: #9cb8ce;
  animation-delay: 160ms;
}

.listcrayon__row--3 .listcrayon__check-path {
  stroke: #6dbe6d;
  animation-delay: 320ms;
}

.listcrayon__row--4 .listcrayon__check-path {
  stroke: #cbbfe0;
  animation-delay: 480ms;
}

.listcrayon__text {
  color: #33261c;
  font-weight: 600;
  font-size: clamp(11px, 2.8vw, 13px);
}

@keyframes checkDraw {
  0% {
    stroke-dashoffset: 26;
    opacity: 0;
  }
  6% {
    opacity: 1;
  }
  45% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  80% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
  100% {
    stroke-dashoffset: -26;
    opacity: 0;
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .listcrayon {
    gap: 4px;
  }
  .listcrayon__row {
    padding: 4px 12px;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .listcrayon__check-path {
    animation: none !important;
    stroke-dashoffset: 0;
    opacity: 1;
  }
}
