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

.volknob {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.volknob__icon {
  width: 28px;
  height: 28px;
  color: #17141a;
}

.volknob__panel {
  position: relative;
  width: clamp(132px, 42vw, 176px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(130% 130% at 30% 24%, #ffffff, #eceaf1 70%);
  box-shadow: inset 0 2px 4px rgba(23, 20, 26, 0.18), 0 3px 8px rgba(23, 20, 26, 0.14);
}

.volknob__tick {
  position: absolute;
  top: 6px;
  left: calc(50% - 2px);
  width: 4px;
  height: 10px;
  border-radius: 999px;
  background: #a9a4b4;
  transform-origin: 50% calc(clamp(66px, 21vw, 88px) - 11px);
}

.volknob__tick--1 {
  transform: rotate(-120deg);
}

.volknob__tick--2 {
  transform: rotate(-60deg);
}

.volknob__tick--3 {
  transform: rotate(0deg);
}

.volknob__tick--4 {
  transform: rotate(60deg);
}

.volknob__tick--5 {
  transform: rotate(120deg);
}

.volknob__knob {
  position: absolute;
  top: 20%;
  left: 20%;
  right: 20%;
  bottom: 20%;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 34% 26%, rgba(255, 255, 255, 0.32), transparent 42%), conic-gradient(from 250deg, #38343f, #2b2831 90deg, #38343f 170deg, #2b2831 260deg, #38343f 340deg);
  box-shadow: 0 6px 10px rgba(23, 20, 26, 0.35), inset 0 1px 2px rgba(255, 255, 255, 0.22);
  animation: knobSweep 2s ease-out infinite;
}

.volknob__knob:focus-visible {
  outline: 3px solid #2f6df6;
  outline-offset: 3px;
}

.volknob__needle {
  position: absolute;
  top: 6%;
  left: calc(50% - 2px);
  width: 4px;
  height: 30%;
  border-radius: 999px;
  background: #efe8f7;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
}

.volknob__label {
  margin: 0;
  color: #17141a;
  font-weight: 700;
  font-size: clamp(11px, 2.8vw, 13px);
  line-height: 1;
  font-family: inherit;
}

@keyframes knobSweep {
  0%, 8% {
    transform: rotate(-120deg);
  }
  46%, 56% {
    transform: rotate(120deg);
  }
  92%, 100% {
    transform: rotate(-120deg);
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .volknob__icon {
    width: 20px;
    height: 20px;
  }
  .volknob__label {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .volknob__knob {
    animation: none !important;
    transform: none;
  }
}
