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

.tsf {
  --tsf-c0: #ffffff;
  --tsf-c1: rgb(85.2156862745%, 94.3921568627%, 100%);
  --tsf-c2: rgb(87.3725490196%, 82.862745098%, 100%);
  --tsf-c3: rgb(83.6235294118%, 80.8392156863%, 75.7960784314%);
  --tsf-c4: rgb(11.8431372549%, 18.3137254902%, 36.0784313725%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 424px;
}

.tsf__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;
}

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

.tsf__field {
  position: relative;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(23, 20, 26, 0.16);
}

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

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

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

.tsf__grow {
  flex: 1 1 auto;
  min-width: 120px;
}

.tsf__grow input {
  flex: 1 1 auto;
}

.tsf__dial input {
  width: 72px;
  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;
}

.tsf__dial input[type=range] {
  width: auto;
  padding: 0;
  accent-color: rgb(87.3725490196%, 82.862745098%, 100%);
}

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

@media (max-width: 340px) {
  .tsf {
    gap: 4px;
  }
  .tsf__field {
    height: 100px;
  }
  .tsf__dial input {
    width: 56px;
  }
  .tsf__hint {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .tsf.is-still .tsf__field {
    cursor: default;
  }
}
