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

.kd {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.kd__knob {
  position: relative;
  appearance: none;
  border: none;
  border-radius: 50%;
  width: 148px;
  height: 148px;
  cursor: pointer;
  background: radial-gradient(circle at 32% 28%, rgba(255, 247, 230, 0.95), #c93000 72%);
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  transform: scale(var(--scale, 1));
  transform-origin: center;
}

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

.kd__face {
  position: absolute;
  inset: 18px;
  border-radius: 50%;
  border: 2px solid rgba(255, 247, 230, 0.5);
}

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

.kd__value {
  margin: 0;
  color: #17141a;
  font-weight: 800;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 340px) {
  .kd__knob {
    width: 108px;
    height: 108px;
  }
  .kd__face {
    inset: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .kd__knob {
    transition: none;
  }
}
