/* Approved forest-green art direction. Live text stays selectable and localized. */
.top{background:#081b12;color:#f6ebd0;border:0}
.top .shell{width:min(1600px,calc(100% - 96px));max-width:none;min-height:105px;border-bottom:1px solid #bb9a55;gap:24px}
.top .brand{flex-direction:row;gap:13px;min-width:0;font-size:1.55rem;line-height:1.1}
.top .brand-emblem{width:72px;height:60px}
.brand-name{display:flex;flex-direction:column;gap:7px}
.brand-name small{font:500 .78rem/1.3 "Noto Sans Arabic",sans-serif;text-align:center;color:#ede0bc}
.top .nav{gap:30px}.top .nav a{font-weight:400;font-size:.9rem;padding:8px 0}
.top .nav a+a{border:0;padding-inline-start:0}
.top #language{border:0;color:#f6ebd0;font-size:.88rem}
body[data-page=home]{background:#07170f;color:#f4ebd5;--line:#b89a5540;--muted:#bdc3af}
body[data-page=home] .top{position:absolute;inset:0 0 auto;background:transparent}
.hero{position:relative;isolation:isolate;background:#06130d;border:0;color:#f7edd5}
.hero .shell{display:flex;justify-content:flex-end;direction:ltr;position:relative;width:min(100%,1920px);max-width:none;min-height:0;height:clamp(620px,50.77vw,975px);padding:105px 5.2% 0;gap:0}
.forest-scene{position:absolute;inset:0;z-index:-1;overflow:hidden;pointer-events:none}
.forest-scene img{width:100%;height:100%;object-fit:cover;object-position:center bottom;display:block}
.hero-copy{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;width:47%;max-width:none;padding:0 0 28px;direction:ltr;text-align:center}
html[dir=rtl] .hero-copy{direction:rtl}
.hero h1,html[lang=ar] .hero h1{width:100%;text-align:center!important;font-size:clamp(3rem,5.25vw,6.25rem);line-height:1.35;font-weight:700;letter-spacing:-.045em;color:#f7edd5}
.hero h1{font-weight:600;line-height:1.08}
.hero .hero-tagline{color:#e6dfc7!important;font-size:clamp(1.18rem,2.1vw,2.4rem)!important;font-weight:400;margin:12px 0 0!important;max-width:none!important;line-height:1.6}
.hero .hero-tagline::after{content:"";display:block;width:66px;height:2px;background:#bd984e;margin:18px auto}
.hero .hero-description{display:block;color:#cbd2c0!important;font-size:clamp(.95rem,1.2vw,1.08rem)!important;line-height:1.85!important;max-width:44ch!important;margin:0 0 24px!important;text-align:center}
.hero .hero-actions{display:flex;flex-direction:row;justify-content:center;align-items:stretch;flex-wrap:nowrap;gap:22px;width:100%;margin:0}
.hero .action{background:#f7ebcd;color:#102418;border:1px solid #f7ebcd;min-height:54px;flex:1;max-width:245px;padding:12px 16px;border-radius:4px;font-size:clamp(.83rem,1.15vw,1.18rem);line-height:1.5;text-align:center}
.hero .action:hover{background:#e5cea0;transform:translateY(-2px)}
.hero .action-outline{background:transparent;color:#f6ebd0;border-color:#e5d9b9;font-weight:500}
.hero .action-outline:hover{background:#ffffff0d}
.hero-languages{display:flex;direction:rtl;justify-content:center;flex-wrap:wrap;gap:clamp(18px,2.6vw,48px);width:100%;margin-top:clamp(30px,4.2vw,72px)}
.hero-languages a{font:400 1.1rem/1.5 var(--serif);color:#e2d9bf;text-decoration:none;padding-block:8px}
.hero-languages a[lang=ar]{font-family:var(--sans);font-size:.88rem}
.hero-languages a:hover{color:#fff6df;text-decoration:underline;text-underline-offset:8px}
body[data-page=home] .book-editions{padding-block:64px 68px;max-width:1200px}
body[data-page=home] .book-editions h2{font-size:clamp(2rem,3.3vw,3.3rem);font-weight:700}
body[data-page=home] .book-editions .section-head{margin-bottom:35px}
body[data-page=home] .edition-volumes{border-color:#b99b5840;padding-block:20px}
body[data-page=home] .edition h3{color:#e5cf9b;font-size:1.65rem}
body[data-page=home] .edition-links a{color:#e7e5d6;text-decoration-color:#a88c4c77}
body[data-page=home] .edition-links a:hover{color:#d9bb78}
body[data-page=home] .book-intro{border-color:#b89a553b;padding-block:48px 72px}
body[data-page=home] .book-intro .section-head h2{font-weight:700;font-size:2.3rem}
body[data-page=home] .video-intro-text{color:#b9c0ad}
body[data-page=home] .book-video-frame{border-color:#ad915754;border-radius:8px;box-shadow:0 20px 60px #0005}
body[data-page=home] .footer{background:#0c2117;border-color:#b89a553b}
body[data-page=home] .footer .inquiry{background:#142b20;color:#f2e7ce;border:1px solid #b99b5840}
body[data-page=home] .inquiry-form input,body[data-page=home] .inquiry-form textarea{background:#0c2016;border-color:#c1aa743f;color:#fff4dc}
body[data-page=home] .inquiry-form button{background:#ead8ad;color:#102418}
body[data-page=home] .inquiry-form p{color:#bac1af}
.mobile-dock{background:#0b2017f7;border-color:#b99b5850}.mobile-dock a{color:#c7d1bd}.mobile-dock [aria-current]{background:#e7d5a9;color:#0b2117}
@media(min-width:701px) and (max-width:1100px){
 .top .shell{width:calc(100% - 48px);min-height:88px;gap:16px}.top .brand{font-size:1.15rem;gap:8px}.top .brand-emblem{width:52px;height:45px}.brand-name small{font-size:.65rem}.top .nav{gap:20px}.top .nav a{font-size:.74rem}.top #language{font-size:.75rem}
 .hero .shell{height:580px;padding:88px 4% 0}.forest-scene img{object-position:43% bottom}.hero-copy{width:47%;padding-bottom:0}.hero h1,html[lang=ar] .hero h1{font-size:3rem}.hero .hero-tagline{font-size:1.25rem!important}.hero .hero-actions{gap:10px}.hero .action{font-size:.78rem;min-height:49px;padding:10px}.hero-languages{gap:20px;margin-top:26px}.hero-languages a{font-size:.94rem}
}
@media(max-width:700px){
 .top .shell{width:calc(100% - 32px);min-height:79px;padding-block:8px;gap:6px}.top .brand{font-size:1.1rem;gap:8px;justify-content:center}.top .brand-emblem{width:44px;height:42px}.brand-name{gap:3px}.brand-name small{font-size:.56rem}.top #language{width:75px;font-size:.69rem;padding-inline:0}.top .nav{background:#0b2118;border-color:#ba9e5b55}.top .nav a{font-size:.9rem;padding:12px}.top .nav a+a{padding-inline-start:12px}
 body[data-page=home] .top{position:relative;background:#081a12}
 .hero{background:radial-gradient(ellipse at 40% 10%,#26392855,transparent 65%),#06130d;overflow:hidden}
 .hero .shell{width:100%;height:auto;min-height:0;display:flex;flex-direction:column;align-items:center;padding:0 0 24px;gap:0}
 .hero-copy{display:contents}
 .hero h1,html[lang=ar] .hero h1{order:1;font-size:clamp(2.25rem,8.5vw,3.5rem);font-weight:700;line-height:1.3!important;padding:0 18px;margin:29px 0 0;letter-spacing:-.04em}
 .hero .hero-tagline{order:2;font-size:1.08rem!important;margin:8px 16px 0!important;max-width:none!important;text-align:center}
 .hero .hero-tagline::after{width:42px;height:1px;margin:12px auto 0}
 .hero .hero-description{order:2;width:calc(100% - 48px);font-size:.9rem!important;margin:10px 24px 6px!important}
 .forest-scene{order:3;position:relative;inset:auto;z-index:0;width:min(100%,560px);aspect-ratio:1.35;overflow:hidden;margin-top:6px;flex:none}
 .forest-scene img{position:absolute;width:187%;height:auto;max-width:none;left:-2%;top:-23%;object-fit:initial;mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 90%,transparent);-webkit-mask-image:linear-gradient(to bottom,transparent,#000 12%,#000 90%,transparent)}
 .hero .hero-actions{order:4;width:calc(100% - 40px);max-width:500px;margin:4px auto 0;gap:12px}
 .hero .action{width:auto;max-width:none;font-size:.83rem;padding:11px 9px;min-height:49px;flex:1}
 .hero-languages{order:5;gap:27px;margin-top:19px;padding-inline:14px}
 .hero-languages a{font-size:.98rem}.hero-languages a[lang=ar]{font-size:.8rem}
 body[data-page=home] .book-editions{padding-block:32px 40px;width:calc(100% - 36px)}
 body[data-page=home] .book-editions h2{font-size:1.8rem}body[data-page=home] .book-editions .section-head{margin-bottom:20px}
 body[data-page=home] .edition-volumes{padding:18px;border-color:#b99b5840}body[data-page=home] .edition h3{font-size:1.3rem}
 body[data-page=home] .book-intro{padding-block:30px 45px;width:calc(100% - 40px)}body[data-page=home] .book-intro .section-head h2{font-size:1.7rem}
}
@media(max-width:360px){.top .brand{font-size:.95rem;gap:4px}.top .brand-emblem{width:33px}.top #language{width:65px}.hero-languages{gap:22px}.hero .action{font-size:.74rem}}

/* Quran and live stream share the book site's forest and warm-gold palette. */
body:is([data-page=quran],[data-page=haram],[data-page=qibla],[data-page=prayer]){background:#07170f;color:#f4ebd5;--line:#b89a5540;--muted:#bdc3af}
body:is([data-page=quran],[data-page=haram],[data-page=qibla],[data-page=prayer]) main{background:radial-gradient(ellipse at 22% 0%,#263c2850,transparent 550px)}
.quran-welcome,.quran-welcome h2,.haram-section h2{color:#f4ebd5}
.quran-welcome .eyebrow,.haram-section .eyebrow{color:#d4b673}
.quran-welcome p,.haram-description{color:#bdc3af}
.quran-welcome .action{background:#ead8ad;color:#102418}
#q-workspace{--q-bg:#12261b;--q-text:#f2e9d4;--q-line:#b99b5840;border-color:var(--q-line);box-shadow:0 18px 65px #0003;color-scheme:dark}
#q-workspace.q-night{--q-bg:#08170f;--q-text:#e3dccb;--q-line:#a28a4938}
.q-surah-sidebar{background:#07170f55}
.q-surah-sidebar h3{color:#e5cf9b}
.q-search input{background:#ffffff06}
#q-surah-list button:hover{background:#c6a45d12}
#q-surah-list button[aria-current]{background:#b69b5226;border-inline-start-color:#d4b673;color:#f6e6bd}
#q-surah-list small{opacity:1;color:#b6bea9}
.q-toolbar label,.q-advanced-grid label{color:#d3d6c4}
.q-toolbar select,.q-advanced-grid select{background:#ffffff05;color:var(--q-text)}
.q-toolbar select option,.q-advanced-grid select option{background:var(--q-bg);color:var(--q-text)}
.q-advanced{background:#ffffff02}
.q-advanced>summary{color:#e5cf9b}
.q-heading h3{color:#f3e4c0}
.q-heading p{color:#b8bfac}
.q-ayah-meta{color:#d4b77a}
.q-arabic{color:var(--q-text)}
.q-translated{color:#d6ddca}
.q-ayah details{background:#b59a4e0b;border-color:var(--q-line)}
.q-ayah summary{color:#e4cb94}
.q-ayah details small,.q-tafsir-unavailable,.q-night .q-tafsir-unavailable{color:#b9c2ac;opacity:1}
.q-tools button,.q-verse-actions button,.q-pagination button{border:1px solid var(--q-line);color:var(--q-text)}
.q-tools button:hover:not(:disabled),.q-verse-actions button:hover,.q-pagination button:hover:not(:disabled){background:#d4b67318;border-color:#d4b67388}
.q-tools button[aria-pressed=true]{background:#d7be86;color:#102418}
.q-ayah.is-playing{background:#b5964f18;border-inline-start-color:#e0c58e}
.q-player{background:var(--q-bg);border-color:#b89a5577;box-shadow:0 8px 24px #0004}
.q-player input{accent-color:#d7be86}
.haram-badge{background:#142c1f;border-color:#bd9c5855;color:#ead8ad}
.haram-player{border:1px solid #bd9c5855;box-shadow:0 20px 65px #0005}
.haram-placeholder .action{background:#f2e4c4;color:#102418}
.haram-links .action{background:#ead8ad;color:#102418;border-color:#ead8ad}
.haram-links button:not(.action){color:#f3e7cc;border-color:#b99b5860;background:#142b20}
.haram-links button:hover{background:#cfb579;color:#102418}
.closing-emblem img{mix-blend-mode:screen;filter:none}
body:is([data-page=quran],[data-page=haram],[data-page=qibla],[data-page=prayer]) .footer{background:#0c2117;border-color:#b89a553b}
body:is([data-page=quran],[data-page=haram],[data-page=qibla],[data-page=prayer]) .footer .inquiry{background:#142b20;color:#f2e7ce;border:1px solid #b99b5840}
body:is([data-page=quran],[data-page=haram],[data-page=qibla],[data-page=prayer]) .inquiry-form input,body:is([data-page=quran],[data-page=haram],[data-page=qibla],[data-page=prayer]) .inquiry-form textarea{background:#0c2016;border-color:#c1aa743f;color:#fff4dc}
body:is([data-page=quran],[data-page=haram],[data-page=qibla],[data-page=prayer]) .inquiry-form button{background:#ead8ad;color:#102418}
body:is([data-page=quran],[data-page=haram],[data-page=qibla],[data-page=prayer]) .inquiry-form p{color:#bac1af}
