/* ════════════════════════════════════════════════════════════════
   Content Store — 12개 카드 + 5필터 (다크 + 라이트 토글)
   ════════════════════════════════════════════════════════════════ */
.cs-page {
  min-height: calc(100vh - 56px);
  padding: 80px 24px 80px;
  background: linear-gradient(180deg, #0a0a14 0%, #07060f 100%);
}

.cs-head {
  text-align: left;
  margin-bottom: 18px;
}
.cs-title {
  font-size: 20px;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.cs-sub {
  font-size: 12px;
  color: #9ca3af;
}

.cs-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.cst {
  padding: 9px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  color: #c5c4d6;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.cst:hover { color: white; border-color: rgba(255,255,255,0.18); }
.cst.active[data-cat="all"]     { background: linear-gradient(135deg, #ec4899, #db2777); border-color: transparent; color: white; }
.cst.active[data-cat="free"]    { background: linear-gradient(135deg, #10b981, #059669); border-color: transparent; color: white; }
.cst.active[data-cat="fortune"] { background: linear-gradient(135deg, #ef4444, #dc2626); border-color: transparent; color: white; }
.cst.active[data-cat="shaman"]  { background: linear-gradient(135deg, #a855f7, #9333ea); border-color: transparent; color: white; }
.cst.active[data-cat="report"]  { background: linear-gradient(135deg, #f59e0b, #d97706); border-color: transparent; color: white; }

.cs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.cs-card {
  display: grid;
  grid-template-columns: 56px 1fr 32px;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
  background: rgba(20, 18, 30, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  text-decoration: none;
  color: white;
  transition: transform 0.2s, border-color 0.2s, background 0.2s;
}
.cs-card:hover {
  background: rgba(30, 25, 45, 0.7);
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-1px);
}

.csc-thumb {
  width: 56px; height: 56px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
}
/* 12개 별 그라데이션 썸네일 */
.csc-thumb-1  { background: linear-gradient(135deg, #fde68a, #ec4899, #831843); }
.csc-thumb-2  { background: linear-gradient(135deg, #c4b5fd, #1e1b4b, #06121f); }
.csc-thumb-3  { background: linear-gradient(135deg, #fbbf24, #ec4899, #4c1d95); }
.csc-thumb-4  { background: linear-gradient(135deg, #fbbf24, #ec4899, #831843); }
.csc-thumb-5  { background: linear-gradient(135deg, #fbcfe8, #ec4899, #831843); }
.csc-thumb-6  { background: linear-gradient(135deg, #c4b5fd, #a855f7, #4c1d95); }
.csc-thumb-7  { background: linear-gradient(135deg, #fbcfe8, #a855f7, #312e81); }
.csc-thumb-8  { background: linear-gradient(135deg, #fde68a, #f59e0b, #1e1b4b); }
.csc-thumb-9  { background: linear-gradient(135deg, #fca5a5, #ec4899, #4c1d95); }
.csc-thumb-10 { background: linear-gradient(135deg, #fde68a, #f59e0b, #7c2d12); }
.csc-thumb-11 { background: linear-gradient(135deg, #c4b5fd, #6366f1, #1e1b4b); }
.csc-thumb-12 { background: linear-gradient(135deg, #99f6e4, #06b6d4, #1e3a8a); }

.csc-body { min-width: 0; }
.csc-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
.csc-tag {
  padding: 2px 8px;
  font-size: 9.5px;
  font-weight: 800;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.csc-tag-fortune { background: rgba(239, 68, 68, 0.18); color: #fca5a5; }
.csc-tag-shaman  { background: rgba(168, 85, 247, 0.18); color: #c4b5fd; }
.csc-tag-report  { background: rgba(245, 158, 11, 0.18); color: #fcd34d; }
.csc-tag-free    { background: rgba(16, 185, 129, 0.18); color: #6ee7b7; }
.csc-tag-premium { background: rgba(239, 68, 68, 0.20); color: #fca5a5; }
.csc-tag-price   { background: rgba(245, 158, 11, 0.18); color: #fcd34d; }

.csc-title {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 3px;
}
.csc-desc {
  font-size: 11.5px;
  color: #9ca3af;
}

.csc-icon {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  font-size: 14px;
}
.csc-icon-pink  { background: rgba(236, 72, 153, 0.18); color: #f9a8d4; }
.csc-icon-red   { background: rgba(239, 68, 68, 0.18); color: #fca5a5; }
.csc-icon-purple { background: rgba(168, 85, 247, 0.18); color: #c4b5fd; }
.csc-icon-amber { background: rgba(245, 158, 11, 0.18); color: #fcd34d; }
.csc-icon-green { background: rgba(16, 185, 129, 0.18); color: #6ee7b7; }

.cs-count {
  text-align: center;
  font-size: 12px;
  color: #6b7280;
  padding: 14px 0;
}

/* ─── 라이트 모드 ─── */
body.light .cs-page {
  background: linear-gradient(180deg, #f5f3ff 0%, #fff 100%);
}
body.light .cs-title { color: #1f1937; }
body.light .cs-sub { color: #6b7280; }
body.light .cst {
  background: white;
  border-color: rgba(168, 85, 247, 0.15);
  color: #4b5563;
}
body.light .cst:hover { color: #1f1937; border-color: rgba(168, 85, 247, 0.3); }
body.light .cs-card {
  background: white;
  border-color: rgba(168, 85, 247, 0.1);
  box-shadow: 0 2px 8px rgba(76, 29, 149, 0.04);
}
body.light .cs-card:hover {
  border-color: rgba(168, 85, 247, 0.3);
  box-shadow: 0 8px 20px rgba(76, 29, 149, 0.1);
}
body.light .csc-title { color: #1f1937; }
body.light .csc-desc { color: #6b7280; }
body.light .cs-count { color: #9ca3af; }
body.light .csc-tag-fortune { background: #fee2e2; color: #b91c1c; }
body.light .csc-tag-shaman  { background: #ede9fe; color: #6b21a8; }
body.light .csc-tag-report  { background: #fef3c7; color: #92400e; }
body.light .csc-tag-free    { background: #d1fae5; color: #047857; }
body.light .csc-tag-premium { background: #fee2e2; color: #b91c1c; }
body.light .csc-tag-price   { background: #fef3c7; color: #92400e; }
