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

.cd {
  --view-h: min(calc(100vh - 2 * clamp(8px, 4vw, 24px) - 48px), 196px);
  position: relative;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #fff7e6;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.cd__view {
  position: relative;
}

.cd__view--scene {
  width: 100%;
  height: var(--view-h);
  overflow: hidden;
  border-radius: 16px;
  background: rgb(16.6431372549%, 14.431372549%, 20.9725490196%);
}

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

.cd__read {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-variant-numeric: tabular-nums;
}

.cd__read b {
  font-size: 28px;
  line-height: 32px;
  font-weight: 800;
}

.cd__read--center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.cd__read--corner {
  position: absolute;
  left: 8px;
  top: 8px;
}

.cd__bar {
  display: flex;
  gap: 8px;
}

.cd__btn {
  box-sizing: border-box;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 247, 230, 0.14);
  color: #fff7e6;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  cursor: pointer;
}

.cd__btn:focus-visible {
  outline: 2px solid #b9a0ff;
  outline-offset: 2px;
}

.cd__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  .cd__strip {
    filter: none !important;
  }
  .cd__leaf {
    display: none !important;
  }
}
.cd__view--odo {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
}

.cd__cols {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 16px;
  border-radius: 16px;
  background: rgb(22.9960784314%, 19.9215686275%, 29.9529411765%);
  box-shadow: inset 0 0 0 2px rgba(255, 247, 230, 0.16);
  --rowh: clamp(64px, 20vw, 112px);
}

.cd__col {
  width: calc(var(--rowh) * 0.62);
  height: var(--rowh);
  overflow: hidden;
  border-radius: 8px;
  background: #fff7e6;
  color: #17141a;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 18%, #000 82%, transparent 100%);
}

.cd__strip {
  will-change: transform;
}

.cd__strip span {
  display: grid;
  place-items: center;
  height: var(--rowh);
  font-size: calc(var(--rowh) * 0.78);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.cd__dot {
  color: #fff7e6;
  font-size: calc(var(--rowh) * 0.6);
  font-weight: 800;
  line-height: 1;
  align-self: flex-end;
  padding-bottom: 8px;
}

.cd__unit {
  margin: 0;
  color: #fff7e6;
  font-size: 14px;
  font-weight: 700;
}
