/* reading pages: Qibla glass + arches (docs/design/site-inner/e.css) */
/* E — "Qibla glass": the reading page in the app's Qibla-card glass, with the mosque-arch line art behind the title, over a soft slice of the hero photo. */
.v-e .bg-photo { position: fixed; inset: -40px; z-index: -1; background: var(--hero-img) 62% 40% / cover no-repeat; filter: blur(8px) saturate(1); transform: scale(1.05); }
.v-e .bg-photo::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--canvas) 30%, transparent); }
.v-e .doc-hero { position: relative; isolation: isolate; padding-block: clamp(96px, 11vw, 150px) clamp(40px, 6vw, 72px); overflow: clip; }
.v-e .hero-art { position: absolute; inset-block: 0; inset-inline-end: 0; width: min(52%, 600px); z-index: -1; color: rgba(255,255,255,.38); -webkit-mask-image: linear-gradient(to left, #000 30%, transparent); mask-image: linear-gradient(to left, #000 30%, transparent); }
.v-e .arches { position: absolute; inset-inline-end: -2%; bottom: 0; height: 120%; width: auto; max-width: none; }
:root[data-theme="light"] .v-e .hero-art { color: rgba(91,82,74,.4); }
.v-e .doc-hero h1 { font: 300 clamp(48px, 7vw, 96px)/1 var(--font-display); letter-spacing: -.03em; }
.v-e .doc { grid-template-columns: 250px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); }
.v-e .prose, .v-e .toc, .v-e .contact { position: relative; isolation: isolate; border-radius: 30px; border: 1px solid rgba(255,255,255,.32); background: linear-gradient(158deg, rgba(255,255,255,.20) 0%, rgba(255,255,255,.07) 34%, rgba(70,64,56,.22) 100%), rgba(40,40,37,.74); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -26px 40px -28px rgba(0,0,0,.35), 0 34px 70px -30px rgba(8,5,2,.7), 0 2px 8px rgba(8,5,2,.25); color: var(--ink-2); }
:root[data-theme="light"] .v-e .prose, :root[data-theme="light"] .v-e .toc, :root[data-theme="light"] .v-e .contact { background: linear-gradient(158deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.55) 40%, rgba(236,226,212,.6) 100%), rgba(250,246,239,.5); border-color: rgba(255,255,255,.9); box-shadow: inset 0 1px 0 #fff, 0 34px 70px -34px rgba(90,66,44,.45), 0 2px 8px rgba(90,66,44,.12); }
.v-e .prose::before, .v-e .toc::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; background: radial-gradient(120% 60% at 12% -8%, rgba(255,255,255,.22), transparent 55%), radial-gradient(70% 40% at 100% 110%, rgba(222,176,126,.14), transparent 60%); }
.v-e .prose { max-width: none; padding: clamp(28px, 5vw, 72px); font: 400 18px/1.8 var(--font-serif); }
.v-e .prose > * { max-width: 66ch; margin-inline: auto; }
.v-e .prose > h2 { font: 400 clamp(26px, 2.8vw, 34px)/1.2 var(--font-display); margin: 64px auto 16px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.18); color: var(--ink); }
.v-e .prose > h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.v-e .summary { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.16); border-radius: 22px; box-shadow: inset 0 1px 0 rgba(255,255,255,.25); }
.v-e .toc { padding: 24px; border-radius: 26px; } .v-e .toc a { color: var(--ink-2); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .v-e .prose, .v-e .toc, .v-e .contact { background: #383733; } }
@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) { .v-e .bg-photo { display: none; } .v-e .prose, .v-e .toc, .v-e .contact { background: #383733; -webkit-backdrop-filter: none; backdrop-filter: none; } }
@media (max-width: 900px) { .v-e .doc { grid-template-columns: minmax(0, 1fr); } .v-e .toc, .v-e .prose { min-width: 0; } .v-e .toc { margin-bottom: 24px; } .v-e .toc p { display: none; } .v-e .toc ol { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; } .v-e .toc li { flex: none; border: 0; } .v-e .toc a { display: block; white-space: nowrap; padding: 9px 16px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; } .v-e .hero-art { width: 100%; opacity: .7; } }
.v-e .prose p, .v-e .prose li, .v-e .prose h2, .v-e .prose h3 { text-shadow: 0 1px 10px rgba(18,12,7,.4); }
:root[data-theme="light"] .v-e .prose p, :root[data-theme="light"] .v-e .prose li, :root[data-theme="light"] .v-e .prose h2, :root[data-theme="light"] .v-e .prose h3, :root[data-theme="light"] .h-5 .glass * { text-shadow: none; }

/* support: questions in a glass card beside the contact card */
.v-e .support { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
.v-e .faq { padding: clamp(24px, 4vw, 48px); border-radius: 30px; border: 1px solid rgba(255,255,255,.32); background: linear-gradient(158deg, rgba(255,255,255,.2) 0%, rgba(255,255,255,.07) 34%, rgba(70,64,56,.22) 100%), rgba(40,40,37,.74); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 34px 70px -30px rgba(8,5,2,.7); }
.v-e .faq details { border-color: rgba(255,255,255,.2); } .v-e .faq .answer { color: var(--ink-2); }
.v-e .support .contact { position: sticky; top: 104px; }
@media (max-width: 900px) { .v-e .support { grid-template-columns: minmax(0, 1fr); } .v-e .support .contact { position: static; } }

/* SITE-003: the contents box was offset 104px (relative + top); keep it sticky and level with the text */
@media (min-width: 901px) { .v-e .toc { position: sticky; } }
@media (max-width: 900px) { .v-e .toc { top: auto; } }
