/* typography.css — EINE Schrift und EINE Größenskala für alle Portalseiten (Leser, Erzählung, Museum, Szenen-Detektiv).
   Vorlage: Leser (reader.css): Noto Serif (+ TC/SC für CJK) in Bedienelementen UND Text; Lesetext 20 px (--fs-content), Bedienung 14 px, Fußnoten 12 px.
   Wird nach dem jeweiligen Seiten-<style> geladen. Seitenvariablen --font-serif/--font-sans zeigen beide auf dieselbe Familie. */
:root {
  --serif: "Noto Serif", "Noto Serif TC", "Noto Serif SC", serif;
  --font-serif: "Noto Serif", "Noto Serif TC", "Noto Serif SC", serif;
  --font-sans: "Noto Serif", "Noto Serif TC", "Noto Serif SC", serif;
  --eg-zoom: 1;
  --fs-content: calc(20px * var(--eg-zoom));       /* Lesetext: Fließtext, Beschreibungen, Notizen */
  --fs-ui: 14px;            /* Bedienelemente, Etiketten */
  --fs-footnote: 12px;      /* Fußnoten, Quellen, Zählwerte */
  --fs-title: calc(28px * var(--eg-zoom));         /* Kopfwort / Szenentitel */
}
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--serif) !important; line-height: 1.6; }
button, input, select, textarea { font-family: inherit; }
code, kbd, samp { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

/* ── Lesetext (20 px) ─────────────────────────────────────────────────────────────────────────── */
/* Erzählung */
.prose-text, .prose-text p, .station-teaser, .scripture-german, .info-card p, .hs-bg-note, .commentary-details p, .commentary-details li,
/* Museum */
.modal-description, .card-excerpt,
/* Szenen-Detektiv */
.detail-desc { font-size: var(--fs-content) !important; line-height: 1.65 !important; }
.card-excerpt { font-size: calc(16px * var(--eg-zoom)) !important; }                 /* Kartenvorschau im Raster: kompakter Auszug */
.prose-text p:first-of-type::first-letter { font-size: 2.6em; }

/* ── Titel (28 px / 22 px) ────────────────────────────────────────────────────────────────────── */
.station-title, .modal-title { font-size: var(--fs-title) !important; line-height: 1.25 !important; font-weight: 700; }
.card-title, .detail-title, .tray-title { font-size: 20px !important; line-height: 1.3; }

/* ── Bedienung und Etiketten (14 px) ──────────────────────────────────────────────────────────── */
.hs-bg-chip, .hs-bg-title, .info-card h4, .station-ref, .station-meta-row, .card-cat-badge, .card-book, .tray-subtitle, .detail-label,
.artifact-card, .artifact-card * { font-size: var(--fs-ui); }
.hs-bg-title, .info-card h4 { letter-spacing: .03em; }

/* ── Fußnoten (12 px) ─────────────────────────────────────────────────────────────────────────── */
.scripture-ref-tag, .footer-station-ref, .station-actions span, .card-footer, #itemCount, #qualityStats, .status-bar, .verse-chip { font-size: var(--fs-footnote); }

.info-bar, .info-bar * { font-size: var(--fs-ui); }
