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 {
  width: min(400px, 94vw);
  border-radius: 16px;
  padding: 16px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.92);
  text-align: center;
}

.cd__accent {
  display: block;
  width: 160px;
  height: 4px;
  margin: 0 auto 8px;
  border-radius: 4px;
  background: #2f6df6;
  transform-origin: center;
  animation: cd-scan 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

@keyframes cd-scan {
  0%, 70%, 100% {
    transform: scaleX(0.3);
    opacity: 0.5;
  }
  30% {
    transform: scaleX(1);
    opacity: 1;
  }
}
.cd__eyebrow {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 10px;
  line-height: 1;
  font-family: inherit;
  letter-spacing: 0.14em;
  color: rgba(23, 20, 26, 0.72);
}

.cd__title {
  margin: 0 0 4px;
  font-weight: 800;
  font-size: clamp(14px, 4vw, 17px);
  line-height: 1.2;
  font-family: inherit;
  color: #17141a;
}

.cd__blurb {
  margin: 0 0 12px;
  font-weight: 500;
  font-size: clamp(10px, 2.8vw, 11px);
  line-height: 1.4;
  font-family: inherit;
  color: rgba(23, 20, 26, 0.6);
}

.cd__toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 16px;
  border-radius: 999px;
  border: 1px solid rgba(23, 20, 26, 0.18);
  background: none;
  color: #17141a;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.6;
  font-family: inherit;
  cursor: pointer;
}

.cd__panel {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  box-sizing: border-box;
  margin-top: 0;
  transition: max-height 300ms cubic-bezier(0.2, 1.4, 0.4, 1), opacity 300ms cubic-bezier(0.2, 1.4, 0.4, 1), margin-top 300ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.cd__panel.is-open {
  max-height: 120px;
  opacity: 1;
  margin-top: 12px;
}

.cd__num {
  margin: 0;
  font-weight: 800;
  font-size: clamp(15px, 4.4vw, 18px);
  line-height: 1;
  font-family: inherit;
  color: #2f6df6;
  font-variant-numeric: tabular-nums;
}

.cd__label {
  margin: 4px 0 0;
  font-weight: 600;
  font-size: 9px;
  line-height: 1.3;
  font-family: inherit;
  color: rgba(23, 20, 26, 0.72);
}

@media (max-width: 340px), (max-height: 220px) {
  .cd {
    padding: 12px;
  }
  .cd__blurb {
    display: none;
  }
  .cd__label {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cd__accent {
    animation: none !important;
  }
  .cd__panel {
    transition: none;
  }
}
