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

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

.dr {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.dr__ring {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: repeating-conic-gradient(rgba(23, 20, 26, 0.12) 0 2deg, transparent 2deg 30deg);
  touch-action: none;
}

.dr__knob {
  position: absolute;
  inset: 24px;
  appearance: none;
  border: none;
  border-radius: 50%;
  cursor: grab;
  background: radial-gradient(circle at 35% 30%, rgba(255, 247, 230, 0.9), #2f6df6 70%);
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  transform: rotate(calc(var(--angle, 0) * 1deg));
}

.dr__knob:active {
  cursor: grabbing;
}

.dr__knob:focus-visible {
  outline: 2px solid #0a4fe8;
  outline-offset: 3px;
}

.dr__knob::after {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(50% - 3px);
  width: 6px;
  height: 22px;
  border-radius: 999px;
  background: #fff7e6;
}

.dr__hint {
  margin: 0;
  color: #17141a;
  font-size: 11px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 340px) {
  .dr__ring {
    width: 132px;
    height: 132px;
  }
  .dr__knob {
    inset: 16px;
  }
  .dr__knob::after {
    height: 16px;
    top: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .dr__knob {
    transition: none;
  }
}
