@font-face{font-family:'Amiri Quran';src:url('../images/amiri-quran.ttf') format('truetype');font-display:swap}
:root{--green:#124b3c;--deep:#0b3f32;--gold:#b69a5a;--ink:#243b32;--muted:#596f60;--line:#e7ebe4;--bg:#f8faf6;--surface:#fff;--soft:#eff5ed;--arabic:32px;--english:16px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px}button,input,select{font:inherit}button,a{ -webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c7a65a;outline-offset:3px}svg{display:block;flex-shrink:0}.app-shell{min-height:100vh}.sidebar{width:224px;position:fixed;top:0;bottom:0;left:0;background:var(--surface);border-right:1px solid var(--line);padding:32px 20px 28px;display:flex;flex-direction:column;z-index:10}.brand{display:flex;align-items:center;gap:11px;padding:0 4px}.brand img{width:42px;height:42px}.brand strong{font-family:Georgia,serif;font-size:23px;letter-spacing:-.9px;color:var(--deep)}.brand small{display:block;font-size:9px;font-weight:600;letter-spacing:1.7px;text-transform:uppercase;color:#a1aa9e;margin-top:2px}.nav-title{font-size:10px;letter-spacing:1.5px;color:#a9b3aa;font-weight:700;margin:47px 12px 13px}.nav{display:grid;gap:5px}.nav a{display:flex;align-items:center;gap:13px;padding:12px 13px;border-radius:8px;color:#728379;font-weight:550}.nav a:hover,.nav a.active{background:#eaf3eb;color:var(--green)}.nav a.active{font-weight:700}.nav a svg{width:18px;height:18px}.side-bottom{margin-top:auto}.side-card{background:#f1f6ee;border-radius:12px;padding:17px 15px;position:relative;overflow:hidden}.side-card .tiny-label{color:#8c9d8d}.side-card strong{font-family:Georgia,serif;display:block;font-size:16px;line-height:1.3;margin:8px 0}.side-card p{font-size:11px;line-height:1.5;color:#85948a;margin:0 0 13px}.side-card a{font-weight:700;font-size:11px;color:var(--green)}.side-footer{font-size:10px;color:#a4afa5;padding:20px 3px 0;line-height:1.6}.main{margin-left:224px;padding-bottom:115px}.topbar{height:84px;border-bottom:1px solid var(--line);background:var(--surface);display:flex;align-items:center;justify-content:space-between;padding:0 50px;gap:24px}.top-greeting strong{font-family:Georgia,serif;font-size:19px;color:#25483a;font-weight:600}.top-greeting span{display:block;font-size:11px;color:#9ca99e;margin-top:5px}.top-actions{display:flex;align-items:center;gap:20px}.top-search{height:42px;background:#f6f8f4;border:1px solid #edf0ea;border-radius:9px;display:flex;align-items:center;gap:10px;padding:0 14px;width:245px;color:#9caaa0}.top-search input{width:100%;border:0;background:transparent;outline:none;font-size:12px;color:var(--ink)}.round-icon{border:1px solid var(--line);background:var(--surface);color:var(--green);width:42px;height:42px;border-radius:50%;display:grid;place-items:center}.avatar{height:38px;width:38px;border-radius:50%;display:grid;place-items:center;background:#e8f2e8;color:var(--green);font-family:Georgia,serif;font-weight:bold}.content{max-width:1500px;margin:auto;padding:32px 50px 45px}.eyebrow,.tiny-label{font-size:10px;letter-spacing:1.5px;text-transform:uppercase;font-weight:750}.hero{min-height:275px;background:#0d4235 url('../images/hero.webp') center 48%/cover;position:relative;overflow:hidden;border-radius:16px;color:#fff;padding:39px 45px;display:flex;align-items:center}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(7,49,38,.98) 0%,rgba(7,49,38,.93) 37%,rgba(7,49,38,.25) 100%)}.hero-content{position:relative;max-width:560px}.hero .eyebrow{color:#d2c18c;display:flex;align-items:center;gap:8px}.hero h1{font-family:Georgia,serif;font-weight:500;letter-spacing:-1.4px;font-size:38px;line-height:1.16;margin:16px 0 12px}.hero p{font-size:13px;line-height:1.8;color:#d2ddd4;max-width:405px;margin:0 0 23px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;border:0;border-radius:7px;padding:12px 17px;font-size:12px;font-weight:700;background:var(--green);color:#fff}.btn:hover{filter:brightness(1.09)}.btn.gold{background:#c5a96a;color:#143c30}.btn.outline{border:1px solid var(--line);background:var(--surface);color:var(--green)}.hero-arabic{position:absolute;right:40px;top:29px;color:#fff;opacity:.67;font-family:serif;font-size:21px}.welcome-line{display:flex;justify-content:space-between;align-items:end;margin:35px 0 17px}.section-title{margin:0;font-family:Georgia,serif;letter-spacing:-.45px;color:var(--ink);font-size:22px;font-weight:600}.section-sub{font-size:12px;color:#99a59b;margin:6px 0 0}.text-link{border:0;background:none;color:var(--green);font-size:12px;font-weight:700;padding:6px 0}.home-grid{display:grid;grid-template-columns:1.25fr 1fr;gap:20px}.panel{background:var(--surface);border:1px solid var(--line);border-radius:12px}.continue-card{padding:22px 23px;display:flex;flex-direction:column;justify-content:space-between;min-height:176px}.panel-header{display:flex;justify-content:space-between;align-items:center}.tag{font-size:10px;font-weight:700;color:var(--green);background:#eff6ef;border-radius:5px;padding:6px 8px}.continue-main{display:flex;align-items:center;gap:14px;margin-top:17px}.medallion{width:48px;height:48px;display:grid;place-items:center;color:var(--green);background:#eff5ed;transform:rotate(45deg);border-radius:9px;flex-shrink:0}.medallion span{transform:rotate(-45deg);font-family:Georgia,serif;font-size:16px}.continue-main h3,.feature-name{margin:0 0 5px;font-family:Georgia,serif;font-size:17px;font-weight:600}.continue-main p{margin:0;color:#9aa79d;font-size:11px}.continue-bottom{display:flex;align-items:center;gap:12px;margin-top:18px}.progress{height:5px;background:#edf1eb;border-radius:8px;overflow:hidden;flex:1}.progress>span{display:block;height:100%;background:#8aab80;border-radius:8px}.percent{font-size:10px;color:#96a498}.daily-card{padding:22px 24px;position:relative;min-height:176px;background:#fafbf6}.daily-top{display:flex;align-items:center;gap:8px;color:#9a8656}.daily-arabic{font-family:'Amiri Quran','Traditional Arabic',serif;font-size:23px;line-height:1.9;text-align:right;direction:rtl;margin:10px 0 4px;color:#1d4938}.daily-text{font-family:Georgia,serif;color:#687b6b;font-size:13px;line-height:1.55;margin:0}.daily-ref{color:#a5946a;font-size:10px;font-weight:700;margin-top:10px}.feature-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.feature{padding:17px 16px;min-width:0;transition:transform .18s,border .18s}.feature:hover,.surah-row:hover{border-color:#b8cdb8;transform:translateY(-2px)}.feature-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.number-badge{width:34px;height:34px;display:grid;place-items:center;background:#f0f5ed;color:#628068;font-size:11px;font-weight:700;border-radius:8px}.arabic-name{font-family:'Amiri Quran','Traditional Arabic',serif;direction:rtl;font-size:21px;color:#285344}.feature-name{font-size:15px}.feature-desc{font-size:11px;color:#a1ada3}.feature-meta{border-top:1px solid var(--line);padding-top:12px;margin-top:14px;font-size:10px;text-transform:uppercase;letter-spacing:.5px;color:#9eab9f}.list-head{display:flex;align-items:center;gap:20px}.list-head .text-link{margin-left:auto}.filter-wrap{position:relative}.filter-wrap input{background:var(--surface);border:1px solid var(--line);padding:10px 14px;border-radius:8px;width:210px;font-size:12px;color:var(--ink)}.surah-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.surah-row{display:flex;align-items:center;gap:14px;padding:13px 16px;transition:.18s}.surah-row .surah-info{flex:1;min-width:0}.surah-info strong{display:block;font-family:Georgia,serif;font-size:15px}.surah-info small{display:block;color:#9aa79d;font-size:11px;margin-top:5px}.surah-row .arabic-name{font-size:20px}.surah-count{color:#9ba79d;font-size:10px;white-space:nowrap}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:24px}.page-heading h1{font:600 29px Georgia,serif;margin:0}.page-heading p{color:var(--muted);font-size:13px;margin:8px 0 0}.reader-hero{background:#104b3c;border-radius:14px;color:white;padding:35px;text-align:center;position:relative;overflow:hidden}.reader-hero:before{content:'۞';position:absolute;left:24px;top:-42px;font-size:200px;color:#fff;opacity:.035}.reader-hero h1{font:500 34px Georgia,serif;margin:0 0 8px}.reader-hero p{color:#c8d8cc;margin:0;font-size:12px}.reader-hero .chapter-ar{font-family:serif;font-size:33px;margin:12px}.reader-tools{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:23px 0}.reader-tools .group{display:flex;gap:8px;align-items:center}.reader-tools select,.control{border:1px solid var(--line);background:var(--surface);color:var(--ink);padding:10px 12px;border-radius:7px}.bismillah{text-align:center;font-family:'Amiri Quran','Traditional Arabic',serif;font-size:27px;color:var(--green);padding:12px 0 28px;direction:rtl}.verse-card{padding:24px 27px;margin-bottom:12px;scroll-margin-top:20px;transition:border .2s,background .2s}.verse-card.playing{border-color:#91b399;background:#f5faf3}.verse-top{display:flex;align-items:center;gap:7px}.verse-ref{background:#eaf3e9;border-radius:6px;color:var(--green);font-weight:700;font-size:11px;padding:7px 10px;margin-right:auto}.icon-btn{border:0;background:transparent;color:#819387;border-radius:7px;padding:8px;display:inline-grid;place-items:center}.icon-btn:hover,.icon-btn.selected{background:#edf5ed;color:var(--green)}.verse-arabic{direction:rtl;text-align:right;line-height:2.3;font-size:var(--arabic);font-family:'Traditional Arabic','Amiri','Noto Naskh Arabic',serif;color:var(--ink);margin:25px 0 22px}.verse-english{font-size:var(--english);line-height:1.8;color:#596f61;margin:0}.verse-credit{font-size:10px;color:#a4afa5;margin-top:13px}.verse-actions{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--line);margin-top:18px;padding-top:15px}.verse-actions button{border:1px solid var(--line);background:var(--surface);border-radius:7px;color:var(--green);padding:8px 10px;font-size:11px;font-weight:600}.verse-details{font-size:12px;line-height:1.7;color:#687b6b;border-top:1px solid var(--line);padding-top:15px;margin-top:15px;white-space:pre-wrap}.reader-nav{display:flex;justify-content:space-between;gap:15px;margin:22px 0}.empty{padding:50px 20px;text-align:center;color:var(--muted)}.search-field{display:flex;gap:12px;align-items:center;padding:14px 17px;margin-bottom:20px}.search-field input{border:0;outline:0;background:transparent;color:var(--ink);font-size:15px;width:100%}.result{padding:20px 22px;margin-bottom:10px}.result h3{font:600 16px Georgia,serif;margin:0;color:var(--green)}.result p{line-height:1.6;color:#6d8072}.result .result-ar{direction:rtl;text-align:right;font:24px/2 serif;color:var(--ink)}.settings-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.settings-card{padding:24px}.settings-card h2{font:600 19px Georgia,serif;margin:0 0 5px}.settings-card>p{font-size:12px;color:var(--muted);margin:0 0 20px}.setting-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border-top:1px solid var(--line);padding:14px 0}.setting-row label{font-size:13px;font-weight:600}.setting-row small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:4px}.setting-row select,.setting-row input[type=number]{max-width:180px;border:1px solid var(--line);border-radius:7px;background:var(--surface);color:var(--ink);padding:8px}.setting-row input[type=range]{width:110px;accent-color:var(--green)}.setting-row input[type=checkbox]{accent-color:var(--green);width:19px;height:19px}.player{position:fixed;bottom:0;left:224px;right:0;z-index:20;background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -5px 24px #123d2e08;padding:13px 50px;min-height:77px;display:flex;align-items:center;gap:23px}.player-info{display:flex;align-items:center;gap:12px;min-width:180px}.player-art{width:41px;height:41px;background:#e8f2e7;border-radius:8px;color:var(--green);display:grid;place-items:center}.player-info strong{display:block;font:600 13px Georgia,serif}.player-info small{display:block;color:#9aa89c;font-size:10px;margin-top:4px}.player-controls{display:flex;align-items:center;gap:7px}.player-controls button{border:0;background:none;color:#708377;padding:7px}.player-controls .play-main{width:38px;height:38px;background:var(--green);color:white;border-radius:50%;display:grid;place-items:center}.seek{display:flex;align-items:center;gap:8px;flex:1;color:#9ba89d;font-size:10px}.seek input{width:100%;accent-color:#789c7a;height:4px}.player select{border:0;background:transparent;color:#60766a;font-size:11px;max-width:145px}.player-extra{display:flex;align-items:center;gap:8px;color:#829387}.player-extra input{width:65px;accent-color:var(--green)}.mobile-nav{display:none}.toast{position:fixed;bottom:100px;right:25px;background:#153f32;color:white;padding:12px 16px;border-radius:8px;z-index:40;font-size:12px;max-width:350px;box-shadow:0 5px 30px #0002}.boot{padding:40px;color:var(--green)}.source-note{font-size:10px;line-height:1.7;color:#a1aca2;margin-top:28px}.source-note a{text-decoration:underline}.goal-box{display:flex;align-items:center;gap:15px}.goal-ring{border:5px solid #dbe9da;border-top-color:#83a782;width:48px;height:48px;border-radius:50%;display:grid;place-items:center;font-size:10px;font-weight:bold}.dark{--green:#a3ccb0;--deep:#d9e9dc;--gold:#cdb375;--ink:#e1ebe2;--muted:#9daf9f;--line:#354c3d;--bg:#122219;--surface:#1c3023;--soft:#263d2c}.dark .nav a.active,.dark .nav a:hover,.dark .tag,.dark .number-badge,.dark .medallion,.dark .player-art,.dark .verse-ref{background:#2b4834;color:#c3dfc6}.dark .side-card,.dark .daily-card,.dark .top-search{background:#243c2b}.dark .daily-arabic,.dark .arabic-name,.dark .top-greeting strong{color:#d7e9d8}.dark .verse-card.playing{background:#25402d}.dark .verse-english,.dark .daily-text{color:#b8c9b9}.dark .hero{color:white}.dark .btn:not(.outline){background:#a8ccb0;color:#173528}.dark .btn.gold{background:#c5a96a}.dark .player-controls .play-main{background:#a8ccb0;color:#173528}
.hero-arabic,.reader-hero .chapter-ar,.result .result-ar{font-family:'Amiri Quran',serif}
/* A quiet, legible designer credit at the end of every page. */
.site-footer{max-width:1500px;margin:0 auto;padding:0 50px 34px}
.credit-box{border:1px solid var(--line);background:var(--surface);border-radius:12px;padding:18px 22px;display:flex;align-items:center;justify-content:center;gap:12px;color:var(--ink);font-family:'Amiri Quran',serif;font-size:19px;line-height:1.5}
.credit-box>span:first-child{color:var(--gold);font-size:15px}.credit-box strong{font-weight:700;color:var(--green)}
#player-speed{width:58px;flex-shrink:0}
.home-mobile-search{display:none}
/* Accessible utility controls and contact links */
.skip-link{position:fixed;z-index:100;top:8px;left:8px;transform:translateY(-160%);background:var(--surface);color:var(--ink);padding:12px 16px;border:2px solid var(--green);border-radius:8px}
.skip-link:focus{transform:translateY(0)}
.whatsapp-float{position:fixed;z-index:19;right:24px;bottom:98px;width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:#128c49;border:2px solid #fff;box-shadow:0 5px 20px #123d2e42;transition:transform .18s ease,box-shadow .18s ease}
.whatsapp-float:hover{transform:translateY(-3px);box-shadow:0 8px 24px #123d2e55}.whatsapp-float img{display:block;width:26px;height:26px}
.footer-contact{display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:0 0 16px;color:var(--muted);font-size:12px}.footer-contact a{color:var(--green);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.toast{bottom:165px;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.toast-action{background:#fff;color:#124b3c;border:0;border-radius:5px;padding:8px 10px;font-weight:700}
/* Improve contrast of secondary interface text. */
.section-sub,.surah-info small,.feature-desc,.feature-meta,.surah-count,.player-info small,.top-greeting span,.continue-main p,.percent,.source-note{color:#607467}
.nav a{color:#586e60}.nav-title,.tiny-label{color:#66796d}.verse-credit,.setting-row small{color:#657a6b}
.dark .section-sub,.dark .surah-info small,.dark .feature-desc,.dark .feature-meta,.dark .player-info small,.dark .top-greeting span,.dark .continue-main p,.dark .percent,.dark .source-note,.dark .setting-row small,.dark .verse-credit{color:#bbcabd}
.dark .nav a{color:#b4c8b9}.dark .nav-title,.dark .tiny-label{color:#b5c7b7}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}
/* Stronger text contrast in secondary labels and player controls. */
.brand small,.side-card .tiny-label,.side-card p,.side-footer,.seek span{color:#586e60}
.tiny-label{color:#5d7163}.number-badge{color:#3f614a}.daily-ref{color:#806829}.daily-text{color:#586f60}
.dark .brand small,.dark .side-card .tiny-label,.dark .side-card p,.dark .side-footer,.dark .seek span,.dark .daily-text{color:#c1d1c3}.dark .daily-ref{color:#dcc591}
.dark .player select{color:#d3e4d6}.dark .player option{background:#1c3023;color:#d3e4d6}
.saved-heading{font-size:19px;margin:24px 0 14px}
