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

.stage {
  position: relative;
}

.cdis {
  width: min(230px, 68vw);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cdis__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #17141a;
  font-weight: 700;
  font-size: 14px;
}

.cdis__shuffle {
  border: 0;
  border-radius: 999px;
  padding: 4px 16px;
  background: #fff7e6;
  color: #17141a;
  font-family: inherit;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
}

.cdis__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cdis__row {
  padding: 12px;
  border-radius: 12px;
  background: #fff7e6;
  color: #17141a;
  font-weight: 600;
  font-size: 13px;
  opacity: 0;
  transform: translateY(14px);
  animation-name: cdisRise;
  animation-duration: 300ms;
  animation-timing-function: cubic-bezier(0.2, 1.4, 0.4, 1);
  animation-fill-mode: forwards;
  animation-delay: var(--delay, 0ms);
}

@keyframes cdisRise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 340px) {
  .cdis {
    width: min(180px, 64vw);
    gap: 4px;
  }
  .cdis__head {
    font-size: 12px;
  }
  .cdis__list {
    gap: 4px;
  }
  .cdis__row {
    font-size: 11px;
    padding: 4px 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cdis__row {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}
