/* companion-asma-deep ASMA7 · Falah-gold beauty · FAQ force · media · pills */
#rp-names.asma-rich,
#rp-names.asma-rich * {
  /* do not set pointer-events none on children */
}
#rp-names.asma-rich {
  pointer-events: auto !important;
  position: relative;
  z-index: 5;
}

/* Hero name plaque — gold Falah-style */
.asma-rich .asma-plaque {
  text-align: center;
  padding: 1.35rem 1rem 1.25rem;
  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.65rem 0 1rem;
}
.asma-rich .asma-plaque .arabic,
.asma-rich #rp-name-ar {
  font-size: clamp(2.1rem, 7vw, 2.85rem) !important;
  line-height: 1.45 !important;
  margin: 0 0 0.45rem !important;
  color: #e8c547 !important;
  text-shadow: 0 0 24px rgba(201, 162, 39, 0.25);
  font-weight: 600;
}
.asma-rich .asma-plaque .rp-en,
.asma-rich #rp-name-en {
  font-size: clamp(1.15rem, 3.8vw, 1.4rem) !important;
  margin: 0.15rem 0 !important;
  color: #f3ecd8 !important;
  font-weight: 650;
  letter-spacing: 0.02em;
}
.asma-rich .asma-plaque .rp-meta,
.asma-rich #rp-name-mean {
  font-size: clamp(0.95rem, 3vw, 1.08rem) !important;
  margin: 0.35rem 0 0 !important;
  color: rgba(232, 213, 163, 0.92) !important;
  font-weight: 500;
}

.asma-rich .asma-num,
.asma-rich #rp-name-num {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c9a227;
  font-weight: 800;
  margin: 0.25rem 0 0.35rem;
}

.asma-rich .asma-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
  margin: 0.35rem 0 1rem;
}
.asma-rich .asma-meta > div {
  padding: 0.55rem 0.55rem;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  background: rgba(0, 0, 0, 0.28);
  font-size: 0.8rem;
}
.asma-rich .asma-meta strong {
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 0.2rem;
  opacity: 1;
}

.asma-rich .asma-section {
  margin: 0.85rem 0;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(201, 162, 39, 0.22);
  background: rgba(6, 16, 12, 0.5);
}
.asma-rich .asma-section-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 0.4rem;
}

.asma-rich .asma-ayat { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 0.35rem; }
.asma-rich .asma-ayat-card {
  padding: 0.7rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 39, 0.16);
  background: rgba(0, 0, 0, 0.3);
}
.asma-rich .asma-ayat-card .ay-ar {
  font-size: 1.12rem;
  margin: 0 0 0.3rem;
  color: #f7f1e1;
}
.asma-rich .asma-ayat-card .ay-en { font-size: 0.88rem; opacity: 0.92; margin: 0 0 0.35rem; }
.asma-rich .asma-ayat-card .ay-ref {
  display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.75rem; flex-wrap: wrap;
}

/* Source pills */
.asma-rich #rp-name-links,
.asma-rich .asma-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 0.65rem 0;
  pointer-events: auto !important;
  position: relative;
  z-index: 6;
}
.asma-rich #rp-name-links a,
.asma-rich a.asma-ext,
.asma-rich .asma-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  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;
  -webkit-tap-highlight-color: rgba(201, 162, 39, 0.25);
}
.asma-rich #rp-name-links a:active,
.asma-rich a.asma-ext:active {
  background: rgba(201, 162, 39, 0.22);
}

/* FAQ — nuclear open */
.asma-rich .asma-faq,
.asma-rich #rp-name-faq {
  pointer-events: auto !important;
  position: relative;
  z-index: 8 !important;
}
.asma-rich .asma-faq-item {
  margin: 0.4rem 0;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 39, 0.28);
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
  pointer-events: auto !important;
}
.asma-rich .asma-faq-q {
  display: block;
  width: 100%;
  text-align: left;
  font: inherit;
  font-weight: 650;
  font-size: 0.9rem;
  color: #e8d5a3 !important;
  background: rgba(8, 18, 14, 0.55) !important;
  border: 0 !important;
  padding: 0.75rem 0.85rem;
  cursor: pointer !important;
  pointer-events: auto !important;
  touch-action: manipulation;
  -webkit-user-select: none;
  user-select: none;
  position: relative;
  z-index: 9;
}
.asma-rich .asma-faq-q::before { content: "▸ "; color: #c9a227; }
.asma-rich .asma-faq-item.is-open .asma-faq-q::before { content: "▾ "; }
.asma-rich .asma-faq-item.is-open {
  border-color: rgba(201, 162, 39, 0.5);
  box-shadow: 0 0 0 1px rgba(201, 162, 39, 0.15);
}
.asma-rich .asma-faq-a {
  padding: 0 0.85rem 0.85rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #f3ecd8;
  pointer-events: auto !important;
}
.asma-rich .asma-faq-a[hidden] { display: none !important; }

.asma-rich .asma-nearby {
  display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 0.4rem;
}
.asma-rich .asma-nearby button,
.asma-rich .rp-row .rp-btn {
  font: inherit;
  cursor: pointer;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 162, 39, 0.4);
  background: rgba(8, 18, 14, 0.65);
  color: #e8d5a3;
  pointer-events: auto !important;
}

/* Media fold — tafseer-style */
.asma-rich .asma-media {
  margin: 0.85rem 0;
  padding: 0.85rem 0.9rem;
  border-radius: 14px;
  border: 1px solid rgba(201, 162, 39, 0.28);
  background: rgba(6, 16, 12, 0.55);
  pointer-events: auto !important;
}
.asma-rich .asma-media label {
  display: block;
  font-size: 0.78rem;
  color: rgba(232, 213, 163, 0.85);
  margin-bottom: 0.35rem;
}
.asma-rich .asma-media select {
  width: 100%;
  max-width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: 10px;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #f3ecd8;
  font: inherit;
  margin-bottom: 0.65rem;
}
.asma-rich .asma-media-frame {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(201, 162, 39, 0.2);
}
.asma-rich .asma-media-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.asma-rich .asma-media-note {
  font-size: 0.75rem;
  opacity: 0.85;
  margin: 0.45rem 0 0;
}
.asma-rich .asma-media-note a { color: #e8d5a3; }

.asma-rich .asma-note-list {
  font-size: 0.8rem;
  opacity: 0.85;
  margin: 0.5rem 0 0;
  line-height: 1.45;
}

@media (max-width: 520px) {
  .asma-rich .asma-meta { grid-template-columns: 1fr; }
}
