/* AYAH AI (از نسخه 1.166.0؛ پیش‌تر «دستیار آیات»، گام ۳ نسخه 1.106.0). ظاهر از طرح مالک (docs/assistant-chat/ayah-ai-design.html):
   پنل ۴۴۰ پیکسلی با سربرگ، صفحه آغاز با چهار موضوع، جعبه پرسش گرد با دکمه گرد ارسال. رنگ‌های طرح در پوسته‌های روشن؛ پوسته‌های
   تیره و کاغذی رنگ تأکید و زمینه خودشان را دارند (کنتراست ۴٫۵). جنبش فقط transform و opacity. */
.as-fab,
.as-win {
  --as-ac: #126e68;
  --as-ac-hover: #0b5752;
  --as-ac-ink: #ffffff;
  --as-ink: #102b45;
  --as-mut: #64746f;
  --as-line: #e1e8e4;
  --as-paper: #ffffff;
  --as-bg: #f7f9f7;
  --as-soft: #e8f1ed;
  --as-me: #e3f0e9;
  --as-me-ink: #102b45;
}
:root[data-theme="sepia"] .as-fab,
:root[data-theme="sepia"] .as-win { --as-ac: #72603f; --as-ac-hover: #5b4c31; --as-ink: var(--ink, #3b2f1c); --as-mut: var(--muted, #6b5b43); --as-line: var(--line, #e2d6bf); --as-paper: var(--surface, #fbf5e9); --as-bg: var(--page, #f5ecda); --as-soft: #efe5d1; --as-me: #ece0c8; --as-me-ink: var(--ink, #3b2f1c); }
:root[data-theme="night"] .as-fab,
:root[data-theme="night"] .as-win { --as-ac: #e2af56; --as-ac-hover: #c99a46; --as-ac-ink: #1a1b1d; --as-ink: var(--ink, #fdfdfd); --as-mut: var(--muted, #b9b9bd); --as-line: var(--line, #34363b); --as-paper: var(--surface, #1f2023); --as-bg: var(--page, #18191b); --as-soft: #2a2b2f; --as-me: #3d3522; --as-me-ink: #fdfdfd; }
:root[data-theme="dark"] .as-fab,
:root[data-theme="dark"] .as-win { --as-ac: #5fd3c6; --as-ac-hover: #4cbcaf; --as-ac-ink: #0d2a2a; --as-ink: var(--ink, #eef6f3); --as-mut: var(--muted, #a9c1ba); --as-line: var(--line, #2c4a46); --as-paper: var(--surface, #12302d); --as-bg: var(--page, #0e2624); --as-soft: #1a3b38; --as-me: #1f3b3b; --as-me-ink: #fdfdfd; }

/* نسخه 1.123.0 (تصمیم مالک D-AI-4): پایین سمت راست در همه زبان‌ها. نسخه 1.166.0: دکمه گرد ۶۰ پیکسلی با نماد کتاب، مثل طرح. */
.as-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: var(--as-ac);
  color: var(--as-ac-ink);
  box-shadow: 0 8px 24px rgba(24, 58, 52, 0.19);
  cursor: pointer;
}
.as-fab svg { width: 29px; height: 29px; }
.as-fab svg,
.as-win svg { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) { .as-fab:hover { background: var(--as-ac-hover); } }
body.as-open .as-fab { display: none; }
/* تا پنجره رضایت شخصی‌سازی پیداست (تا انتخاب کاربر)، دکمه زیر آن نماند. */
body:has(#ayat-consent:not([hidden])) .as-fab { display: none; }
@media (max-width: 520px) { .as-fab { right: 16px; bottom: 16px; } }
body.has-player .as-fab { bottom: 96px; }

.as-win {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 61;
  display: flex;
  flex-direction: column;
  width: 440px;
  max-width: calc(100vw - 32px);
  height: min(720px, calc(100dvh - 48px));
  border: 1px solid var(--as-line);
  border-radius: 24px;
  background: var(--as-paper);
  color: var(--as-ink);
  box-shadow: 0 22px 70px rgba(24, 58, 52, 0.13), 0 4px 12px rgba(24, 58, 52, 0.05);
  font-size: 14px;
  line-height: 1.8;
  overflow: hidden;
  transform-origin: bottom right;
  transition: transform 0.18s ease-out, opacity 0.18s ease-out;
}
.as-win[hidden] {
  display: flex;
  visibility: hidden;
  opacity: 0;
  transform: translateY(12px) scale(0.98);
  pointer-events: none;
}
@media (prefers-reduced-motion: reduce) { .as-win { transition: none; } }
@media (max-width: 600px) {
  .as-win { inset: 0; width: 100%; max-width: none; height: 100dvh; border: 0; border-radius: 0; box-shadow: none; }
  .as-head { padding-top: max(14px, env(safe-area-inset-top)) !important; }
  .as-bottom { padding-bottom: max(10px, env(safe-area-inset-bottom)) !important; }
}

.as-head { padding: 16px 18px 12px; border-bottom: 1px solid var(--as-line); background: var(--as-paper); }
.as-headtop { display: flex; align-items: center; gap: 11px; }
.as-logo { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--as-line); border-radius: 50%; background: var(--as-paper); overflow: hidden; }
.as-logo img { width: 30px; height: 30px; }
:root[data-theme="night"] .as-win img,
:root[data-theme="dark"] .as-win img { filter: brightness(0) invert(1); opacity: 0.9; }
.as-title { flex: 1; min-width: 0; }
.as-title b { display: block; color: var(--as-ink); font: 700 20px/1.25 Arial, sans-serif; letter-spacing: 0.6px; text-align: start; }
html[dir="rtl"] .as-title b { text-align: right; }
.as-title span { display: block; margin-top: 4px; color: var(--as-mut); font-size: 12px; line-height: 1.5; }
.as-icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--as-mut); cursor: pointer; }
.as-icon svg { width: 20px; height: 20px; }
.as-icon[aria-pressed="true"] { background: var(--as-soft); color: var(--as-ac); box-shadow: 0 0 0 2px var(--as-ac); }
@media (hover: hover) and (pointer: fine) { .as-icon:hover { background: var(--as-soft); color: var(--as-ink); } }
.as-toolbar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 12px; }
.as-new { display: flex; align-items: center; gap: 5px; min-height: 36px; padding: 5px 3px; border: 0; background: transparent; color: var(--as-ac); font: inherit; font-size: 13px; cursor: pointer; }
.as-new svg { width: 17px; height: 17px; }

.as-body { flex: 1; min-height: 0; padding: 26px 22px 14px; overflow-y: auto; overscroll-behavior: contain; background: var(--as-bg); scrollbar-width: thin; }
.as-intro[hidden] { display: none; }
.as-welcome { margin: 8px auto 24px; text-align: center; }
.as-emblem { display: grid; place-items: center; width: 65px; height: 65px; margin: 0 auto 15px; border: 1px solid var(--as-line); border-radius: 50%; background: var(--as-soft); color: var(--as-ac); }
.as-emblem svg { width: 34px; height: 34px; stroke-width: 1.3; }
.as-welcome h2 { margin: 0 0 7px; color: var(--as-ink); font-size: 22px; line-height: 1.7; }
.as-welcome p { max-width: 320px; margin: 0 auto; color: var(--as-mut); font-size: 13px; line-height: 2; }
.as-label { display: block; margin: 0 0 8px; color: var(--as-mut); font-size: 12px; }
.as-sugs { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.as-sug { display: flex; align-items: center; gap: 8px; min-height: 57px; padding: 12px 10px; border: 1px solid var(--as-line); border-radius: 12px; background: var(--as-paper); color: var(--as-ink); font: inherit; font-size: 13px; text-align: start; cursor: pointer; transition: transform 0.15s ease-out; }
.as-sug svg { width: 19px; height: 19px; color: var(--as-ac); }
.as-sug span { flex: 1; }
.as-sug .as-arrow { width: 12px; height: 12px; color: var(--as-mut); }
html[dir="ltr"] .as-sug .as-arrow { transform: scaleX(-1); }
@media (hover: hover) and (pointer: fine) { .as-sug:hover { border-color: var(--as-ac); background: var(--as-soft); transform: translateY(-1px); } }
@media (max-height: 650px) { .as-welcome { margin: 0 auto 16px; } .as-emblem { width: 50px; height: 50px; margin-bottom: 8px; } .as-welcome h2 { font-size: 20px; } .as-body { padding-top: 16px; } }
@media (prefers-reduced-motion: reduce) { .as-sug { transition: none; } }

.as-log { display: flex; flex-direction: column; gap: 10px; }
.as-who { display: flex; align-items: center; gap: 6px; color: var(--as-mut); font-size: 13px; }
.as-who i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--as-soft); border: 1px solid var(--as-line); }
.as-who i img { width: 16px; height: 16px; }
.as-bot {
  align-self: flex-start;
  max-width: 92%;
  padding: 12px 14px;
  border: 1px solid var(--as-line);
  border-radius: 16px;
  border-start-start-radius: 4px;
  background: var(--as-paper);
  line-height: 1.8;
}
.as-me {
  align-self: flex-end;
  max-width: 80%;
  padding: 8px 14px;
  border-radius: 16px;
  border-start-end-radius: 4px;
  background: var(--as-me);
  color: var(--as-me-ink);
  overflow-wrap: anywhere;
}
.as-bot p { margin: 0; }
.as-bot p + p { margin-top: 6px; }
.as-ar { font-family: "UthmanicHafs", "Amiri", serif; }
.as-term { margin: 0 0 4px; color: var(--as-ink); font-size: 28px; line-height: 1.6; }
.as-facts { display: grid; gap: 4px; margin: 0 0 8px; }
.as-facts > div { display: flex; align-items: baseline; gap: 10px; }
.as-facts dt { flex: none; min-width: 64px; color: var(--as-mut); font-size: 14px; }
.as-facts dd { margin: 0; font-weight: 700; }
.as-facts dd.as-ar { display: flex; flex-wrap: wrap; gap: 0 14px; font-size: 19px; font-weight: 400; }
.as-facts dd.is-none { color: var(--as-mut); font-weight: 400; }
.as-sub { color: var(--as-mut); font-size: 13px; }
.as-places { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 4px; padding: 0; list-style: none; }
.as-link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--as-line);
  border-radius: 999px;
  background: var(--as-soft);
  color: var(--as-ink);
  font-size: 14px;
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .as-link:hover { border-color: var(--as-ac); color: var(--as-ac); }
}
.as-src { margin-top: 8px !important; color: var(--as-mut); font-size: 12px; }
.as-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  margin-top: 8px;
  padding: 0 14px;
  border: 1px solid var(--as-ac);
  border-radius: 999px;
  background: none;
  color: var(--as-ac);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.as-btn.is-primary { background: var(--as-ac); color: var(--as-ac-ink); }
.as-btn:disabled { opacity: 0.6; cursor: default; }
.as-btn svg { width: 18px; height: 18px; }
.as-form { display: grid; gap: 8px; margin-top: 6px; }
.as-form label { display: grid; gap: 4px; color: var(--as-mut); font-size: 13px; }
.as-form textarea,
.as-form input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--as-line);
  border-radius: 12px;
  background: var(--field-bg, var(--surface));
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.as-form textarea { min-height: 72px; resize: vertical; }
.as-form textarea:focus-visible,
.as-form input:focus-visible { outline: 2px solid var(--as-ac); outline-offset: 1px; border-color: var(--as-ac); }
.as-form .as-row { display: flex; flex-wrap: wrap; gap: 8px; }
.as-trap { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; opacity: 0; }
.as-ok { display: flex; align-items: flex-start; gap: 8px; }
.as-ok svg { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--as-ac); }

.as-chips { display: flex; gap: 8px; padding: 8px 16px; border-top: 1px solid var(--as-line); background: var(--as-paper); overflow-x: auto; scrollbar-width: none; }
.as-chips[hidden] { display: none; }
.as-chips::-webkit-scrollbar { display: none; }
.as-chip { flex: none; min-height: 36px; padding: 0 14px; border: 1px solid var(--as-ac); border-radius: 999px; background: var(--as-paper); color: var(--as-ac); font: inherit; font-size: 14px; white-space: nowrap; cursor: pointer; }

.as-bottom { padding: 13px 16px 10px; border-top: 1px solid var(--as-line); background: var(--as-paper); }
.as-composer { padding: 10px 11px 8px; border: 1px solid var(--as-line); border-radius: 16px; background: var(--as-paper); transition: box-shadow 0.2s ease-out; }
.as-composer:focus-within { border-color: var(--as-ac); box-shadow: 0 0 0 3px rgba(18, 110, 104, 0.08); }
.as-composer textarea { display: block; width: 100%; min-height: 48px; max-height: 130px; padding: 1px 3px; border: 0; background: none; color: var(--as-ink); font: inherit; font-size: 16px; line-height: 1.9; resize: none; outline: 0; }
.as-composer textarea::placeholder { color: var(--as-mut); }
.as-actions { display: flex; align-items: center; gap: 6px; }
.as-spacer { flex: 1; }
.as-send { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--as-ac); color: var(--as-ac-ink); cursor: pointer; }
.as-send svg { width: 20px; height: 20px; }
.as-send:disabled { background: var(--as-soft); color: var(--as-mut); cursor: default; }
@media (hover: hover) and (pointer: fine) { .as-send:hover:not(:disabled) { background: var(--as-ac-hover); } }
.as-disc { margin: 9px 0 0; color: var(--as-mut); font-size: 12px; line-height: 1.8; text-align: center; }
.as-foot { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 4px; color: var(--as-mut); font-size: 12px; }
.as-foot svg { width: 12px; height: 12px; }
.as-fab:focus-visible,
.as-win button:focus-visible,
.as-win a:focus-visible,
.as-win textarea:focus-visible { outline: 2px solid var(--as-ac); outline-offset: 3px; }
.as-composer textarea:focus-visible { outline: 0; }
.as-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* نسخه 1.121.0: پاسخ از دانش تأییدشده (فقط با Assistant:Knowledge) */
.as-kb { margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel, transparent); }
.as-kb b { display: block; font-size: 13px; }
.as-kb blockquote { margin: 6px 0 0; padding: 0; line-height: 1.9; overflow-wrap: anywhere; }
/* نسخه 1.129.0 (مرحله ۹ AI V2): کارت آیه در پاسخ دستیار. متن عربی با قلم مصحف مدینه (qpc-v2.js، data-v2)؛ رنگ‌ها فقط از نشانه‌های پوسته. */
.as-ayah-card { margin-top: 10px; padding: 10px 12px 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel, transparent); }
.as-ayah-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.as-ayah-head b { font-size: 13px; }
.as-copy { display: inline-flex; align-items: center; gap: 4px; min-height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--text); font: inherit; font-size: 12px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .as-copy:hover { border-color: var(--as-ac); color: var(--as-ac); } }
.as-ayah { margin: 10px 0 2px; font-family: "Amiri Quran", "Scheherazade New", "Noto Naskh Arabic", serif; font-size: 22px; line-height: 2.1; text-align: center; overflow-wrap: anywhere; }
.as-ayah.is-v2 { font-size: 24px; }
.as-tr { margin: 8px 0 0; padding: 0; line-height: 1.9; overflow-wrap: anywhere; }
.as-ayah-card .as-link { display: inline-block; margin-top: 6px; }

/* نسخه 1.169.0 (نقشه راه AYAH AI، بندهای ۹۴ و ۹۵): بازخورد بی‌نام زیر پاسخ. */
.as-fb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--as-line); color: var(--as-mut); font-size: 13px; }
.as-fb-ask { margin-inline-end: auto; }
.as-fb-btn { display: inline-flex; align-items: center; gap: 6px; min-width: 36px; min-height: 36px; padding: 0 9px; border: 1px solid var(--as-line); border-radius: 999px; background: var(--as-paper); color: var(--as-mut); font: inherit; cursor: pointer; }
.as-fb-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.as-fb-btn.is-on { border-color: var(--as-ac); background: var(--as-soft); color: var(--as-ac); }
.as-fb-btn:disabled:not(.is-on) { opacity: 0.55; cursor: default; }
.as-fb-btn:focus-visible { outline: 2px solid var(--as-ac); outline-offset: 2px; }
@media (hover: hover) and (pointer: fine) { .as-fb-btn:not(:disabled):hover { border-color: var(--as-ac); color: var(--as-ac); } }
.as-fb-form fieldset { display: grid; gap: 6px; margin: 0; padding: 0; border: 0; }
.as-fb-form legend { margin-bottom: 4px; color: var(--as-ink); font-weight: 600; font-size: 14px; }
.as-form .as-fb-opt { display: flex; align-items: center; gap: 8px; min-height: 32px; color: var(--as-ink); font-size: 14px; cursor: pointer; }
.as-form .as-fb-opt input { width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; accent-color: var(--as-ac); }
.as-fb-done { margin-top: 8px; }

/* نسخه 1.175.0: سطح اطمینان، کارت‌های کنار هم (تفسیرها و دیدگاه‌ها) و برچسب مذهب منبع */
.as-conf { display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 2px; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; border: 1px solid var(--line); }
.as-conf::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
.as-conf-high { color: var(--success, #1f7a4d); }
.as-conf-medium { color: var(--btn-soft-text, #8a6a1f); }
.as-conf-low { color: var(--muted, #666); }
.as-cmp-h { margin: 12px 0 0; font-size: 13px; font-weight: 700; }
.as-cmp { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; padding-bottom: 6px; }
.as-cmp:focus-visible { outline: 2px solid var(--btn-soft-text, #8a6a1f); outline-offset: 2px; border-radius: 12px; }
.as-cmp > .as-kb { flex: 0 0 85%; scroll-snap-align: start; margin-top: 8px; }
.as-cmp-hint { margin-top: 2px; }
.as-school { display: inline-block; margin-inline-start: 6px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 20px; vertical-align: middle;
  background: var(--btn-soft-bg, #f5efe2); border: 1px solid var(--btn-soft-border, #e5d7b8); color: var(--btn-soft-text, #6b5216); }

/* نسخه 1.178.0 (طرح مالک «مکالمه صوتی»): دکمه گرد گفت‌وگو جای ارسال و پنل گفت‌وگوی صوتی روی پنجره */
.as-voicebtn { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--as-ac); color: var(--as-ac-ink); cursor: pointer; }
.as-voicebtn[hidden], .as-send[hidden], .as-voice[hidden] { display: none !important; }
.as-voicebtn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (hover: hover) and (pointer: fine) { .as-voicebtn:hover { background: var(--as-ac-hover); } }
.as-voice { position: absolute; inset: 0; z-index: 8; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 20px; background: var(--as-bg); color: var(--as-ink); text-align: center; border-radius: inherit; }
.as-voice-head { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.as-voice-center { flex: 1; display: grid; align-content: center; justify-items: center; gap: 16px; width: 100%; min-height: 0; overflow: auto; }
.as-voice-orb { display: grid; place-items: center; width: 116px; height: 116px; border-radius: 50%; background: var(--as-ac); color: var(--as-ac-ink); box-shadow: 0 0 0 12px color-mix(in srgb, var(--as-ac) 8%, transparent); }
.as-voice-orb svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.as-voice-orb.is-on { animation: as-voice-pulse 1.8s infinite; }
@keyframes as-voice-pulse { 50% { box-shadow: 0 0 0 20px color-mix(in srgb, var(--as-ac) 8%, transparent); } }
@media (prefers-reduced-motion: reduce) { .as-voice-orb.is-on { animation: none; } }
.as-voice-text { max-width: 320px; margin: 0; color: var(--as-mut); overflow-wrap: anywhere; line-height: 1.9; }
.as-voice-controls { display: flex; align-items: center; justify-content: center; gap: 14px; padding-bottom: 6px; }
.as-voice-controls button { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--as-line); border-radius: 50%; background: var(--as-paper); color: var(--as-ink); cursor: pointer; }
.as-voice-controls button svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.as-voice-controls button.is-on { border-color: var(--as-ac); background: var(--as-soft); color: var(--as-ac); }
.as-voice-controls .is-end { border-color: var(--as-ac); background: var(--as-ac); color: var(--as-ac-ink); }

/* نسخه 1.178.0 (خواست مالک): جعبه نوشتن جمع‌وجور مثل نوشتن در Claude: یک خط که با نوشتن تا پنج خط بلند می‌شود و دکمه‌ها کنار همان خط‌اند */
.as-bottom { padding: 10px 14px 8px; }
.as-composer { display: flex; align-items: flex-end; gap: 6px; padding: 6px 6px 6px 8px; border-radius: 22px; }
:root[dir="ltr"] .as-composer, .as-win[dir="ltr"] .as-composer { padding: 6px 8px 6px 6px; }
.as-composer textarea { flex: 1; min-width: 0; min-height: 24px; max-height: 130px; padding: 5px 6px; line-height: 1.7; }
.as-composer .as-actions { flex: none; gap: 4px; }
.as-composer .as-spacer { display: none; }
.as-composer .as-send, .as-composer .as-voicebtn { width: 36px; height: 36px; }
.as-composer .as-icon { width: 36px; height: 36px; }
.as-disc { margin-top: 6px; }
.as-foot { margin-top: 2px; }

/* نسخه 1.179.0: فهرست ترجمه‌ها و متن/ترجمه سوره در پاسخ */
.as-trlist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.as-trbtn { min-height: 36px; padding: 4px 14px; border: 1px solid var(--as-line); border-radius: 999px; background: var(--as-paper); color: var(--as-ink); font: inherit; font-size: 14px; cursor: pointer; }
@media (hover: hover) and (pointer: fine) { .as-trbtn:hover { border-color: var(--as-ac); color: var(--as-ac); } }
.as-trbtn:focus-visible { outline: 2px solid var(--as-ac); outline-offset: 2px; }
.as-surah { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 10px; }
.as-surah li { padding: 8px 10px 10px; border: 1px solid var(--as-line); border-radius: 12px; background: var(--as-paper); }
.as-surah .as-vn { display: inline-grid; place-items: center; min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--as-soft); color: var(--as-ac); font-size: 12.5px; font-weight: 700; }
.as-surah .as-sayah { margin: 6px 0 0; text-align: right; font-size: 22px; }
.as-surah .as-str { margin: 6px 0 0; line-height: 1.95; color: var(--as-ink); overflow-wrap: anywhere; }

/* نسخه 1.179.3 (بند ۳۳): سرتیتر هر بخش پرسش چندبخشی */
.as-part { display: flex; align-items: center; gap: 10px; margin: 14px 0 2px; font-size: 14px; font-weight: 700; color: var(--as-ac); }
.as-part::after { content: ""; flex: 1; border-top: 1px solid var(--as-line); }

/* نسخه 1.181.0 (بند ۴۲): موضوع‌های مرتبط زیر پاسخ دانش */
.as-rel-h { margin: 12px 0 6px; font-size: 13px; color: var(--as-mut); }
.as-rel .as-trbtn { font-size: 14px; }

/* نسخه 1.184.0: متن عربی دعا (قرآن نیست، قلم مدنی نمی‌گیرد) */
.as-dar { margin: 0; font-family: "Amiri", "Scheherazade New", "Noto Naskh Arabic", serif; font-size: 21px; line-height: 2; }
