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

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

.cd {
  --lamp-glass: #f0c9ad;
  --lamp-deep: #b96a4d;
  --lamp-heat: #ffd9a8;
  --lamp-blob: #ff9ebb;
  --lamp-blobhi: #ffd9e2;
  --lamp-glow: #ffe4c4;
  --lamp-label: #ffe4c4;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  max-width: 464px;
  justify-content: center;
  flex: 1;
}

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

.cd__field {
  position: relative;
  height: 192px;
  border-radius: 16px;
  overflow: hidden;
  background: #f0c9ad;
  box-shadow: inset 0 0 0 1px rgba(255, 228, 196, 0.3);
}

.cd__field:focus-visible {
  outline: 2px solid #ffd9e2;
  outline-offset: 2px;
}

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

.cd__bar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.cd__meta {
  font-size: 10px;
  font-weight: 500;
  color: rgba(23, 20, 26, 0.88);
}

.cd__val {
  color: #17141a;
  font-weight: 700;
}

.cd__meta--dim {
  font-size: 10px;
}

@media (max-width: 340px) {
  .cd {
    gap: 4px;
  }
  .cd__field {
    height: 100px;
  }
  .cd__meta--dim {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cd.is-still .cd__field {
    cursor: default !important;
  }
}
