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

.stage {
  position: relative;
}

.cdso__page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(200px, 62vw);
}

.cdso__card {
  width: 100%;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 247, 230, 0.12);
}

.cdso__toggle {
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  padding: 8px 20px;
  background: #fff7e6;
  color: #17141a;
  font-family: inherit;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}

.cdso__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
}

.cdso__panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(72%, 240px);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #fff7e6;
  padding: 16px;
  gap: 12px;
  transform: translateX(100%);
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

.cdso__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.cdso__close {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 999px;
  background: rgba(23, 20, 26, 0.08);
  color: #17141a;
  display: grid;
  place-items: center;
  cursor: pointer;
}

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

.cdso__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(23, 20, 26, 0.06);
  color: #17141a;
  font-size: 12px;
  font-weight: 600;
}

.cdso__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  border-top: 1px solid rgba(23, 20, 26, 0.12);
  color: #17141a;
  font-weight: 700;
  font-size: 14px;
}

@media (max-width: 340px) {
  .cdso__page {
    width: min(170px, 60vw);
    gap: 8px;
  }
  .cdso__card {
    height: 32px;
  }
  .cdso__panel {
    width: min(78%, 200px);
    padding: 12px;
    gap: 8px;
  }
  .cdso__row {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cdso__panel, .cdso__backdrop {
    transition: none !important;
  }
}
