html[data-cardondo-set-shell="v5"] body {
  min-height: 100vh;
  background: #f7f8fa;
}

html[data-cardondo-set-shell="v5"] .cv4HeaderMount,
html[data-cardondo-set-shell="v5"] main#top,
html[data-cardondo-set-shell="v5"] .cv4Dock,
html[data-cardondo-set-shell="v5"] .cv4ActionToast,
html[data-cardondo-set-shell="v5"] .cv4CompareTray {
  visibility: hidden !important;
}

html[data-cardondo-set-shell="v5"]:not([data-cardondo-set-ready="true"]) body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  background: #fff;
}

html[data-cardondo-set-shell="v5"]:not([data-cardondo-set-ready="true"]) body::after {
  content: "세트 불러오는 중…";
  position: fixed;
  left: 50%;
  top: 50%;
  z-index: 2147483001;
  transform: translate(-50%, -50%);
  color: #667085;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

html[data-cardondo-set-shell="v5"]:not([data-cardondo-set-ready="true"]):has(#setDetailDialog[open]) body::before,
html[data-cardondo-set-shell="v5"]:not([data-cardondo-set-ready="true"]):has(#setDetailDialog[open]) body::after {
  display: none;
}

html[data-cardondo-set-shell="v5"] #setDetailDialog::backdrop {
  background: #f7f8fa;
  opacity: 1;
}

html[data-cardondo-set-shell="v5"] #setDetailDialog[open] {
  width: min(1040px, calc(100vw - 36px));
  max-width: 1040px;
  max-height: calc(100dvh - 36px);
  margin: auto;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid #e7e9ee;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
}

html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetClose {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  color: #202631;
  font-size: 24px;
}

html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetHead {
  padding-right: 54px;
}

html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetHead span {
  color: #ef4b3f;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetHead h2 {
  margin-top: 6px;
  color: #151a23;
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.04em;
}

html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetHead p,
html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetStatus {
  color: #788190;
}

html[data-cardondo-set-shell="v5"] #setDetailDialog #setFollowButton,
html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetTools button,
html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetSearch button,
html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetMore {
  border-color: #e3e6eb;
  border-radius: 12px;
}

html[data-cardondo-set-shell="v5"] #setDetailDialog #setFollowButton[aria-pressed="true"],
html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetTools button.active {
  border-color: #111827;
  background: #111827;
  color: #fff;
}

html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetProgress {
  border: 1px solid #eceef2;
  border-radius: 18px;
  background: #fafbfc;
}

html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetProgressTrack {
  background: #e9ecf1;
}

html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetProgressTrack span {
  background: #ef4b3f;
}

html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetSearch input {
  border-color: #e3e6eb;
  border-radius: 12px;
  background: #fff;
}

html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetCards {
  gap: 12px;
}

@media (max-width: 760px) {
  html[data-cardondo-set-shell="v5"] #setDetailDialog[open] {
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: none;
    margin: 0;
    padding: 18px 14px calc(30px + env(safe-area-inset-bottom));
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetHead {
    align-items: flex-start;
    gap: 12px;
    padding-right: 48px;
  }

  html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetHead h2 {
    font-size: 30px;
  }

  html[data-cardondo-set-shell="v5"] #setDetailDialog .cv4SetTools {
    gap: 8px;
  }
}
