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

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

.wrap {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.hint {
  margin: 0;
  color: rgba(23, 20, 26, 0.72);
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 500;
  font-size: 11px;
}

.hint span {
  color: #17141a;
  font-weight: 700;
}

.tick {
  width: 100%;
  max-width: 120px;
  height: 4px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.14);
  overflow: hidden;
}

.tickBar {
  --within: 0;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #17141a;
  transform: scaleX(var(--within, 0));
  transform-origin: left;
}

.row {
  --cols: 2;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  gap: 8px;
}

.btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 8px 4px;
  border: 0;
  border-radius: 12px;
  background: rgba(23, 20, 26, 0.08);
  cursor: default;
}

.btn.is-hidden {
  display: none;
}

.icon {
  width: 16px;
  height: 16px;
  animation: iconPulse 2s ease-out infinite;
}

.iconCircle {
  border-radius: 999px;
  background: #17141a;
}

.iconSquare {
  border-radius: 4px;
  background: #17141a;
}

.iconTriangle {
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 16px solid #17141a;
}

.iconDiamond {
  background: #17141a;
  border-radius: 4px;
  transform: rotate(45deg);
}

.iconStar {
  background: #17141a;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.label {
  color: #17141a;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 500;
  font-size: 10px;
}

@keyframes iconPulse {
  0%, 100% {
    opacity: 0.82;
  }
  50% {
    opacity: 1;
  }
}
@media (max-width: 340px) {
  .wrap {
    max-width: 280px;
  }
  .label {
    font-size: 9px;
  }
  .btn {
    padding: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .icon {
    animation: none;
  }
}
