:root{--night:#171832;--night2:#262548;--ink:#24213c;--muted:#77748b;--cream:#fbf8f1;--paper:#fffdf8;--gold:#edbd68;--gold2:#f8d995;--plum:#6f4f78;--mint:#bdd6c8;--line:#ece7dc;--green:#416d5d;--shadow:0 18px 55px #25203c12;--radius:24px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--ink);font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:15px;min-height:100vh}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #d99442;outline-offset:3px}.site-shell{max-width:1120px;margin:0 auto;padding:0 28px 28px}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid #e9e2d6}.brand{display:flex;align-items:center;gap:12px;border:0;background:none;color:inherit;text-align:start;padding:0}.brand-mark{width:46px;height:46px;border-radius:16px;background:var(--night);color:var(--gold);display:grid;place-items:center;position:relative;font-size:27px;box-shadow:0 7px 16px #17183221}.brand-mark i{font-style:normal;position:absolute;font-size:11px;right:7px;top:5px}.brand-copy{display:flex;flex-direction:column;line-height:1.25}.brand-copy b{font-size:19px;font-weight:800;letter-spacing:.1px}.brand-copy small{font-size:10px;color:var(--muted);margin-top:3px}.desktop-nav{display:flex;gap:5px;align-items:center}.nav-item{background:transparent;border:0;color:#77748b;font-size:13px;padding:10px 14px;border-radius:13px;transition:.2s}.nav-item:hover,.nav-item.active{background:#eeeadf;color:var(--night);font-weight:700}.top-actions{display:flex;align-items:center;gap:8px}.icon-btn{height:40px;min-width:40px;padding:0 11px;border:1px solid var(--line);border-radius:13px;background:#fffdfa;color:var(--night);font-size:17px;display:grid;place-items:center}.language-btn{font-size:12px;font-weight:800}.icon-btn:hover{border-color:var(--gold);background:#fff9ec}main{min-height:calc(100vh - 170px);padding:28px 0 30px}.page{animation:appear .22s ease}@keyframes appear{from{opacity:.3;transform:translateY(5px)}to{opacity:1;transform:none}}.page-heading{display:flex;align-items:end;justify-content:space-between;margin:6px 0 20px;gap:16px}.eyebrow{font-size:11px;letter-spacing:1.6px;color:var(--plum);font-weight:800;text-transform:uppercase}.page-heading h1{margin:4px 0 0;font-size:30px;letter-spacing:-.5px;line-height:1.3;color:var(--night)}.page-heading p{margin:4px 0 0;color:var(--muted);font-size:13px}.soft-btn,.primary-btn,.outline-btn{border:0;border-radius:13px;padding:11px 16px;font-weight:700}.soft-btn{background:#f1eadb;color:#51445d}.primary-btn{background:var(--night);color:#fff;box-shadow:0 7px 18px #17183222}.primary-btn:hover{background:#2d2b54}.outline-btn{background:transparent;border:1px solid #d9d1c2;color:var(--night)}.hero{min-height:260px;border-radius:30px;position:relative;overflow:hidden;padding:31px 34px;background:radial-gradient(ellipse at 82% 17%,#624b74 0,transparent 31%),linear-gradient(118deg,#171832 2%,#272445 57%,#473655 100%);color:#fff;box-shadow:0 20px 50px #17183220}.hero:before{content:"";position:absolute;width:210px;height:210px;border:1px solid #e8c9832c;border-radius:50%;right:13%;top:-130px;box-shadow:0 0 0 18px #e8c9830d,0 0 0 39px #e8c9830b}.hero:after{content:"";position:absolute;width:115px;height:115px;border-radius:50%;right:20%;top:32px;background:var(--gold2);box-shadow:0 0 44px #eabd7065}.hero-art{position:absolute;z-index:1;right:21%;top:26px;width:170px;height:205px;pointer-events:none}.star{position:absolute;color:#f3d18a;font-size:14px}.star.s1{top:22px;right:5%}.star.s2{top:82px;right:13%}.star.s3{top:10px;right:42%}.lantern{position:absolute;top:45px;right:54%;width:31px;height:49px;border:2px solid #d6a85e;border-radius:7px 7px 11px 11px;background:linear-gradient(#ffd98c,#cc9042);box-shadow:0 0 22px #f3c56c9c}.lantern:before{content:"";position:absolute;width:10px;height:7px;border:2px solid #d6a85e;border-bottom:0;border-radius:8px 8px 0 0;left:8px;top:-9px}.lantern:after{content:"";position:absolute;left:12px;top:14px;border-left:3px solid transparent;border-right:3px solid transparent;border-bottom:11px solid #fff2c9}.mosque{position:absolute;bottom:0;left:0;right:0;height:60px;background:#13142a;clip-path:polygon(0 33%,9% 33%,9% 0,13% 0,13% 35%,28% 35%,28% 23%,32% 23%,32% 35%,43% 35%,43% 17%,50% 0,57% 17%,57% 35%,73% 35%,73% 4%,77% 4%,77% 35%,89% 35%,89% 0,93% 0,93% 35%,100% 35%,100% 100%,0 100%)}.drummer{position:absolute;z-index:2;right:52%;bottom:23px;font-size:44px;filter:drop-shadow(0 7px 5px #09091a66)}.hero-content{position:relative;z-index:3;max-width:490px}.hero-date{font-size:12px;color:#e0d5e8;display:flex;gap:12px;align-items:center;flex-wrap:wrap}.hero-date .hijri{color:var(--gold2);font-weight:700}.hero-kicker{font-size:11px;letter-spacing:1.6px;color:#d4c7dc;margin:23px 0 3px}.hero h2{margin:0;font-size:32px;line-height:1.25;font-weight:800}.hero-time{font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:16px;color:var(--gold2);margin-top:5px}.countdown{display:flex;gap:8px;margin-top:20px}.time-box{min-width:52px;text-align:center;padding:8px 8px 6px;border:1px solid #ffffff22;background:#ffffff0c;border-radius:13px;backdrop-filter:blur(6px)}.time-box strong{display:block;color:var(--gold2);font-size:20px;line-height:1.1}.time-box span{font-size:9px;color:#dbd4df}.hero-caption{color:#c7bbd0;font-size:11px;margin-top:11px}.hero-buttons{position:absolute;z-index:4;left:30px;bottom:28px;display:flex;gap:8px}.hero-buttons button{height:39px;border-radius:12px;padding:0 13px;border:1px solid #ffffff33;background:#ffffff0c;color:#fff;font-size:12px;display:flex;align-items:center;gap:7px}.hero-buttons button:hover{background:#ffffff20}.sunburst{position:absolute;z-index:0;right:0;bottom:0;width:40%;height:36%;background:linear-gradient(0deg,#11132766,transparent);pointer-events:none}.section-title{font-size:18px;color:var(--night);font-weight:800;margin:28px 0 13px;display:flex;align-items:center;justify-content:space-between;gap:10px}.section-title small{font-weight:500;color:var(--muted);font-size:10px}.prayer-list,.card,.feature-card,.table-card,.dhikr-card,.quran-card{background:var(--paper);border:1px solid #eee9df;border-radius:20px;box-shadow:var(--shadow)}.prayer-list{padding:3px 16px}.prayer-row{min-height:61px;display:grid;grid-template-columns:38px minmax(80px,1fr) auto auto;align-items:center;gap:12px;border-bottom:1px solid #f0ece5}.prayer-row:last-child{border-bottom:0}.prayer-icon{height:34px;width:34px;display:grid;place-items:center;border-radius:11px;background:#f3eee5;color:var(--plum);font-size:16px}.prayer-row.active .prayer-icon{background:var(--night);color:var(--gold)}.prayer-name{font-weight:700;color:var(--night)}.prayer-row.active .prayer-name{color:#635079}.prayer-time{font-weight:700;color:var(--night);font-size:14px;direction:ltr}.prayer-count{font-size:10px;color:var(--muted);text-align:end;min-width:92px}.prayer-row.active .prayer-count{color:var(--plum);font-weight:700}.active-pill{font-size:9px;color:#72546c;background:#f4e9ed;border-radius:99px;padding:4px 8px;white-space:nowrap}.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.feature-card{padding:18px;display:flex;align-items:center;gap:13px;text-align:start;cursor:pointer;color:inherit;transition:.2s}.feature-card:hover{transform:translateY(-2px);border-color:#dec99e}.feature-symbol{width:42px;height:42px;flex:0 0 auto;border-radius:14px;display:grid;place-items:center;background:#f4ecdf;color:var(--plum);font-size:20px}.feature-card strong{display:block;color:var(--night);font-size:13px}.feature-card small{display:block;color:var(--muted);font-size:10px;margin-top:2px}.notice{font-size:11px;color:var(--muted);text-align:center;margin:18px 0 0;line-height:1.7}.two-col{display:grid;grid-template-columns:1.1fr .9fr;gap:18px}.card-pad{padding:20px}.card h3{margin:0 0 12px;color:var(--night);font-size:16px}.location-line{display:flex;justify-content:space-between;align-items:center;gap:10px}.location-line span{font-size:12px;color:var(--muted)}.form-row{display:flex;gap:8px}.compass-card{min-height:310px;display:grid;place-items:center;position:relative;overflow:hidden;background:linear-gradient(145deg,#f8f2e7,#fffdf8)}.compass-wrap{width:236px;height:236px;border-radius:50%;border:1px solid #e5d8c2;background:radial-gradient(circle,#fffdf8 0 49%,#f4eddf 50% 51%,#fffdf8 52%);position:relative;display:grid;place-items:center;box-shadow:0 10px 35px #302a4213}.compass-wrap:before{content:"N";position:absolute;top:10px;left:50%;transform:translateX(-50%);font:700 11px system-ui;color:#756d83}.compass-wrap:after{content:"E             W";white-space:pre;position:absolute;left:22px;right:22px;top:50%;transform:translateY(-50%);display:flex;justify-content:space-between;font:700 9px system-ui;color:#aaa2ae}.compass-tick{position:absolute;inset:14px;border-radius:50%;border:1px dashed #c9bba4}.compass-arrow{position:absolute;width:4px;height:88px;bottom:50%;left:calc(50% - 2px);transform-origin:50% 100%;transform:rotate(var(--bearing,0deg));transition:transform .35s ease}.compass-arrow:before{content:"";position:absolute;left:-9px;top:-8px;border-left:11px solid transparent;border-right:11px solid transparent;border-bottom:83px solid #956475;filter:drop-shadow(0 3px 3px #17183222)}.kaaba{z-index:2;width:46px;height:46px;background:var(--night);color:var(--gold);border:4px solid var(--gold);border-radius:13px;display:grid;place-items:center;font-size:20px;box-shadow:0 7px 18px #17183227}.bearing-number{font-weight:700;font-size:24px;color:var(--night);text-align:center;margin-top:14px;direction:ltr}.bearing-copy{text-align:center;color:var(--muted);font-size:11px;margin-top:2px}.segmented{display:inline-flex;gap:4px;padding:4px;border-radius:13px;background:#f1ede4}.segmented button{border:0;background:transparent;border-radius:10px;padding:8px 12px;color:var(--muted);font-size:12px}.segmented button.active{background:#fff;color:var(--night);font-weight:700;box-shadow:0 2px 5px #211c3510}.table-card{overflow:hidden}.table-scroll{overflow-x:auto}.prayer-table{width:100%;border-collapse:collapse;min-width:520px}.prayer-table th,.prayer-table td{padding:12px 14px;text-align:center;border-bottom:1px solid #f0ece5;white-space:nowrap;font-size:12px}.prayer-table th{background:#f7f2e9;color:#625a70;font-weight:700}.prayer-table td:first-child,.prayer-table th:first-child{text-align:start}.prayer-table tr:last-child td{border-bottom:0}.month-banner{padding:18px 20px;border-radius:19px;background:linear-gradient(110deg,#272445,#594769);color:white;display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:14px}.month-banner strong{font-size:16px}.month-banner small{display:block;color:#ded2e2;font-size:11px;margin-top:3px}.month-banner .moon{font-size:28px;color:var(--gold2)}.toolbar{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 15px}.search{min-width:220px;flex:1;height:43px;border:1px solid var(--line);background:#fffdf8;border-radius:13px;padding:0 14px;color:var(--ink)}.search::placeholder{color:#aaa4b0}.surah-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:66vh;overflow:auto;padding:2px}.surah-item{padding:12px;border:1px solid #eee9df;background:var(--paper);border-radius:15px;display:flex;align-items:center;gap:11px;text-align:start;color:inherit}.surah-item:hover{border-color:#d9c49d;background:#fffaf0}.surah-num{width:30px;height:30px;display:grid;place-items:center;border-radius:10px;background:#f2ebdf;color:#624d68;font-weight:700;font-size:11px;flex:0 0 auto}.surah-meta{flex:1;min-width:0}.surah-meta b{display:block;font-size:13px;color:var(--night)}.surah-meta small{color:var(--muted);font-size:10px}.surah-ar{font-weight:700;font-size:17px;color:#51435d}.quran-reader{max-width:760px;margin:0 auto}.reader-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px}.reader-title{padding:19px;border-radius:19px;text-align:center;background:linear-gradient(115deg,#272445,#554263);color:white;margin-bottom:12px}.reader-title b{font-weight:700;font-size:27px}.reader-title small{display:block;color:#e4d5bf;font-size:11px;margin-top:4px}.ayah-list{display:grid;gap:9px}.ayah{padding:15px 18px;border:1px solid #eee9df;border-radius:17px;background:var(--paper);font:24px/2 serif;text-align:justify;direction:rtl}.ayah-num{display:inline-grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#f2ecdf;color:#725a70;font:11px system-ui;margin:0 7px}.dhikr-tabs{display:flex;gap:8px;margin-bottom:14px}.dhikr-card{padding:19px;margin-bottom:10px}.dhikr-card .arabic{font:24px/2 serif;text-align:justify;color:#332742}.dhikr-card .translation{font-size:12px;line-height:1.8;color:#736d7c;margin-top:8px}.dhikr-source{font:10px system-ui;color:#998e9e;margin-top:8px;direction:ltr;text-align:start}.dhikr-controls{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:12px;padding-top:12px;border-top:1px solid #eee9df}.counter-btn{border:0;width:46px;height:42px;border-radius:13px;background:var(--night);color:var(--gold2);font-weight:700;font-size:16px}.counter-progress{font-weight:700;font-size:12px;color:var(--plum);direction:ltr}.empty{padding:30px;text-align:center;color:var(--muted);background:#fff;border-radius:18px}.site-footer{border-top:1px solid #e9e2d6;padding:16px 3px;color:#9690a0;font-size:10px;display:flex;justify-content:space-between;gap:10px}.mobile-nav{display:none}.modal{border:0;border-radius:22px;padding:0;width:min(92vw,460px);box-shadow:0 24px 80px #14132e55;background:var(--paper);color:var(--ink)}.modal::backdrop{background:#17152bcc;backdrop-filter:blur(3px)}.modal-content{padding:22px}.modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-head h2{margin:0;color:var(--night);font-size:19px}.close-modal{width:35px;height:35px;border-radius:11px;border:0;background:#f0ece5;font-size:20px;color:var(--night)}.modal-content p,.modal-content li{font-size:13px;line-height:1.9;color:#696374}.modal-content ul{padding-inline-start:22px}.modal-content .soft-note{border-radius:13px;background:#f5efe3;padding:11px;color:#675b70;font-size:11px}.setting-row{display:flex;justify-content:space-between;align-items:center;padding:14px 0;border-bottom:1px solid var(--line)}.setting-row:last-child{border-bottom:0}.setting-row small{display:block;color:var(--muted);font-size:10px;margin-top:3px}.switch{width:45px;height:26px;position:relative;appearance:none;border-radius:99px;background:#d4d0d7;transition:.2s}.switch:checked{background:#637e6f}.switch:before{content:"";width:20px;height:20px;position:absolute;left:3px;top:3px;background:white;border-radius:50%;transition:.2s;box-shadow:0 1px 4px #0002}.switch:checked:before{transform:translateX(19px)}.toast{position:fixed;z-index:15;bottom:calc(82px + env(safe-area-inset-bottom));left:50%;transform:translate(-50%,15px);opacity:0;pointer-events:none;background:var(--night);color:white;border-radius:13px;padding:11px 15px;font-size:12px;box-shadow:0 9px 28px #17183230;transition:.22s}.toast.show{opacity:1;transform:translate(-50%,0)}
@media(max-width:880px){.site-shell{padding:0 20px 20px}.desktop-nav{gap:0}.nav-item{padding:9px 10px;font-size:12px}.hero-art{right:24%}.two-col{grid-template-columns:1fr}.feature-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){body{font-size:14px}.site-shell{padding:0 15px calc(92px + env(safe-area-inset-bottom))}.topbar{height:70px;gap:8px}.brand-mark{height:40px;width:40px;border-radius:13px}.brand-copy b{font-size:16px}.brand-copy small{font-size:9px}.desktop-nav{display:none}.top-actions{gap:6px}.icon-btn{height:37px;min-width:37px;padding:0 9px;border-radius:12px}.language-btn{font-size:11px}.top-actions #locationBtn{display:none}main{padding:17px 0 25px;min-height:auto}.page-heading{align-items:center;margin:4px 1px 14px}.page-heading h1{font-size:25px}.page-heading p{font-size:11px}.page-heading .soft-btn{padding:9px 11px;font-size:11px}.hero{min-height:276px;border-radius:24px;padding:23px 21px}.hero:before{right:-6%;top:-148px}.hero:after{width:108px;height:108px;right:19%;top:39px;box-shadow:0 0 32px #eabd7065}.hero-art{right:17%;top:28px;width:154px;height:205px}.drummer{font-size:37px;right:54%;bottom:20px}.hero-content{max-width:78%}.hero-date{font-size:10px;gap:8px}.hero-kicker{font-size:9px;margin-top:22px}.hero h2{font-size:27px}.hero-time{font-size:14px}.time-box{min-width:44px;padding:7px 5px 5px}.time-box strong{font-size:18px}.time-box span{font-size:8px}.countdown{gap:6px;margin-top:17px}.hero-buttons{left:14px;bottom:14px;gap:6px}.hero-buttons button{height:34px;padding:0 10px;font-size:10px}.hero-caption{font-size:9px;margin-top:8px;max-width:200px}.section-title{font-size:16px;margin:23px 0 11px}.section-title small{font-size:9px}.prayer-list{padding:2px 11px;border-radius:18px}.prayer-row{grid-template-columns:34px minmax(58px,1fr) auto;gap:9px;min-height:59px}.prayer-icon{height:31px;width:31px}.prayer-time{font-size:13px}.prayer-count{grid-column:2 / 3;grid-row:2;justify-self:start;min-width:0;text-align:start;font-size:9px;margin-top:-13px}.prayer-name{font-size:12px}.prayer-row{padding:4px 0}.active-pill{display:none}.feature-grid{grid-template-columns:1fr;gap:8px}.feature-card{padding:13px 15px;border-radius:17px}.feature-symbol{height:38px;width:38px}.feature-card strong{font-size:12px}.feature-card small{font-size:9px}.notice{font-size:10px}.site-footer{font-size:9px;line-height:1.6;padding:13px 2px 0;margin-top:4px}.site-footer span:first-child{max-width:75%}.mobile-nav{display:flex;position:fixed;z-index:10;bottom:0;left:0;right:0;padding:8px 6px calc(8px + env(safe-area-inset-bottom));background:#fffdf8ef;backdrop-filter:blur(15px);border-top:1px solid #e9e2d6;justify-content:space-around}.mobile-nav .nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:1;padding:6px 3px;font-size:9px;border-radius:12px}.mobile-nav .nav-icon{font-size:17px;line-height:1}.mobile-nav .nav-label{white-space:nowrap}.surah-list{grid-template-columns:1fr;max-height:62vh}.surah-item{padding:10px 12px}.ayah{font-size:22px;line-height:1.9;padding:12px 14px}.dhikr-card{padding:15px}.dhikr-card .arabic{font-size:22px}.toolbar .search{min-width:100%;height:42px}.compass-wrap{width:212px;height:212px}.compass-card{min-height:275px}.form-row{flex-wrap:wrap}.modal-content{padding:18px}.modal-content p,.modal-content li{font-size:12px}}
@media(min-width:651px) and (max-width:880px){.hero-content{max-width:65%}.hero-art{right:25%}}

/* Approved Mesaharati identity: indigo nights, lantern gold and warm cream. */
:root{--night:#201b48;--night2:#30255b;--plum:#79508e;--gold:#f3b64e;--gold2:#ffdb91;--cream:#fcf7ed;--paper:#fffdf8;--line:#eee1ce}
body{background:radial-gradient(ellipse at 8% 0,#f6dfb64d,transparent 36%),var(--cream)}
.brand-mark{background:linear-gradient(140deg,#43306d,#211b48);color:#ffd68a;border:1px solid #d8ac62}
.brand-copy b{color:var(--night)}
.topbar{border-bottom-color:#eadcc5}
.nav-item.active{background:#eee5f4;color:#51326f}
.hero{isolation:isolate;min-height:470px;padding:36px 38px 90px;background:#211c49;border:1px solid #e9bd713d;box-shadow:0 20px 48px #28164126}
.hero:before,.hero:after{display:none}
.ramadan-scene{position:absolute;inset:0;z-index:0;width:100%;height:100%;object-fit:cover;object-position:center 43%;pointer-events:none}
.hero-shade{position:absolute;inset:0;z-index:1;background:linear-gradient(90deg,transparent 30%,#20194160 49%,#201941dc 70%,#201941f2 100%);pointer-events:none}
.hero-content{max-width:none;width:45%;margin-left:auto;margin-right:0;position:relative;z-index:2}
.hero-welcome{font-size:34px;font-weight:850;line-height:1.4;color:#ffe3ac;letter-spacing:-.7px;text-shadow:0 2px 20px #190d38}
.hero-welcome span{font-size:14px;color:#f7b74d;vertical-align:middle}
.hero-tagline{margin:0 0 22px;font-size:12px;color:#f2d9b2}
.hero-date{font-size:11px;color:#eee4f7;gap:6px 12px;line-height:1.8}
.hero-kicker{margin-top:20px;color:#e9d9ef;font-size:10px}
.hero h2{font-size:34px;margin-top:3px}
.hero-time{color:#ffdc97;font-size:18px}
.countdown{margin-top:16px}
.time-box{background:#251b51aa;border-color:#e4bd765c;min-width:60px;border-radius:14px;padding:10px 8px}
.time-box strong{color:#ffe0a2;font-size:25px}
.time-box span{color:#f1e2ed;font-size:10px}
.hero-caption{color:#e7d7e9;font-size:11px}
.hero-buttons{left:auto;right:38px;bottom:28px;width:calc(45% - 34px);justify-content:flex-start;z-index:3}
.hero-buttons button{background:#36244ad9;border-color:#ddb5765e;color:#fff3df;white-space:nowrap}
.prayer-row{position:relative;grid-template-columns:38px minmax(80px,1fr) auto minmax(92px,auto) auto}
.prayer-row.active{background:#fcf0d9;border-radius:14px;border-color:transparent;margin-inline:-7px;padding-inline:7px}
.prayer-row.active .prayer-icon{background:#52316f;color:#ffdb91}
.prayer-row.active .prayer-name{color:#5b3673}
.active-pill{background:#f0dfbf;color:#6a4424}
.feature-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.feature-card{border-color:#eadcc8;background:linear-gradient(130deg,#fffdf8,#fff8ed)}
.feature-symbol{background:#eee4f3;color:#68417c;border:1px solid #e2d2ec}
.month-banner,.reader-title{background:linear-gradient(110deg,#261e50,#65407e);border:1px solid #d9ac6155}
.mobile-nav .nav-item.active{background:#eee3f4;color:#593571}
@media(min-width:651px) and (max-width:1000px){.topbar{gap:12px}.desktop-nav .nav-item{padding:9px 7px}.brand-copy small{max-width:140px}.hero{padding-inline:28px}.hero-content{width:48%}.hero-welcome{font-size:28px}.hero-buttons{right:28px;width:calc(48% - 22px)}}
@media(max-width:650px){
 .site-shell{padding-inline:14px}.topbar{gap:6px}.brand{gap:7px}.brand-copy b{font-size:16px;white-space:nowrap}.brand-copy small{font-size:8px}.brand-mark{width:36px;height:39px;flex-shrink:0}.top-actions{gap:4px}.icon-btn{min-width:33px;height:35px;padding-inline:7px}
 .hero{padding:248px 22px 22px;min-height:0;border-radius:24px;display:flex;flex-direction:column}
 .ramadan-scene{height:260px;object-position:center 42%;width:100%}
 .hero-shade{background:linear-gradient(180deg,transparent 175px,#211c49 260px);inset:0 0 auto;height:270px}
 .hero-content{width:100%;max-width:none;margin:0}
 .hero-welcome{font-size:29px;line-height:1.3}.hero-tagline{margin:2px 0 15px;font-size:11px}
 .hero-date{font-size:10px;gap:4px 12px}.hero-kicker{margin-top:14px;font-size:10px}.hero h2{font-size:29px}.hero-time{font-size:16px}
 .countdown{margin-top:13px;gap:8px}.time-box{min-width:58px;padding:9px 8px}.time-box strong{font-size:23px}.time-box span{font-size:9px}
 .hero-buttons{position:relative;bottom:auto;left:auto;right:auto;width:100%;margin-top:17px;flex-wrap:wrap;gap:8px}.hero-buttons button{height:36px;font-size:11px;padding-inline:12px}
 .hero-caption{font-size:10px;margin-top:9px}
 .prayer-row{grid-template-columns:34px minmax(58px,1fr) auto;grid-template-rows:auto auto;min-height:62px}.prayer-row .prayer-icon,.prayer-row .prayer-time{grid-row:1/3}.prayer-row .prayer-name{grid-column:2;grid-row:1}.prayer-row .prayer-count{grid-column:2;grid-row:2;margin-top:-5px}.prayer-row .prayer-time{grid-column:3}.prayer-row.active{margin-inline:-5px;padding-inline:5px}
 .section-title{align-items:start;flex-wrap:wrap;gap:3px 8px}.feature-grid{grid-template-columns:1fr}.site-footer span:first-child{max-width:68%}
}
@media(max-width:360px){.brand-copy b{font-size:14px}.brand-copy small{font-size:7px}.brand-mark{width:30px}.hero{padding-inline:18px}.hero-welcome{font-size:26px}.icon-btn{min-width:30px;padding-inline:5px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.page{animation:none}.feature-card{transition:none}}

/* Compact banner and readable supporting text — November 2026. */
.hero{min-height:390px;padding-top:26px;padding-bottom:78px}
.hero-tagline{font-size:14px;margin-bottom:14px}
.hero-date{font-size:13px}.hero-kicker{font-size:13px;margin-top:14px}
.hero-caption{font-size:13px}.time-box span{font-size:12px}
.hero-buttons button{font-size:14px;height:42px}
.section-title small{font-size:12px}.feature-card strong{font-size:15px}.feature-card small{font-size:12px;line-height:1.6}
.prayer-name{font-size:16px}.prayer-time{font-size:16px}.prayer-count{font-size:12px}
.notice,.site-footer{font-size:12px}
@media(max-width:650px){
 .hero{padding:19px 17px 16px;min-height:0;gap:0}
 .ramadan-scene{height:244px;object-fit:cover;object-position:center center}
 .hero-shade{height:265px;background:linear-gradient(180deg,transparent 145px,#211c49 244px),linear-gradient(90deg,transparent 22%,#211c4970 40%,#211c49ed 63%,#211c49f2 100%)}
 .hero-content{display:grid;grid-template-columns:36% minmax(0,64%);column-gap:0;row-gap:0;width:100%;direction:ltr}
 .hero-content>*{grid-column:2;direction:rtl;text-align:right}
 html[lang="en"] .hero-content>*{direction:ltr;text-align:left}
 .hero-welcome{font-size:24px;line-height:1.4;letter-spacing:-.5px}.hero-welcome span{display:none}
 .hero-tagline{font-size:12px;line-height:1.5;margin:0 0 8px}
 .hero-date{font-size:12px;line-height:1.65;gap:0;display:flex;flex-direction:column;align-items:flex-start;margin:0 0 8px}
 .hero-kicker{font-size:13px;margin:0 0 1px}
 .hero h2{font-size:29px;line-height:1.2;margin:0}
 .hero-time{font-size:17px;margin-top:3px}
 .hero-content .countdown{grid-column:1/-1;display:flex;justify-content:center;margin:16px 0 0;gap:8px;direction:rtl}
 html[lang="en"] .hero-content .countdown{direction:ltr}
 .time-box{min-width:66px;padding:7px 10px;border-radius:12px;background:#251c4de8}
 .time-box strong{font-size:25px;line-height:1.15}.time-box span{font-size:12px}
 .hero-content .hero-caption{grid-column:1/-1;text-align:center;font-size:12px;line-height:1.4;margin:7px 0 0;max-width:none}
 .hero-buttons{width:100%;margin-top:12px;gap:8px;flex-wrap:nowrap;justify-content:center}
 .hero-buttons button{font-size:13px;height:40px;padding:0 11px;justify-content:center;flex:1}
 .prayer-name{font-size:15px}.prayer-time{font-size:15px}.prayer-count{font-size:12px;line-height:1.5}.prayer-row{min-height:69px}
 .section-title{font-size:19px}.section-title small{font-size:12px;line-height:1.5}
 .feature-card strong{font-size:15px}.feature-card small{font-size:12px}.feature-card{padding:15px}
 .notice,.site-footer{font-size:12px}.mobile-nav .nav-item{font-size:12px}.mobile-nav .nav-icon{font-size:20px}
 .brand-copy small{font-size:10px}.surah-meta b{font-size:15px}.surah-meta small{font-size:12px}
 .page-heading p{font-size:13px}.modal-content p,.modal-content li{font-size:14px}
}
@media(max-width:360px){
 .hero{padding-inline:14px}.hero-content{grid-template-columns:32% minmax(0,68%)}.hero-welcome{font-size:22px}.hero-date{font-size:11px}.hero-buttons button{font-size:12px;padding-inline:7px}.time-box{min-width:61px}.brand-copy small{font-size:8px}
}

/* Short banner: single-line dates, prayer information and countdown only. */
.hero{min-height:300px;padding:22px 30px}
.hero-welcome{font-size:30px;line-height:1.3}
.hero-date{flex-direction:row;flex-wrap:nowrap;align-items:center;gap:9px;white-space:nowrap;margin:8px 0 16px;font-size:13px}
.hero-date>span{white-space:nowrap;flex-shrink:0}
.hero-kicker{margin:0 0 3px;font-size:13px}
.hero h2{font-size:30px;line-height:1.2;margin:0}
.hero-time{margin-top:2px;font-size:18px}
.hero .countdown{margin-top:12px}
.hero .hero-caption{margin-top:8px}
@media(max-width:650px){
 .hero{padding:16px;min-height:0;border-radius:22px}
 .ramadan-scene{height:100%;width:100%;object-fit:cover;object-position:18% center}
 .hero-shade{inset:0;height:100%;background:linear-gradient(180deg,#211c49b3 0,#211c4900 25%,#211c4900 65%,#211c4999 100%),linear-gradient(90deg,transparent 18%,#211c4966 36%,#211c49ed 59%,#211c49f5 100%)}
 .hero-content{grid-template-columns:42% minmax(0,58%);row-gap:0}
 .hero-content .hero-welcome{grid-column:1/-1;font-size:25px;line-height:1.35;margin:0;direction:rtl;text-align:right}
 html[lang="en"] .hero-content .hero-welcome{text-align:right;font-size:24px}
 .hero-content .hero-date{grid-column:1/-1;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;justify-content:flex-start;gap:7px;white-space:nowrap;font-size:12px;line-height:1.6;margin:5px 0 13px}
 html[lang="en"] .hero-content .hero-date{justify-content:flex-end;font-size:11px}
 .hero-prayer{grid-column:2;min-width:0}
 .hero-kicker{font-size:13px;margin:0 0 3px}
 .hero h2{font-size:30px;line-height:1.15;margin:0}
 .hero-time{font-size:17px;margin-top:2px}
 .hero-content .countdown{grid-column:2;justify-content:flex-start;margin:10px 0 0;gap:5px;min-width:0}
 html[lang="en"] .hero-content .countdown{justify-content:flex-start}
 .hero .time-box{min-width:0;flex:1;padding:7px 3px 5px;border-radius:10px;backdrop-filter:blur(3px)}
 .hero .time-box strong{font-size:23px}.hero .time-box span{font-size:11px}
 .hero-content .hero-caption{grid-column:2;font-size:12px;line-height:1.5;text-align:right;margin-top:5px;overflow-wrap:anywhere}
 html[lang="en"] .hero-content .hero-caption{text-align:left}
}
@media(max-width:360px){
 .hero{padding:14px}.hero-content{grid-template-columns:38% minmax(0,62%)}
 .hero-content .hero-welcome{font-size:23px}.hero-content .hero-date{font-size:11px;gap:5px}
 html[lang="en"] .hero-content .hero-date{font-size:10px}
 .hero .time-box strong{font-size:22px}.hero .time-box span{font-size:10px}
}

/* Show a real install action only while the browser can open its native prompt. */
[hidden]{display:none!important}
.install-row{display:flex;justify-content:flex-end;padding-top:14px}
.install-button{background:#211c49;color:#ffdb91;border:1px solid #ad895b;border-radius:12px;padding:10px 16px;font-size:14px;font-weight:700;min-height:44px;box-shadow:0 5px 16px #211c4914}
.install-button:hover{background:#39265b}.install-button:disabled{opacity:.6;cursor:wait}
@media(max-width:650px){.install-row{padding-top:11px}.install-button{font-size:14px;width:100%}}

/* Start with the banner and keep navigation and secondary actions below it. */
main{padding:8px 0 14px;min-height:0}
.site-shell{padding-bottom:calc(88px + env(safe-area-inset-bottom))}
.section-title{margin:17px 0 9px;font-size:18px}
.prayer-list{padding:2px 12px}
.prayer-row{min-height:53px;gap:9px}
.feature-grid{gap:8px}
.feature-card{padding:13px;gap:9px;border-radius:16px}
.feature-card small{line-height:1.4}
.notice{margin-top:10px}
.page-heading{margin:2px 0 12px}.card-pad{padding:16px}
.dhikr-card{padding:15px;margin-bottom:8px}.dhikr-controls{margin-top:8px;padding-top:8px}
.footer-actions{display:flex;gap:8px;justify-content:center;margin:12px 0}
.footer-actions button{font-size:13px;padding:8px 12px;min-height:40px}
.install-row{padding-top:0;justify-content:center}
.mobile-nav{display:flex;position:fixed;z-index:10;bottom:0;left:0;right:0;padding:7px max(8px,calc((100vw - 800px)/2)) calc(7px + env(safe-area-inset-bottom));background:#fffdf8f2;backdrop-filter:blur(15px);border-top:1px solid #e9e2d6;justify-content:space-around}
.mobile-nav .nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:1;padding:6px 3px;font-size:12px;border-radius:12px}
.mobile-nav .nav-icon{font-size:20px;line-height:1.1}.mobile-nav .nav-label{white-space:nowrap}
@media(max-width:650px){
 .site-shell{padding-inline:10px}main{padding:5px 0 9px}
 .hero{border-radius:19px;padding:14px}
 .section-title{margin:14px 0 7px;font-size:17px;gap:2px 8px}
 .section-title small{font-size:11px;line-height:1.35}
 .prayer-list{padding:2px 10px;border-radius:16px}
 .prayer-row{min-height:54px;gap:7px;padding:3px 0;grid-template-columns:29px minmax(58px,1fr) auto}
 .prayer-row .prayer-count{margin-top:-2px;line-height:1.3;font-size:11px}
 .prayer-icon{width:27px;height:27px;border-radius:9px;font-size:15px}
 .prayer-name,.prayer-time{font-size:15px}
 .feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 .feature-card{padding:11px 9px;gap:7px;min-height:62px;border-radius:14px}
 .feature-symbol{width:27px;height:30px;border-radius:9px;font-size:18px}
 .feature-card strong{font-size:14px;line-height:1.4}.feature-card small{display:none}
 .notice{font-size:11px;line-height:1.5;margin-top:9px}
 .page-heading{margin:2px 0 10px}.page-heading h1{font-size:23px}
 .card-pad{padding:14px}.toolbar{margin-bottom:10px}
 .surah-item{padding:9px 10px}.dhikr-card{padding:12px;margin-bottom:7px}
 .dhikr-controls{padding-top:7px;margin-top:7px}
 .mobile-nav{padding-top:5px}.mobile-nav .nav-item{padding-block:5px}
 .site-footer{font-size:11px;padding-top:10px}
}

/* The arrow receives continuous shortest-path angles from the sensor filter. */
.compass-arrow{transition:transform .12s linear}
@media(prefers-reduced-motion:reduce){.compass-arrow{transition:none}}

.reminder-card{padding:15px;margin:10px 0}.reminder-card h2{font-size:17px;margin:0 0 6px}.reminder-card p{font-size:12px;line-height:1.7;color:var(--muted);margin:7px 0}.reminder-actions{display:flex;gap:8px;flex-wrap:wrap}.reminder-actions button{font-size:13px;min-height:42px}.reminder-actions button:disabled{opacity:.65;cursor:wait}

/* One continuous scene: people on the left, readable UI on the right. */
.ramadan-scene{inset:0;width:100%;height:100%;object-fit:cover;object-position:left 30%;}
.hero-shade{inset:0;height:100%;background:linear-gradient(90deg,transparent 42%,#211c4920 57%,#211c4955 100%);}
@media(max-width:650px){
 .ramadan-scene{inset:0;width:100%;height:100%;object-fit:cover;object-position:left center;}
 .hero-shade{inset:0;height:100%;background:linear-gradient(90deg,transparent 40%,#211c4933 54%,#211c4980 100%);}
}
@media(max-width:360px){.hero-content{grid-template-columns:46% minmax(0,54%);}}

.location-needed{text-align:center;padding:18px 12px;line-height:1.7}.location-allow{width:100%;min-height:50px}.location-privacy{font-size:12px;color:var(--muted);line-height:1.7}.manual-location{margin-top:22px}.manual-location summary{cursor:pointer;color:var(--muted);font-size:13px}.manual-location .form-row{margin-block:12px;display:flex;flex-wrap:wrap}.manual-location label{flex:1;min-width:120px}.manual-location input{width:100%;min-width:0;margin-top:5px}.install-instructions{font-size:17px;line-height:1.9}.install-row{margin-top:18px;padding-bottom:8px}.install-button{width:100%;max-width:440px;min-height:48px}#locationStatus{line-height:1.7} [hidden]{display:none!important}

/* Quran reading position and explicit bookmark controls. */
.quran-resume-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:10px;margin-bottom:14px}.reading-card{text-align:start;border:1px solid #dbc99f;border-radius:16px;background:#fff8e9;color:var(--night);padding:15px;display:flex;flex-direction:column;gap:7px;line-height:1.6}.reading-card strong{font-size:18px}.reading-card span{font-size:14px}.reading-card small{color:var(--muted)}.bookmark-card{background:#f2eaf7;border-color:#d8c3e3}.reading-note{font-size:13px;color:var(--muted);line-height:1.8}.reading-position{position:sticky;top:0;z-index:5;background:#fffdf8f5;border:1px solid var(--line);backdrop-filter:blur(12px);border-radius:12px;padding:9px 12px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;color:var(--night);font-weight:700}.quran-jump{display:flex;gap:6px;align-items:center;font-size:13px}.quran-jump input{width:68px;min-height:42px;border:1px solid var(--line);border-radius:9px;background:#fff;text-align:center;font:inherit}.quran-jump button{min-height:42px;padding:7px 12px}.ayah{scroll-margin-top:110px}.ayah-tools{font:13px/1.5 system-ui,-apple-system,'Segoe UI',sans-serif;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin-bottom:8px;color:var(--muted);direction:inherit}.ayah-bookmark{border:1px solid #d9caaa;border-radius:10px;background:#fff8e9;color:var(--night);font:600 13px/1.4 system-ui,-apple-system,'Segoe UI',sans-serif;min-height:44px;padding:8px 12px}.ayah-bookmark[aria-pressed="true"]{background:#51326f;color:#fff;border-color:#51326f}.is-bookmarked{border-inline-start:4px solid #91662d;background:#fff8e9}.reading-target{outline:2px solid #d6ac5b;outline-offset:-2px}.ayah-text{font:inherit;text-align:right}.quran-reader .reader-head{gap:8px;flex-wrap:wrap}.quran-reader .reader-head>div{display:flex;gap:5px}.quran-reader .icon-btn:disabled{opacity:.4;cursor:default}
@media(max-width:650px){.reading-position{font-size:14px;padding:8px}.quran-jump{width:100%;justify-content:space-between}.ayah{scroll-margin-top:125px}.ayah-tools{font-size:12px}.ayah-bookmark{font-size:12px;padding:7px 9px}.reading-note{font-size:12px}}

.ramadan-conditional{display:block;font-size:11px;color:var(--muted);white-space:normal;line-height:1.5;margin-top:3px}.month-banner small{line-height:1.7}

/* On-device zakat calculators. */
.zakat-page{max-width:800px;margin-inline:auto}.zakat-switch{display:flex;gap:9px;margin-bottom:14px}.zakat-switch button{flex:1;min-height:48px}.zakat-card h2{font-size:22px;margin:0 0 18px}.zakat-field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;font-size:15px;font-weight:650}.zakat-field input,.zakat-field select{width:100%;min-width:0;min-height:48px;border:1px solid #d9d1c2;border-radius:12px;background:#fffdfa;color:var(--ink);padding:10px 12px;font:inherit}.zakat-field input{direction:ltr;text-align:start;font-size:18px}.zakat-field small{font-size:13px;font-weight:400;line-height:1.7;color:var(--muted)}.zakat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.zakat-help{padding:12px;background:#f7f0e4;border-radius:12px;margin:0 0 18px}.zakat-help summary,.zakat-sources summary{cursor:pointer;line-height:1.7;font-weight:700}.zakat-help p,.zakat-help-text,.zakat-sources p{font-size:14px;line-height:1.8}.zakat-help .zakat-field{margin-bottom:0}.zakat-calculate{width:100%;min-height:50px;font-size:17px}.zakat-result{padding:20px 16px;border-radius:16px;background:#f3ead6;border:1px solid #d5b77e;margin-top:18px;line-height:1.8}.zakat-result h2{font-size:18px;margin:0 0 10px}.zakat-total{display:block;font-size:clamp(26px,5vw,40px);line-height:1.6;overflow-wrap:anywhere;color:var(--night)}.zakat-result p{font-size:14px;margin:8px 0 0}.zakat-result.is-conditional{background:#fff4d8}.zakat-error{background:#fff0ed;color:#8b2720;border:1px solid #e9beb9;border-radius:12px;padding:14px;font-size:15px;line-height:1.7}.zakat-privacy{color:var(--muted);font-size:13px;line-height:1.8}.zakat-sources{margin:18px 0;padding:14px;border:1px solid var(--line);border-radius:12px}.mobile-nav .nav-item{min-width:0;padding-inline:1px}
@media(max-width:650px){.zakat-grid{grid-template-columns:1fr;gap:0}.zakat-card{padding:16px}.zakat-page .page-heading h1{font-size:25px}.mobile-nav .nav-label{font-size:11px}}

/* Consistent expressive vector icons, crisp on every screen. */
.ui-icon{display:block;flex-shrink:0;pointer-events:none;overflow:visible}.mobile-nav .nav-icon{display:grid;place-items:center;width:28px;height:28px}.mobile-nav .nav-icon .ui-icon{width:27px;height:27px}.mobile-nav .nav-item.active .ui-icon{stroke-width:2}.feature-symbol .ui-icon{width:26px;height:26px}.mobile-nav .nav-item{gap:4px}.mobile-nav .nav-icon{line-height:1}
@media(max-width:650px){.feature-symbol .ui-icon{width:24px;height:24px}.mobile-nav .nav-icon .ui-icon{width:26px;height:26px}}

.prayer-summary{border-radius:19px;padding:clamp(10px,1.8dvh,18px);background:#302852;color:#fff3d4}
.summary-top{text-align:center}.summary-top .hero-welcome{font-size:22px;line-height:1.2;text-align:center}
.summary-top .hero-date{display:flex;justify-content:center;align-items:center;flex-flow:row wrap;gap:0 6px;margin:3px 0 8px;font-size:12px;line-height:1.4}
.summary-body{display:grid;direction:ltr;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;align-items:center}
.summary-details{text-align:center;min-width:0}html[dir=rtl] .summary-details{direction:rtl}
.summary-details h2{font-size:clamp(22px,6vw,30px);line-height:1.15;margin:2px 0}
.summary-details .hero-kicker{font-size:11px;margin:0}.summary-details .hero-time{font-size:15px;margin:0}
.summary-details .countdown{justify-content:center;gap:4px;margin:7px 0 0}
.summary-details .time-box{flex:1;min-width:0;max-width:56px;padding:4px 1px;border-radius:8px}
.summary-details .time-box strong{font-size:20px}.summary-details .time-box span{font-size:10px}
.home-clock{display:grid;justify-items:center;gap:5px;container-type:inline-size}
.clock-display{display:grid;place-items:center;width:100%;height:clamp(100px,19dvh,170px)}
.clock-face{height:100%;max-width:100%;width:auto}
.digital-clock{text-align:center;font-variant-numeric:tabular-nums;color:#ffdfa8;font-family:system-ui,sans-serif;line-height:1}
.digital-clock span{font-size:clamp(32px,13vw,88px);font-size:min(34cqw,96px);font-weight:700;letter-spacing:-.06em}
.digital-clock small{display:block;font-size:13px;margin-top:5px;letter-spacing:.06em}
.clock-controls{display:flex;gap:2px;border:1px solid #756784;border-radius:16px;padding:2px}
.clock-controls button{font:inherit;font-size:11px;background:transparent;border:0;color:#fff3df;border-radius:12px;padding:3px 9px}
.clock-controls button[aria-pressed=true]{background:#ffdfa8;color:#302852}
.support-area{text-align:center;padding:12px}.support-button{display:inline-flex;align-items:center;gap:8px}.support-area p{margin:7px 0;font-size:13px}
.mobile-nav .nav-item{flex:1 1 0}.mobile-nav .nav-label{font-size:clamp(9px,2.65vw,11px)}
@media(max-width:720px){
.prayer-summary + .section-title{margin:9px 0 5px}
.prayer-row{min-height:clamp(39px,6.7dvh,54px);row-gap:0;padding-block:3px}
.prayer-row .prayer-count{margin:0;font-size:11px}
}
@media(max-height:660px) and (orientation:portrait){
.clock-display{height:clamp(94px,18dvh,116px)}.prayer-summary{padding:8px 12px}
.summary-top .hero-date{margin-bottom:4px}
}
.summary-top .prayer-city{display:inline-flex;align-items:center;gap:4px;max-width:100%;font:inherit;font-size:12px;color:#ffdfa8;background:transparent;border:none;padding:2px 5px;cursor:pointer}
.pref-card{padding:16px}.pref-row,.pref-link{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px 4px;min-height:46px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);font:inherit}
.pref-link{width:100%;text-align:start}.pref-row input,.pref-row select{accent-color:#67467c}.pref-row input{appearance:none;position:relative;width:42px;height:24px;border-radius:15px;background:#a09ba5}.pref-row input:checked{background:#745183}.pref-row input:before{content:'';position:absolute;inset:3px auto 3px 3px;width:18px;border-radius:50%;background:white}.pref-row input:checked:before{left:21px}.pref-row select{max-width:60%;padding:7px}.mode-button{background:none;border:0;text-align:start;color:inherit}.mode-button small{display:block;color:var(--muted)}.dhikr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.dhikr-grid button{min-height:92px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:14px;font-weight:650}.dhikr-grid span{display:block;font-size:26px;margin-bottom:5px}@media(min-width:650px){.dhikr-grid{grid-template-columns:repeat(3,1fr)}}
html.night-mode{color-scheme:dark;--cream:#191822;--paper:#25232f;--ink:#f1edf4;--muted:#c0bac7;--line:#423e4b;--plum:#cdb5df}
.night-mode body,.night-mode .site-shell,.night-mode .page{background:#191822;color:#f1edf4}
.night-mode :is(.card,.feature-card,.prayer-list,.table-card,.modal,.dhikr-card,.surah-item,.reading-card,.outline-btn,.mobile-nav,.search,.table-scroll,.reader-menu,.pref-row select){background:#25232f;color:#f1edf4;border-color:#423e4b}
.night-mode :is(.prayer-row.active,.nav-item.active,.bookmark-card){background:#43334f;color:#ffe3a8}
.night-mode :is(.prayer-name,.prayer-time,.surah-ar,.arabic,.prayer-row.active .prayer-name,.feature-card strong,.nav-label,.section-title,.support-area p){color:#f3edf5}
.night-mode .mushaf-sheet{background:#1b1a20;color:#f0e7d7}.night-mode .mushaf-sheet :is(header,footer){color:#dcc9a6;border-color:#504737}.night-mode .mushaf-heading,.night-mode .mushaf-ink .marked{fill:#f0cd94}
#dhikrSearch{margin-bottom:12px}.dhikr-grid [hidden]{display:none}
.mushaf-sheet{position:fixed;inset:0;z-index:20;background:#fffaf0;color:#272016;display:flex;flex-flow:column;align-items:stretch;user-select:none;touch-action:pan-y;padding:env(safe-area-inset-top) 8px env(safe-area-inset-bottom)}
body:has(.mushaf-sheet){overflow:hidden}.mushaf-sheet header,.mushaf-sheet footer{display:flex;align-items:center;justify-content:space-between;padding:10px 12px;gap:12px;color:#60523d}.mushaf-sheet header{border-bottom:1px solid #cebfa6}.mushaf-sheet footer{direction:ltr;border-top:1px solid #cebfa6}.mushaf-sheet footer button{font:inherit;background:transparent;color:inherit;border:0;min-width:42px;min-height:34px}.mushaf-sheet footer button[data-turn]{font-size:26px}
.paper-area{flex:1;min-height:0;display:grid;place-items:center}.mushaf-ink{width:100%;height:100%;font:23px serif;fill:currentColor}.mushaf-heading{font-size:22px;fill:#765435;font-weight:bold}.mushaf-ink .marked{fill:#924d00;text-decoration:underline}.reader-menu{position:absolute;inset:auto 16px 62px;text-align:center}
.mushaf-sheet{padding-inline:3px}.mushaf-sheet .paper-area{container-type:size;overflow:hidden;touch-action:none}.paper-area svg{display:block;max-width:100%;max-height:100%;touch-action:none}.night-mode .paper-area image{filter:invert(1)}.mushaf-sheet header,.mushaf-sheet footer{padding-block:4px}.prayer-choice span{color:var(--muted)}
@font-face{font-family:IslamiHafs;src:url('assets/hafs.woff2') format('woff2');font-weight:400;font-style:normal}
.quran-text-page{font-family:IslamiHafs,serif;font-size:26px;fill:currentColor}
.quran-text-page .surah-heading{fill:var(--ink);font-size:24px}
.quran-text-page .verse-ring{fill:none;stroke:currentColor;stroke-width:.7}
.quran-text-page .verse-hit{fill:transparent}
.quran-text-page .verse-marked .verse-hit{fill:#d9a539;fill-opacity:.24}
.mushaf-sheet .reader-index{font:inherit;font-weight:600;color:inherit;background:transparent;border:1px solid currentColor;border-radius:8px;padding:4px 9px;min-height:40px;cursor:pointer}

/* Keep the entire panorama visible on narrow screens and extend the dusk sky above it. */
.prayer-summary {
  position: relative;
  isolation: isolate;
  background-color: #28334e;
  background-image: linear-gradient(155deg, #19263f, #42425c);
}
.prayer-summary::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0;
  border-radius: inherit;
  background-image: linear-gradient(180deg, rgba(23,27,48,.30), rgba(23,24,43,.55)), url("assets/header-twilight.webp");
  background-position: center bottom;
  background-size: cover, 100% auto;
  background-repeat: no-repeat;
  mask-image: linear-gradient(to top, black max(0px, calc(33.33vw - 52px)), transparent calc(33.33vw - 10px));
}
.prayer-summary :is(.summary-top, .summary-details) {
  text-shadow: 0 1px 3px #211b32;
}
#flutterHome{display:block;width:100%;height:850px;border:0;background:#091831}
body:has(#flutterHome){background:#0a1832;color:#fff2d8}
body:has(#flutterHome) .site-shell{padding-top:0}
body:has(#flutterHome) #app{padding:0;max-width:720px;margin:auto}
body:has(#flutterHome) :is(.reminder-card,.support-area,.site-footer){color:var(--ink);background:var(--paper)}
#mobileNav{background:linear-gradient(170deg,#13294b,#05132c 80%);border-top:1px solid #c8a465;box-shadow:0 -3px 18px #07152b55}
#mobileNav .nav-item{color:#f1ddb1;border:1px solid transparent}
#mobileNav .nav-item.active{background:linear-gradient(155deg,#75522b,#302234);border-color:#dfb875;color:#fff2c5}
#mobileNav .nav-icon{color:#e9bf72}
@media(max-width:650px){body:has(#flutterHome) .site-shell{padding-inline:4px}}
body:has(#flutterHome) :is(.reminder-card,.support-area,.site-footer){background:#10213c;color:#f4e7cc;border-color:#817050}

/* Shared surfaces and readable controls for the dashboard and its destinations. */
:root,html.night-mode{--cream:#0a1932;--paper:#132a46;--ink:#fff2d9;--muted:#d7d6dc;--line:#796951;--plum:#ebc789;--green:#a9ddcb;--surface2:#203854;--accent:#f7d18c;--night:#091831}
html.night-mode{--cream:#070f20;--paper:#101d32;--surface2:#192941}
body,html.night-mode body{background:linear-gradient(150deg,var(--cream) 14%,var(--paper) 66%,#332741) fixed;color:var(--ink)}
html.night-mode :is(.site-shell,.page){background:transparent}
body .page>h1,body .section-title,.page-heading h1,.modal h2{color:var(--accent)}
body :is(.card,.table-card,.modal,.dhikr-card,.prayer-list,.feature-card,.surah-item,.reading-card,.reading-position,.reader-menu,.empty,.table-scroll){background:var(--paper);color:var(--ink);border-color:var(--line)}
body :is(.prayer-name,.prayer-time,.surah-ar,.dhikr-card .arabic,.feature-card strong,.bearing-number,.zakat-total,.reading-card strong,.modal-content strong,.pref-link){color:var(--ink)}
body :is(.dhikr-source,.dhikr-card .translation,.reminder-card p,.modal-content p,.modal-content li,.reading-note,.zakat-help-text,.zakat-privacy,.support-area p,.site-footer,.notice,.prayer-count,.bearing-copy){color:var(--muted)}
body :is(.outline-btn,.soft-btn,.icon-btn,.mode-button,.counter-btn,.close-modal,.search,.quran-jump input,.zakat-field input,.zakat-field select,.pref-row select,.manual-location input,.reader-index,.ayah-bookmark){background:var(--surface2);color:var(--ink);border:1px solid var(--line)}
body :is(.primary-btn,.install-button),body .segmented button.active{background:linear-gradient(135deg,#ffe0a0,#e5b76b);color:#251a0d;border-color:#ffdaa0}
body :is(.prayer-icon,.feature-symbol,.surah-num,.modal-content .soft-note,.zakat-help,.prayer-table th,.segmented,.prayer-table tr.today,.active-pill,.bookmark-card){background:var(--surface2);color:var(--accent)}
body :is(.segmented button,.prayer-choice span,.location-privacy){color:var(--muted)}
body :is(.prayer-row.active,.zakat-result,.zakat-result.is-conditional,.surah-item:hover){background:#44354a;color:var(--ink);border-color:#ad8c59}
body .prayer-row.active :is(.prayer-name,.prayer-time,.prayer-count){color:#ffdfa0}
body .compass-wrap{border:2px solid #d6b77b;background:radial-gradient(circle,#193650 0 48%,#a98958 49% 50%,#10273e 51%);box-shadow:0 0 0 5px #10203a}
body .compass-wrap:before,body .compass-wrap:after{color:#ffdfa0}
body .prayer-summary{background-image:linear-gradient(90deg,#09183159,#091831db),url('assets/header-twilight.webp');background-size:cover;background-position:center;border:1px solid #a88c5c}
body .prayer-summary :is(.hero-date,.hero-kicker,.hero-time,.hijri,.hero-welcome){color:#fff1d1}
body :is(.site-footer,.support-area){color:var(--muted)}
#app[data-section="quran"]{--section-art:url("assets/home-art/quran.webp")}
#app[data-section="qibla"]{--section-art:url("assets/home-art/qibla.webp")}
#app[data-section="adhkar"]{--section-art:url("assets/home-art/adhkar.webp")}
#app[data-section="settings"]{--section-art:url("assets/home-art/settings.webp")}
#app[data-section="store"]{--section-art:url("assets/home-art/store.webp")}
#app[data-section="zakat"]{--section-art:url("assets/home-art/zakat.webp")}
#app[data-section="prayers"]{--section-art:url("assets/home-art/prayers.webp")}
#app[data-section="ramadan"]{--section-art:url("assets/header-twilight.webp")}
#app :is(.page-heading,.page>h1),#app>h1{position:relative;isolation:isolate;overflow:hidden;margin-block:10px 14px;padding:12px 16px;padding-inline-end:max(20%,60px);border:1px solid #ab8d5c;border-radius:16px;background:#122740;color:#ffe4a7}
#app :is(.page-heading,.page>h1)::before,#app>h1::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,transparent,#122740 36%),var(--section-art);background-size:100% 100%,36% auto;background-repeat:no-repeat;background-position:left center}
[dir=ltr] #app :is(.page-heading,.page>h1)::before,[dir=ltr] #app>h1::before{background-image:linear-gradient(270deg,transparent,#122740 36%),var(--section-art);background-position:right center}
body :is(.card h3,.surah-meta b,.modal-head h2,.page-heading h1){color:var(--accent)}
body .dhikr-grid button{background:linear-gradient(145deg,#214947,#152b43);border:1px solid #ad905e;border-radius:16px;color:var(--ink)}
body .dhikr-grid button:nth-child(3n+1){background:linear-gradient(145deg,#523751,#17243e)}
body .dhikr-grid button:nth-child(3n){background:linear-gradient(145deg,#254468,#16243c)}
body .compass-arrow{filter:drop-shadow(0 0 2px #e9c27d)}
body .mushaf-sheet .surah-heading{fill:currentColor}
body .mushaf-sheet .reader-index{color:inherit;background:transparent}
body .prayer-summary::before{content:none}
body .prayer-summary .time-box{background:#10213cdd;border-color:#9d8057}
body .prayer-summary .clock-controls button{color:#f9e6bf;background:#172d49;border-color:#ab8d60}
body .prayer-summary .clock-controls button[aria-pressed=true]{color:#231a10;background:#edc986}

#app[data-section="ramadan"] :is(.page>h1,.page-heading)::before{inset-inline-start:auto;width:44%;background:var(--section-art) left center/cover no-repeat;mask-image:linear-gradient(to right,black 50%,transparent)}
[dir=ltr] #app[data-section="ramadan"] :is(.page>h1,.page-heading)::before{mask-image:linear-gradient(to left,black 50%,transparent)}
#app:is([data-section="prayers"],[data-section="ramadan"]) .page>h1{min-height:64px;display:flex;align-items:center;padding-inline-end:43%;line-height:1.25}
.ramadan-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px;margin-bottom:12px}
.ramadan-tools p{flex:1 1 150px;margin:0;color:var(--muted)}
.ramadan-tools button{white-space:nowrap}

.modal-content p.verse-tafsir{font-size:1.1rem;line-height:1.95;text-align:start;color:var(--ink)}

.app-download{max-width:560px;margin:16px auto 22px;padding:16px;text-align:center;background:linear-gradient(120deg,#102440,#26233f);border:1px solid #a78754;border-radius:16px;color:#fff1d3}
.app-download h2{margin:0 0 12px;font-size:1.15rem;color:#f3d495}
.store-badges{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}
.store-badge:disabled{display:flex;align-items:center;justify-content:center;gap:10px;background:#0b192f;color:#f6e6c8;border:1px solid #9e865e;border-radius:11px;padding:9px 14px;flex:1 1 130px;max-width:210px;text-align:start;cursor:default;opacity:1}
.store-badge svg{width:26px;height:26px;fill:currentColor}.store-badge strong,.store-badge small{display:block}.store-badge small{color:#deceb0;margin-top:2px}
