/* 잿빛 성채 도감 페이지(monsters/, items/). 사이트의 밝은 바탕 위에 카드로 놓는다 */
.cx { --cx-ink: var(--rg-ink, #1E2430); --cx-dim: var(--rg-ink-2, #5B6472); --cx-line: var(--rg-line, #E5E7EB); --cx-card: var(--rg-surface, #fff); max-width: 760px; margin: 0 auto 24px; padding: 0 4px; color: var(--cx-ink); text-align: left; word-break: keep-all; }
.cx h1 { margin: 6px 0 6px; font-weight: 800; font-size: 26px; } /* 제목용 글꼴은 일부 글자만 들어 있어 섞여 보인다 */
.cx h2 { margin: 18px 0 6px; font-size: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.cx h2 small { font-size: 12px; font-weight: 600; color: var(--cx-dim); }
.cx h3 { margin: 0 0 2px; font-size: 15px; }
.cx p { margin: 4px 0; font-size: 14px; line-height: 1.6; }
.cx-lead { color: var(--cx-dim); }
.cx-note { color: var(--cx-dim); font-size: 13px; }
.cx-list { display: grid; gap: 8px; margin-top: 10px; }
.cx-card { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; background: var(--cx-card); border: 1px solid var(--cx-line); scroll-margin-top: 70px; }
.cx-card__body { min-width: 0; flex: 1; }
.cx-mon img { flex: none; width: 96px; height: 96px; border-radius: 10px; background: #1B1824; }
.cx-mon h2 { margin: 0 0 4px; }
.cx-mon h2 small { padding: 1px 8px; border-radius: 999px; background: #1B1824; color: #FFD98A; }
.cx-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.cx-el { --c: #6B7280; display: inline-block; padding: 1px 8px; border-radius: 999px; background: #1B1824; border: 1px solid var(--c); color: var(--c); font-style: normal; font-size: 12px; font-weight: 800; white-space: nowrap; }
.cx-stats { display: grid; grid-template-columns: auto auto auto auto; gap: 2px 10px; margin: 6px 0 0; font-size: 13px; justify-content: start; }
.cx-stats dt { color: var(--cx-dim); } .cx-stats dd { margin: 0; font-weight: 700; }
.cx-mine { margin-top: 6px; font-size: 12px; font-weight: 700; color: var(--cx-dim); }
.cx-mine.is-have { color: #0F8A5F; }
.cx-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-size: 13px; background: var(--cx-card); border: 1px solid var(--cx-line); border-radius: 12px; overflow: hidden; }
.cx-table caption { padding: 8px 0 6px; font-weight: 800; font-size: 15px; text-align: left; }
.cx-table th, .cx-table td { padding: 8px 10px; border-top: 1px solid var(--cx-line); text-align: left; vertical-align: middle; }
.cx-table thead th { border-top: 0; font-size: 12px; color: var(--cx-dim); }
.cx-table a { color: inherit; font-weight: 800; }
.cx-icon { flex: none; width: 34px; height: 34px; padding: 6px; border-radius: 8px; background: #1B1824; color: #FFD98A; }
.cx-icon svg { display: block; width: 100%; height: 100%; }
.cx-icon--h { width: 26px; height: 26px; padding: 4px; }
.cx-plain { margin: 6px 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: 14px; }
@media (min-width: 640px) { .cx-list--2 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 420px) {
  .cx-mon img { width: 72px; height: 72px; }
  .cx-stats { grid-template-columns: auto auto; }
  .cx-table th, .cx-table td { padding: 6px 6px; }
}
.cx-itemimg { flex: none; width: 56px; height: 56px; border-radius: 10px; background: #1B1824; object-fit: contain; }
