
/* R3Q · Reminder typography harmony with Tafsīr studio */
#rp-root, #rp-root .cs-plaque, #tafseer-studio-card {
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: #e7efe9;
}
#rp-root .cs-tab-title,
#rp-root .cs-plaque-head h2,
#rp-root h2,
#tafseer-studio-card h2,
#tafseer-studio-card .ts-subh {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 700 !important;
  color: #f7f0dd !important;
  letter-spacing: 0.02em;
  text-shadow: 0 0 18px rgba(201,162,39,.22);
}
#rp-root .arabic,
#rp-root .rp-ar,
#rp-root [lang="ar"],
#rp-root [dir="rtl"],
#tafseer-studio-card [lang="ar"],
#tafseer-studio-card [dir="rtl"],
#tafseer-studio-card .arabic {
  font-family: Amiri, "Noto Naskh Arabic", "Traditional Arabic", serif !important;
  font-size: clamp(1.45rem, 4.4vw, 2rem) !important;
  line-height: 2.05 !important;
  direction: rtl !important;
  text-align: right !important;
  color: #faf6ea !important;
  opacity: 1 !important;
  visibility: visible !important;
}
#rp-root .rp-en,
#rp-root .lead,
#rp-root .rp-meta,
#tafseer-studio-card .lead,
#tafseer-studio-card .ts-kicker {
  font-family: "Source Sans 3", system-ui, sans-serif !important;
  line-height: 1.55;
}
#rp-root .cs-plaque {
  border-radius: 16px !important;
  border: 1px solid rgba(201,162,39,.42) !important;
  background:
    radial-gradient(ellipse at 10% 0%, rgba(30,125,94,.22), transparent 55%),
    linear-gradient(165deg, #12261f, #0a1410 72%) !important;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.03) inset,
    0 12px 36px rgba(0,0,0,.28) !important;
  padding: 1.1rem 1.15rem !important;
}
#rp-root .cs-tab-hero {
  border-radius: 16px !important;
  border: 1px solid rgba(201,162,39,.5) !important;
  background:
    radial-gradient(120% 90% at 50% -20%, rgba(232,197,71,.28), transparent 50%),
    linear-gradient(165deg, #12261f, #0a1410 72%) !important;
}
#rp-root .rp-chip {
  border-radius: 999px;
  border: 1px solid rgba(201,162,39,.45);
  background: rgba(30,125,94,.35);
  color: #f0e6c8;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.18rem 0.65rem;
}
#rp-root .rp-btn, #tafseer-studio-card .ts-btn {
  border-radius: 999px !important;
  font-weight: 750 !important;
}
#rp-root .rp-map a {
  border-radius: 12px !important;
  border: 1px solid rgba(201,162,39,.38) !important;
  background: linear-gradient(165deg, rgba(30,70,55,.45), rgba(8,20,14,.85)) !important;
}
/* Unified Tafsīr surface rail */
#rp-tafsir-surface {
  scroll-margin-top: 5rem;
}
#rp-tafsir-surface .ts-unify-note {
  font-size: 0.88rem;
  color: rgba(200,218,208,.92);
  margin: 0.35rem 0 0.75rem;
  line-height: 1.5;
}
