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

.panel {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  width: 100%;
  max-width: 220px;
}

.preview {
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: flex-end;
  padding: 8px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  color: #fff7e6;
}
.preview.is-ink {
  color: #17141a;
}

.previewLabel {
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.3;
}

.sliders {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rowLabel {
  flex: 0 0 auto;
  width: 30px;
  color: #17141a;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  font-weight: 500;
  font-size: 11px;
  line-height: 1.3;
}

.track {
  position: relative;
  flex: 1 1 auto;
  height: 6px;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.1);
}

.fill {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  transform-origin: left center;
  transform: scaleX(0);
}

.fillHue {
  background: #2f6df6;
}

.fillSat {
  background: #2f6df6;
}

.fillLight {
  background: #2f6df6;
}

.thumb {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid #2f6df6;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
}

@media (max-width: 340px) {
  .panel {
    max-width: 168px;
  }
  .preview {
    height: 44px;
  }
  .rowLabel {
    width: 24px;
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .thumb {
    transition: none;
  }
}
