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

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

.stage {
  position: relative;
}

.cesc__panel {
  width: min(240px, 70vw);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cesc__head {
  color: #17141a;
  font-weight: 700;
  font-size: 14px;
}

.cesc__body {
  position: relative;
  height: 130px;
}

.cesc__empty,
.cesc__list {
  position: absolute;
  inset: 0;
  transform-origin: center;
}

.cesc__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #17141a;
  text-align: center;
}

.cesc__msg {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.72;
}

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

.cesc__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px;
  border-radius: 12px;
  background: #fff7e6;
  color: #17141a;
  font-weight: 600;
  font-size: 13px;
}

.cesc__toggle {
  border: 0;
  border-radius: 999px;
  padding: 8px 20px;
  background: #17141a;
  color: #ffd23f;
  font-family: inherit;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
  align-self: flex-start;
}

@media (max-width: 340px) {
  .cesc__panel {
    width: min(190px, 66vw);
    gap: 8px;
  }
  .cesc__head {
    font-size: 12px;
  }
  .cesc__body {
    height: 84px;
  }
  .cesc__row {
    padding: 8px;
    font-size: 12px;
  }
  .cesc__toggle {
    padding: 4px 16px;
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cesc__empty, .cesc__list {
    transition: none !important;
  }
}
