/* ============================================================
   site.css — bestaicharacterchat.com extensions on top of Template 11
   (plasma-core). style.css stays verbatim; this file only adds
   styles for MDX content, the shortlist, the status matrix and FAQ.
   ============================================================ */

/* Template rules set `padding: X 0` on these containers, which drops the
   side gutter that .container provides. Restore it without touching style.css. */
.topbar-inner,
.cores,
.prose,
.footer-inner {
  padding-left: 24px;
  padding-right: 24px;
}

/* Reading measure: 60-75 characters per line inside the narrow column */
.prose p,
.prose li {
  max-width: 70ch;
}

/* Footer disclosure is required text: use the muted tone for AA contrast */
.related-note {
  color: var(--muted);
}

/* Long article titles read better in sentence case than in the template's uppercase h1 */
.post-hero h1 {
  text-transform: none;
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
  line-height: 1.22;
}

/* Shortlist meta line under each panel name */
.c-cat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

/* Table wrapper: keeps wide status matrices scrollable inside the column */
.table-wrap {
  overflow-x: auto;
  margin: 24px 0;
}
.table-wrap .compare-table {
  margin: 0;
  min-width: 560px;
}
.compare-table td,
.compare-table th {
  vertical-align: top;
}

/* Verdict and reading notes */
.verdict {
  border: 1px solid var(--line-bright);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 26px 0;
  background: linear-gradient(160deg, rgba(124, 58, 237, 0.12), transparent 60%);
}
.verdict .f-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 8px;
}
.verdict p {
  color: var(--ink);
  margin-bottom: 10px;
}
.verdict p:last-child {
  margin-bottom: 0;
}

/* MDX body content */
.prose h3 {
  font-size: 1.15rem;
  margin: 28px 0 10px;
}
.prose ul,
.prose ol {
  margin: 0 0 16px 22px;
  color: #d8cdea;
}
.prose li {
  margin-bottom: 6px;
}
.prose li::marker {
  color: var(--violet);
}
.prose strong {
  color: var(--ink);
}
.prose blockquote {
  border: 1px solid var(--violet-dim);
  background: rgba(124, 58, 237, 0.1);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 26px 0;
  color: var(--ink);
}
.prose blockquote p {
  margin-bottom: 8px;
}
.prose blockquote p:last-child {
  margin-bottom: 0;
}
.prose blockquote strong {
  color: var(--magenta);
}
.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 36px 0;
}
.prose code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 1px 6px;
  color: var(--magenta);
}
.prose pre {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 20px;
  margin: 20px 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: #d8cdea;
}
.prose pre code {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  font-size: inherit;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 24px 0;
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}
.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 10px 14px;
  text-align: left;
  background: var(--panel);
  vertical-align: top;
}
.prose th {
  background: var(--panel-2);
  color: var(--violet);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.prose td:first-child {
  color: var(--muted);
}

/* FAQ blocks (homepage + post pages) */
.faq-block {
  margin-top: 36px;
}
.faq-item {
  margin-bottom: 18px;
}
.faq-item h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
  color: var(--ink);
}
.faq-item p {
  color: #d8cdea;
  margin-bottom: 0;
}

/* Evidence block at the foot of each analytical page */
.evidence {
  border-top: 1px solid var(--line);
  margin-top: 40px;
  padding-top: 24px;
}
.evidence h2 {
  font-size: 1.2rem;
}
.evidence p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Small mono label used in key-value rows */
.kv-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--faint);
}

/* Disambiguation block on the homepage */
.disambig {
  padding-top: 36px;
  padding-bottom: 0;
}

/* Shortlist entry titles link to the platform's official site */
.c-body h3 a {
  color: var(--ink);
  text-decoration: none;
}
.c-body h3 a:hover {
  color: var(--magenta);
}
