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);
}

.sc {
  display: grid;
  gap: 16px;
  justify-items: center;
  width: min(88vw, 280px);
}

.sc__track {
  position: relative;
  width: 100%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.sc__fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  border-radius: 999px;
  background: #5b8cf8;
  width: 0%;
}

.sc__tick {
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%);
}

.sc__trail {
  position: absolute;
  top: 50%;
  left: 0;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 140, 248, 0.95) 0%, rgba(91, 140, 248, 0) 72%);
  filter: blur(2.5px);
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.sc__handle {
  position: absolute;
  top: 50%;
  left: 0;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 50%;
  background: #0a4fe8;
  border: 2px solid #ffffff;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  cursor: grab;
  touch-action: none;
  padding: 0;
}

.sc__handle:active {
  cursor: grabbing;
}

.sc__handle:focus-visible {
  outline: 2px solid #5b8cf8;
  outline-offset: 3px;
}

.sc__status {
  margin: 0;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.68);
  font-weight: 600;
}

@media (max-width: 340px) {
  .sc__handle {
    width: 32px;
    height: 32px;
    margin-top: -16px;
  }
  .sc__trail {
    width: 32px;
    height: 32px;
    margin-top: -16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sc__handle, .sc__fill {
    transition: none;
  }
}
