:root{--bg:#080808;--surface:#101010;--surface2:#151515;--line:rgba(255,255,255,.1);--muted:#858585;--text:#f1f0ec;--soft:#c5c2bb;--accent:#fff;--serif:'Amiri',serif;--sans:'IBM Plex Sans Arabic',sans-serif;--ayah-size:34px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:90px}body{margin:0;background:var(--bg);color:var(--text);font-family:var(--sans);overflow-x:hidden}button,input,select{font:inherit}button{cursor:pointer}.ambient{position:fixed;pointer-events:none;z-index:-1;border-radius:50%;filter:blur(110px);opacity:.09}.ambient-one{width:420px;height:420px;background:#777;top:4%;right:-260px}.ambient-two{width:360px;height:360px;background:#aaa;bottom:0;left:-260px}.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 clamp(22px,6vw,100px);border-bottom:1px solid var(--line);position:sticky;top:0;z-index:20;background:rgba(8,8,8,.88);backdrop-filter:blur(18px)}.brand,.footer-brand{display:flex;align-items:center;gap:11px;color:var(--text);text-decoration:none;font-family:Arial,sans-serif;font-size:19px;font-weight:700;letter-spacing:3px;direction:ltr}.brand-mark{width:32px;height:32px;border:1px solid #777;display:grid;place-items:center;font-family:var(--serif);font-size:23px;font-weight:400;letter-spacing:0}.brand-dot,.footer-brand span{color:#aaa}.main-nav{display:flex;gap:clamp(20px,4vw,54px);height:100%;align-items:center}.nav-link{height:100%;display:grid;place-items:center;text-decoration:none;color:#858585;font-size:13px;position:relative;transition:.25s}.nav-link:hover,.nav-link.active{color:#fff}.nav-link.active:after{content:'';position:absolute;bottom:0;width:18px;height:2px;background:#eee}.icon-button,.bookmark-surah{width:40px;height:40px;border:1px solid var(--line);background:transparent;color:#eee;border-radius:50%;font-size:21px}.settings-glyph{display:block;transform:rotate(35deg)}main{max-width:1440px;margin:auto;padding:0 clamp(22px,6vw,100px)}.page-section{position:relative}.hero-section{min-height:650px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;padding:90px 0 80px;border-bottom:1px solid var(--line)}.hero-copy{padding-right:2vw;z-index:1}.eyebrow{font-size:11px;letter-spacing:2px;color:#929292}.eyebrow{display:flex;align-items:center;gap:12px;margin-bottom:27px}.eyebrow-line{width:30px;height:1px;background:#aaa}.hero-copy h1{font-family:var(--serif);font-size:clamp(64px,8.3vw,116px);line-height:1.13;font-weight:400;margin:0 0 20px;letter-spacing:-2px}.hero-copy h1 span{color:#aaa}.hero-description{font-size:15px;color:#999;line-height:2.1;max-width:450px;margin:0 0 32px}.hero-actions{display:flex;align-items:center;gap:26px}.primary-button{border:1px solid #eee;background:#eee;color:#090909;padding:14px 23px;font-size:13px;display:inline-flex;align-items:center;gap:28px;transition:.25s}.primary-button:hover{background:#cfcfcf;transform:translateY(-2px)}.primary-button span{font-size:18px}.text-button{background:none;border:0;color:#bbb;padding:12px 0;font-size:13px}.text-button:hover{color:#fff}.hero-meta{display:flex;align-items:center;gap:13px;color:#777;font-size:11px;margin-top:55px}.hero-meta i{height:3px;width:3px;background:#666;border-radius:50%}.meta-dot{width:6px;height:6px;border-radius:50%;background:#eee}.hero-art{height:430px;position:relative;display:grid;place-items:center;overflow:hidden}.orbit{position:absolute;border:1px solid rgba(255,255,255,.13);border-radius:50%;transform:rotate(-28deg)}.orbit-a{width:340px;height:440px}.orbit-b{width:250px;height:350px;transform:rotate(28deg)}.ornament{font-family:var(--serif);font-size:190px;color:rgba(255,255,255,.82);text-shadow:0 0 70px rgba(255,255,255,.12);animation:float 7s ease-in-out infinite}.hero-art-caption{position:absolute;bottom:34px;text-align:center;font-family:var(--serif);font-size:20px;color:#ddd;line-height:1.7}.hero-art-caption small{font-family:var(--sans);font-size:10px;color:#777}.hero-bottom-line{position:absolute;bottom:24px;left:0;right:0;display:flex;justify-content:space-between;color:#555;font-size:9px;letter-spacing:1.5px}.daily-section,.mushaf-section,.listen-section,.bookmarks-section{padding:90px 0;border-bottom:1px solid var(--line)}.section-heading{display:flex;justify-content:space-between;align-items:end;margin-bottom:32px}.section-heading h2{font-family:var(--serif);font-size:36px;font-weight:400;margin:9px 0 0}.section-index{font-size:10px;color:#666;letter-spacing:1px}.daily-verse{position:relative;text-align:center;padding:60px 24px 45px;background:linear-gradient(120deg,#111,#0d0d0d);border:1px solid var(--line);overflow:hidden}.daily-verse:before,.daily-verse:after{content:'۞';position:absolute;font-family:var(--serif);font-size:100px;color:rgba(255,255,255,.035)}.daily-verse:before{top:-18px;right:22px}.daily-verse:after{bottom:-30px;left:22px}.verse-ornament{font-family:var(--serif);color:#777;font-size:25px}.daily-arabic{font-family:var(--serif);font-size:clamp(30px,4vw,46px);line-height:1.9;margin:20px 0;color:#f1eee7}.daily-reference{font-size:11px;color:#858585}.verse-actions{display:flex;justify-content:center;gap:10px;margin-top:28px}.small-action{border:1px solid var(--line);background:transparent;color:#aaa;padding:9px 18px;font-size:11px}.small-action:hover{border-color:#aaa;color:#fff}.mushaf-toolbar{display:flex;gap:12px;margin-bottom:22px}.search-box{height:48px;flex:1;display:flex;align-items:center;gap:12px;border:1px solid var(--line);padding:0 15px;color:#777}.search-box>span{font-size:23px}.search-box input{flex:1;min-width:0;background:none;border:0;outline:0;color:#eee;font-size:13px}.search-box kbd{font-size:10px;color:#666}.select-wrap select,.player-options select{height:48px;background:#111;color:#ddd;border:1px solid var(--line);padding:0 16px;min-width:145px;outline:0}.surah-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.surah-card{min-height:84px;border:1px solid var(--line);background:rgba(255,255,255,.015);display:flex;align-items:center;gap:15px;padding:15px 17px;text-align:right;color:#eee;transition:.25s}.surah-card:hover{background:#151515;border-color:#666;transform:translateY(-2px)}.surah-index{width:34px;height:34px;border:1px solid #333;display:grid;place-items:center;color:#888;font-size:11px;transform:rotate(45deg);flex-shrink:0}.surah-index span{transform:rotate(-45deg)}.surah-card-info{flex:1}.surah-card-info strong{display:block;font-family:var(--serif);font-size:20px;font-weight:400}.surah-card-info small{font-size:10px;color:#777}.surah-card-arabic{font-family:var(--serif);font-size:19px;color:#999}.loading-state,.empty-state{text-align:center;color:#777;padding:35px;font-size:13px}.reader-section{padding:42px 0 85px;border-bottom:1px solid var(--line)}.hidden{display:none!important}.reader-top{display:flex;align-items:center;justify-content:space-between}.back-button{border:0;background:none;color:#aaa;font-size:12px}.reader-surah-meta{color:#777;font-size:11px;display:flex;gap:10px}.reader-title{display:flex;justify-content:center;align-items:center;gap:18px;margin:55px 0 25px;text-align:center}.surah-number{width:48px;height:48px;border:1px solid #555;display:grid;place-items:center;transform:rotate(45deg);font-size:13px;color:#ccc}.reader-title h2{font-family:var(--serif);font-size:39px;font-weight:400;margin:0}.reader-title p{font-family:var(--serif);font-size:16px;color:#888;margin:4px 0}.bookmark-surah{margin-right:30px;font-size:23px}.reader-controls{display:flex;justify-content:center;align-items:center;gap:12px;color:#777;font-size:11px;margin:25px 0}.control-chip{background:#121212;border:1px solid var(--line);color:#ddd;padding:9px 14px;font-size:12px}.play-chip{padding-inline:20px}.control-divider{height:22px;width:1px;background:#333;margin:0 12px}.bismillah{text-align:center;font-family:var(--serif);font-size:29px;color:#ddd;padding:35px 0 25px}.ayah-list{max-width:920px;margin:auto;border-top:1px solid var(--line)}.ayah-row{padding:27px 15px;border-bottom:1px solid rgba(255,255,255,.07);display:flex;gap:18px;align-items:flex-start;transition:.2s}.ayah-row.active-ayah{background:rgba(255,255,255,.045)}.ayah-tools{display:flex;flex-direction:column;gap:8px;align-items:center;min-width:40px}.ayah-number{width:31px;height:31px;border:1px solid #3d3d3d;border-radius:50%;display:grid;place-items:center;font-size:10px;color:#999}.ayah-tool{border:0;background:none;color:#777;font-size:16px;padding:3px}.ayah-text{font-family:var(--serif);font-size:var(--ayah-size);line-height:2.15;text-align:justify;flex:1;color:#e9e6df}.q-word{display:inline-block;padding:0 2px;border-radius:4px;transition:background .12s,color .12s}.q-word.active-word{background:#eee;color:#111;box-shadow:0 0 18px rgba(255,255,255,.13)}.reader-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:32px}.listen-card{border:1px solid var(--line);background:linear-gradient(130deg,#151515,#0e0e0e);padding:34px;display:grid;grid-template-columns:60px 1fr auto;align-items:center;gap:20px}.listen-symbol{width:54px;height:54px;border:1px solid #555;border-radius:50%;display:grid;place-items:center;font-size:23px;color:#ddd}.listen-info h3{font-family:var(--serif);font-size:25px;font-weight:400;margin:6px 0}.listen-info p{font-size:11px;color:#777;margin:0}.listen-wave{height:45px;display:flex;align-items:center;gap:4px}.listen-wave span{width:3px;background:#aaa;height:var(--h,15px);border-radius:4px;opacity:.5}.listen-wave span:nth-child(2n){--h:29px}.listen-wave span:nth-child(3n){--h:39px}.listen-wave span:nth-child(4n){--h:20px}.listen-wave.playing span{animation:wave .7s ease-in-out infinite alternate}.listen-wave.playing span:nth-child(2n){animation-delay:.2s}.listen-wave.playing span:nth-child(3n){animation-delay:.4s}.player-controls{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:24px;margin-top:20px}.player-secondary,.player-main{border:0;background:none;color:#bbb;font-size:18px}.player-main{width:52px;height:52px;border-radius:50%;background:#eee;color:#111;font-size:18px}.player-progress{grid-column:1/-1;display:flex;align-items:center;gap:13px;color:#777;font-size:10px}.player-progress input{flex:1;accent-color:#eee}.player-options{grid-column:1/-1;display:flex;justify-content:center;gap:22px}.player-options label{display:flex;align-items:center;gap:10px;color:#888;font-size:11px}.player-options select{height:35px;min-width:130px;font-size:11px}.sync-note{font-size:10px;color:#666;margin-top:15px}.bookmark-list{display:grid;gap:8px}.bookmark-item{border:1px solid var(--line);padding:17px;display:flex;justify-content:space-between;align-items:center;gap:15px}.bookmark-item strong{font-family:var(--serif);font-size:19px;font-weight:400}.bookmark-item small{display:block;color:#777;font-size:10px;margin-top:4px}.bookmark-item button{background:none;border:1px solid var(--line);color:#aaa;padding:8px 13px;font-size:11px}.reading-progress{margin-top:32px;padding:24px;border:1px solid var(--line)}.reading-progress>div:first-child{display:flex;justify-content:space-between;font-size:12px;color:#aaa}.reading-progress strong{color:#eee}.progress-track{height:3px;background:#252525;margin:17px 0 10px}.progress-track span{display:block;height:100%;width:0;background:#eee;transition:width .5s}.reading-progress small{color:#777;font-size:10px}.footer{padding:65px 22px 35px;text-align:center}.footer-brand{justify-content:center;font-size:21px}.footer p{font-family:var(--serif);font-size:20px;color:#aaa;margin:22px 0 32px}.footer-rule{width:100%;max-width:700px;height:1px;background:var(--line);margin:0 auto 22px}.footer small{display:block;color:#777;font-size:10px;line-height:2}.footer-quran-note{color:#555!important}.audio-dock{position:fixed;bottom:18px;left:18px;z-index:30;display:none;align-items:center;gap:15px;background:#171717;border:1px solid #444;padding:10px 14px;box-shadow:0 15px 50px #000}.audio-dock.visible{display:flex}.dock-track{display:flex;align-items:center;gap:10px;min-width:170px}.dock-track strong,.dock-track small{display:block}.dock-track strong{font-family:var(--serif);font-size:16px;font-weight:400}.dock-track small{font-size:9px;color:#777}.dock-indicator{width:6px;height:6px;border-radius:50%;background:#eee}.dock-play,.dock-close{border:0;background:none;color:#eee}.dock-play{font-size:18px}.dock-close{color:#777;font-size:20px}.settings-dialog{width:min(440px,calc(100% - 30px));background:#111;color:#eee;border:1px solid #444;padding:25px}.settings-dialog::backdrop{background:rgba(0,0,0,.78);backdrop-filter:blur(6px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h3{font-family:var(--serif);font-size:25px;font-weight:400}.dialog-close{background:none;border:0;color:#aaa;font-size:25px}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:15px;margin:22px 0;font-size:12px;color:#aaa}.setting-row input{accent-color:#eee}.setting-row small{font-size:10px;color:#666}.settings-hint{font-size:10px;color:#777;line-height:1.8}.dialog-done{margin-top:15px}.toast{position:fixed;bottom:25px;right:50%;transform:translate(50%,20px);opacity:0;pointer-events:none;background:#eee;color:#111;padding:11px 18px;font-size:11px;z-index:50;transition:.25s}.toast.show{opacity:1;transform:translate(50%,0)}@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-13px)}}@keyframes wave{to{transform:scaleY(.35);opacity:.25}}@media(max-width:850px){.hero-section{grid-template-columns:1fr;min-height:auto;padding:80px 0 65px}.hero-art{height:300px;grid-row:1}.ornament{font-size:140px}.orbit-a{width:250px;height:320px}.orbit-b{width:190px;height:260px}.hero-copy{padding:0}.hero-copy h1{font-size:clamp(65px,15vw,100px)}.hero-bottom-line{bottom:15px}.surah-grid{grid-template-columns:repeat(2,1fr)}.listen-card{grid-template-columns:55px 1fr}.listen-wave{display:none}.player-options{flex-wrap:wrap}.topbar{height:70px}.main-nav{gap:17px}.nav-link{font-size:11px}}@media(max-width:560px){.topbar{padding:0 17px}.brand{font-size:16px}.brand-mark{width:29px;height:29px}.main-nav{gap:12px}.nav-link{font-size:10px}.icon-button{width:34px;height:34px}main{padding:0 18px}.hero-section{padding-top:40px}.hero-art{height:240px}.hero-copy h1{font-size:68px}.hero-description{font-size:13px}.hero-meta{gap:8px;flex-wrap:wrap;margin-top:35px}.hero-meta span{font-size:9px}.daily-section,.mushaf-section,.listen-section,.bookmarks-section{padding:65px 0}.section-heading h2{font-size:29px}.surah-grid{grid-template-columns:1fr}.mushaf-toolbar{flex-direction:column}.select-wrap select{width:100%}.reader-title{margin:35px 0 20px}.reader-title h2{font-size:31px}.reader-title p{font-size:13px}.bookmark-surah{margin-right:0}.reader-controls{gap:7px;flex-wrap:wrap}.control-divider{margin:0 3px}.bismillah{font-size:24px}.ayah-row{padding:20px 4px;gap:10px}.ayah-text{font-size:calc(var(--ayah-size) - 3px);line-height:2.05}.ayah-tools{min-width:32px}.listen-card{padding:22px 16px}.listen-info h3{font-size:21px}.player-controls{gap:18px}.player-options{gap:10px}.player-options label{gap:5px}.player-options select{min-width:100px}.audio-dock{left:10px;right:10px;bottom:10px;justify-content:space-between}.dock-track{min-width:0;flex:1}.hero-actions{gap:18px}.primary-button{padding:12px 16px;gap:17px}}


/* ROOT signature: a restrained moving light line across the top edge */
.top-scanline{position:fixed;inset:0 0 auto;height:2px;z-index:1000;pointer-events:none;overflow:hidden;background:#171717}
.top-scanline:after{content:"";position:absolute;top:0;left:-28%;width:28%;height:100%;background:linear-gradient(90deg,transparent,#f2f2f2 48%,transparent);box-shadow:0 0 12px rgba(255,255,255,.45);animation:root-scan 6s cubic-bezier(.45,0,.55,1) infinite}
@keyframes root-scan{0%{left:-28%;opacity:0}12%{opacity:1}88%{opacity:1}100%{left:100%;opacity:0}}
.featured-recitation{position:relative;display:grid;grid-template-columns:.85fr 1.15fr;align-items:center;gap:45px;margin:15px 0 30px;padding:35px 38px;border:1px solid #303030;background:linear-gradient(115deg,#111 0%,#090909 70%);overflow:hidden}
.featured-recitation:before{content:"";position:absolute;inset:0 auto 0 0;width:1px;background:linear-gradient(transparent,#aaa,transparent);opacity:.55}
.featured-copy h2{font-family:var(--serif);font-size:clamp(30px,4vw,43px);font-weight:400;margin:10px 0 2px;color:#f2f0eb}
.featured-copy p{margin:0;color:#aaa;font-size:13px}
.featured-meta{display:flex;align-items:center;gap:12px;margin-top:23px;color:#777;font-size:10px}
.featured-meta i{width:3px;height:3px;border-radius:50%;background:#666}
.featured-player{border:1px solid #343434;background:rgba(255,255,255,.025);padding:20px 22px}
.featured-player-top{display:flex;align-items:center;gap:9px;color:#888;font-size:10px}
.featured-live-dot{width:6px;height:6px;border-radius:50%;background:#ddd;box-shadow:0 0 10px #aaa}
.featured-reciter-label{margin-right:auto;display:flex;align-items:center;gap:9px;color:#777}
.featured-reciter-label select{max-width:150px;background:#111;color:#eee;border:1px solid #393939;padding:8px 10px;font:inherit;outline:none}
.featured-controls{display:flex;align-items:center;gap:17px;margin-top:22px}
.featured-play{width:48px;height:48px;flex-shrink:0;border-radius:50%;border:0;background:#eee;color:#111;font-size:17px;cursor:pointer;transition:transform .2s,background .2s}
.featured-play:hover{transform:scale(1.06);background:#fff}
.featured-track{flex:1;min-width:0}
.featured-track-title{font-family:var(--serif);font-size:17px;color:#eee;margin-bottom:8px}
.featured-progress input{width:100%;height:3px;display:block;accent-color:#eee;cursor:pointer}
.featured-time{display:flex;justify-content:space-between;color:#777;font-size:9px;margin-top:7px;direction:ltr}
.featured-equalizer{height:30px;display:flex;align-items:center;gap:3px}
.featured-equalizer i{display:block;width:2px;height:8px;background:#999;opacity:.45}
.featured-equalizer i:nth-child(2){height:18px}.featured-equalizer i:nth-child(3){height:25px}.featured-equalizer i:nth-child(4){height:14px}.featured-equalizer i:nth-child(5){height:20px}
.featured-recitation.is-playing .featured-equalizer i{animation:featured-wave .65s ease-in-out infinite alternate}
.featured-recitation.is-playing .featured-equalizer i:nth-child(2n){animation-delay:.2s}
@keyframes featured-wave{to{transform:scaleY(.3);opacity:.2}}
@media(max-width:760px){.featured-recitation{grid-template-columns:1fr;gap:22px;padding:25px 20px}.featured-player{padding:17px 14px}.featured-controls{gap:12px}.featured-equalizer{display:none}}

/* v3 cache-busted featured recitation refinements */
.featured-recitation .featured-player{min-width:0;border:1px solid #343434!important;background:#101010!important;border-radius:2px}
.featured-recitation .featured-reciter-label select{appearance:none;-webkit-appearance:none;border:1px solid #454545!important;background:#151515!important;color:#eee!important;border-radius:0;padding:9px 30px 9px 12px;min-width:145px;cursor:pointer}
.featured-recitation .featured-play{display:grid;place-items:center;border:1px solid #eee!important;border-radius:50%!important;background:#f2f2f2!important;color:#111!important;width:48px;height:48px;font-size:16px;line-height:1}
.featured-recitation .featured-progress input{appearance:none;-webkit-appearance:none;height:3px;border-radius:5px;background:#444;outline:none}
.featured-recitation .featured-progress input::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border-radius:50%;background:#eee;border:0}
.featured-recitation .featured-progress input::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:#eee;border:0}
.featured-recitation .featured-status-error{color:#d6a0a0}


/* ROOT Night — immersive, distraction-free listening page */
body.sleep-mode{overflow:hidden!important;background:#050608!important}
body.sleep-mode .topbar,body.sleep-mode .footer{display:none!important}
body.sleep-mode main{padding:0!important;max-width:none!important}
body.sleep-mode .ambient{display:none!important}
.sleep-section{position:relative!important;isolation:isolate!important;min-height:100vh!important;min-height:100svh!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;overflow:hidden!important;padding:22px clamp(18px,5vw,70px)!important;background:radial-gradient(ellipse at 50% 42%,#151922 0%,#090b10 42%,#040507 100%)!important;color:#f2f0eb!important}
.sleep-section.hidden{display:none!important}
.sleep-stars{position:absolute!important;inset:0!important;overflow:hidden!important;pointer-events:none!important;z-index:-1!important}
.sleep-star{position:absolute!important;top:-12px!important;width:2px!important;height:2px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 0 8px rgba(255,255,255,.8)!important;animation:sleep-fall linear infinite!important;will-change:transform!important}
.sleep-star:nth-child(5n){width:3px!important;height:3px!important;box-shadow:0 0 12px rgba(220,230,255,.9)!important}
.sleep-star:nth-child(7n){width:1px!important;height:1px!important}
@keyframes sleep-fall{0%{transform:translate3d(0,-5vh,0);opacity:0}10%{opacity:.65}85%{opacity:.4}100%{transform:translate3d(var(--drift),110vh,0);opacity:0}}
.sleep-topline{position:absolute!important;top:0!important;left:0!important;right:0!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:22px clamp(18px,5vw,70px)!important;border-bottom:1px solid rgba(255,255,255,.07)!important;color:#676b74!important;font:10px Arial,sans-serif!important;letter-spacing:3px!important;direction:ltr!important}
.sleep-exit{direction:rtl!important;background:transparent!important;border:1px solid rgba(255,255,255,.14)!important;color:#999!important;padding:9px 15px!important;font:11px 'IBM Plex Sans Arabic',sans-serif!important;letter-spacing:0!important;cursor:pointer!important}
.sleep-exit:hover{color:#fff!important;border-color:#888!important}
.sleep-player-wrap{position:relative!important;width:min(100%,590px)!important;text-align:center!important;z-index:1!important;margin:48px auto 30px!important}
.sleep-mark{font:12px Arial,sans-serif!important;letter-spacing:5px!important;color:#eee!important;margin-bottom:35px!important;direction:ltr!important}
.sleep-mark span{color:#666!important}
.sleep-eyebrow{font:10px 'IBM Plex Sans Arabic',sans-serif!important;letter-spacing:2px!important;color:#888!important}
.sleep-title{font:400 clamp(32px,5vw,49px)/1.5 'Amiri',serif!important;color:#f2f0eb!important;margin:9px 0 0!important}
.sleep-subtitle{font:12px 'IBM Plex Sans Arabic',sans-serif!important;color:#82858d!important;margin:4px 0 28px!important}
.sleep-player{padding:24px clamp(17px,4vw,34px)!important;border:1px solid rgba(255,255,255,.11)!important;background:rgba(16,18,24,.72)!important;backdrop-filter:blur(14px)!important;box-shadow:0 22px 80px rgba(0,0,0,.35),inset 0 1px rgba(255,255,255,.035)!important;text-align:right!important}
.sleep-field{display:flex!important;flex-direction:column!important;gap:9px!important;color:#858994!important;font-size:11px!important}
.sleep-field select,.sleep-bottom-controls select{width:100%!important;appearance:none!important;background:#0d0f14!important;border:1px solid rgba(255,255,255,.13)!important;border-radius:0!important;color:#eee!important;padding:13px 14px!important;font:13px 'IBM Plex Sans Arabic',sans-serif!important;outline:none!important}
.sleep-now-playing{display:flex!important;align-items:center!important;gap:18px!important;margin:27px 0 22px!important;padding:0 0 23px!important;border-bottom:1px solid rgba(255,255,255,.08)!important}
.sleep-orbit{width:62px!important;height:62px!important;flex:0 0 62px!important;border:1px solid rgba(255,255,255,.22)!important;border-radius:50%!important;display:grid!important;place-items:center!important;box-shadow:0 0 35px rgba(180,195,230,.08)!important}
.sleep-orbit span{width:29px!important;height:29px!important;border:1px solid rgba(255,255,255,.45)!important;border-radius:50%!important;box-shadow:0 0 18px rgba(255,255,255,.16)!important}
.sleep-now-playing div{display:flex!important;flex-direction:column!important;gap:5px!important}
.sleep-now-playing small{font-size:10px!important;color:#7f838d!important}
.sleep-now-playing strong{font:400 23px 'Amiri',serif!important;color:#f3f1ec!important}
.sleep-progress input{width:100%!important;appearance:none!important;height:3px!important;background:#3b3e46!important;outline:none!important;cursor:pointer!important}
.sleep-progress input::-webkit-slider-thumb{appearance:none!important;width:11px!important;height:11px!important;border-radius:50%!important;background:#eee!important}
.sleep-progress input::-moz-range-thumb{width:11px!important;height:11px!important;border:0!important;border-radius:50%!important;background:#eee!important}
.sleep-progress div{display:flex!important;justify-content:space-between!important;color:#777!important;font:10px Arial,sans-serif!important;direction:ltr!important;margin-top:9px!important}
.sleep-controls{display:flex!important;justify-content:center!important;align-items:center!important;gap:27px!important;margin:24px 0!important}
.sleep-controls button{background:transparent!important;border:0!important;color:#9a9da5!important;font:11px 'IBM Plex Sans Arabic',sans-serif!important;padding:10px!important;cursor:pointer!important}
.sleep-controls button:hover{color:#fff!important}
.sleep-controls .sleep-play{width:54px!important;height:54px!important;border-radius:50%!important;background:#eee!important;color:#101116!important;font:20px Arial,sans-serif!important;display:grid!important;place-items:center!important;box-shadow:0 0 0 7px rgba(255,255,255,.045)!important;transition:transform .2s!important}
.sleep-controls .sleep-play:hover{transform:scale(1.06)!important}
.sleep-bottom-controls{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:15px!important;padding-top:17px!important;border-top:1px solid rgba(255,255,255,.08)!important}
.sleep-bottom-controls label{display:flex!important;align-items:center!important;gap:10px!important;color:#858994!important;font-size:10px!important}
.sleep-bottom-controls select{width:auto!important;min-width:90px!important;padding:8px 10px!important;font-size:11px!important}
.sleep-bottom-controls button{border:1px solid rgba(255,255,255,.15)!important;background:transparent!important;color:#b8bac0!important;padding:9px 13px!important;font:10px 'IBM Plex Sans Arabic',sans-serif!important;cursor:pointer!important}
.sleep-bottom-controls button:hover{border-color:#aaa!important;color:#fff!important}
.sleep-status{min-height:18px!important;text-align:center!important;font-size:10px!important;color:#777!important;margin:16px 0 0!important}
.sleep-status.is-error{color:#d9a1a1!important}
.sleep-hint{margin:17px 0 0!important;color:#555a64!important;font:10px 'IBM Plex Sans Arabic',sans-serif!important}
.sleep-footer{position:absolute!important;bottom:18px!important;color:#4d515a!important;font:9px Arial,sans-serif!important;letter-spacing:2px!important}
#sleep-audio{display:none!important}
@media(max-width:560px){
 .sleep-section{padding:16px!important}
 .sleep-topline{padding:15px 17px!important}
 .sleep-player-wrap{margin-top:38px!important}
 .sleep-mark{margin-bottom:23px!important}
 .sleep-title{font-size:34px!important}
 .sleep-subtitle{margin-bottom:20px!important}
 .sleep-player{padding:19px 15px!important}
 .sleep-controls{gap:18px!important}
 .sleep-footer{display:none!important}
}
@media(prefers-reduced-motion:reduce){.sleep-star{animation:none!important;opacity:.2!important}}

/* V6.1 — strict sleep-page isolation */
body.sleep-mode main > .page-section:not(#sleep),
body.sleep-mode main > #reader,
body.sleep-mode main > .featured-recitation,
body.sleep-mode main > .daily-section{display:none!important}
body.sleep-mode main > #sleep{display:flex!important}
body.sleep-mode .topbar,
body.sleep-mode footer{display:none!important}

/* V6.2 — clean night canvas, no site chrome, scroll-safe at any zoom */
html:has(body.sleep-mode),
body.sleep-mode{
  min-height:100%!important;
  height:auto!important;
  overflow-x:hidden!important;
  overflow-y:auto!important;
  overscroll-behavior-y:contain!important;
}
body.sleep-mode .topbar,
body.sleep-mode .top-scanline,
body.sleep-mode .ambient,
body.sleep-mode .footer,
body.sleep-mode footer{
  display:none!important;
}
body.sleep-mode main#app{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-height:100svh!important;
  height:auto!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
body.sleep-mode main#app > #sleep{
  display:flex!important;
  position:relative!important;
  width:100%!important;
  min-height:100svh!important;
  height:auto!important;
  box-sizing:border-box!important;
  overflow:visible!important;
  justify-content:center!important;
  padding:clamp(94px,12vh,132px) 22px 76px!important;
}
body.sleep-mode .sleep-topline{
  position:absolute!important;
  top:0!important;
  left:0!important;
  right:0!important;
  min-height:58px!important;
  box-sizing:border-box!important;
  z-index:3!important;
  background:rgba(5,6,8,.72)!important;
}
body.sleep-mode .sleep-stars{
  position:absolute!important;
  inset:0 0 auto!important;
  height:100%!important;
  min-height:100svh!important;
  overflow:hidden!important;
  pointer-events:none!important;
}
body.sleep-mode .sleep-player-wrap{
  flex:0 0 auto!important;
  margin:0 auto!important;
  width:min(100%,590px)!important;
}
body.sleep-mode .sleep-footer{
  position:absolute!important;
  bottom:20px!important;
}
@media(max-height:720px){
  body.sleep-mode main#app > #sleep{
    justify-content:flex-start!important;
    padding-top:88px!important;
    padding-bottom:64px!important;
  }
}
@media(max-width:560px){
  body.sleep-mode main#app > #sleep{
    padding:82px 16px 54px!important;
  }
}

/* ROOT V7 — sleep timer, control-hide mode, saved position and khatma plan */
.sleep-bottom-controls{flex-wrap:wrap!important;justify-content:space-between!important;gap:12px 16px!important}
.sleep-bottom-controls label{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:7px!important;min-width:112px!important}
.sleep-bottom-controls select{min-width:112px!important}
.sleep-timer-status{min-height:16px!important;text-align:center!important;color:#aeb3bf!important;font:10px 'IBM Plex Sans Arabic',sans-serif!important;margin:10px 0 0!important}
.sleep-show-controls{position:fixed!important;z-index:10!important;bottom:22px!important;left:50%!important;transform:translateX(-50%)!important;border:1px solid rgba(255,255,255,.2)!important;background:rgba(12,14,19,.88)!important;backdrop-filter:blur(12px)!important;color:#ddd!important;padding:11px 19px!important;font:11px 'IBM Plex Sans Arabic',sans-serif!important;cursor:pointer!important}
.sleep-show-controls[hidden]{display:none!important}
.sleep-section.controls-hidden .sleep-field,
.sleep-section.controls-hidden .sleep-progress,
.sleep-section.controls-hidden .sleep-controls,
.sleep-section.controls-hidden .sleep-bottom-controls,
.sleep-section.controls-hidden .sleep-status,
.sleep-section.controls-hidden .sleep-timer-status,
.sleep-section.controls-hidden .sleep-topline,
.sleep-section.controls-hidden .sleep-hint,
.sleep-section.controls-hidden .sleep-footer{opacity:0!important;visibility:hidden!important;pointer-events:none!important;transition:opacity .5s,visibility .5s!important}
.sleep-section.controls-hidden .sleep-player{border-color:transparent!important;background:transparent!important;box-shadow:none!important}
.sleep-section.controls-hidden .sleep-player{backdrop-filter:none!important}
.khatma-stats{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:15px!important;margin-top:22px!important;padding-top:18px!important;border-top:1px solid rgba(255,255,255,.09)!important}
.khatma-stats>div{display:flex!important;flex-direction:column!important;gap:5px!important}
.khatma-stats>div strong{font:600 20px 'IBM Plex Sans Arabic',sans-serif!important;color:#f0efeb!important}
.khatma-stats>div small,.khatma-stats label{font-size:10px!important;color:#858585!important}
.khatma-stats label{grid-column:1/-1!important;display:flex!important;align-items:center!important;gap:12px!important;flex-wrap:wrap!important}
.khatma-stats select{background:#101010!important;color:#eee!important;border:1px solid #383838!important;padding:8px 12px!important;font:11px 'IBM Plex Sans Arabic',sans-serif!important}
.khatma-stats p{grid-column:1/-1!important;margin:0!important;color:#aaa!important;font-size:11px!important;line-height:1.9!important}
@media(max-width:560px){
 .sleep-bottom-controls{display:grid!important;grid-template-columns:1fr 1fr!important}
 .sleep-bottom-controls label{min-width:0!important}
 .sleep-bottom-controls select{width:100%!important;min-width:0!important}
 .khatma-stats{gap:12px!important}
}

/* ROOT V7.2 — preserve the original headline layout with a subtle word gap */
.hero-copy .eyebrow{display:block!important}
.hero-copy h1{line-height:1.13!important;letter-spacing:normal!important;word-spacing:normal!important}
.hero-copy h1 .hero-quran{display:inline-block!important;margin-inline-end:.18em!important}

.hero-copy h1 .hero-quran {
    display: inline-block;
    transform: translateY(50px);
}
.hero-copy h1 .hero-second-line {
    position: relative !important;
    top: 35px !important;
    display: inline-block !important;
}

.hero-copy .hero-title {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 22px !important;
    line-height: 1.4 !important;
    overflow: visible !important;
}

.hero-copy .hero-title > span {
    display: block !important;
    position: relative !important;
    line-height: 1.4 !important;
    transform: none !important;
}

.hero-copy .hero-title .hero-second-line {
    margin-top: 8px !important;
}

.hero-copy .hero-description {
    position: relative !important;
    top: 60px !important;
}

/* ROOT Announcement Bar */
.root-announcement {
    width: 100%;
    height: 34px;
    overflow: hidden;
    position: relative;
    z-index: 1000;
    background: #111;
    border-bottom: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
}

.announcement-track {
    display: flex;
    align-items: center;
    width: max-content;
    white-space: nowrap;
    animation: root-announcement-move 22s linear infinite;
}

.announcement-track span {
    direction: rtl;
    display: block;
    padding-left: 100px;
    color: #d5d5d5;
    font-family: 'IBM Plex Sans Arabic', sans-serif;
    font-size: 12px;
    letter-spacing: .3px;
}

@keyframes root-announcement-move {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.root-announcement:hover .announcement-track {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .announcement-track {
        animation: none;
    }
}