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

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

.dial-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 220px;
}

.dial-list li {
  position: relative;
  padding-left: 40px;
  min-height: 28px;
  display: flex;
  align-items: center;
  color: #fff7e6;
  font-size: 13px;
  transition: color 220ms ease-out;
}

.dial-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 24px;
  height: 24px;
  margin-top: -12px;
  border-radius: 50%;
  background: #2f6df6;
  box-shadow: inset 0 0 0 2px rgba(255, 247, 230, 0.25);
}

.dial-list li::after {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  width: 9px;
  height: 2px;
  margin-top: -1px;
  background: #fff7e6;
  transform-origin: left center;
  transform: rotate(var(--angle, 0deg));
  transition: transform 220ms ease-out;
}

.dial-list li.is-active {
  color: #5b8cf8;
}

.dial-list li.is-active::before {
  box-shadow: inset 0 0 0 2px rgba(255, 247, 230, 0.25), 0 0 0 4px rgba(47, 109, 246, 0.35);
}

.advance {
  appearance: none;
  border: none;
  margin-top: 16px;
  padding: 8px 16px;
  border-radius: 12px;
  background: #2f6df6;
  color: #fff7e6;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 140ms ease-out;
}
.advance:hover {
  transform: translateY(-1px);
}
.advance:active {
  transform: scale(0.96);
}
.advance:focus-visible {
  outline: 2px solid #5b8cf8;
  outline-offset: 2px;
}

@media (max-width: 340px) {
  .dial-list {
    width: 180px;
    gap: 4px;
  }
  .dial-list li {
    font-size: 11px;
    min-height: 22px;
    padding-left: 32px;
  }
  .dial-list li::before {
    width: 20px;
    height: 20px;
    margin-top: -10px;
  }
  .dial-list li::after {
    left: 10px;
  }
  .advance {
    margin-top: 8px;
    padding: 4px 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dial-list li::after {
    transition: none;
  }
  .advance {
    transition: none;
  }
}
