/* Prophet ﷺ name card · gold plaque · educational only */
#rp-pname.pname-rich {
  pointer-events: auto !important;
  position: relative;
  z-index: 5;
}
#rp-pname .pname-plaque {
  text-align: center;
  padding: 1.35rem 1rem 1.2rem;
  border-radius: 18px;
  border: 1px solid rgba(201, 162, 39, 0.45);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(201, 162, 39, 0.14), transparent 55%),
    rgba(8, 18, 14, 0.72);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.12), 0 12px 40px rgba(0, 0, 0, 0.35);
  margin: 0.55rem 0 0.9rem;
}
#rp-pname .pname-plaque .arabic,
#rp-pname #rp-pname-ar {
  font-size: clamp(2rem, 6.5vw, 2.75rem) !important;
  line-height: 1.45 !important;
  margin: 0 0 0.4rem !important;
  color: #e8c547 !important;
  text-shadow: 0 0 22px rgba(201, 162, 39, 0.25);
}
#rp-pname #rp-pname-en {
  font-size: clamp(1.1rem, 3.6vw, 1.35rem) !important;
  color: #f3ecd8 !important;
  font-weight: 650;
  margin: 0.15rem 0 !important;
}
#rp-pname #rp-pname-note {
  font-size: clamp(0.92rem, 2.8vw, 1.05rem) !important;
  color: rgba(232, 213, 163, 0.92) !important;
  margin: 0.35rem 0 0 !important;
}
#rp-pname .pname-section {
  margin: 0.75rem 0;
  padding: 0.8rem 0.85rem;
  border-radius: 14px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  background: rgba(6, 16, 12, 0.5);
}
#rp-pname .pname-section-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 0.35rem;
}
#rp-pname .pname-ayat-card {
  padding: 0.65rem 0.75rem;
  margin: 0.4rem 0;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 39, 0.16);
  background: rgba(0, 0, 0, 0.28);
}
#rp-pname .pname-ayat-card .ay-ar { font-size: 1.05rem; margin: 0 0 0.25rem; color: #f7f1e1; }
#rp-pname .pname-ayat-card .ay-en { font-size: 0.86rem; opacity: 0.92; margin: 0 0 0.3rem; }
#rp-pname .pname-ayat-card a { color: #e8d5a3; font-size: 0.75rem; }
#rp-pname .pname-sources {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0.55rem 0;
  pointer-events: auto !important;
}
#rp-pname .pname-sources a {
  display: inline-flex;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  background: rgba(201, 162, 39, 0.1);
  color: #e8d5a3 !important;
  text-decoration: none !important;
  font-size: 0.78rem;
  font-weight: 650;
  pointer-events: auto !important;
  cursor: pointer;
}
#rp-pname .pname-faq-item {
  margin: 0.35rem 0;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 39, 0.25);
  background: rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
#rp-pname .pname-faq-q {
  display: block; width: 100%; text-align: left; font: inherit; font-weight: 650;
  font-size: 0.88rem; color: #e8d5a3; background: rgba(8,18,14,.55);
  border: 0; padding: 0.7rem 0.8rem; cursor: pointer; pointer-events: auto !important;
  touch-action: manipulation;
}
#rp-pname .pname-faq-q::before { content: "▸ "; color: #c9a227; }
#rp-pname .pname-faq-item.is-open .pname-faq-q::before { content: "▾ "; }
#rp-pname .pname-faq-a { padding: 0 0.8rem 0.75rem; font-size: 0.86rem; color: #f3ecd8; line-height: 1.45; }
#rp-pname .pname-faq-a[hidden] { display: none !important; }
#rp-pname .pname-media {
  margin: 0.75rem 0; padding: 0.8rem 0.85rem; border-radius: 14px;
  border: 1px solid rgba(201, 162, 39, 0.28); background: rgba(6,16,12,.55);
}
#rp-pname .pname-media select {
  width: 100%; padding: 0.5rem 0.6rem; border-radius: 10px;
  border: 1px solid rgba(201, 162, 39, 0.35); background: rgba(0,0,0,.35);
  color: #f3ecd8; font: inherit; margin: 0.35rem 0 0.55rem;
}
#rp-pname .pname-media-frame {
  position: relative; width: 100%; aspect-ratio: 16/9; border-radius: 12px;
  overflow: hidden; background: #000; border: 1px solid rgba(201,162,39,.2);
}
#rp-pname .pname-media-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
#rp-pname .pname-media-note { font-size: 0.75rem; opacity: 0.85; margin-top: 0.4rem; }
#rp-pname .pname-media-note a { color: #e8d5a3; }
#rp-pname .rp-btn { pointer-events: auto !important; }
