
@import url('https://fonts.googleapis.com/css2?family=Amiri:wght@400;700&family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Noto+Naskh+Arabic:wght@400;500;600&display=swap');
:root{--bg:#f7f8f4;--paper:#fff;--side:#fcfcf9;--ink:#203d34;--text:#344c43;--muted:#718079;--line:#e3e8df;--green:#245b45;--green-dark:#183f30;--soft:#eaf1e7;--gold:#b39c69;--shadow:0 12px 36px #163e2910;--arabic-size:34px;--trans-size:16px;color-scheme:light}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);font:14px/1.6 'DM Sans',sans-serif}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.4}a{color:inherit;text-decoration:none}button{color:inherit}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:'Manrope',sans-serif;color:var(--ink)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #ae8b43;outline-offset:4px}[hidden]{display:none!important}.skip{position:fixed;top:-80px;left:20px;z-index:100;background:var(--green);color:white;padding:12px}.skip:focus{top:12px}.icon-btn{width:42px;height:42px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--line);background:var(--paper);border-radius:12px;flex-shrink:0}.icon-btn:hover{background:var(--soft);border-color:#9aafa0}.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:10px 19px;border:1px solid var(--line);border-radius:10px;background:var(--paper);font-weight:600;white-space:nowrap}.btn.primary{background:var(--green);border-color:var(--green);color:#fff}.btn.primary:hover{background:var(--green-dark)}.btn:hover{filter:brightness(.98)}.muted{color:var(--muted)}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:700;color:var(--muted)}.arabic{font-family:'Amiri','Noto Naskh Arabic',serif;direction:rtl}.sidebar{width:242px;position:fixed;inset:0 auto 0 0;border-right:1px solid var(--line);background:var(--side);display:flex;flex-direction:column;padding:37px 23px 24px;z-index:30}.brand{display:flex;align-items:center;gap:11px;color:var(--ink)}.brand strong{font:800 25px 'Manrope',sans-serif;letter-spacing:-1px}.brand small{display:block;letter-spacing:2.5px;font-size:9px;color:var(--muted);margin-top:4px}.brandmark{width:43px;height:43px;color:var(--green)}.side-caption{margin:49px 13px 13px}.nav{display:flex;flex-direction:column;gap:7px}.nav a,.nav button{display:flex;align-items:center;gap:12px;padding:13px 14px;border:0;background:none;text-align:left;border-radius:10px;font-weight:500;min-height:47px}.nav a.active{color:var(--green);background:var(--soft);font-weight:700}.nav a:hover,.nav button:hover{background:var(--soft)}.nav .count{margin-left:auto;background:var(--paper);padding:1px 8px;border-radius:5px;font-size:11px}.side-bottom{margin-top:auto;padding-top:30px}.reading-note{padding:19px 16px;background:var(--soft);border:1px solid var(--line);border-radius:12px}.reading-note svg{color:var(--green);margin-bottom:10px}.reading-note p{font-size:12px;margin-bottom:6px}.reading-note a{color:var(--green);font-weight:700;font-size:12px;display:flex;align-items:center;gap:8px}.reading-note a svg{width:16px;margin:0}.side-footer{font-size:10px;color:var(--muted);padding:22px 4px 0}.side-footer button{background:none;border:0;text-decoration:underline;padding:0;color:inherit;font-size:11px}.app-shell{margin-left:242px}.topbar{height:92px;padding:0 46px;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:18px;background:var(--side)}.breadcrumb{color:var(--muted);font-size:12px;display:flex;align-items:center;gap:11px}.breadcrumb span:last-child{color:var(--ink)}.top-actions{display:flex;align-items:center;gap:10px}.top-note{font-size:11px;color:var(--muted);margin-right:13px}.mobile-only{display:none}.mobile-brand{display:none}.main{max-width:1450px;margin:0 auto;padding:35px 46px 80px;min-height:calc(100vh - 92px)}.greeting-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:19px;color:var(--muted);font-size:12px}.greeting{display:flex;gap:8px;align-items:center}.greeting svg{width:16px;color:var(--gold)}.date{font-size:11px}.hero{border:1px solid #dfe6d6;border-radius:17px;background:#edf2e5;position:relative;overflow:hidden;padding:40px 39px;min-height:289px;display:flex;align-items:center;justify-content:space-between;gap:15px}.hero-content{position:relative;z-index:1}.hero .eyebrow{color:#627657;display:flex;align-items:center;gap:9px}.hero .eyebrow:before{content:'';width:21px;height:1px;background:#8b9d75}.hero h1{font-weight:500;font-family:Georgia,serif;font-size:44px;line-height:1.15;letter-spacing:-1.5px;margin:16px 0;color:#294c3a}.hero h1 em{font-weight:normal;color:#69845c}.hero p{max-width:355px;color:#6a7b60;font-size:12px;margin-bottom:23px}.hero .btn{font-size:12px;min-height:42px}.hero-art{width:246px;height:246px;flex-shrink:0;display:grid;place-items:center;position:relative;color:#769464;margin-right:8px}.hero-art:before,.hero-art:after{content:'';position:absolute;border:1px solid #a7b792;border-radius:50%;inset:18px;opacity:.65}.hero-art:after{inset:0;border-style:dashed;opacity:.4}.rosette{width:185px;height:185px;position:absolute;border:1px solid #a1b087;transform:rotate(22.5deg)}.rosette:before,.rosette:after{content:'';position:absolute;inset:0;border:1px solid #a1b087;transform:rotate(45deg)}.rosette:after{inset:16px;transform:rotate(0deg)}.hero-art .art-text{font:46px/1.35 'Amiri',serif;position:relative;text-align:center;color:#527046}.hero-art .art-text small{font:9px 'DM Sans',sans-serif;text-transform:uppercase;letter-spacing:3px;display:block;margin-top:10px}.quick-row{display:grid;grid-template-columns:1.2fr 1fr;gap:17px;margin:20px 0 34px}.quick{border:1px solid var(--line);border-radius:12px;padding:18px 20px;background:var(--paper);display:flex;align-items:center;gap:15px;min-width:0}.quick:hover{border-color:#a5b998;box-shadow:var(--shadow)}.quick-icon{width:43px;height:43px;border-radius:10px;background:var(--soft);display:grid;place-items:center;color:var(--green);flex-shrink:0}.quick .eyebrow{font-size:9px;letter-spacing:1.4px}.quick strong{display:block;font-size:14px;font-weight:600;margin-top:3px}.quick .detail{font-size:11px;color:var(--muted)}.quick>.arrow{margin-left:auto;color:#90a486;width:18px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:15px;margin-bottom:20px}.section-heading h2{font-size:22px;letter-spacing:-.7px;margin-bottom:3px}.section-heading p{font-size:12px;color:var(--muted);margin:0}.section-heading .tag{font-size:10px;color:var(--green);background:var(--soft);border:1px solid var(--line);border-radius:20px;padding:4px 10px}.search-line{display:flex;gap:12px;margin-bottom:20px}.searchbox{display:flex;align-items:center;gap:12px;flex:1;min-width:0;border:1px solid var(--line);background:var(--paper);border-radius:10px;padding:0 14px;min-height:47px}.searchbox svg{color:var(--muted);width:18px}.searchbox input{width:100%;min-width:0;border:0;background:none;color:var(--text);outline:none;padding:12px 0;font-size:12px}.searchbox:focus-within{border-color:var(--green);box-shadow:0 0 0 2px #56815f20}.searchbox kbd{color:#8f9a93;border:1px solid var(--line);border-radius:4px;padding:1px 5px;font-size:10px}.filter{background:var(--paper);color:var(--text);border:1px solid var(--line);padding:0 12px;border-radius:10px;font-size:12px;min-height:44px;max-width:100%}.list-meta{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:13px;margin-bottom:17px;font-size:11px;color:var(--muted)}.list-meta strong{color:var(--green);font-weight:600}.surah-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.surah-card{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:19px 14px;display:flex;align-items:center;gap:12px;min-height:94px;transition:transform .15s,border-color .15s,box-shadow .15s}.surah-card:hover{transform:translateY(-2px);border-color:#97b088;box-shadow:var(--shadow)}.number-wrap{width:34px;height:34px;display:grid;place-items:center;position:relative;flex-shrink:0}.number-wrap:before{content:'';position:absolute;inset:4px;border-radius:4px;transform:rotate(45deg);background:var(--soft)}.number-wrap span{position:relative;font-size:11px;font-weight:600;color:var(--green)}.surah-card .title-group{min-width:0;flex:1}.surah-card strong{font-family:'Manrope',sans-serif;font-size:12px;font-weight:700;display:block;color:var(--ink)}.surah-card .translation{font-size:10px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:140px}.surah-card .meta{font-size:9px;color:var(--muted);margin-top:4px}.surah-card .arabic{font-size:19px;color:var(--green);max-width:83px;line-height:1.8;text-align:right}.empty{background:var(--paper);border:1px dashed var(--line);border-radius:14px;padding:50px 22px;text-align:center;grid-column:1/-1}.empty>svg{width:36px;height:36px;color:var(--green);margin-bottom:18px}.empty h2{font-size:21px}.empty p{color:var(--muted);max-width:430px;margin:0 auto 20px}.footer{display:flex;justify-content:space-between;gap:16px;border-top:1px solid var(--line);padding-top:22px;margin-top:35px;color:var(--muted);font-size:10px}.footer a{text-decoration:underline}.page-title{font-size:32px;letter-spacing:-1px;margin-bottom:8px}.page-description{color:var(--muted);font-size:13px}.bookmark-card{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:24px;margin-top:15px}.bookmark-card header{display:flex;align-items:center;justify-content:space-between;gap:15px}.bookmark-card h3{font-size:16px;margin:0}.bookmark-card .arabic{font-size:27px;line-height:2;margin:18px 0;overflow-wrap:anywhere}.bookmark-card .excerpt{color:var(--muted);font-size:13px}.bookmark-card .btn{font-size:12px}.reader{max-width:920px;margin:auto}.reader-nav{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px;gap:15px}.text-btn{display:inline-flex;align-items:center;gap:8px;color:var(--green);border:0;background:none;font-size:12px;padding:8px 0;min-height:42px}.reader-heading{text-align:center;padding:27px 15px 25px}.reader-heading .arabic{font-size:40px;line-height:1.9;color:var(--green);margin:0}.reader-heading h1{font-size:23px;letter-spacing:-.7px;margin:4px 0}.reader-heading p{font-size:12px;color:var(--muted);margin:0}.reader-controls{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap;padding:16px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:13px 0 20px}.control-group{display:flex;align-items:center;gap:9px}.control-group label{font-size:11px;color:var(--muted)}.reader-controls .filter{max-width:185px}.reader-controls .btn{min-height:42px;font-size:12px}.verses{background:var(--paper);border:1px solid var(--line);border-radius:14px;overflow:hidden}.verse{padding:28px 30px 26px;border-bottom:1px solid var(--line);scroll-margin-top:24px;transition:background .2s}.verse:last-child{border:0}.verse.playing{background:var(--soft)}.verse.focused{box-shadow:inset 3px 0 0 var(--green)}.verse-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:13px}.verse-ref{font-size:11px;color:var(--green);background:var(--soft);border-radius:6px;padding:4px 9px;font-weight:600}.verse-actions{display:flex;gap:4px}.verse-actions button{width:36px;height:36px;background:transparent;border:0;border-radius:8px;display:grid;place-items:center;color:var(--muted)}.verse-actions button svg{width:17px;height:17px}.verse-actions button:hover,.verse-actions button.saved{color:var(--green);background:var(--soft)}.verse-actions button.saved svg{fill:currentColor}.verse .arabic{font-size:var(--arabic-size);line-height:2.2;color:var(--ink);margin:8px 0 24px;text-align:right;overflow-wrap:anywhere}.verse .english{font-size:var(--trans-size);line-height:1.9;margin:0;color:var(--text)}.verse .urdu{font:calc(var(--trans-size) + 5px)/2.3 'Noto Naskh Arabic','Amiri',serif;direction:rtl;text-align:right;margin:15px 0 0;color:var(--text)}.source-label{font-size:9px;color:var(--muted);margin-top:9px}.sajda{color:var(--green);font-size:11px;margin-top:14px}.chapter-bottom{display:flex;justify-content:space-between;gap:10px;padding:25px 0}.chapter-bottom .btn{font-size:12px}.loading{padding:45px;text-align:center;color:var(--muted)}.spinner{width:26px;height:26px;border-radius:50%;border:2px solid var(--line);border-top-color:var(--green);animation:spin .8s linear infinite;margin:0 auto 15px}@keyframes spin{to{transform:rotate(360deg)}}.player{position:fixed;bottom:0;left:242px;right:0;background:var(--paper);border-top:1px solid var(--line);box-shadow:0 -10px 35px #193b2b08;padding:13px 27px calc(13px + env(safe-area-inset-bottom));display:flex;align-items:center;gap:22px;z-index:25}.player-detail{min-width:140px}.player-detail strong{display:block;font-size:12px;color:var(--ink)}.player-detail small{font-size:10px;color:var(--muted)}.play-controls{display:flex;align-items:center;gap:8px}.play-controls .icon-btn{border:0;background:transparent}.play-controls .play-main{background:var(--green);color:white;border-radius:50%;width:42px;height:42px}.seek-wrap{display:flex;align-items:center;gap:10px;flex:1}.seek-wrap span{font-size:10px;color:var(--muted);font-variant-numeric:tabular-nums}input[type=range]{accent-color:var(--green);width:100%;min-height:24px}.player .close-player{margin-left:auto;border:0;background:none}.has-player .main{padding-bottom:140px}.toast{position:fixed;bottom:100px;left:calc(50% + 121px);transform:translateX(-50%);max-width:calc(100vw - 35px);width:max-content;background:var(--green-dark);color:#fff;border-radius:9px;padding:12px 20px;font-size:12px;box-shadow:var(--shadow);z-index:80}.modal{border:1px solid var(--line);border-radius:19px;padding:28px;background:var(--paper);color:var(--text);width:460px;max-width:calc(100vw - 28px);max-height:90dvh;overflow:auto;box-shadow:0 24px 90px #0003}.modal::backdrop{background:#12261bcc;backdrop-filter:blur(3px)}.modal header{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}.modal h2{font-size:22px;letter-spacing:-.7px;margin:0}.modal p{font-size:13px;color:var(--muted)}.setting{padding:17px 0;border-top:1px solid var(--line)}.setting label{display:block;font-weight:600;font-size:12px;margin-bottom:10px}.setting .filter{width:100%;padding:10px}.setting small{font-size:11px;color:var(--muted)}.size-row{display:flex;gap:20px;align-items:center}.size-row output{font-size:12px}.sample{font:33px/2 'Amiri',serif;text-align:center;direction:rtl;color:var(--green);background:var(--soft);border-radius:10px;margin:10px 0 0;padding:8px}.about-links a{color:var(--green);text-decoration:underline}.overlay{display:none}
:root[data-theme=dark]{--bg:#14241e;--paper:#1d3027;--side:#182a22;--ink:#e4edde;--text:#cfdbce;--muted:#a4b5a4;--line:#35463a;--green:#acd0a6;--green-dark:#325c42;--soft:#2b4331;--gold:#d0b275;--shadow:0 12px 36px #0002;color-scheme:dark}:root[data-theme=dark] .btn.primary,:root[data-theme=dark] .play-main{background:#a5cfa0;color:#163323}:root[data-theme=dark] .hero{background:#293e2b;border-color:#456047}:root[data-theme=dark] .hero h1{color:#e0edda}:root[data-theme=dark] .hero h1 em{color:#b8d0a2}:root[data-theme=dark] .hero p,:root[data-theme=dark] .hero .eyebrow{color:#b1c6a3}:root[data-theme=dark] .hero-art .art-text{color:#bad09f}
@media(min-width:1600px){.main{padding-top:45px}.hero{min-height:320px}.surah-card{padding:22px}.surah-card strong{font-size:14px}.surah-card .arabic{font-size:23px}.surah-card .translation{font-size:11px}}
@media(max-width:1200px){.sidebar{width:215px;padding:30px 17px}.app-shell{margin-left:215px}.topbar{padding:0 30px}.main{padding:30px}.player{left:215px}.toast{left:calc(50% + 107px)}.hero{padding:32px 28px}.hero h1{font-size:39px}.hero-art{width:195px;height:195px}.rosette{width:143px;height:143px}.hero-art .art-text{font-size:38px}.surah-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.surah-card{padding:18px}.surah-card .translation{max-width:180px}}
@media(max-width:900px){.sidebar{display:none}.sidebar.open{display:flex;box-shadow:15px 0 60px #0003;width:265px}.sidebar.open+.overlay{display:block;position:fixed;inset:0;background:#10221ba6;z-index:29}.app-shell{margin-left:0}.topbar{height:76px;padding:0 25px;position:relative}.mobile-only{display:inline-flex}.mobile-brand{display:inline-flex;font:800 21px 'Manrope',sans-serif;letter-spacing:-.8px;color:var(--ink)}.breadcrumb{display:none}.topbar-start{display:flex;align-items:center;gap:13px}.top-note{display:none}.main{padding:26px 25px 65px}.player{left:0;padding:12px 20px}.toast{left:50%}.sidebar .brand{margin-top:15px}.hero{min-height:270px;padding:30px 34px}.hero-art{margin-right:22px}.side-caption{margin-top:35px}.side-bottom{padding-bottom:env(safe-area-inset-bottom)}}
@media(max-width:600px){.topbar{padding:0 18px;height:70px}.top-actions{gap:7px}.icon-btn{width:39px;height:39px;border-radius:10px}.topbar .settings-label{display:none}.main{padding:22px 18px 60px}.greeting-row{margin-bottom:15px}.date{display:none}.hero{min-height:283px;padding:27px 24px;align-items:flex-start}.hero h1{font-size:34px;letter-spacing:-1.2px;line-height:1.16;max-width:260px}.hero p{max-width:230px;font-size:11px;margin-bottom:20px}.hero .eyebrow{font-size:8px;letter-spacing:1.6px}.hero-art{position:absolute;width:174px;height:174px;right:-71px;bottom:-38px;margin:0;opacity:.32;pointer-events:none}.hero-art .art-text{display:none}.rosette{width:127px;height:127px}.quick-row{grid-template-columns:1fr;gap:10px;margin:14px 0 28px}.quick{padding:15px 17px}.quick-icon{width:37px;height:37px}.quick strong{font-size:13px}.quick.secondary{display:none}.section-heading h2{font-size:21px}.section-heading p{font-size:11px}.search-line{gap:8px;flex-wrap:wrap}.searchbox kbd{display:none}.searchbox input{font-size:12px}.search-line>.filter{width:105px;font-size:11px;padding:0 7px}.surah-grid{grid-template-columns:1fr;gap:10px}.surah-card{min-height:85px;padding:17px 19px;gap:17px}.surah-card strong{font-size:14px}.surah-card .translation{font-size:11px;max-width:185px}.surah-card .meta{font-size:10px}.surah-card .arabic{font-size:24px;max-width:98px}.footer{flex-direction:column;gap:7px;font-size:10px}.page-title{font-size:28px}.reader-nav{margin-bottom:12px}.reader-nav .filter{max-width:185px;font-size:12px}.reader-heading{padding:17px 10px 20px}.reader-heading .arabic{font-size:36px}.reader-heading h1{font-size:21px}.reader-controls{gap:10px}.control-group label{display:none}.reader-controls .filter{max-width:165px;font-size:11px}.reader-controls .btn{padding:9px 12px;font-size:11px}.verse{padding:20px 19px}.verse .arabic{font-size:min(var(--arabic-size),42px);line-height:2.25;margin-top:10px}.verse .english{font-size:calc(var(--trans-size) - 1px)}.verse .urdu{font-size:calc(var(--trans-size) + 5px)}.chapter-bottom .btn{padding:10px 13px;font-size:11px}.player{display:grid;grid-template-columns:1fr auto auto;gap:5px 10px;padding:10px 16px calc(10px + env(safe-area-inset-bottom))}.player-detail{min-width:0}.player-detail strong{font-size:11px}.player-detail small{font-size:9px}.seek-wrap{grid-row:2;grid-column:1/-1;gap:8px}.play-controls{gap:0}.play-controls .icon-btn{width:34px;height:34px}.play-controls .play-main{width:38px;height:38px}.player .close-player{width:28px}.has-player .main{padding-bottom:150px}.toast{bottom:122px}.bookmark-card{padding:19px}.bookmark-card .arabic{font-size:26px}.modal{padding:23px}.modal h2{font-size:20px}}
@media(max-width:360px){.main{padding-left:13px;padding-right:13px}.hero{padding:24px 19px}.hero h1{font-size:31px}.surah-card{padding:16px 13px;gap:11px}.surah-card .arabic{font-size:21px;max-width:80px}.surah-card .translation{max-width:155px}.topbar{padding:0 13px}.mobile-brand{font-size:19px}.reader-nav .filter{max-width:150px}}
@media(prefers-reduced-motion:reduce){*{animation-duration:.01ms!important;transition:none!important;scroll-behavior:auto!important}}

@media(max-width:600px){.verse-actions button{width:42px;height:42px}.verse-actions{gap:0}.desktop-break{display:none}}
