:root{--bg:#f8f7f2;--paper:#fffefa;--ink:#263e35;--muted:#7c8177;--green:#244d42;--soft:#e9eee7;--gold:#ad8b50;--line:#e7e6dc;--shadow:0 14px 45px #263e3506;--reading:28px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:'Readex Pro',sans-serif;font-size:13px;line-height:1.9}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid var(--gold);outline-offset:4px}button{color:inherit}h1,h2,h3,p{margin-top:0}button{border:0}#sidebar{width:236px;position:fixed;right:0;top:0;bottom:0;background:var(--paper);border-left:1px solid var(--line);padding:34px 23px 20px;display:flex;flex-direction:column;z-index:20}.brand{display:flex;gap:13px;align-items:center;margin:0 9px 39px;font-family:Amiri,serif;font-size:43px;line-height:1}.brand small{display:block;font-family:'Noto Naskh Arabic',serif;font-size:10px;letter-spacing:1px;margin-top:13px;color:var(--muted)}.brand-mark{font-family:serif;font-size:52px;color:var(--gold)}.nav-label{font-size:10px;color:var(--muted);padding:0 15px;margin-bottom:15px}nav{overflow-y:auto}nav a{display:flex;align-items:center;gap:12px;padding:10px 15px;border-radius:8px;margin-bottom:5px;font-size:12px;transition:.2s}nav a:hover{background:var(--soft)}nav a.active{background:var(--green);color:#fff}.nav-icon{width:22px;font-size:19px;text-align:center;font-family:serif}.nav-separator{border-top:1px solid var(--line);margin:16px 10px}.side-bottom{margin-top:auto;padding-top:26px;font-size:10px}.side-bottom p{color:var(--muted);margin:12px 0}.oman{display:flex;align-items:center;gap:7px}.oman i{display:block;width:18px;height:12px;background:linear-gradient(to bottom,#fff 33%,#bd3333 33% 66%,#43805d 66%);border-right:5px solid #bd3333;box-shadow:0 0 0 1px var(--line)}.text-button{background:transparent;padding:0;color:var(--gold);font-size:10px}#shell{margin-right:236px}header{height:85px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 45px;gap:15px;background:var(--paper)}.header-greeting{font-size:12px}.header-greeting .subtle{color:var(--muted);font-size:10px;margin-right:5px}.header-actions{display:flex;align-items:center;gap:19px}.search-trigger{background:transparent;color:var(--muted);font-size:10px;display:flex;gap:12px;align-items:center}.search-trigger>span{font-size:23px}kbd{border:1px solid var(--line);padding:0 5px;border-radius:4px;font-size:9px}.icon-button{background:transparent;width:34px;height:34px;border:1px solid var(--line);border-radius:50%;font-size:19px;display:inline-grid;place-items:center}.mobile{display:none}main{max-width:1370px;padding:31px 45px 55px;margin:auto;min-height:80vh}.eyebrow{font-size:10px;color:var(--gold);display:flex;gap:10px;align-items:center}.eyebrow:before{content:'';width:22px;height:1px;background:var(--gold)}.hero{min-height:326px;border:1px solid #dfE3d7;border-radius:16px;background:#edf0e6;position:relative;overflow:hidden;display:grid;grid-template-columns:1.13fr 1fr}.hero-copy{padding:37px 35px;position:relative;z-index:2}.hero h1{font-family:Amiri,serif;font-weight:400;font-size:47px;line-height:1.5;margin:13px 0 11px;color:#254c3e}.hero h1 span{color:#8e7548}.hero p{font-size:11px;line-height:2.1;color:#738071;max-width:355px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:12px;background:var(--green);color:#fff;border-radius:7px;padding:10px 20px;font-size:11px;min-height:42px}.btn:hover{filter:brightness(1.12)}.btn.secondary{background:transparent;border:1px solid #bfcbbd;color:var(--green)}.hero-buttons{display:flex;gap:10px;margin-top:23px}.hero-art{position:relative;min-height:300px;display:flex;align-items:flex-end;justify-content:center;background:radial-gradient(circle at 45% 30%,#fff8dcbb,transparent 53%)}.hero-art svg{width:100%;max-width:430px;height:100%;position:absolute;bottom:-1px;left:-15px}.hero-note{position:absolute;bottom:20px;left:23px;font-size:8px;letter-spacing:2px;color:#6d806c}.date-line{display:flex;justify-content:space-between;align-items:center;margin-bottom:19px;font-size:10px;color:var(--muted)}.date-line b{font-weight:400;color:var(--ink)}.small-dot{width:5px;height:5px;border-radius:50%;display:inline-block;background:var(--gold);margin:0 8px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:28px 0 15px;gap:12px}.section-head h2{font-size:17px;font-weight:500;margin:0}.section-head p{font-size:10px;color:var(--muted);margin:2px 0 0}.section-head a,.section-head button{font-size:10px;color:var(--gold);background:none}.paths{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.path{position:relative;padding:21px 19px;background:var(--paper);border:1px solid var(--line);border-radius:11px;transition:transform .2s,box-shadow .2s}.path:hover{transform:translateY(-4px);box-shadow:var(--shadow)}.path .path-icon{display:grid;place-items:center;width:39px;height:39px;border-radius:10px;color:var(--green);background:var(--soft);font-size:24px;font-family:serif;margin-bottom:15px}.path:nth-child(2) .path-icon{color:#ae8c52;background:#f7f0e3}.path:nth-child(3) .path-icon{color:#8d776c;background:#f2ebe5}.path:nth-child(4) .path-icon{color:#758a95;background:#eaf0f1}.path h3{font-size:13px;font-weight:500;margin:0 0 4px}.path p{color:var(--muted);font-size:9px;margin:0}.path .arrow{position:absolute;left:17px;top:24px;color:#b6bcaf}.home-bottom{display:grid;grid-template-columns:1.1fr 1fr;gap:17px;margin-top:26px}.daily-card,.verse-card{border:1px solid var(--line);background:var(--paper);padding:23px 25px;border-radius:12px;position:relative}.daily-card h3,.verse-card h3{font-size:11px;font-weight:400;display:flex;align-items:center;gap:8px}.daily-card h3 span{color:var(--gold)}.daily-text{font-family:Amiri,serif;font-size:25px;line-height:1.9;margin:16px 0}.card-meta{font-size:9px;color:var(--muted)}.verse-card{background:var(--green);color:#fff;overflow:hidden}.verse-card:after{content:'۞';font:230px serif;position:absolute;left:-45px;bottom:-106px;opacity:.05;pointer-events:none}.verse-card .daily-text{font-size:26px}.verse-card .card-meta{color:#c1d0c2}.tiny-label{font-size:9px;padding:2px 9px;border:1px solid var(--line);border-radius:30px;color:var(--muted)}.page-heading{margin:10px 0 27px}.page-heading h1{font:400 37px Amiri,serif;margin:6px 0}.page-heading p{color:var(--muted);font-size:12px;max-width:760px}.toolbar{display:flex;flex-wrap:wrap;gap:9px;margin:17px 0;align-items:center}.field,input[type=search],select{padding:10px 14px;border:1px solid var(--line);border-radius:7px;background:var(--paper);color:var(--ink);min-height:43px}input[type=search]{min-width:220px}.chip{border:1px solid var(--line);background:var(--paper);padding:7px 16px;border-radius:30px;font-size:11px}.chip.active{background:var(--green);color:#fff;border-color:var(--green)}.content-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.dhikr-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:22px;display:flex;flex-direction:column;scroll-margin-top:25px}.card-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.card-top h2{font-size:13px;font-weight:500;margin:0}.tag{font-size:9px;color:var(--gold);background:#ac8e4f0c;border-radius:4px;padding:2px 8px}.arabic-text{font-family:'Noto Naskh Arabic',serif;font-size:var(--reading);line-height:2.05;margin:19px 0 13px}.source{font-size:10px;color:var(--muted);margin-bottom:16px}.source a{text-decoration:underline;text-underline-offset:4px}.card-actions{margin-top:auto;padding-top:14px;border-top:1px solid var(--line);display:flex;align-items:center;gap:10px}.card-actions button{background:var(--soft);border-radius:6px;padding:6px 11px;font-size:11px;min-height:36px}.card-actions button.faved{color:var(--gold)}.card-actions .count{margin-right:auto;min-width:76px;background:var(--green);color:white}.count.done{opacity:.55}.notice{border-right:3px solid var(--gold);padding:13px 18px;background:var(--paper);font-size:11px;color:var(--muted);margin:20px 0;border-radius:4px}.quran-layout{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px}.surah-list{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:12px;max-height:75vh;overflow:auto;position:sticky;top:20px;align-self:start}.surah-list input{width:100%;min-width:0;margin-bottom:10px}.surah-item{display:flex;align-items:center;width:100%;gap:10px;text-align:right;border-radius:7px;padding:9px;background:none}.surah-item:hover,.surah-item.active{background:var(--soft)}.surah-num{display:grid;place-items:center;width:28px;height:28px;border:1px solid var(--line);transform:rotate(45deg);font-size:10px}.surah-num span{transform:rotate(-45deg)}.surah-name{font:19px Amiri,serif}.surah-item small{display:block;font:8px 'Readex Pro',sans-serif;color:var(--muted)}.mushaf{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:26px}.surah-title{text-align:center;border:1px solid var(--gold);border-radius:80px 80px 7px 7px;margin:5px 20px 22px;padding:22px;background:linear-gradient(110deg,transparent,#ac8e4f09,transparent)}.surah-title h2{font:32px Amiri,serif;margin:0}.bismillah{font:29px Amiri,serif;text-align:center;margin:22px}.ayah{font-family:'Noto Naskh Arabic',serif;font-size:var(--reading);line-height:2.4;padding:10px 7px;border-bottom:1px solid var(--line);position:relative}.ayah .verse-number{font-family:Amiri,serif;font-size:19px;color:var(--gold);white-space:nowrap}.ayah-tools{display:flex;gap:8px;justify-content:flex-end;opacity:.5;font:9px 'Readex Pro',sans-serif}.ayah:hover .ayah-tools,.ayah:focus-within .ayah-tools{opacity:1}.ayah-tools button{background:none;color:var(--muted);padding:3px 7px}.ayah.bookmarked{background:var(--soft)}audio{width:100%;height:38px;margin:10px 0}.quran-controls{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin-bottom:20px}.quran-controls button{background:var(--soft);padding:6px 12px;border-radius:6px}.quran-controls select{min-height:35px;padding:5px;max-width:100%}.reader-info{text-align:center;font-size:9px;color:var(--muted)}.pager{display:flex;justify-content:space-between;margin-top:25px;gap:15px}.empty{padding:50px;text-align:center;color:var(--muted);border:1px dashed var(--line);border-radius:12px;grid-column:1/-1}.names-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:13px}.name-card{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:17px;text-align:center}.name-card span{font:30px Amiri,serif;display:block}.name-card small{font-size:9px;color:var(--gold)}.tasbih{max-width:580px;margin:30px auto;text-align:center;background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:35px}.tasbih select{max-width:100%;width:100%;font-family:Amiri;font-size:22px}.counter-orbit{width:230px;height:230px;border:1px solid var(--gold);border-radius:50%;padding:15px;margin:30px auto;position:relative}.counter-orbit:after{content:'✦';position:absolute;top:-19px;left:calc(50% - 10px);color:var(--gold);font-size:25px;background:var(--paper)}.counter-button{width:100%;height:100%;border-radius:50%;background:var(--green);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 10px 30px #244d4220}.counter-button strong{font-weight:300;font-size:62px;line-height:1.3}.counter-button small{font-size:10px;color:#c0cfc4}.counter-button:active{transform:scale(.97)}.progress{height:4px;background:var(--soft);border-radius:4px;margin:15px 0}.progress span{display:block;height:100%;background:var(--gold);transition:width .2s}.deeds-list{display:grid;gap:12px;max-width:850px}.deed{display:flex;align-items:center;gap:15px;padding:18px;background:var(--paper);border:1px solid var(--line);border-radius:10px}.deed input{width:21px;height:21px;accent-color:var(--green)}.deed strong{font-size:13px;font-weight:500}.deed small{display:block;color:var(--muted);font-size:10px}.deed:has(input:checked){background:var(--soft)}.source-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:15px}.source-card{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:23px}.source-card h2{font-size:15px}.source-card p{color:var(--muted);font-size:11px}.source-card a{color:var(--gold);text-decoration:underline}footer{border-top:1px solid var(--line);padding:23px 45px;display:flex;align-items:center;gap:20px;flex-wrap:wrap;color:var(--muted);font-size:9px}.footer-logo{font:27px Amiri,serif;color:var(--green)}footer>a:last-of-type{margin-right:auto}footer small{width:100%;font-size:8px}.skip{position:fixed;top:-80px;right:260px;padding:10px;background:var(--green);color:white;z-index:100}.skip:focus{top:5px}dialog{width:min(700px,93vw);max-height:85vh;background:var(--bg);color:var(--ink);border:1px solid var(--line);border-radius:16px;padding:25px}dialog::backdrop{background:#102e23aa;backdrop-filter:blur(5px)}.dialog-top{display:flex;align-items:center;justify-content:space-between}.dialog-top h2{font:29px Amiri;margin:0}dialog input{width:100%}#search-results{max-height:55vh;overflow:auto}.search-result{display:block;padding:15px;border-bottom:1px solid var(--line)}.search-result:hover{background:var(--soft)}.search-result small{display:block;color:var(--gold);font-size:9px}.hint{font-size:10px;color:var(--muted)}#toast{position:fixed;bottom:25px;left:25px;border-radius:8px;background:var(--green);color:#fff;padding:12px 22px;z-index:100;opacity:0;transform:translateY(10px);transition:.2s;pointer-events:none}#toast.show{opacity:1;transform:translateY(0)}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}body.dark{--bg:#14251f;--paper:#1b3027;--ink:#eeeade;--muted:#a1b3a5;--green:#396e58;--soft:#283f32;--line:#34483a;--gold:#d0b77e}.dark .hero{background:#263c2e;border-color:var(--line)}.dark .hero h1,.dark .hero p{color:#ede7d2}.dark .hero h1 span{color:#cbb77f}.dark .hero-art{opacity:.75}.dark .btn.secondary{color:var(--ink)}.dark .source-card a{color:var(--gold)}
@media(min-width:1600px){main{padding-top:45px}.hero{min-height:400px}.hero-copy{padding:50px}.hero h1{font-size:58px}.paths .path{padding:26px}.hero p{font-size:13px}}
@media(max-width:1150px){#sidebar{width:210px;padding:28px 15px}#shell{margin-right:210px}main{padding:25px}header{padding:0 25px}.hero h1{font-size:39px}.hero-copy{padding:28px}.hero{grid-template-columns:1.2fr 1fr}.paths{gap:9px}.path{padding:16px 13px}.names-grid{grid-template-columns:repeat(4,1fr)}.header-greeting .subtle{display:none}}
@media(max-width:800px){#sidebar{transform:translateX(100%);transition:transform .25s;width:240px;box-shadow:-15px 0 50px #0002}body.menu-open #sidebar{transform:translateX(0)}#shell{margin-right:0}.mobile{display:inline-grid}header{height:70px;padding:0 20px}.header-greeting{margin-left:auto;font-size:11px}.search-trigger{font-size:0;gap:0}.search-trigger kbd{display:none}.header-actions{gap:10px}main{padding:22px}.hero{min-height:315px}.hero-copy{padding:30px 25px}.hero h1{font-size:40px}.hero-art svg{left:-30px}.quran-layout{grid-template-columns:1fr}.surah-list{position:static;max-height:230px}.surah-list-inner{display:grid;grid-template-columns:repeat(3,1fr)}.mushaf{padding:20px}.names-grid{grid-template-columns:repeat(3,1fr)}footer{padding:20px 25px}}
@media(max-width:560px){main{padding:18px 16px 35px}.date-line{font-size:8px}.hero{display:block;min-height:410px}.hero-copy{padding:26px 25px}.hero h1{font-size:40px;max-width:270px}.hero p{font-size:10px;max-width:270px}.hero-buttons{margin-top:20px;gap:8px}.hero .btn{padding:9px 14px;font-size:10px}.hero-art{position:absolute;left:-48px;bottom:0;width:220px;height:220px;min-height:0;opacity:.55}.hero-copy{z-index:2}.hero-note{display:none}.paths{grid-template-columns:repeat(2,1fr);gap:10px}.path{padding:18px}.home-bottom,.content-grid,.source-grid{grid-template-columns:1fr}.section-head{margin-top:24px}.section-head h2{font-size:16px}.daily-text{font-size:24px}.page-heading h1{font-size:34px}.arabic-text{font-size:calc(var(--reading) - 2px)}.dhikr-card{padding:19px}.names-grid{gap:9px}.name-card{padding:15px 6px}.name-card span{font-size:25px}.surah-list-inner{grid-template-columns:repeat(2,1fr)}.quran-controls{font-size:10px}.mushaf{padding:13px}.ayah{font-size:var(--reading)}.tasbih{padding:25px 18px}footer{gap:12px}footer>a:last-of-type{margin:0}.header-greeting{font-size:10px}.hero h1 span{display:block}.card-actions{gap:6px}.card-actions button{padding:6px 10px}.source-card{padding:20px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
/* Sakinah — Omani editorial identity, second edition */
:root{--green:#173f35;--gold:#ad925c;--bg:#f5f2e9;--paper:#fffdf7;--ink:#223e34;--line:#e4dece}.brand{margin-right:0;gap:11px;font-size:45px}.brand-mark{width:56px;height:62px;object-fit:contain;font-size:0}.brand small{font-size:10px;letter-spacing:1.5px}.premium-hero{min-height:435px;background:#173c34;border:0;border-radius:18px;display:block;isolation:isolate;box-shadow:0 20px 50px #153f3514}.hero-photograph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 64%;z-index:-2}.premium-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(270deg,#123d35fa 0%,#153e35df 33%,#163c3570 59%,#11282015 100%);z-index:-1}.premium-hero .hero-copy{padding:46px 42px;max-width:580px}.premium-hero .eyebrow{color:#dfcca4;letter-spacing:.5px}.premium-hero .eyebrow:before{background:#d6c293}.premium-hero h1{font-size:57px;color:#fffdf2;line-height:1.5;font-weight:400;margin-top:20px}.premium-hero h1 span{color:#dac28c}.premium-hero p{color:#d8dfd1;font-size:12px;line-height:2.2}.premium-hero .btn{background:#e5d4a8;color:#193d31;border:1px solid #e5d4a8;font-size:12px;font-weight:500}.premium-hero .btn.secondary{background:#ffffff08;color:#f1ecdf;border-color:#ffffff4d;backdrop-filter:blur(5px)}.hero-photo-credit{position:absolute;bottom:20px;left:24px;color:#fff;font-size:9px;background:#10281d66;padding:4px 10px;border-radius:20px}.section-head h2{font-family:Amiri;font-size:25px}.paths .path{border-radius:12px;background:linear-gradient(145deg,var(--paper),#f2eee21c);padding:23px 20px}.paths .path:after{content:'';position:absolute;bottom:0;right:25px;width:24px;height:2px;background:var(--gold);opacity:.4}.path .path-icon{border:1px solid #ad925c22;background:transparent;border-radius:50%;width:44px;height:44px}.path h3{font-size:14px}.path p{font-size:10px}.daily-card,.verse-card{border-radius:13px;padding:28px}.verse-card{background:linear-gradient(140deg,#244f40,#163c32)}.daily-text{font-size:26px}.home-bottom{margin-top:25px}.landmarks-section{margin:43px 0 30px}.landmarks-section .section-head{margin-bottom:24px}.landmarks-section .eyebrow{margin-bottom:9px}.landmarks-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.landmark{margin:0;border:1px solid var(--line);border-radius:150px 150px 12px 12px;overflow:hidden;background:var(--paper)}.landmark-image{height:245px;position:relative;overflow:hidden;border-radius:150px 150px 0 0}.landmark-image img{width:100%;height:100%;object-fit:cover;object-position:50% 67%;transition:transform .8s}.landmark:hover img{transform:scale(1.04)}.landmark:nth-child(2) .landmark-image img{object-position:50% 65%}.landmark-index{position:absolute;right:20px;bottom:15px;border:1px solid #ffffff77;color:white;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;font-size:10px;background:#123a3244}.landmark figcaption{padding:22px 20px}.landmark-place{font-size:9px;letter-spacing:1px;color:var(--gold)}.landmark h3{font:25px Amiri;margin:5px 0}.landmark figcaption>p{font-size:10px;color:var(--muted);margin:0 0 10px}.photo-rights{font-size:9px;color:var(--muted)}.photo-rights summary{cursor:pointer;color:var(--gold)}.photo-rights a{text-decoration:underline;text-underline-offset:3px}.photo-rights p{font-size:9px;overflow-wrap:anywhere}.logo-story{margin:35px 0;padding:35px;display:flex;gap:40px;align-items:center;border:1px solid var(--line);background:var(--paper);border-radius:16px}.logo-story img{width:180px;height:180px;object-fit:contain}.logo-story h2{font:34px Amiri;margin:10px 0}.logo-story p{color:var(--muted);font-size:12px;max-width:550px}.dhikr-card{border-radius:14px;box-shadow:0 3px 20px #173f3503;overflow:hidden}.dhikr-counter{border-top:1px solid var(--line);padding:24px 0 18px;display:flex;flex-direction:column;align-items:center;position:relative;margin-top:auto}.bead-track{display:flex;gap:6px;align-items:center;margin-bottom:16px;flex-wrap:wrap;justify-content:center}.bead-track i{width:8px;height:8px;border-radius:50%;background:var(--soft);border:1px solid #ad925c44;box-shadow:inset 0 1px 2px #fff9}.bead-track i:nth-child(6){width:11px;height:11px}.bead-track i.lit{background:var(--gold);border-color:var(--gold)}.bead-button{background:var(--green);color:#fffdf1;border:5px solid var(--paper);outline:1px solid #ad925c70;width:120px;height:120px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 0 0 7px var(--soft),0 10px 25px #173f3520;transition:transform .1s;position:relative;isolation:isolate}.bead-button:before{content:'';position:absolute;inset:-8px;border-radius:50%;background:conic-gradient(var(--gold) var(--progress),transparent 0);z-index:-1;mask:radial-gradient(transparent 67%,#000 69%);pointer-events:none}.bead-button strong{font-size:34px;line-height:1.4;font-weight:400}.bead-button small{font-size:8px;color:#e2dec9}.bead-button:active{transform:scale(.95)}.bead-button.complete{background:#76845e}.counter-caption{text-align:center;font-size:10px;color:var(--muted);margin-top:18px}.counter-caption b{font-weight:500;color:var(--gold)}.counter-caption span{display:block;font-size:8px;margin-top:3px}.card-actions{margin-top:0}.card-actions .restart-count{margin-right:auto;background:transparent;color:var(--muted);font-size:9px}.book-toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:20px;font-size:10px}.book-toolbar select{max-width:240px;min-height:37px;font-size:11px}.book-toolbar input{width:72px;border:1px solid var(--line);border-radius:6px;min-height:37px;background:var(--paper);color:var(--ink);text-align:center}.book-toolbar .chip{font-size:10px;padding:7px 13px}.saved-page{display:inline-block;color:var(--gold);font-size:10px;margin:0 0 20px}.book-stage{background:radial-gradient(ellipse at 50% 15%,#416553,#183e33 75%);padding:35px 25px;border-radius:18px;box-shadow:inset 0 0 0 1px #153c33;position:relative;overflow:hidden}.book-stage:before,.book-stage:after{content:'۞';font-family:serif;position:absolute;color:#d9c59614;font-size:250px;line-height:1;pointer-events:none}.book-stage:before{top:-40px;right:-70px}.book-stage:after{bottom:-60px;left:-60px}.book{position:relative;display:flex;direction:rtl;max-width:1000px;margin:auto;filter:drop-shadow(0 22px 25px #0004);perspective:1600px;touch-action:pan-y;border:5px solid #c4b384;border-radius:7px;transition:transform .19s ease,filter .19s ease}.book.single{max-width:530px}.paper-leaf{width:50%;background:#fffdf0;color:#263d2d;padding:14px 17px 12px;position:relative;border:1px solid #c5ad76;min-width:0;box-shadow:inset 3px 0 13px #ad925c15;transition:transform .2s;transform-origin:left center}.book.single .paper-leaf{width:100%}.right-leaf{border-radius:3px 0 0 3px;background:linear-gradient(90deg,#ddd4b5 0%,#fffdf0 5%,#fffdf0 95%,#e9e3ce 100%)}.left-leaf{border-radius:0 3px 3px 0;background:linear-gradient(90deg,#e9e3ce 0%,#fffdf0 5%,#fffdf0 95%,#ddd4b5 100%)}.leaf-heading{display:flex;justify-content:space-between;gap:10px;border-bottom:1px solid #bb9b5d66;font-family:Amiri;font-size:14px;padding:3px 2px 9px;min-height:42px}.leaf-heading span:first-child{max-width:80%;font-size:12px}.scan-wrap{position:relative;min-height:180px;aspect-ratio:456/690;margin:8px 0}.mushaf-scan{width:100%;height:100%;object-fit:contain;position:relative;z-index:1;mix-blend-mode:multiply;user-select:none;display:block}.scan-loading{position:absolute;inset:0;display:grid;place-items:center;color:#ad925c40;font-size:70px;z-index:0}.loaded .scan-loading{display:none}.scan-error .mushaf-scan{font:12px 'Readex Pro';min-height:110px;object-fit:contain}.scan-error{aspect-ratio:auto}.scan-error .scan-loading{display:none}.leaf-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;border-top:1px solid #bb9b5d66;padding-top:10px;font-size:8px;flex-wrap:wrap}.leaf-foot button{background:transparent;color:#7d714f;font-size:8px;padding:3px}.page-medallion{display:grid;place-items:center;font:18px Amiri;width:36px;height:30px;background:#baa16a19;border:1px solid #baa16a77;border-radius:40%}.page-bookmark.selected{color:#173f35;font-weight:600}.page-text{font-size:8px;cursor:pointer}.page-text[open]{flex-basis:100%}.page-text>div{font:22px/2.1 'Noto Naskh Arabic';padding:12px 0}.page-text b{font:9px 'Readex Pro';color:#937644}.page-text p{margin-bottom:13px}.book-spine{position:absolute;top:0;bottom:0;right:calc(50% - 9px);width:18px;background:linear-gradient(90deg,transparent,#42381f30,transparent);pointer-events:none}.single .book-spine{display:none}.book.turn-next{transform:perspective(1500px) rotateY(8deg) translateX(8px);filter:drop-shadow(0 25px 30px #0006) brightness(.93)}.book.turn-prev{transform:perspective(1500px) rotateY(-8deg) translateX(-8px);filter:drop-shadow(0 25px 30px #0006) brightness(.93)}.book-navigation{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:23px 0 17px}.book-navigation button:disabled{opacity:.3;cursor:default}.book-navigation .btn{font-size:10px}.book-navigation>span{font:20px Amiri;text-align:center}.book-navigation small{display:block;font:8px 'Readex Pro';color:var(--muted)}.page-slider{display:block;width:min(600px,100%);margin:10px auto 20px;accent-color:var(--green);direction:rtl}.reading-mode #sidebar,.reading-mode header,.reading-mode footer{display:none}.reading-mode #shell{margin:0}.reading-mode main{max-width:1500px;padding:22px}.reading-mode .page-heading{display:none}.reading-mode .book-stage{padding:25px}.dark .premium-hero h1{color:#fffdf2}.dark .premium-hero h1 span{color:#dac28c}.dark .premium-hero .btn.secondary{color:#f1ecdf}.dark .landmark{background:var(--paper)}.dark .paper-leaf{color:#263d2d}.dark .book-stage{background:radial-gradient(ellipse at 50% 15%,#2c4537,#0b2119)}.dark .btn.secondary{color:var(--ink)}[hidden]{display:none!important}
@media(min-width:1600px){.premium-hero{min-height:490px}.premium-hero .hero-copy{padding:54px}.premium-hero h1{font-size:65px}.landmark-image{height:285px}}
@media(max-width:1150px){.premium-hero .hero-copy{padding:37px 30px;max-width:500px}.premium-hero h1{font-size:49px}.landmarks-grid{gap:13px}.landmark-image{height:215px}.landmark h3{font-size:21px}.landmark figcaption{padding:18px 15px}.book-stage{padding:25px 17px}}
@media(max-width:800px){.premium-hero{min-height:425px}.premium-hero h1{font-size:49px}.hero-photograph{object-position:42% 65%}.premium-hero:after{background:linear-gradient(270deg,#133d35f7,#173c35c7 50%,#142d2055)}.brand{font-size:42px}.brand-mark{width:51px}.landmark-image{height:200px}.logo-story{padding:25px;gap:25px}.logo-story img{width:130px;height:150px}.logo-story h2{font-size:28px}.book-toolbar select{max-width:210px}.book-navigation .btn{padding:9px 13px;font-size:9px}.leaf-heading{font-size:12px}}
@media(max-width:560px){.premium-hero{min-height:485px;border-radius:16px}.premium-hero .hero-copy{padding:32px 24px}.premium-hero h1{font-size:43px;margin-top:28px;max-width:100%;line-height:1.6}.premium-hero p{font-size:11px;max-width:270px;margin-top:16px}.premium-hero .hero-buttons{margin-top:27px;gap:10px}.premium-hero .btn{font-size:10px;padding:10px 14px;min-height:44px}.hero-photograph{object-position:40% 50%}.premium-hero:after{background:linear-gradient(180deg,#123c35ef 0%,#123c35e6 48%,#133a34a6 75%,#153a3233)}.hero-photo-credit{bottom:13px;left:15px;font-size:8px}.paths .path{padding:18px 16px}.path h3{font-size:13px}.path p{font-size:9px}.section-head h2{font-size:23px}.landmarks-grid{grid-template-columns:1fr;gap:23px;max-width:420px;margin:auto}.landmark{border-radius:140px 140px 12px 12px}.landmark-image{height:295px;border-radius:140px 140px 0 0}.landmark figcaption{padding:20px}.landmark h3{font-size:26px}.landmark-place{font-size:10px}.landmark figcaption>p{font-size:11px}.photo-rights{font-size:10px}.logo-story{flex-direction:column;text-align:center}.logo-story .eyebrow{justify-content:center}.logo-story img{width:150px;height:150px}.dhikr-counter{padding-top:20px}.bead-button{width:126px;height:126px}.book-stage{padding:16px 8px;border-radius:12px;margin:0 -5px}.book{border-width:3px}.paper-leaf{padding:10px 10px 8px}.leaf-heading{min-height:35px;font-size:10px;padding-bottom:6px}.leaf-heading span:first-child{font-size:10px}.book-toolbar{gap:7px;font-size:9px}.book-toolbar select{max-width:185px;font-size:10px;padding:7px;min-height:35px}.book-toolbar input{width:56px;min-height:35px}.book-toolbar .chip{font-size:9px;padding:6px 10px}.book-navigation{gap:7px;margin-top:20px}.book-navigation .btn{font-size:8px;padding:9px 10px;min-height:40px}.book-navigation>span{font-size:17px}.leaf-foot{font-size:7px}.reading-mode main{padding:12px}.reading-mode .book-stage{padding:12px 8px}.premium-hero .hero-copy .eyebrow{font-size:10px}.daily-card,.verse-card{padding:23px}.side-bottom{padding-top:14px}}
.book.turn-next,.book.turn-prev{transform:none;filter:drop-shadow(0 22px 25px #0004)}.paper-leaf{backface-visibility:hidden;transform-style:preserve-3d;transition:transform .41s cubic-bezier(.35,.05,.2,1),box-shadow .41s}.book.turn-next .left-leaf{transform:perspective(1500px) rotateY(-110deg);transform-origin:right center;box-shadow:-30px 0 45px #0003;z-index:3}.book.turn-prev .right-leaf{transform:perspective(1500px) rotateY(110deg);transform-origin:left center;box-shadow:30px 0 45px #0003;z-index:3}.single.turn-next .right-leaf{transform:perspective(1500px) rotateY(-85deg);transform-origin:right center}.single.turn-prev .right-leaf{transform:perspective(1500px) rotateY(85deg);transform-origin:left center}.book.turn-next:after,.book.turn-prev:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#14392cbb,transparent 60%);pointer-events:none;z-index:-1}body:not(.dark) .premium-hero .hero-copy h1{color:#fffdf2}.premium-hero .hero-copy .eyebrow{color:#e1d1a9}.premium-hero .hero-copy p{color:#e0e5d8}
@media(prefers-reduced-motion:reduce){.paper-leaf{transition:none!important}.book.turn-next .paper-leaf,.book.turn-prev .paper-leaf{transform:none!important}}
/* Practice, account and bilingual reading surfaces */
.wisdom-card{position:relative;margin:24px 0 18px;padding:22px 26px;background:var(--paper);border:1px solid var(--line);border-inline-start:3px solid var(--gold);border-radius:10px}.wisdom-card>span{font-size:10px;color:var(--gold)}.wisdom-card p{font:26px/1.8 Amiri;margin:8px 0}.wisdom-card small{font-size:9px;color:var(--muted)}.quick-services{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:25px}.quick-services a{padding:9px 16px;border:1px solid var(--line);background:var(--paper);border-radius:30px;color:var(--green);font-size:10px}.session-toolbar{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:22px}.auto-option{display:flex;align-items:center;gap:8px;color:var(--muted);font-size:10px}.auto-option input{accent-color:var(--green);width:17px;height:17px}.slide-meta,.slide-navigation{display:flex;justify-content:space-between;align-items:center;gap:10px;max-width:900px;margin:18px auto}.slide-meta>span{font-size:11px;color:var(--gold)}.prayer-slide{background:var(--paper);border:1px solid var(--line);border-radius:18px;max-width:900px;margin:20px auto;padding:38px;box-shadow:0 15px 50px #193e3508;text-align:center;position:relative}.prayer-slide:before{content:'۞';display:block;color:var(--gold);font:30px serif;margin-bottom:22px}.prayer-slide .eyebrow{justify-content:center}.prayer-slide h2{font:31px Amiri;margin:14px 0}.prayer-slide .arabic-text{font-size:33px;line-height:2.15;text-align:right;white-space:pre-line}.prayer-slide .toolbar{justify-content:center}.slide-counter{margin:25px auto}.slide-navigation button:disabled,.disabled{opacity:.35;pointer-events:none}.session-finished{display:flex;gap:20px;justify-content:center;align-items:center;flex-direction:column;padding:60px}.session-finished>span{font:90px serif;color:var(--gold)}.books-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.book-card{background:linear-gradient(135deg,#224e40,#15372d);border:1px solid #b6995f;color:#f5ebd7;padding:30px 23px;border-radius:8px 18px 18px 8px;box-shadow:7px 8px 0 #c7b58e35;text-align:center;display:flex;align-items:center;flex-direction:column}.book-emblem{width:82px;height:95px;object-fit:contain;margin-bottom:16px}.book-card small{font-size:10px;color:#d4bd89;letter-spacing:2px}.book-card h2{font:30px Amiri;margin:13px 0;min-height:65px}.book-card p{font-size:10px;color:#e1d7bf}.book-card .btn{background:#d9c696;color:#193d31;margin-top:auto}.book-card .chip{background:#ffffff0a;border-color:#bca47255;color:#eadfca}.book-card .hint{font-size:8px}.original-page{display:block;max-width:100%;height:auto;margin:auto}.book-slide{padding:20px}.book-slide:before{display:none}.scroll-reader-bar{position:sticky;top:0;z-index:12;display:flex;align-items:center;gap:8px;flex-wrap:wrap;background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:12px;box-shadow:0 5px 25px #173f350c;font-size:10px}.scroll-reader-bar input{width:65px;padding:7px;background:var(--bg);border:1px solid var(--line);color:var(--ink);border-radius:5px}.scroll-reader-bar #visible-page{margin-inline-start:auto;color:var(--gold)}#scroll-pages{max-width:670px;margin:25px auto}#load-previous,#load-more{display:block;margin:20px auto}.vertical-page{margin:20px auto 35px;padding:20px;background:#fffdf0;color:#223d30;border:4px double #baa16a;border-radius:4px;box-shadow:0 12px 35px #173f3514;scroll-margin-top:120px}.vertical-page>img{width:100%;height:auto;display:block;mix-blend-mode:multiply}.vertical-page-label{font:19px Amiri;text-align:center;margin-bottom:10px}.vertical-page .toolbar{justify-content:center}.vertical-page .chip{background:#fffdf0;color:#223d30}.vertical-page summary{font-size:10px;cursor:pointer}.account-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:23px;border:1px solid var(--line);background:var(--paper);border-radius:12px;margin-bottom:24px}.account-banner strong{font-size:14px;font-weight:500}.account-banner p{font-size:10px;color:var(--muted);margin:5px 0 0}.account-banner>span{color:var(--gold);font-size:11px}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px;margin-bottom:25px}.stat-grid article{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:25px}.stat-grid small{font-size:10px;color:var(--muted);display:block}.stat-grid strong{font-size:40px;font-weight:300;display:block;line-height:1.5;margin-top:10px}.stat-grid strong span{font-size:17px;color:var(--gold)}.account-columns{display:grid;grid-template-columns:1fr 1fr;gap:23px}.settings-card{border:1px solid var(--line);background:var(--paper);border-radius:13px;padding:28px;min-width:0}.settings-card h2{font:27px Amiri}.settings-card form{display:grid;gap:15px}.settings-card form label{font-size:11px;display:flex;justify-content:space-between;gap:15px;align-items:center}.settings-card form input,.settings-card form select{width:160px;max-width:55%;padding:8px;border:1px solid var(--line);border-radius:7px;background:var(--bg);color:var(--ink)}.settings-card .btn{margin-top:8px}.activity-list{max-height:600px;overflow:auto}.activity-list>div{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--line)}.activity-list>div>span{font-size:25px;color:var(--gold)}.activity-list p{font-size:11px;margin:0;overflow-wrap:anywhere}.activity-list small{display:block;color:var(--muted);font-size:9px}.prayer-toolbar{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:11px}.prayer-six{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin:20px 0 28px}.prayer-six article{padding:17px 10px;border:1px solid var(--line);background:var(--paper);border-radius:10px;text-align:center}.prayer-six strong{display:block;font-size:23px;font-weight:400;margin-top:10px;color:var(--green)}.prayer-six small{color:var(--muted);font-size:11px}.prayer-times>h3,#selected-prayer-date>h3{font-size:13px;font-weight:400;color:var(--gold);margin-top:25px}.month-navigation{display:flex;justify-content:space-between;align-items:center;margin:30px 0 15px}.month-navigation h2{font:27px Amiri;margin:0}.calendar-weekdays,.calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}.calendar-weekdays{text-align:center;color:var(--muted);font-size:10px;padding-bottom:10px}.calendar-day{padding:13px 5px;min-height:83px;background:var(--paper);border:1px solid var(--line);border-radius:8px;display:flex;align-items:center;flex-direction:column;justify-content:center}.calendar-day strong{font-weight:400;font-size:22px}.calendar-day small{font-size:8px;color:var(--muted);line-height:1.4;margin-top:6px}.calendar-day.is-today{background:var(--green);color:#fff}.calendar-day.is-today small{color:#e0d9bd}html[dir=ltr] body{font-family:'Readex Pro',sans-serif}html[dir=ltr] #sidebar{right:auto;left:0;border-left:0;border-right:1px solid var(--line)}html[dir=ltr] #shell{margin-right:0;margin-left:236px}html[dir=ltr] .hero-copy{max-width:600px}html[dir=ltr] .premium-hero:after{background:linear-gradient(90deg,#123d35fa,#153e35df 33%,#163c3570 59%,#11282015)}html[dir=ltr] .brand{font-family:'Readex Pro';font-size:28px}html[dir=ltr] .brand small{font:8px 'Readex Pro';letter-spacing:.5px}html[dir=ltr] .premium-hero h1{font-family:'Readex Pro';font-size:43px;line-height:1.5}html[dir=ltr] .page-heading h1,html[dir=ltr] .section-head h2,html[dir=ltr] .prayer-slide h2,html[dir=ltr] .settings-card h2,html[dir=ltr] .landmark h3,html[dir=ltr] .logo-story h2{font-family:'Readex Pro';line-height:1.5}html[dir=ltr] .page-heading h1{font-size:30px}html[dir=ltr] .section-head h2{font-size:21px}html[dir=ltr] .wisdom-card p{font:20px/1.9 'Readex Pro'}html[dir=ltr] .book,html[dir=ltr] .surah-title,html[dir=ltr] .arabic-text,html[dir=ltr] .daily-text,html[dir=ltr] .ayah,html[dir=ltr] .name-card{direction:rtl}html[dir=ltr] .arabic-text,html[dir=ltr] .ayah{text-align:right}html[dir=ltr] .footer-logo{font-family:'Readex Pro';font-size:24px}html[dir=ltr] footer>a:last-of-type{margin-left:auto;margin-right:0}html[dir=ltr] .card-actions .restart-count{margin-left:auto;margin-right:0}html[dir=ltr] .quick-services a{color:var(--ink)}.dark .quick-services a{color:var(--ink)}.dark .prayer-six strong{color:#d4c18e}.account-link{font-size:9px}#language-switch{font-size:9px;padding:5px 9px}.header-actions{gap:10px}.search-trigger{max-width:235px}.session-toolbar .btn{font-size:10px}
@media(max-width:1150px){html[dir=ltr] #shell{margin-left:210px}.books-grid{grid-template-columns:repeat(2,1fr)}.account-columns{gap:15px}.settings-card{padding:21px}.header-greeting{font-size:10px}.search-trigger{max-width:180px}.prayer-six{gap:8px}.prayer-six strong{font-size:20px}}
@media(max-width:800px){html[dir=ltr] #shell{margin-left:0}html[dir=ltr] #sidebar{transform:translateX(-100%)}html[dir=ltr] body.menu-open #sidebar{transform:translateX(0)}.account-columns{grid-template-columns:1fr}.header-actions{gap:7px}.header-greeting{display:none}.header-actions{margin-inline-start:auto}.stat-grid{gap:10px}.stat-grid article{padding:17px}.stat-grid strong{font-size:32px}.prayer-six{grid-template-columns:repeat(3,1fr)}.prayer-slide{padding:25px}.prayer-slide .arabic-text{font-size:29px}.book-navigation{flex-wrap:wrap}.scroll-reader-bar{top:0}.account-banner{flex-wrap:wrap}}
@media(max-width:560px){.books-grid{grid-template-columns:1fr}.book-card{max-width:360px;width:100%;margin:auto;padding:30px}.prayer-slide{padding:23px 18px}.prayer-slide h2{font-size:27px}.prayer-slide .arabic-text{font-size:27px}.slide-meta{flex-wrap:wrap}.slide-meta .chip{font-size:9px}.slide-meta .auto-option{font-size:9px}.stat-grid{grid-template-columns:1fr 1fr}.stat-grid article:last-child{grid-column:1/-1}.stat-grid strong{font-size:30px}.account-banner{padding:19px;gap:15px}.account-banner .btn{font-size:10px}.settings-card{padding:21px 18px}.settings-card form label{font-size:10px}.settings-card form input,.settings-card form select{width:145px}.prayer-toolbar select{max-width:100%;font-size:10px;padding:7px}.prayer-toolbar{gap:7px;font-size:10px}.calendar-grid,.calendar-weekdays{gap:4px}.calendar-day{min-height:75px;padding:9px 3px}.calendar-day strong{font-size:18px}.calendar-day small{font-size:6px}.vertical-page{padding:10px;margin-top:15px}.scroll-reader-bar{padding:9px;gap:6px}.scroll-reader-bar .chip{font-size:8px;padding:6px 9px}.scroll-reader-bar #visible-page{font-size:10px}.wisdom-card{padding:18px}.wisdom-card p{font-size:23px}.quick-services{gap:7px}.quick-services a{font-size:9px;padding:8px 12px}html[dir=ltr] .premium-hero h1{font-size:34px}html[dir=ltr] .page-heading h1{font-size:27px}html[dir=ltr] .section-head h2{font-size:20px}html[dir=ltr] .wisdom-card p{font-size:16px}.header-actions{gap:6px}.header-actions .chip{font-size:8px;padding:4px 8px}.book-slide{padding:12px}.original-page{border-radius:3px}}
.original-page{cursor:zoom-in}#page-zoom{width:98vw;max-width:1400px;height:94vh;max-height:94vh;padding:15px}#page-zoom .dialog-top h2{font-size:22px}.zoom-control{display:flex;align-items:center;justify-content:center;gap:20px;font-size:11px;padding:10px}#zoom-range{max-width:300px;flex:1;accent-color:var(--green)}#zoom-scroller{overflow:auto;height:calc(100% - 100px);background:#e6e0d1;direction:ltr;touch-action:pan-x pan-y}#zoom-image{display:block;height:auto;max-width:none;margin:auto;background:white}#page-zoom::backdrop{background:#0d251ede}.original-page:hover{box-shadow:0 0 0 1px var(--gold)}
/* Responsive typography and immersive Quran layouts */
:root{--reading:32px;--ui-small:13px}html{font-size:16px;scroll-padding-top:24px}body{font-size:15px;line-height:1.85}button,a,input,select{touch-action:manipulation}button,input,select,textarea{font-size:16px}img,svg{max-width:100%}#shell,main,.content-grid>*,.paths>*,.home-bottom>*,.account-columns>*{min-width:0}main{width:100%;max-width:1510px;padding:32px clamp(20px,3.2vw,52px) 60px}.page-heading{margin:8px 0 28px}.page-heading h1{font-size:42px;line-height:1.5}.page-heading p{font-size:15px;line-height:2;max-width:850px}.eyebrow{font-size:12px}.date-line{font-size:12px}.section-head h2{font-size:29px}.section-head p{font-size:13px}.section-head a,.section-head button{font-size:12px}.path h3{font-size:17px;line-height:1.7}.path p{font-size:12px;line-height:1.9}.paths .path{padding:24px 22px}.btn{font-size:14px;min-height:46px;padding:11px 20px;white-space:normal}.chip{font-size:13px;min-height:42px;display:inline-flex;align-items:center;justify-content:center;padding:8px 15px;line-height:1.6}.icon-button{width:42px;height:42px;min-width:42px;font-size:22px}.hint,.card-meta{font-size:12px;line-height:1.85}.source{font-size:12px;line-height:1.9}.notice{font-size:13px;line-height:2;padding:16px 20px}.card-top h2{font-size:17px;line-height:1.6}.tag{font-size:11px;padding:4px 10px;flex-shrink:0}.arabic-text{font-size:var(--reading);line-height:2.05}.card-actions button{font-size:13px;min-height:42px;padding:8px 13px}.card-actions .restart-count{font-size:12px}.counter-caption{font-size:12px}.counter-caption span{font-size:11px}.bead-button small{font-size:11px}.auto-option{font-size:12px;line-height:1.8}.daily-card h3,.verse-card h3{font-size:14px;line-height:1.7}.daily-text{font-size:29px}.tiny-label{font-size:10px}.premium-hero p{font-size:15px;line-height:2.1}.premium-hero .btn{font-size:14px;min-height:46px}.hero-photo-credit{font-size:11px}.wisdom-card>span{font-size:13px}.wisdom-card small{font-size:12px}.quick-services a{font-size:13px;min-height:44px;display:flex;align-items:center}.landmark figcaption>p{font-size:13px}.landmark-place{font-size:12px}.photo-rights,.photo-rights p{font-size:12px;line-height:1.9}.source-card p,.logo-story p{font-size:14px;line-height:2}.source-card h2{font-size:19px}.book-card p{font-size:13px}.book-card .hint{font-size:11px}.settings-card form label,.settings-card .hint,.activity-list p{font-size:13px}.activity-list small{font-size:12px}.account-banner p,.account-banner>span,.stat-grid small{font-size:13px}.prayer-toolbar{font-size:13px}.prayer-six small{font-size:14px}.calendar-weekdays{font-size:12px}.calendar-day small{font-size:11px}.book-toolbar{gap:10px;font-size:13px;align-items:center}.book-toolbar select,.book-toolbar input,.book-toolbar .chip{font-size:14px;min-height:44px}.book-toolbar select{max-width:260px}.book-toolbar label{white-space:nowrap}.book-navigation .btn{font-size:13px}.book-navigation{gap:12px;justify-content:center}.book-navigation>span{font-size:23px;padding:0 12px}.book-navigation small{font-size:11px}.reader-info{font-size:12px;line-height:1.9;max-width:1000px;margin:18px auto}.leaf-heading{font-size:16px}.leaf-heading span:first-child{font-size:14px}.leaf-foot,.leaf-foot button,.page-text{font-size:11px}.leaf-foot button{min-height:32px}.leaf-foot summary{padding:5px;cursor:pointer}.page-text>div{font-size:26px}.page-text b{font-size:12px}.book-stage{padding:25px 18px}.book{max-width:1100px}.book.single{max-width:600px}.book-toolbar #reader-larger{margin-inline-start:auto}.reader-editions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:6px;border:1px solid var(--line);border-radius:14px;background:var(--paper);gap:6px;margin:0 0 20px}.edition-tab{display:flex;align-items:center;justify-content:center;gap:10px;min-height:57px;padding:10px 14px;border-radius:9px;background:transparent;font-size:15px;line-height:1.6;color:var(--muted);transition:background .18s,color .18s}.edition-tab>span:first-child{font-family:serif;font-size:24px;color:var(--gold)}.edition-tab.selected{background:var(--green);color:#fff}.edition-tab.selected>span:first-child{color:#e0ca99}.edition-tab:hover:not(.selected){background:var(--soft)}.reader-main{max-width:1660px}.tafsir-workspace{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(290px,.75fr);gap:22px;align-items:start}.tafsir-workspace .book-stage{position:sticky;top:20px;min-width:0}.tafsir-workspace .book{max-width:100%}.tafsir-panel{border:1px solid var(--line);border-radius:14px;background:var(--paper);min-width:0;overflow:hidden;display:flex;flex-direction:column;max-height:960px}.tafsir-heading{display:flex;align-items:center;justify-content:space-between;padding:19px 22px;border-bottom:1px solid var(--line);gap:12px}.tafsir-heading span{font-size:11px;color:var(--gold)}.tafsir-heading h2{font:28px/1.5 Amiri;margin:4px 0 0}.tafsir-heading .chip{font-size:12px}.tafsir-body{padding:0 23px;overflow:auto;overscroll-behavior:contain;min-height:160px;scrollbar-width:thin}.tafsir-page-title{font-size:12px;color:var(--gold);padding:18px 0 0}.tafsir-verse{padding:22px 0;border-bottom:1px solid var(--line)}.tafsir-verse:last-child{border-bottom:0}.tafsir-verse h3{font:19px/1.7 Amiri;color:var(--gold);margin:0 0 12px}.tafsir-verse .tafsir-ayah{font-size:27px;line-height:2;color:var(--ink);margin:0 0 13px}.tafsir-verse .tafsir-text{font-size:24px;line-height:1.95;color:var(--muted);margin:0}.tafsir-credit{padding:14px 20px;border-top:1px solid var(--line);font-size:11px;line-height:1.9;color:var(--muted);margin:0}.tafsir-error{padding:30px 0;color:var(--muted);font-size:14px;line-height:2}.tajweed-main .mushaf-scan{mix-blend-mode:normal;background:#fff}.focus-bar{display:none}footer{font-size:12px;padding:26px clamp(20px,3.2vw,52px)}footer small{font-size:11px}header{padding:0 clamp(20px,3.2vw,52px);min-height:85px;height:auto;gap:15px}.header-greeting{font-size:13px;line-height:1.7}.header-greeting .subtle{font-size:11px}.search-trigger{font-size:12px;max-width:none;min-height:44px}.header-actions{gap:12px}.header-actions .chip,#language-switch{font-size:12px;padding:7px 12px}.header-actions kbd{font-size:10px}.brand{margin-bottom:28px}nav a{font-size:14px;min-height:45px;line-height:1.6;padding:10px 14px}.nav-label{font-size:12px}.side-bottom{font-size:12px;padding-top:16px}.side-bottom p,.text-button{font-size:11px}.header-actions>*,.book-toolbar>*{flex-shrink:0}dialog{max-width:calc(100vw - 24px)}html[dir=ltr] .page-heading h1{font-size:34px}html[dir=ltr] .section-head h2{font-size:25px}html[dir=ltr] .tafsir-heading h2{font:20px/1.5 'Readex Pro'}
/* The entire reader occupies the viewport, including browsers without native fullscreen. */
body.reading-mode{overflow:hidden;overscroll-behavior:none}body.reading-mode #shell{position:fixed!important;inset:0!important;width:100%!important;height:100dvh!important;height:var(--reader-vh,100dvh)!important;margin:0!important;z-index:100;background:var(--bg);overflow:hidden}body.reading-mode #main{display:flex;flex-direction:column;gap:8px;width:100%;height:100%;max-width:none;min-height:0;margin:0;padding:max(8px,env(safe-area-inset-top)) max(8px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(8px,env(safe-area-inset-left));overflow:hidden}body.reading-mode #main>.page-heading,body.reading-mode #main>.book-toolbar,body.reading-mode #main>.reader-editions,body.reading-mode #main>.book-navigation,body.reading-mode #main>.saved-page,body.reading-mode #main>.reader-info,body.reading-mode #main>.page-slider{display:none!important}body.reading-mode .focus-bar{display:flex;align-items:center;justify-content:center;gap:12px;flex-shrink:0;min-height:46px;width:100%;padding:0 8px;background:var(--paper);border:1px solid var(--line);border-radius:9px}body.reading-mode .focus-bar>span{font-size:13px;line-height:1.5;text-align:center}body.reading-mode .focus-bar b{font-weight:500;color:var(--gold)}body.reading-mode .focus-bar .chip{min-height:36px;font-size:12px;padding:6px 12px}body.reading-mode .focus-bar .icon-button{border-radius:7px;width:37px;height:37px;min-width:37px}body.reading-mode .focus-exit{margin-inline-start:auto}body.reading-mode .book-stage{flex:1;width:100%;min-height:0;margin:0;padding:8px;border-radius:9px;display:flex;align-items:center;justify-content:center;position:relative;top:auto;overflow:hidden}body.reading-mode .book{height:100%;max-width:100%;margin:0 auto;flex-shrink:0;border-width:3px}body.reading-mode .paper-leaf{height:100%;padding:7px 10px;display:flex;flex-direction:column;overflow:hidden}body.reading-mode .leaf-heading{min-height:25px;padding:0 0 3px;flex-shrink:0;font-size:11px;line-height:1.4}body.reading-mode .leaf-heading span:first-child{font-size:11px}body.reading-mode .scan-wrap{flex:1;min-height:0;height:auto;width:100%;aspect-ratio:auto;margin:2px 0}body.reading-mode .mushaf-scan{height:100%;width:100%;object-fit:contain}body.reading-mode .leaf-foot{padding-top:3px;min-height:26px;flex-shrink:0;flex-wrap:nowrap;gap:5px}body.reading-mode .leaf-foot button{min-height:24px;font-size:9px;padding:2px}body.reading-mode .page-medallion{height:22px;width:30px;font-size:15px}body.reading-mode .page-text{display:none}body.reading-mode .tafsir-workspace{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(280px,.7fr);gap:10px}body.reading-mode .tafsir-workspace .book-stage{height:100%;min-height:0}body.reading-mode .tafsir-panel{height:100%;max-height:none;min-height:0}body.reading-mode .tafsir-body{flex:1;min-height:0}body.reading-mode .tafsir-heading{padding:10px 16px}body.reading-mode .tafsir-heading h2{font-size:24px}body.reading-mode .tafsir-heading span{font-size:10px}body.reading-mode .tafsir-credit{font-size:10px;padding:7px 13px}:fullscreen{background:var(--bg)}
@media(min-width:1024px){#sidebar{width:264px;padding:28px 20px 20px}#shell{margin-right:264px}html[dir=ltr] #shell{margin-left:264px;margin-right:0}#sidebar nav{min-height:0;flex:1}#sidebar .side-bottom{flex-shrink:0}.mobile{display:none}}
@media(min-width:1700px){main{padding-top:42px}.premium-hero{min-height:480px}.content-grid{gap:22px}.dhikr-card{padding:28px}.premium-hero h1{font-size:64px}}
@media(max-width:1180px){.paths{grid-template-columns:repeat(2,minmax(0,1fr))}.landmarks-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.tafsir-workspace{grid-template-columns:minmax(0,1fr) minmax(270px,.9fr);gap:16px}.tafsir-verse .tafsir-text{font-size:23px}.header-greeting .subtle{display:none}.home-bottom{grid-template-columns:1fr 1fr}.calendar-day small{font-size:10px}}
@media(max-width:1023px){#sidebar{width:285px;max-width:calc(100vw - 40px);padding:26px 20px 18px;transform:translateX(100%);box-shadow:-20px 0 65px #0d2f2430}body.menu-open #sidebar{transform:translateX(0)}#shell,html[dir=ltr] #shell{margin:0}.mobile{display:inline-grid}html[dir=ltr] #sidebar{transform:translateX(-100%)}html[dir=ltr] body.menu-open #sidebar{transform:translateX(0)}header{min-height:76px;padding:12px 24px}main{padding:26px 24px 45px}.header-greeting{display:block;margin-inline-end:auto}.header-actions{margin-inline-start:auto}.book-stage{padding:20px}.book.single{max-width:580px}.landmarks-grid{gap:17px}.account-columns{grid-template-columns:1fr}.tafsir-panel{max-height:850px}.prayer-slide .arabic-text{font-size:32px}.book-toolbar #reader-larger{margin-inline-start:0}#sidebar nav{min-height:0;flex:1}.side-bottom{margin-top:15px;flex-shrink:0}}
@media(max-width:760px){body{font-size:15px}main{padding:22px 18px 40px}.page-heading h1{font-size:37px}.page-heading p{font-size:14px}.home-bottom,.content-grid,.source-grid{grid-template-columns:1fr}.landmarks-grid{grid-template-columns:1fr;max-width:520px;margin:auto}.landmark-image{height:330px}.header-greeting{display:none}.header-actions{gap:9px}.search-trigger{font-size:0;gap:0;max-width:42px}.search-trigger kbd{display:none}.search-trigger>span{font-size:26px}.header-actions .chip,#language-switch{font-size:12px;padding:6px 12px;min-height:40px}.tafsir-workspace{display:flex;flex-direction:column;gap:20px}.tafsir-workspace .book-stage{position:static;width:100%}.tafsir-panel{width:100%;max-height:750px}.edition-tab{font-size:13px;gap:7px;padding:10px 7px;min-height:56px}.edition-tab>span:first-child{font-size:21px}.reader-editions{padding:5px;gap:4px}.book-toolbar{gap:8px;font-size:12px}.book-toolbar select{max-width:210px;font-size:14px;padding:8px}.book-toolbar input{width:67px;font-size:16px}.book-toolbar .chip{font-size:12px;padding:8px 11px}.book-navigation .btn{font-size:12px;min-height:44px;padding:9px 13px}.book-navigation>span{font-size:20px;padding:0 3px}.book-navigation #mark-page-read{order:4;width:100%;font-size:12px}.book-stage{padding:13px 8px}.paper-leaf{padding:12px 12px 9px}.source-card{padding:23px}.stat-grid small{font-size:12px}.stat-grid strong{font-size:35px}.settings-card form label{font-size:13px}.settings-card form input,.settings-card form select{font-size:16px}.prayer-toolbar select{font-size:14px;min-height:44px}.calendar-weekdays{font-size:11px}.calendar-day{min-height:83px}.calendar-day small{font-size:9px}.scroll-reader-bar{padding:10px;gap:8px;font-size:12px}.scroll-reader-bar input{font-size:16px}.scroll-reader-bar .chip{font-size:11px;min-height:40px;padding:7px 11px}.vertical-page{padding:12px}.vertical-page .toolbar{gap:7px}.vertical-page .chip{font-size:12px}.prayer-slide{padding:25px 22px}.prayer-slide .arabic-text{font-size:31px}.session-toolbar{gap:9px}.session-toolbar .btn{font-size:13px}.auto-option{font-size:12px}.slide-meta .chip,.slide-meta .auto-option{font-size:12px}.original-page{width:100%}.logo-story p{font-size:14px}footer{padding:24px 20px}html[dir=ltr] .page-heading h1{font-size:31px}body.reading-mode .focus-bar{gap:7px;padding:3px 5px}body.reading-mode .focus-bar>span{font-size:11px}body.reading-mode .focus-bar .chip{font-size:11px;padding:6px 8px}body.reading-mode .tafsir-workspace{display:flex;flex-direction:column;gap:8px;overflow:auto}body.reading-mode .tafsir-workspace .book-stage{height:58dvh;min-height:320px;flex:none}body.reading-mode .tafsir-panel{height:45dvh;min-height:300px;flex:none}body.reading-mode .paper-leaf{padding:5px 7px}body.reading-mode .book-stage{padding:5px}}
@media(max-width:390px){header{padding:10px 14px;gap:7px}.header-actions{gap:7px}.icon-button{width:39px;height:39px;min-width:39px}.header-actions .chip,#language-switch{font-size:11px;padding:6px 9px}.premium-hero .hero-copy{padding:28px 22px}.premium-hero h1{font-size:42px}.premium-hero p{font-size:14px}.premium-hero .hero-buttons{flex-wrap:wrap;gap:10px}.premium-hero .btn{font-size:12px;padding:10px 14px}.path h3{font-size:16px}.path p{font-size:12px}.paths .path{padding:20px 16px}.page-heading h1{font-size:34px}.reader-editions{gap:3px}.edition-tab{font-size:12px;gap:5px;padding:8px 5px}.edition-tab>span:first-child{font-size:18px}.book-toolbar label{font-size:12px}.book-toolbar select{max-width:190px}.book-toolbar .chip{font-size:11px;padding:7px 9px}.calendar-day small{font-size:8px}.settings-card form label{font-size:12px}.book-navigation .btn{font-size:11px;padding:8px 10px}body.reading-mode .focus-bar>span{font-size:10px}body.reading-mode #focus-save{font-size:0;width:33px;min-width:33px;padding:0}body.reading-mode #focus-save:before{content:'◆';font-size:16px}.settings-card,.dhikr-card{padding:21px 18px}.source-card p{font-size:14px}.hero-photo-credit{font-size:10px}.date-line{font-size:10px}.stat-grid{gap:10px}}
@media(max-height:550px) and (min-width:650px){header{min-height:62px;padding-top:5px;padding-bottom:5px}#sidebar{padding-top:16px}.brand{margin-bottom:16px}.side-bottom{display:none}body.reading-mode .focus-bar{min-height:35px;gap:10px}body.reading-mode .focus-bar .icon-button{width:30px;height:30px;min-width:30px}body.reading-mode .focus-bar .chip{min-height:30px;font-size:11px}body.reading-mode #main{gap:5px;padding:5px}body.reading-mode .book-stage{padding:3px}body.reading-mode .leaf-heading,body.reading-mode .leaf-foot{display:none}body.reading-mode .paper-leaf{padding:3px}body.reading-mode .tafsir-workspace{display:grid;grid-template-columns:1fr 1fr;overflow:hidden}body.reading-mode .tafsir-workspace .book-stage,body.reading-mode .tafsir-panel{height:100%;min-height:0}}
@media(prefers-reduced-motion:reduce){.edition-tab{transition:none}}
.vertical-tafsir{border-top:1px solid #baa16a66;margin-top:16px;padding-top:10px}.vertical-tafsir>summary{font-size:14px;font-weight:500;padding:12px 8px;min-height:46px;color:#244d42;background:#eee7d329;border-radius:8px;cursor:pointer}.vertical-tafsir .tafsir-text{font-size:26px;line-height:2.05;color:#31463b}.vertical-tafsir-content{padding:0 12px}.vertical-tafsir .source{font-size:11px;color:#7d714f}
.skip{right:16px;left:auto;max-width:calc(100vw - 32px);font-size:14px;width:max-content;white-space:normal}.tafsir-panel,.tafsir-heading>div,.tafsir-credit{min-width:0;overflow-wrap:anywhere}
#toast{left:16px;right:auto;max-width:calc(100vw - 32px);white-space:normal;overflow-wrap:anywhere;font-size:13px;line-height:1.8}
@media(max-width:1023px){body:not(.menu-open) #sidebar{display:none!important}body.menu-open #sidebar{display:flex!important;transform:none!important;right:0;left:auto;max-height:100dvh}html[dir=ltr] body.menu-open #sidebar{left:0;right:auto}}
.sr-only{position:fixed!important;top:0!important;left:0!important;right:auto!important;bottom:auto!important;width:1px!important;height:1px!important;padding:0!important;margin:0!important;border:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;clip-path:inset(50%)!important;white-space:nowrap!important}
/* Keep decorative shadows inside the reader's paint area on narrow screens. */
html,body{overflow-x:clip}.book{filter:none;box-shadow:0 16px 30px #0003}.book.turn-next,.book.turn-prev{filter:none}.book-stage{overflow:clip}
