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

.tcm {
  --p0: rgb(74.7450980392%, 65.7254901961%, 100%);
  --p1: rgb(93.4117647059%, 91.0588235294%, 100%);
  --p2: rgb(88.4705882353%, 84.3529411765%, 100%);
  --p3: rgb(28.0784313725%, 24.3137254902%, 37.137254902%);
  --p4: rgb(44.5960784314%, 38.5882352941%, 60.4862745098%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 424px;
}

.tcm__hint {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  font-weight: 700;
  font-size: clamp(10px, 2.8vw, 12px);
  line-height: 1.35;
  color: #17141a;
}

.tcm__ico {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #17141a;
}

.tcm__field {
  position: relative;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  background: rgb(74.7450980392%, 65.7254901961%, 100%);
  box-shadow: inset 0 0 0 1px rgba(23, 20, 26, 0.16);
}

.tcm__cv {
  display: block;
  width: 100%;
  height: 100%;
}

.tcm__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tcm__dial {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 11px;
  color: #17141a;
}

.tcm__dial input {
  margin: 0;
  padding: 4px 8px;
  border: 0;
  border-radius: 8px;
  background: rgba(23, 20, 26, 0.08);
  color: #17141a;
  font-weight: 700;
  font-size: 12px;
  font-family: inherit;
}

.tcm__dial input[type=number] {
  width: 72px;
}

.tcm__dial input[type=range] {
  width: 132px;
  height: 4px;
  padding: 0;
  border-radius: 999px;
}

.tcm__dial input:focus-visible {
  outline: 2px solid #2f6df6;
  outline-offset: 2px;
}

@media (max-width: 340px) {
  .tcm {
    gap: 4px;
  }
  .tcm__field {
    height: 100px;
  }
  .tcm__dial input[type=number] {
    width: 56px;
  }
  .tcm__dial input[type=range] {
    width: 104px;
  }
  .tcm__hint {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tcm.is-still .tcm__field {
    cursor: default;
  }
}
