html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #17141a;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.ct {
  --ct-pink: #ff9ebb;
  --ct-mint: #4cd4a6;
  --ct-lilac: #b9a0ff;
  --ct-sky: #6ec8ff;
  --ct-cream: #fff7e6;
  --ct-rail: rgba(255, 247, 230, .40);
  --ct-tie: rgba(185, 160, 255, .52);
  --ct-post: rgba(76, 212, 166, .42);
  --ct-shadow: rgba(185, 160, 255, .16);
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 424px;
}

.ct__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: #fff7e6;
}

.ct__ico {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #4cd4a6;
}

.ct__field {
  position: relative;
  height: 180px;
  border-radius: 16px;
  overflow: hidden;
  background: #17141a;
  box-shadow: inset 0 0 0 1px rgba(255, 247, 230, 0.14);
  cursor: crosshair;
  touch-action: none;
}

.ct__field:focus-visible {
  outline: 2px solid #4cd4a6;
  outline-offset: 2px;
}

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

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

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

.ct__dial input {
  width: 116px;
  margin: 0;
  accent-color: #5b8cf8;
}

.ct__val {
  color: #4cd4a6;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 340px) {
  .ct {
    gap: 4px;
  }
  .ct__field {
    height: 100px;
  }
  .ct__dial {
    gap: 4px;
  }
  .ct__dial input {
    width: 68px;
  }
  .ct__hint {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ct.is-still .ct__field {
    cursor: default !important;
  }
}
