@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Amiri:wght@400;700&display=swap');
:root{font-family:'DM Sans',system-ui,sans-serif;color:#183d31;background:#f9f5ee;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:#156248}.app{max-width:480px;margin:0 auto;min-height:100dvh;background:#fcfaf6;padding:0 20px 95px;position:relative;box-shadow:0 0 50px #294b3620}.top{position:sticky;top:0;z-index:5;padding:19px 0 16px;background:#fcfaf6ee;backdrop-filter:blur(14px);display:flex;align-items:center;justify-content:space-between}.brand{display:flex;align-items:center;gap:10px;font-size:26px;color:#174f3c;font-family:Georgia,serif}.brand img{width:38px;height:38px;border-radius:12px;object-fit:cover}.iconbtn{display:grid;place-items:center;border:0;background:#f2eee6;color:#195c45;border-radius:13px;width:40px;height:40px}.eyebrow{font-size:12px;color:#637a6d}.city{display:flex;align-items:center;gap:6px;font-weight:600;font-size:13px}.headmeta{display:flex;justify-content:space-between;align-items:center;margin:2px 0 18px;gap:12px}.headmeta button{background:transparent;border:0;font-size:12px;color:#6d766b}.hero{background:linear-gradient(145deg,#174b39,#0c684a);color:#fff;border-radius:25px;padding:24px;box-shadow:0 12px 26px #14563e1f;position:relative;overflow:hidden}.hero:after{content:'✧';position:absolute;right:-5px;top:-42px;font-size:165px;color:#ffffff10}.hero p{margin:0 0 8px;color:#daede2;font-size:13px}.hero h1{font-family:Georgia,serif;font-weight:500;font-size:35px;margin:0 0 8px}.herotime{font-size:26px;font-weight:600}.herofoot{border-top:1px solid #ffffff45;margin-top:17px;padding-top:14px;display:flex;align-items:center;justify-content:space-between;font-size:13px}.herofoot strong{font-size:21px}.sectiontitle{font-size:19px;font-weight:700;margin:28px 0 13px;display:flex;align-items:center;justify-content:space-between}.card{background:#fff;border:1px solid #eee9df;border-radius:20px;padding:14px;box-shadow:0 5px 20px #283e2c08}.prayer{display:flex;align-items:center;justify-content:space-between;padding:12px 13px;border-radius:12px;border-bottom:1px solid #f4f0e9}.prayer:last-child{border-bottom:0}.prayer.active{background:#e7f0e8;color:#115a40;font-weight:700}.prayer span:first-child{display:flex;gap:12px;align-items:center}.prayer b{font-size:15px}.muted{font-size:12px;color:#7a8b7e}.tiles{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:12px 0}.tile{background:white;border:1px solid #ebe4da;border-radius:17px;padding:19px 5px;display:grid;place-items:center;gap:9px;color:#19523d}.tile svg{width:25px;height:25px}.tile small{font-size:12px}.nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,480px);padding:11px 8px max(12px,env(safe-area-inset-bottom));background:#fffefaee;backdrop-filter:blur(15px);display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid #eae5dc;z-index:20}.nav button{background:none;border:0;display:grid;place-items:center;gap:5px;color:#829084;padding:3px 0}.nav button.on{color:#086245}.nav svg{width:22px;height:22px}.nav small{font-size:10px}.page-title{font-family:Georgia,serif;font-size:30px;margin:16px 0 7px}.sub{color:#687f71;font-size:13px;line-height:1.6;margin:0 0 20px}.tabs{display:flex;gap:7px;background:#f1ece3;padding:5px;border-radius:15px;margin:12px 0 20px}.tabs button{flex:1;border:0;background:transparent;color:#546c5d;border-radius:11px;padding:11px;font-size:13px}.tabs button.selected{background:#175b44;color:white}.row{display:flex;align-items:center;gap:10px}.between{justify-content:space-between}.outline{border:1px solid #dbd8ce;background:white;color:#205844;padding:12px 15px;border-radius:13px}.primary{border:0;background:#145e43;color:white;padding:14px 18px;border-radius:14px;font-weight:600}.full{width:100%}.notice{background:#f2eee5;color:#6d634e;border-radius:14px;padding:13px 15px;font-size:12px;line-height:1.5;margin:14px 0}.notice.warning{background:#fff0d9;color:#805021;border:1px solid #ecd6a9}.search{width:100%;padding:14px;border-radius:14px;border:1px solid #ece7db;background:white;margin:0 0 14px;outline-color:#17664b}.item{display:flex;align-items:center;gap:12px;padding:15px 10px;border-bottom:1px solid #f2eee8;cursor:pointer}.item strong{font-size:14px}.item small{display:block;font-size:11px;color:#819084;margin-top:4px}.circle{width:33px;height:33px;background:#f4ede1;color:#205b43;display:grid;place-items:center;border-radius:50%;flex-shrink:0}.spacer{flex:1}.arabic{font-family:'Amiri','Noto Naskh Arabic',serif;direction:rtl;text-align:right;font-size:32px;line-height:2.2;color:#183d31}.verse{border-bottom:1px solid #eee9df;padding:18px 2px}.verse:last-child{border:0}.verse p{margin:10px 0}.fr{line-height:1.7;font-size:14px;color:#5f7067}.pill{border:1px solid #dfe8de;background:#edf5ed;color:#1a6349;border-radius:999px;padding:8px 13px;font-size:12px}.toggleline{display:flex;justify-content:space-between;align-items:center;padding:12px 0;border-bottom:1px solid #eae5de}.toggleline input{accent-color:#145e43;width:18px;height:18px}.compass{width:min(83vw,310px);height:min(83vw,310px);margin:28px auto;position:relative;border:5px solid #e5e2d9;box-shadow:inset 0 0 0 2px #c9d6c7;border-radius:50%;background:radial-gradient(circle,#fff 0%,#f7f5ec 100%)}.compass .needle{position:absolute;inset:0;display:grid;place-items:center;transition:transform .2s}.compass .needle svg{width:130px;height:130px;filter:drop-shadow(0 4px 7px #122f2233)}.compass .n{position:absolute;top:12px;left:50%;transform:translateX(-50%)}.compass .s{position:absolute;bottom:12px;left:50%;transform:translateX(-50%)}.compass .e{position:absolute;right:15px;top:50%}.compass .w{position:absolute;left:15px;top:50%}.bigdegree{text-align:center;font-size:30px;font-weight:700}.categories{display:grid;grid-template-columns:1fr 1fr;gap:12px}.category{min-height:99px;background:#f0f3ec;border:1px solid #e6eadd;border-radius:18px;padding:16px;display:flex;flex-direction:column;justify-content:space-between;font-weight:600;font-size:13px;color:#245c46}.calendar{display:grid;grid-template-columns:repeat(7,1fr);gap:4px}.day{aspect-ratio:1;display:grid;place-items:center;border:0;border-radius:11px;background:#f5f2e9;color:#355844}.day.sel{background:#145d44;color:white}.monthgrid{overflow:auto;border:1px solid #ece5da;border-radius:14px}.monthgrid table{width:100%;font-size:11px;border-collapse:collapse;min-width:360px}.monthgrid th,.monthgrid td{padding:10px 5px;border-bottom:1px solid #efece4;text-align:center}.monthgrid th{background:#f2f2e9}.welcome{min-height:calc(100dvh - 125px);display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;gap:17px}.welcome img{width:140px;height:140px;object-fit:cover;border-radius:28px}.welcome h1{font:normal 56px Georgia,serif;margin:0;color:#15553e}.welcome p{color:#67796d;max-width:280px;line-height:1.8}.welcome .primary{margin-top:25px;width:85%}.source{font-size:11px;color:#8b9084;line-height:1.6}.badge{font-size:11px;color:#216048;background:#e8f0e7;border-radius:30px;padding:6px 10px}.ramadan{margin-top:15px;background:#f0eadb;border-radius:17px;padding:15px;color:#31513b}.install{position:fixed;bottom:82px;left:50%;transform:translateX(-50%);width:min(92%,440px);z-index:25;background:#eff5e9;border:1px solid #bcd4c1;border-radius:17px;padding:13px;box-shadow:0 15px 30px #152e232c;font-size:13px}.install button{margin-top:10px}.tiny{font-size:11px;color:#859187}.center{text-align:center}.mt{margin-top:18px}@media(min-width:650px){.app{min-height:100vh}.nav{border-radius:18px 18px 0 0}} 

/* Nour V2 */
.brand img{object-fit:contain;background:#f8f4eb}
@media (max-width:360px){.nav small{font-size:10px}.app{padding-left:14px;padding-right:14px}}

/* Invocations Nour V2 */
.dua-head{display:flex;gap:8px;margin:8px 0 16px;flex-wrap:wrap}.pill.chosen,.category.cat-on{background:#155a43;color:#fff}.category{border:0;text-align:left;cursor:pointer}.category small{font-size:10px;font-weight:400;opacity:.75}.dua-list-item{width:100%;display:flex;align-items:center;justify-content:space-between;gap:10px;background:transparent;border:0;border-bottom:1px solid #efebe3;padding:17px 5px;text-align:left;color:#204535}.dua-list-item:last-child{border-bottom:0}.dua-list-item strong{font-size:14px;display:block}.dua-list-item small{display:block;color:#788b7c;font-size:11px;margin-top:6px}.dua-content{padding:20px}.dua-content .arabic{overflow-wrap:anywhere;line-height:2.3;margin:24px 0}.dua-fr,.dua-phon{white-space:pre-line;overflow-wrap:anywhere}.dua-ref{border-top:1px solid #e8e7e0;margin-top:20px;padding-top:16px;font-size:13px;color:#466351}.dua-ref p{line-height:1.6}.dua-ref .tiny{display:block;line-height:1.5}


/* Bibliothèque des invocations — Nour V2 */
.dua-intro{background:#15523e;color:#fff;border-radius:27px;padding:30px 25px 26px;margin:8px 0 26px;position:relative;overflow:hidden}.dua-intro:after{content:'۞';font:150px Georgia,serif;color:#fff1;position:absolute;right:-28px;bottom:-55px;pointer-events:none}.dua-intro-label,.dua-overline{font-size:10px;font-weight:700;letter-spacing:.15em;color:#cadfd3}.dua-intro h1{font:normal 39px Georgia,serif;margin:14px 0 9px}.dua-intro p{font-size:14px;line-height:1.7;color:#e0eee6;max-width:250px}.dua-intro-count{font-size:11px;border-top:1px solid #ffffff30;display:block;padding-top:14px;margin-top:25px;color:#e0eee6}.dua-section-title{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:22px 0 15px}.dua-section-title h2{font-size:18px;margin:0}.dua-textlink{border:0;background:none;color:#26664f;font-size:12px;display:flex;align-items:center;gap:5px}.dua-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.dua-category-tile{min-height:180px;padding:17px;border-radius:20px;display:flex;flex-direction:column;text-align:left;align-items:stretch;border:1px solid #e7e5dd;cursor:pointer;transition:transform .16s,border-color .16s}.dua-category-tile:active,.dua-entry:active{transform:scale(.985)}.dua-category-tile.sage,.dua-category-hero.sage{background:#e8efe8;color:#245b46}.dua-category-tile.dusk,.dua-category-hero.dusk{background:#f0e9df;color:#67533b}.dua-category-tile.night,.dua-category-hero.night{background:#e7eae6;color:#314e45}.dua-category-tile.sand,.dua-category-hero.sand{background:#f5eee2;color:#5d513e}.dua-tile-top{display:flex;justify-content:space-between}.dua-tile-icon{width:40px;height:40px;border:1px solid currentColor;border-radius:13px;display:grid;place-items:center;opacity:.85}.dua-tile-number{font:14px Georgia,serif;opacity:.4}.dua-tile-ar{font:20px Amiri,serif;direction:rtl;text-align:left;margin:15px 0 8px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;opacity:.72}.dua-category-tile strong{font-size:19px;font-weight:600}.dua-category-tile small{margin-top:5px;font-size:11px;opacity:.75}.dua-intro-foot{font-size:11px;line-height:1.8;color:#859389;margin:22px 0}.dua-backrow{margin:10px 0 20px}.dua-back{display:flex;align-items:center;gap:7px;background:transparent;border:0;color:#286047;padding:7px 0;font-weight:600;font-size:13px}.dua-category-hero{padding:23px 22px;border-radius:24px;position:relative;min-height:175px;overflow:hidden}.dua-hero-icon{float:right;opacity:.5}.dua-hero-caption{letter-spacing:.17em;font-size:10px;font-weight:700;margin:5px 0 12px;opacity:.7}.dua-category-hero h1{font:normal 35px Georgia,serif;margin:0 0 5px}.dua-category-hero p:not(.dua-hero-caption){font-size:12px;margin:0;opacity:.83}.dua-hero-ar{font:27px Amiri,serif;position:absolute;bottom:14px;right:22px;opacity:.35}.dua-section-meta{font-size:11px;color:#8a948b}.dua-search{margin:0 0 10px;background:#fff}.dua-cards{display:flex;flex-direction:column;gap:10px}.dua-entry{display:flex;align-items:center;gap:12px;width:100%;padding:17px 15px;border:1px solid #eee9e0;background:white;border-radius:16px;text-align:left;color:#234a3a;box-shadow:0 3px 13px #233e2b06}.dua-entry-num{font:18px Georgia,serif;color:#a1b4a7;align-self:flex-start}.dua-entry-copy{min-width:0;flex:1}.dua-entry-copy strong{font-size:13px;display:block;line-height:1.5}.dua-entry-copy small{font-family:Amiri,serif;font-size:14px;color:#8b9b8d;direction:rtl;text-align:left;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:5px}.dua-entry-copy em{display:inline-block;font-style:normal;font-size:10px;background:#eaf2e9;color:#276449;padding:4px 8px;border-radius:50px;margin-top:9px}.dua-entry-arrow{color:#7b9a84}.dua-empty{color:#718277;font-size:14px;padding:20px}.dua-detail-heading{margin:10px 0 20px}.dua-detail-heading .dua-overline{color:#72947e}.dua-detail-heading h1{font:normal 29px/1.25 Georgia,serif;color:#173e2f;margin:12px 0 17px}.dua-fav-btn{display:inline-flex;align-items:center;gap:8px;border:1px solid #dce5dc;color:#235940;background:white;border-radius:100px;padding:10px 14px;font-size:12px}.dua-fav-btn.is-fav{background:#e7f0e8}.dua-reading{border:1px solid #eee9df;background:#fff;border-radius:23px;padding:22px 21px;margin:18px 0 12px}.dua-reading-label{display:flex;align-items:center;justify-content:space-between;color:#899888;letter-spacing:.13em;font-size:10px;font-weight:700}.dua-reading-label span:last-child{font-family:Amiri,serif;font-size:17px;letter-spacing:0}.dua-reading-ar{direction:rtl;text-align:right;white-space:pre-line;overflow-wrap:anywhere;color:#1a4d3a;font:normal 29px/2.1 Amiri,'Noto Naskh Arabic',serif;margin:20px 0 8px}.dua-display-controls{display:flex;gap:9px;margin:14px 0 15px}.dua-display-toggle{display:flex;align-items:center;gap:7px;flex:1;background:#f1f1e9;border-radius:13px;padding:11px 9px;font-size:11px;color:#365b43;cursor:pointer}.dua-display-toggle input{accent-color:#195b42;width:15px;height:15px}.dua-translation{background:white;border:1px solid #eee9df;border-radius:18px;margin:12px 0;padding:20px}.dua-content-label,.dua-source>span{font-weight:700;font-size:10px;letter-spacing:.15em;color:#7b9885}.dua-translation p{white-space:pre-line;color:#3c594c;font-size:14px;line-height:1.9;margin:12px 0 0}.dua-translation.phon p{font-style:italic}.dua-repeat{display:flex;gap:10px;align-items:center;background:#e8efe9;color:#285a40;padding:14px;border-radius:14px;font-size:13px;margin:13px 0}.dua-note{font-size:12px;color:#6d795d;background:#f6f1e6;padding:14px;border-radius:13px;line-height:1.7}.dua-source{margin-top:23px;padding-top:17px;border-top:1px solid #e9e6dd}.dua-source p{font-size:13px;color:#4c6253;line-height:1.7}.dua-source-foot{color:#9c9c8b;font-size:10px;line-height:1.6;margin-top:22px}

.offline-tag{display:flex;align-items:center;gap:8px;color:#1d624b;background:#e7efe6;border:1px solid #d1e2d5;border-radius:14px;padding:12px 14px;font-size:13px;font-weight:650;margin:10px 0 18px}.quran-footnote{font-size:13px;line-height:1.7;color:#58635b;background:#f7f6f0;padding:10px 12px;border-radius:10px}.quran-footnote summary{cursor:pointer;font-weight:600}.quran-footnote p{white-space:pre-wrap}

/* Nour V2 — quatre évolutions, identité ivoire/vert préservée */
.eyebrow{font-size:10px;font-weight:750;letter-spacing:.17em;color:#8a9d8d}
.allah-home-card{width:100%;display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:6px;position:relative;padding:21px 23px;margin:17px 0;border-radius:22px;border:1px solid #d7e4d7;background:linear-gradient(110deg,#e9f0e5,#f7f2e5);color:#194d38;cursor:pointer;overflow:hidden}
.allah-home-card:after{content:'۞';font:150px Georgia,serif;position:absolute;right:-20px;top:-50px;opacity:.06;pointer-events:none}.allah-home-label{font-size:10px;letter-spacing:.16em;font-weight:700;color:#5a8069}.allah-home-ar{font:36px/1.6 Amiri,'Noto Naskh Arabic',serif;align-self:center;z-index:1}.allah-home-detail{display:flex;gap:6px;align-items:center;font-size:13px;font-weight:650;z-index:1}.allah-home-detail svg{margin-left:auto}
.quran-header{margin:12px 0 21px}.quran-header h1,.cal-heading h1,.names-header h1{font:normal 37px/1.25 Georgia,serif;color:#164b38;margin:8px 0}.quran-header p,.cal-heading p,.names-header p{color:#7a897c;font-size:13px;line-height:1.6}.quran-tabbar{display:flex;border:1px solid #e5e1d6;border-radius:14px;padding:5px;background:#f4f0e8;margin-bottom:17px}.quran-tabbar button{flex:1;background:transparent;border:0;border-radius:10px;padding:12px 5px;color:#657c68;font-size:13px;font-weight:650}.quran-tabbar button.active{background:#16573f;color:#fff;box-shadow:0 3px 9px #19453322}.quran-resume{display:flex;width:100%;align-items:flex-start;flex-direction:column;gap:5px;border:1px solid #d4e2d6;background:#eaf1e8;border-radius:16px;padding:14px 16px;color:#194f39;margin-bottom:16px;text-align:left}.quran-resume span,.quran-resume strong{display:flex;align-items:center;gap:7px}.quran-resume span{font-size:11px;opacity:.8}.quran-resume strong{font-size:13px}.quran-cards,.names-list{overflow:hidden;border:1px solid #ece6dc;border-radius:19px;background:#fff}.quran-list-row,.name-row{display:flex;gap:12px;align-items:center;text-align:left;background:#fff;border:0;border-bottom:1px solid #f1eee8;padding:14px;width:100%;min-height:70px;color:#224e3c;cursor:pointer}.quran-list-row:last-child,.name-row:last-child{border-bottom:0}.quran-list-row:active,.name-row:active{background:#f3f5ed}.quran-number,.name-num{width:36px;height:36px;flex-shrink:0;border:1px solid #dfd4b8;border-radius:12px;display:grid;place-items:center;background:#faf6ed;color:#987c47;font:15px Georgia,serif}.quran-row-main,.name-titles{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}.quran-row-main strong,.name-titles strong{font-size:14px}.quran-row-main small,.name-titles small{font-size:11px;color:#7e8f82;line-height:1.4}.quran-row-ar,.name-ar{font:22px Amiri,'Noto Naskh Arabic',serif;white-space:nowrap}.quran-empty{color:#687a6b;font-size:13px;padding:18px;line-height:1.8}
.quran-reader{--reading-bg:#faf8f0;--reading-fg:#183f31;--reading-sub:#688171;--reading-border:#e8e4d9;--reading-card:#fffefa;position:relative;background:var(--reading-bg);color:var(--reading-fg);border-radius:22px;padding:14px 12px 24px;margin:-4px -4px 0;min-height:55vh;transition:background .15s,color .15s}.quran-reader.night{--reading-bg:#10291f;--reading-fg:#f1e9cf;--reading-sub:#bfd2c4;--reading-border:#2e4a3b;--reading-card:#18382b}.reader-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.reader-title{text-align:center;display:flex;flex-direction:column;gap:5px}.reader-title strong{font:19px Georgia,serif}.reader-title small{font-size:11px;color:var(--reading-sub)}.reader-control{width:36px;height:36px;display:grid;place-items:center;color:var(--reading-fg);border:1px solid var(--reading-border);border-radius:12px;background:transparent;cursor:pointer;flex-shrink:0}.reader-control.saved{background:#e3d4a466}.reader-tools{display:flex;flex-wrap:wrap;align-items:center;gap:7px;border-bottom:1px solid var(--reading-border);padding:17px 0}.reader-tools label{display:flex;align-items:center;gap:6px;font-size:12px;margin-right:auto}.reader-tools input{accent-color:#317959}.reader-tools button{border:1px solid var(--reading-border);color:var(--reading-fg);border-radius:10px;background:transparent;padding:9px;display:flex;align-items:center;gap:3px;font-size:12px}.reader-banner{text-align:center;padding:24px 10px 12px}.reader-banner-ornament{display:block;color:#bea77a;font-size:33px}.reader-banner div{font:32px Amiri,'Noto Naskh Arabic',serif;line-height:1.8}.reader-banner small{font-size:12px;color:var(--reading-sub)}.reader-verse{padding:19px 7px 22px;border-bottom:1px solid var(--reading-border);scroll-margin-top:12px}.reader-verse-top{display:flex;justify-content:space-between;align-items:center;color:var(--reading-sub);font-size:12px}.reader-verse .arabic{color:var(--reading-fg);font-family:Amiri,'Noto Naskh Arabic',serif;line-height:2.1;text-align:right;margin:19px 0 18px;overflow-wrap:anywhere}.reader-verse .fr{color:var(--reading-fg);line-height:1.85;font-size:14px;opacity:.93}.reader-bottom{display:flex;justify-content:space-between;gap:12px;margin-top:22px}.reader-bottom button{flex:1;display:flex;align-items:center;justify-content:center;gap:6px;background:transparent;border:1px solid var(--reading-border,#e4e6db);border-radius:12px;color:var(--reading-fg,#1e4d37);padding:12px 6px;font-size:12px;cursor:pointer}.reader-bottom button:disabled{opacity:.35}.night .quran-footnote{background:#204434;color:#dcebdd}
.names-header{background:#eaf0e5;border-radius:24px;padding:22px 21px;margin:10px 0 17px}.names-header .eyebrow{font-family:Amiri,serif;font-size:22px;color:#4e8264}.names-header .names-count{font-size:11px;color:#477a5c;margin-top:17px}.names-filters{display:flex;gap:8px;margin-bottom:12px}.names-filters .search{margin:0;flex:1;min-width:0}.names-filters button{width:46px;border-radius:12px;border:1px solid #dde4d7;background:#fff;color:#24573d}.names-filters button.active{background:#1a6047;color:#fff}.name-row{padding:14px 12px}.name-num{width:32px;height:32px;font-size:13px}.name-ar{font-size:23px}.name-feature{border-radius:24px;background:#e7efdf;padding:35px 17px;text-align:center;min-height:280px;display:flex;align-items:center;justify-content:center;flex-direction:column}.name-big-ar{color:#164b38;font:normal 60px/1.8 Amiri,'Noto Naskh Arabic',serif;margin-top:5px}.name-feature h1{font:normal 30px Georgia,serif;color:#164b38;margin:0 0 14px}.name-meaning{background:#eee0bd;padding:10px 21px;border-radius:22px;color:#57472c;font-size:13px}.name-explanation{background:white;border:1px solid #eee9df;border-radius:19px;margin:16px 0;padding:19px}.name-explanation p{line-height:1.8;color:#405d49;font-size:14px}.name-explanation .name-reference{color:#7a8d7b;font-size:11px;border-top:1px solid #ecebe3;padding-top:13px}.name-fav{width:100%;padding:14px;border:1px solid #dbe6db;border-radius:14px;background:#f0f5ed;color:#245c46;display:flex;align-items:center;justify-content:center;gap:8px}
.cal-heading{margin:9px 0 19px}.cal-panel,.cal-day-card{background:#fffefa;border:1px solid #e8e3d9;padding:18px;border-radius:21px;margin:12px 0}.cal-month-nav{display:flex;align-items:center;justify-content:space-between;text-align:center;gap:8px}.cal-month-nav>div{display:flex;flex-direction:column;gap:6px}.cal-month-nav strong{font:normal 19px Georgia,serif;text-transform:capitalize}.cal-month-nav small{font-size:11px;color:#879586}.cal-arrow{display:grid;place-items:center;width:32px;height:32px;background:#f3f3eb;border:0;border-radius:10px;color:#336148}.cal-grid{margin-top:19px;gap:3px}.cal-weekday{text-align:center;color:#98a494;font-size:11px;font-weight:600;padding:4px}.cal-day{position:relative;aspect-ratio:unset;min-height:44px;border-radius:10px;display:flex;flex-direction:column;gap:2px;align-items:center;justify-content:center;background:transparent}.cal-day small{font-size:9px;opacity:.65}.cal-day.has-event:not(.sel){background:#e9f0e4;color:#245b41}.cal-day i{position:absolute;bottom:3px;width:4px;height:4px;background:#a0ad80;border-radius:50%}.cal-day.sel{background:#165a42;color:white}.cal-legend{display:flex;justify-content:space-between;gap:12px;margin-top:15px;font-size:10px;color:#718675}.cal-legend i{display:inline-block;width:6px;height:6px;border-radius:50%;background:#879d79;margin-right:5px}.cal-day-card h2{font:normal 22px Georgia,serif;color:#194d36;margin:13px 0 5px;text-transform:capitalize}.cal-day-card>p{color:#81927f;font-size:13px}.cal-event{background:#eaf1e8;border-left:3px solid #7e9c7a;border-radius:10px;margin-top:15px;padding:14px}.cal-event.white{background:#f1f0df}.cal-event strong{color:#24543c;font-size:14px}.cal-event p{color:#617468;font-size:12px;line-height:1.7;margin:7px 0 0}.cal-no-event{padding:15px 0;color:#7c8e7f;font-size:12px}.cal-adj>p{font-size:12px;line-height:1.7;color:#7c8e7f}.cal-adj>div{display:flex;align-items:center;justify-content:space-between;gap:5px;margin-top:15px}.cal-adj button{border:1px solid #e4e8df;border-radius:10px;padding:9px 8px;background:#f6f8f2;color:#37614a;font-size:11px}
@media(max-width:365px){.quran-row-ar{font-size:17px}.quran-list-row{gap:7px}.name-ar{font-size:19px}.reader-tools label{width:100%;margin-bottom:4px}.cal-legend{font-size:9px}}
.reader-jump{padding:15px;background:var(--reading-card);border:1px solid var(--reading-border);border-radius:14px;margin:13px 0}.reader-jump label{display:block;color:var(--reading-sub);font-size:12px;margin-bottom:8px}.reader-jump>div{display:flex;gap:7px;align-items:center}.reader-jump input{width:80px;flex:1;min-width:0;padding:10px;border:1px solid var(--reading-border);border-radius:9px;background:var(--reading-bg);color:var(--reading-fg)}.reader-jump button{padding:11px 13px;border:1px solid var(--reading-border);border-radius:9px;background:transparent;color:var(--reading-fg)}

/* NOUR audio player */
.q-audio{margin:14px 0 17px;padding:19px 17px;border:1px solid #dce9df;border-radius:18px;background:#f5f9f4;color:#174b38;box-shadow:0 8px 22px #173e2b09}.q-audio-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:700;letter-spacing:.03em}.q-audio-main{display:flex;justify-content:center;align-items:center;gap:42px;margin:18px 0}.q-audio-small{border:0;background:transparent;color:inherit;display:grid;place-items:center;padding:8px}.q-audio-play{width:58px;height:58px;border:0;border-radius:50%;background:#164b38;color:#fff;display:grid;place-items:center;box-shadow:0 7px 16px #17412d2d}.q-audio-meter{height:5px;border-radius:99px;background:#d3e4d7;overflow:hidden}.q-audio-meter>div{height:100%;background:#29765a;transition:width .18s linear}.q-audio-times{display:flex;align-items:center;justify-content:space-between;font-size:11px;color:#627869;margin-top:6px}.q-audio-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:16px;flex-wrap:wrap}.q-audio-repeat{font-size:12px;display:flex;align-items:center;gap:8px}.q-audio-repeat select{background:#fff;color:#174b38;border:1px solid #d9e4dc;border-radius:9px;padding:6px}.q-audio-status{min-height:19px;font-size:11px;margin-top:11px;color:#557263}.q-audio-credit{display:block;font-size:10px;color:#839486;line-height:1.5}.reader-verse.audio-current{background:#e6f1e8;border-radius:13px;box-shadow:0 0 0 8px #e6f1e8}.reader-verse-top{display:flex;align-items:center;gap:8px}.reader-verse-top>.audio-verse-btn{margin-left:auto}.audio-active{color:#2c8060!important}.quran-reader.night .q-audio{background:#193a2d;border-color:#355d49;color:#f0e7cf}.quran-reader.night .q-audio-play{background:#e6d9b8;color:#14382a}.quran-reader.night .q-audio-repeat select{background:#254a3a;border-color:#51705d;color:#f0e7cf}.quran-reader.night .q-audio-status,.quran-reader.night .q-audio-credit,.quran-reader.night .q-audio-times{color:#c4d1be}.quran-reader.night .reader-verse.audio-current{background:#294c3d;box-shadow:0 0 0 8px #294c3d}

/* Nour V2 : translittération du Coran, indépendante de la traduction. */
.reader-verse .quran-phon{margin:10px 0 13px;color:var(--reading-sub);font-size:13px;line-height:1.9;font-style:italic;overflow-wrap:anywhere}.phonetic-notice{font-size:12px;color:var(--reading-sub);line-height:1.6;padding:10px 2px}.reader-tools label{margin-right:0}.reader-tools label:nth-of-type(2){margin-right:auto}

/* Quran learning, search, collections and share — Nour V2 */
.q-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin:15px 0 20px}
.q-feature-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;text-align:left;background:#f3f0e9;border:1px solid #e8e5dc;border-radius:15px;padding:13px 10px;color:#205b47;min-height:112px}
.q-feature-grid strong{font-size:13px;color:#173d2e}.q-feature-grid small{font-size:11px;color:#708075}
.q-tool-head{padding:14px 0 18px}.q-tool-head h1{font-family:Georgia,serif;font-size:29px;font-weight:500;color:#184c39;margin:14px 0 7px}.q-tool-head p{font-size:13px;color:#738076;margin:0;line-height:1.55}
.q-search-form{display:flex;gap:8px;margin:7px 0 18px}.q-search-form input{width:100%;min-width:0;flex:1;background:white;border:1px solid #ddd9cf;border-radius:13px;padding:13px;font-size:14px;color:#163c2d}.q-search-form button,.q-add{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;border-radius:13px;padding:13px 16px;background:#19563f;color:#fff;font-weight:600;font-size:13px}.q-add{width:100%;margin:16px 0}
.q-status{color:#748077;font-size:13px;line-height:1.5;margin:13px 0}.q-search-results,.q-collection-list{display:flex;flex-direction:column;gap:10px}
.q-result{display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:12px;padding:17px;border:1px solid #ece8df;background:#fff;border-radius:16px;color:#345346}.q-result small{color:#698574}.q-result strong{font-family:Amiri,serif;font-size:25px;font-weight:400;line-height:1.85;text-align:right;color:#153f2e}.q-result span{line-height:1.6;font-size:13px}
.q-collection{width:100%;display:flex;align-items:center;gap:13px;text-align:left;background:#fff;border:1px solid #ede7dc;border-radius:16px;padding:17px;color:#1b4d39}.q-collection>span{display:flex;flex-direction:column;gap:4px;flex:1}.q-collection strong{font-size:15px}.q-collection small{font-size:12px;color:#75867a}.q-saved-verse{display:flex;align-items:center;border:1px solid #eee7dd;border-radius:15px;background:#fff;padding:6px}.q-saved-verse button{border:0;background:transparent;color:#23533e;padding:10px}.q-saved-verse button:first-child{flex:1;text-align:left;display:flex;justify-content:space-between;gap:8px}.q-saved-verse button:last-child{font-size:22px}.q-actions{display:flex;gap:9px;margin:15px 0;flex-wrap:wrap}.q-actions button{border:1px solid #dfe1d5;background:#fff;border-radius:12px;color:#1b5742;padding:11px 13px;display:flex;align-items:center;gap:7px}
.q-action-list{display:flex;flex-direction:column;gap:11px}.q-action-list button{display:flex;align-items:center;gap:14px;padding:19px 16px;border:1px solid #e5e4d9;border-radius:16px;text-align:left;background:#fff;color:#1b543d;font-weight:600}
.q-memory-count{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:20px}.q-memory-count div{background:#edf4ed;border-radius:15px;text-align:center;padding:16px 7px}.q-memory-count strong{display:block;font-size:25px;color:#1d6247}.q-memory-count small{font-size:11px;color:#65796d}
.q-memorize-verse{background:#f2f0e7;border-radius:19px;padding:28px 17px;text-align:center;display:flex;flex-direction:column;gap:18px}.q-memory-text{font:normal 32px/2 Amiri,serif;color:#1e513c}.q-memorize-verse p{font-size:14px;line-height:1.7;color:#466051}.q-memorize-verse button{align-self:center;background:white;border:1px solid #d9dfd2;border-radius:11px;padding:10px 15px;color:#245640}.q-hidden{visibility:hidden}.q-memory-buttons{display:flex;gap:7px;margin-top:15px}.q-memory-buttons button{flex:1;border:1px solid #e4e6dc;background:white;border-radius:11px;padding:12px 5px;color:#4d6356;font-size:12px}.q-memory-buttons button.active{background:#195b44;color:white;border-color:#195b44}
.q-share-preview{width:100%;aspect-ratio:1/1;background:#f8f4eb;border:2px solid #d9c9a7;display:flex;flex-direction:column;align-items:center;justify-content:space-around;text-align:center;gap:8px;padding:22px;color:#164b38;overflow:hidden}.q-share-preview>span{letter-spacing:.18em;font-size:13px;font-weight:700}.q-share-preview strong{font:normal clamp(15px,5vw,31px)/1.9 Amiri,serif;overflow:auto;max-height:57%;width:100%}.q-share-preview p{color:#496256;font-size:12px;line-height:1.5;max-height:27%;overflow:auto}.q-share-preview small{font-size:11px;color:#788174}.q-share-option{display:flex;gap:10px;align-items:center;margin:19px 0;color:#315646;font-size:14px}
.reader-verse-top button[data-action="verseActions"]{font-size:22px;font-weight:600}

/* Sélection de la méthode de calcul */
.setting-label{display:block;font-size:.88rem;font-weight:650;margin:15px 0 7px;color:var(--green,#164B38)}
.prayer-method-select{width:100%;max-width:100%;padding:13px 12px;border:1px solid #d5d9ce;border-radius:12px;background:#fff;color:#173c2b;font-size:16px;appearance:auto}
.method-hint{margin:8px 0 12px}

/* Nour — Apprentissage indépendant, par sourate */
.nav{gap:1px}.nav button{min-width:0;flex:1;padding-left:2px;padding-right:2px}.nav small{font-size:10px;letter-spacing:-.2px}
.learning-head .eyebrow{font-size:11px;letter-spacing:.12em;font-weight:700;color:#2b7555}
.memory-search{margin:0 0 14px;width:100%}
.memory-filters{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;margin:0 0 16px;padding-bottom:3px}
.memory-filters button{flex:0 0 auto;border:1px solid #dde4d9;background:#fff;color:#42614e;border-radius:99px;padding:9px 12px;font-size:12px}
.memory-filters button.active{background:#16563f;color:#fff;border-color:#16563f}
.memory-surah-list{padding-bottom:14px}.memory-surah-row{width:100%}
.memory-surah-row .quran-row-ar{max-width:80px}
.memory-verse-switch{display:flex;align-items:center;justify-content:space-between;gap:14px;background:#edf4ed;border-radius:15px;padding:9px 14px;margin-bottom:16px;color:#2c6249}
.memory-verse-switch button{background:#fff;border:1px solid #dce5dc;border-radius:10px;width:37px;height:37px;display:grid;place-items:center;color:#175239}
.memory-status-label{font-size:13px;font-weight:650;margin:18px 0 4px;color:#25543f}
@media(max-width:360px){.nav small{font-size:9px}.memory-filters button{padding:8px 10px}}

.nav{grid-template-columns:repeat(5,minmax(0,1fr))}

/* Apprentissage : phonétique indépendante du français */
.memory-phon-toggle{display:flex;align-items:center;gap:10px;margin:14px 0 8px;font-size:14px;color:var(--green,#164b38);font-weight:600}
.memory-phon-toggle input{accent-color:#164b38;width:18px;height:18px}
.memory-phon-text{line-height:1.8;font-size:15px;overflow-wrap:anywhere;text-align:center;color:#526c60;margin:8px 0 15px}
.q-hidden{filter:blur(9px);user-select:none;pointer-events:none}

/* Nour Plus — local study tools preview */
.plus-form,.plus-result,.plus-notice{margin:14px 16px 18px}.plus-form label,#plus-note-form label{display:block;font-size:13px;font-weight:600;margin:12px 0 6px;color:#315441}.plus-form input,.plus-form select,.plus-textarea{width:100%;padding:13px;border:1px solid #cfdbd1;border-radius:12px;background:#fff;color:#233a30;font:inherit;box-sizing:border-box}.plus-form button{margin-top:15px;display:flex;justify-content:center;align-items:center;gap:8px}.plus-result{border:1px solid #e1e7dd;background:#fff;border-radius:16px;padding:16px}.plus-ref{font-size:12px;font-weight:700;color:#2b684b}.plus-ar{font-family:Amiri,serif;font-size:25px;line-height:1.9;text-align:right}.plus-result p:not(.plus-ar){line-height:1.6}.plus-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:13px}.plus-actions button,.plus-actions a{border:1px solid #b9cebe;border-radius:10px;padding:9px 11px;background:#f5f9f5;color:#28533d;font-size:12px;font-weight:600;text-decoration:none;cursor:pointer}.plus-textarea{resize:vertical;min-height:140px}#plus-note-form{margin:16px}.plus-notice p{font-size:13px;line-height:1.6}

/* Nour Plus — vitrine d'abonnement et parcours de souscription statique */
.plus-landing,.plus-checkout{padding-bottom:18px}.plus-landing .dua-back,.plus-checkout .dua-back{margin:9px 0 15px}.plus-banner{background:#174b38;color:white;border-radius:24px;padding:25px 21px 26px;position:relative;overflow:hidden}.plus-eyebrow{font-size:11px;letter-spacing:.16em;font-weight:700;color:#dfc895}.plus-banner-icon{width:53px;height:53px;border-radius:15px;margin:15px 0;background:#ffffff19;display:grid;place-items:center;color:#e7d4a4}.plus-banner h1{font:normal 30px/1.18 Georgia,serif;margin:10px 0 12px;max-width:310px}.plus-banner p{font-size:13px;line-height:1.75;color:#e6f2e9;margin:0 0 17px}.plus-price-from{font-size:12px;font-weight:700;color:#f4e2b9}.plus-benefits,.plus-plans,.plus-try,.plus-faq{margin-top:28px}.plus-benefits h2,.plus-plans h2,.plus-faq h2{font:normal 23px/1.2 Georgia,serif;color:#173f30;margin:0 0 16px}.plus-benefit{display:flex;align-items:flex-start;gap:13px;margin-bottom:12px;padding:15px 12px;border:1px solid #e7e9df;background:white;border-radius:16px}.plus-benefit-icon{flex-shrink:0;width:40px;height:40px;display:grid;place-items:center;color:#1e5d43;background:#eaf1e8;border-radius:12px}.plus-benefit strong{font-size:14px}.plus-benefit p{font-size:12px;line-height:1.65;color:#6b7c70;margin:5px 0 0}.plus-plans-sub{color:#758479;font-size:12px;margin:-6px 0 17px}.plus-plan{display:flex;align-items:center;text-align:left;width:100%;gap:12px;border:1.5px solid #e1e5db;background:white;border-radius:17px;padding:18px 14px;margin:10px 0;color:#194231}.plus-plan.selected{background:#f0f7f0;border-color:#1c7351;box-shadow:0 0 0 1px #1c7351}.plus-radio{width:20px;height:20px;border:2px solid #b3c2b6;border-radius:50%;position:relative;flex-shrink:0}.plus-plan.selected .plus-radio{border-color:#196747}.plus-plan.selected .plus-radio:after{content:'';position:absolute;inset:4px;border-radius:50%;background:#196747}.plus-plan-name{flex:1}.plus-plan-name strong,.plus-plan-price strong{font-size:15px;display:block}.plus-plan-name small,.plus-plan-price small{display:block;color:#738175;font-size:11px;margin-top:5px}.plus-plan-price{text-align:right}.plus-plan-price strong{font-size:17px}.plus-cta{margin-top:18px;display:flex;align-items:center;justify-content:center;gap:11px;min-height:53px}.plus-fineprint{font-size:11px;line-height:1.6;color:#7d897f;text-align:center;margin:12px 3px}.plus-try{border:1px solid #e6e8df;background:#f3f4ec;padding:18px;border-radius:19px}.plus-try>strong{font-size:14px}.plus-try p{font-size:12px;line-height:1.6;color:#728074}.plus-try button{display:flex;gap:8px;align-items:center;justify-content:center}.plus-faq details{border-bottom:1px solid #e5e7dd;padding:15px 4px}.plus-faq summary{font-size:13px;font-weight:600;cursor:pointer}.plus-faq details p{font-size:12px;line-height:1.65;color:#6d7c71}.plus-checkout>h1{font:normal 30px Georgia,serif;margin:12px 0 5px}.plus-checkout>p{font-size:13px;color:#768579;line-height:1.6}.plus-order{margin:24px 0;border:1px solid #e1e7de;background:#fff;border-radius:19px;padding:19px}.plus-order-header,.plus-order-line,.plus-order-total{display:flex;align-items:center;justify-content:space-between;gap:10px}.plus-order-header{font-size:15px;font-weight:600;padding-bottom:20px;border-bottom:1px solid #e9ece6}.plus-order-line{font-size:12px;color:#647668;padding:10px 0}.plus-order-line span{color:#246a4a}.plus-order-total{border-top:1px solid #e9ece6;margin-top:9px;padding-top:17px}.plus-test-warning{display:flex;align-items:flex-start;gap:12px;background:#f4f1e5;border:1px solid #e6ddc7;border-radius:16px;padding:16px;color:#6e603d;margin-bottom:20px}.plus-test-warning svg{flex-shrink:0}.plus-test-warning strong{font-size:13px}.plus-test-warning p{font-size:12px;line-height:1.6;margin:6px 0 0}.plus-disabled-cta:disabled{opacity:.63}
@media(max-width:360px){.plus-banner h1{font-size:26px}.plus-plan{padding:14px 10px}}

/* Nour Plus: clean search, notes library, and upcoming account */
.plus-checkbox{display:flex!important;align-items:center;gap:10px;margin-top:15px!important;font-weight:500!important}
.plus-checkbox input{width:17px;height:17px;accent-color:#195a41}
.plus-search-tools{display:flex;justify-content:flex-end;padding:0 16px 8px}
.plus-search-tools button{display:flex;align-items:center;gap:7px;background:transparent;border:0;color:#1a6749;font-size:13px;font-weight:650;padding:8px}
.plus-source{margin:24px 16px 12px;font-size:12px}.plus-source a{color:#1a6749}
.plus-notes-list{display:grid;gap:11px;margin:18px 0}.plus-note-card{display:grid;grid-template-columns:1fr auto;gap:8px;text-align:left;padding:17px;background:#fff;border:1px solid #dfe7dd;border-radius:15px;color:#25553d}.plus-note-card strong{grid-column:1}.plus-note-card span{font-size:13px;line-height:1.6;color:#63766b;grid-column:1;white-space:pre-line;overflow-wrap:anywhere}.plus-note-card svg{grid-column:2;grid-row:1/3;align-self:center}.plus-empty{padding:30px 20px;text-align:center;background:#f6f7f1;border-radius:17px;color:#315d45}.plus-empty h2{font-size:17px}.plus-empty p{font-size:13px;line-height:1.6}.plus-empty button{margin-top:18px}.plus-auth-tabs{display:flex;background:#eef3ec;border-radius:12px;padding:4px;margin:22px 0 18px}.plus-auth-tabs button{flex:1;border:0;border-radius:9px;background:transparent;padding:12px;color:#557260;font-weight:650}.plus-auth-tabs button.active{background:white;color:#1c6045;box-shadow:0 1px 5px #173f2b1a}.plus-auth-form{display:flex;flex-direction:column;gap:9px;margin-bottom:20px}.plus-auth-form label{font-size:13px;font-weight:650;color:#325c45}.plus-auth-form input{width:100%;border:1px solid #d9e2d9;border-radius:11px;padding:14px;font:inherit;background:#f6f7f4;color:#62746a}.plus-auth-form button{margin-top:14px}.plus-auth-form button:disabled{opacity:.56}

/* Nour Plus invitation, minimal and dismissible */
.plus-invite{position:fixed;z-index:19;left:50%;bottom:calc(77px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(calc(100% - 34px),440px);padding:15px 42px 15px 17px;border-radius:17px;border:1px solid #d5e4d6;background:#fffefb;box-shadow:0 9px 28px #173f2b20;color:#1b4935}.plus-invite-label{font-size:10px;letter-spacing:.13em;font-weight:800;color:#967739;margin-bottom:5px}.plus-invite strong{font-size:14px}.plus-invite p{font-size:12px;line-height:1.4;color:#677a6c;margin:4px 0 8px}.plus-invite-close{position:absolute;right:11px;top:8px;border:0;background:transparent;color:#7b8a7c;font-size:24px;line-height:1;padding:4px 8px}.plus-invite-link{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;color:#176345;padding:2px 0;font-size:12px;font-weight:700}
/* Settings: groups and compact expandable rows */
.settings-groups{display:grid;gap:22px;margin:20px 0 30px}.settings-section h2{font-size:13px;font-weight:750;color:#61796a;display:flex;align-items:center;gap:8px;margin:0 0 9px;padding-left:4px}.settings-section h2 svg{width:17px;height:17px}.settings-section{min-width:0}.settings-group,.settings-link{display:block;width:100%;border:1px solid #eae8e0;border-radius:15px;background:white;margin:7px 0;overflow:hidden;box-shadow:0 3px 12px #153b2307}.settings-group summary,.settings-link{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 13px;cursor:pointer;list-style:none;text-align:left;color:#214e3a}.settings-group summary::-webkit-details-marker{display:none}.settings-group summary>span,.settings-link>span{display:flex;align-items:center;gap:12px;min-width:0}.settings-group summary>span>svg,.settings-link>span>svg{color:#2a7454;flex-shrink:0}.settings-group summary>span>span,.settings-link>span>span{min-width:0}.settings-group strong,.settings-link strong{display:block;font-size:14px;font-weight:650}.settings-group small,.settings-link small{display:block;font-size:11px;color:#788a7b;margin-top:3px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.settings-group summary>svg,.settings-link>svg{color:#869c8d;flex-shrink:0}.settings-group[open] summary>svg{transform:rotate(90deg)}.settings-link{font:inherit}.settings-panel{padding:3px 15px 18px;border-top:1px solid #f0f0e9}.settings-panel .setting-label{margin-top:12px}.settings-panel .sub{margin:10px 0 12px}.settings-sources{display:grid;gap:13px;padding-top:15px;font-size:13px}.settings-sources a{overflow-wrap:anywhere}

/* Nour Plus local study modules */
.plus-head{margin:3px 0 12px}.plus-summary,.plus-reading-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.plus-summary>div,.plus-reading-metrics>div{border:1px solid #dfe8df;border-radius:14px;background:#fff;padding:14px 8px;display:grid;gap:5px;text-align:center}.plus-summary strong,.plus-reading-metrics strong{font-size:21px;color:#184c39}.plus-summary small,.plus-reading-metrics small{color:#74867a;font-size:11px}.plus-dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;margin:20px 0}.plus-dashboard-card{min-height:133px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:18px 14px;background:#fff;color:#174b38;border:1px solid #dce8dd;border-radius:17px}.plus-dashboard-card svg{color:#397658}.plus-dashboard-card strong{font-size:14px}.plus-dashboard-card small{color:#708175;font-size:11px;line-height:1.4}.plus-source-note{color:#748077;font-size:11px;line-height:1.7;padding:0 4px;margin:20px 0}.plus-source-note a{color:#1d6949}.plus-block{display:flex;gap:9px;align-items:center;justify-content:center;width:100%;min-height:47px;margin:15px 0}.plus-list{display:grid;gap:11px;margin:16px 0}.plus-list-card{display:grid;grid-template-columns:1fr auto;align-items:center;text-align:left;gap:6px;width:100%;padding:17px;background:#fff;border:1px solid #dce6dd;border-radius:14px;color:#194a36}.plus-list-card strong{grid-column:1;font-size:14px}.plus-list-card small{grid-column:1;color:#728478;font-size:12px;line-height:1.5}.plus-list-card svg{grid-column:2;grid-row:1/3}.plus-study-entry,.plus-study-form,.plus-reading-card,.plus-reading-today{padding:16px;background:#fff;border:1px solid #dfe8df;border-radius:16px;margin:13px 0}.plus-study-entry h2,.plus-reading-today h2{font-size:17px;font-weight:600;color:#174b38;margin:2px 0 12px}.plus-study-entry p,.plus-reading-card p,.plus-reading-today p{font-size:13px;color:#63766a;line-height:1.65}.plus-study-entry label,.plus-study-form label{font-size:13px;color:#345b46;font-weight:600;display:block;margin-bottom:8px}.plus-study-form input,.plus-study-entry input,.plus-study-entry textarea{min-width:0;width:100%;box-sizing:border-box;padding:12px;border:1px solid #cbdacc;border-radius:10px;font:inherit;color:#234a34;background:#fff}.plus-inline{display:flex;align-items:center;gap:9px}.plus-inline .primary{min-height:44px}.plus-study-entry-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.plus-study-entry-top button{border:0;background:transparent;color:#6c8172;padding:8px}.plus-entry-note{display:block;resize:vertical;margin:13px 0;min-height:94px}.plus-tool-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.plus-tool-actions button,.plus-tool-actions a{border:1px solid #c8d9c9;background:#f1f7f1;border-radius:9px;padding:9px 11px;color:#24573b;font-size:12px;text-decoration:none;font-weight:600}.plus-theme-translation{color:#3b5446!important}.plus-progress{height:9px;border-radius:10px;overflow:hidden;background:#e6ebe4;margin:15px 0}.plus-progress>div{height:100%;background:#246d4c;transition:width .2s}.plus-progress-text{font-size:12px;color:#728074}.plus-reading-metrics{margin-bottom:12px}.plus-review-row{display:flex;justify-content:space-between;gap:10px;align-items:center}.plus-review-row>div{display:grid;gap:5px}.plus-review-row small{font-size:12px;color:#738477}.plus-due{background:#e6f2e7;border-radius:20px;padding:6px 9px;color:#216341;font-size:11px}.plus-rate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.plus-rate-grid button{padding:13px 4px;border-radius:11px;background:#f0f6ef;border:1px solid #cbdccc;color:#255d42;font-weight:600;font-size:12px}.plus-empty-simple{color:#708176;font-size:13px;padding:23px 12px;text-align:center}.plus-reading-finished{padding:20px;background:#eaf3ea;border-radius:14px;color:#255d42}

/* Home redesign — image-matched layout. Other screens retain their existing styles. */
.app-home{background:#f8f1e7;color:#172b2c;padding:0 15px 105px;overflow:hidden}
.app-home .top{position:relative;z-index:2;background:transparent;backdrop-filter:none;padding:22px 12px 5px;min-height:78px}
.app-home .brand{font-size:30px;color:#103e31;font-weight:600;gap:9px;letter-spacing:-.035em}
.app-home .brand img{width:40px;height:40px;object-fit:contain;background:transparent;border-radius:0}
.app-home .iconbtn{background:#fcf8f2;color:#164635;border:1px solid #ffffffb8;border-radius:50%;width:44px;height:44px;box-shadow:0 3px 12px #352e1c0c}
.home-viz{margin:0 -15px;position:relative;isolation:isolate;padding:0 15px 14px;background:linear-gradient(180deg,#f5efe7 0%,#f7efe5 55%,#fbf5ec 100%)}
.home-sky{margin:-79px -15px -2px;min-height:315px;padding:104px 30px 16px;position:relative;overflow:hidden;background:linear-gradient(90deg,#fcf6ed88 0%,#fcf6ed4a 48%,rgba(252,246,237,.08) 100%),url('/assets/home-banner.png') center 56%/cover no-repeat}
.home-sky-content{position:relative;z-index:2;width:64%;min-width:200px}.home-sky-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(252,247,238,.95) 0%,rgba(252,247,238,.82) 38%,rgba(252,247,238,.18) 70%,rgba(252,247,238,0) 100%);z-index:1}.home-overline{font-size:16px;letter-spacing:-.02em;font-weight:750;color:#152b2d;margin:10px 0 3px}
.home-sky h1{font:500 clamp(43px,11vw,58px)/1.06 Georgia,'Times New Roman',serif;letter-spacing:-.035em;color:#104c39;margin:0 0 12px}
.home-countdown{width:max-content;display:flex;align-items:center;gap:9px;border:1px solid #ffffffd9;border-radius:32px;background:#ffffffd9;color:#1b3033;box-shadow:0 5px 16px #573c211c;padding:10px 13px;font-size:16px;font-weight:800}.home-countdown strong{font:inherit;font-variant-numeric:tabular-nums;white-space:nowrap}
.home-city{display:flex;align-items:center;gap:7px;background:transparent;color:#172f31;border:0;padding:17px 0 0;font-size:13px;font-weight:650;text-align:left}
.home-times{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:-35px 0 13px;padding:7px;background:#fffaf4ed;backdrop-filter:blur(12px);border-radius:23px;box-shadow:0 8px 25px #57422c1e;border:1px solid #ffffffdc;position:relative;z-index:1;min-height:100px}
.home-prayer{display:flex;flex-direction:column;justify-content:center;align-items:center;min-width:0;padding:8px 2px;border-radius:18px;gap:5px;color:#1d2d2f}.home-prayer-icon{color:#bf8d2e;line-height:1}.home-prayer strong{font-size:clamp(10px,2.9vw,13px);font-weight:700}.home-prayer time{font-size:clamp(11px,3.3vw,15px);font-weight:750;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.home-prayer.selected{background:#114a39;color:#fff;box-shadow:0 3px 8px #173f2825}.home-prayer.selected .home-prayer-icon{color:#e6c07b}.home-times-empty{grid-column:1/-1;align-self:center;text-align:center;font-size:13px;color:#546c5c}.home-times-empty button{background:transparent;color:#175a42;border:0;text-decoration:underline}
.home-date{width:100%;display:grid;grid-template-columns:35px 1fr 20px;gap:10px;align-items:center;text-align:left;border:1px solid #fff;background:#fffaf5d9;border-radius:21px;padding:18px 17px;color:#1c3133;box-shadow:0 6px 17px #5c45321a;margin:0 0 13px}.home-date-icon{color:#233b3b}.home-date strong{font-size:13px;font-weight:700;display:block}.home-date small{display:block;font-size:12px;margin-top:4px;color:#3b4747}.home-date>svg:last-child{color:#d7d5d0}
.home-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:0 0 21px}.home-shortcut{min-width:0;min-height:101px;padding:14px 4px 12px;border-radius:21px;border:1px solid #fff;background:linear-gradient(140deg,#fffefaed,#fbf7f0e8);box-shadow:0 6px 16px #604a3512;color:#164b3c;display:flex;flex-direction:column;gap:10px;justify-content:center;align-items:center}.home-shortcut span{display:flex}.home-shortcut strong{font-size:clamp(10px,2.85vw,13px);font-weight:750;color:#172c2e;white-space:normal;letter-spacing:-.04em;line-height:1.15;text-align:center;max-width:84px}.home-shortcut-plus{background:linear-gradient(125deg,#fff7e9,#f7e5c9);border:1.5px solid #e6b75b;box-shadow:0 4px 13px #bc91413a}.home-shortcut-plus span{color:#b88221}
.home-plus-banner{width:100%;border:1px solid #f8f1df;border-radius:20px;padding:17px 15px;display:grid;grid-template-columns:35px 1fr 24px;align-items:center;gap:11px;color:#fff;text-align:left;background:linear-gradient(118deg,#0f4937,#18533e 70%,#38684e);box-shadow:0 8px 18px #1b44352b}.home-plus-crown{color:#e5ba6a}.home-plus-banner strong{font:500 25px/1.2 Georgia,serif;display:block;color:#fff8ee}.home-plus-banner small{display:block;font-size:11px;line-height:1.45;color:#e9ede5;margin-top:3px}.home-source{padding:0 5px;margin:10px 0 2px!important;color:#8e8576!important;font-size:10px!important}
.app .nav{grid-template-columns:repeat(5,minmax(0,1fr));background:#fffaf3f5;border-top:1px solid #e5dcd0;padding:10px 4px max(11px,env(safe-area-inset-bottom));box-shadow:0 -5px 20px #5844310b}.app .nav button{min-width:0;color:#606c68}.app .nav button.on{color:#104b37}.app .nav button.on svg{fill:#104b37;stroke:#104b37}.app .nav svg{width:24px;height:24px}.app .nav small{font-size:10px;white-space:nowrap;letter-spacing:-.035em}
@media(max-width:360px){.home-sky{min-height:295px;padding-left:25px;padding-top:99px}.home-sky-content{min-width:180px}.home-shortcuts{gap:7px}.home-shortcut{min-height:88px}.home-prayer{padding:7px 1px}.home-times{border-radius:18px}.home-plus-banner strong{font-size:23px}}
@media(min-width:460px){.home-sky{min-height:345px;padding-top:113px}.home-shortcut{min-height:110px}.home-prayer{gap:7px;padding:11px 3px}}
/* Five navigation destinations on all screens: no accidental second row. */
.nav{grid-template-columns:repeat(5,minmax(0,1fr))}

/* Authentic supplied Nour icons: preserve originals, ensure crisp mobile sizing. */
.home-prayer-icon{display:flex;align-items:center;justify-content:center;width:27px;height:27px}
.home-prayer-icon img{display:block;width:27px;height:27px;object-fit:contain}
.home-shortcut .allah-custom-icon{display:block;width:32px;height:32px;object-fit:contain}
.daily-prayer-icon{width:22px;height:22px;object-fit:contain;flex-shrink:0}
@media(max-width:360px){.home-prayer-icon,.home-prayer-icon img{width:23px;height:23px}}


/* Nour unified visual identity — consistent with the redesigned home. */
:root { --nour-forest:#124b39; --nour-forest-deep:#103e31; --nour-ivory:#fbf5ec; --nour-paper:#fffaf4; --nour-gold:#c39948; --nour-text:#1d3030; --nour-border:#e9dfd2; }
body {background:#f3ede4; color:var(--nour-text)}
.app {background:linear-gradient(180deg,#fbf6ee 0%,#f9f3e9 100%);color:var(--nour-text)}
.app:not(.app-home) .top {background:rgba(251,246,238,.94);border-bottom:1px solid rgba(228,216,202,.7);backdrop-filter:blur(15px);padding:15px 0 14px;}
.app:not(.app-home) .brand {font:600 29px Georgia,'Times New Roman',serif;letter-spacing:-.025em;color:var(--nour-forest-deep)}
.app:not(.app-home) .brand img {width:39px;height:39px;object-fit:contain;border-radius:12px;}
.app:not(.app-home) .iconbtn,.app .settings-close {background:#fffaf4;border:1px solid #eee5d9;color:var(--nour-forest);border-radius:50%;box-shadow:0 3px 12px rgba(64,48,33,.06);width:44px;height:44px;}
.app .settings-close svg{width:21px;height:21px;stroke-width:2}
.app:not(.app-home) .page-title,.app:not(.app-home) .quran-header h1,.app:not(.app-home) .cal-heading h1,.app:not(.app-home) .names-header h1,.app:not(.app-home) .q-tool-head h1,.app:not(.app-home) .plus-head h1,.app:not(.app-home) .dua-intro h1{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.025em;font-weight:500;color:var(--nour-forest-deep)}
.app:not(.app-home) .page-title{font-size:34px;margin:23px 0 9px}
.app:not(.app-home) .sub {color:#687b6b;line-height:1.65}
.app:not(.app-home) .card,.app:not(.app-home) .cal-panel,.app:not(.app-home) .cal-day-card,.app:not(.app-home) .name-row,.app:not(.app-home) .quran-list-row,.app:not(.app-home) .plus-dashboard-card,.app:not(.app-home) .plus-list-card,.app:not(.app-home) .plus-study-entry,.app:not(.app-home) .plus-reading-card,.app:not(.app-home) .plus-reading-today,.app:not(.app-home) .plus-order,.app:not(.app-home) .plus-note-card,.app:not(.app-home) .settings-group,.app:not(.app-home) .settings-link{background:#fffaf5;border-color:#ece2d5;border-radius:19px;box-shadow:0 5px 17px rgba(73,52,30,.055)}
.app:not(.app-home) .quran-list-row,.app:not(.app-home) .name-row {margin-bottom:5px;}
.app:not(.app-home) .quran-number,.app:not(.app-home) .name-num {background:#f1e9dc;color:var(--nour-forest)}
.app:not(.app-home) .primary,.app:not(.app-home) .tabs button.selected,.app:not(.app-home) .pill.chosen {background:var(--nour-forest);color:#fff;border-radius:14px;}
.app:not(.app-home) .outline,.app:not(.app-home) .tabs,.app:not(.app-home) .search,.app:not(.app-home) select,.app:not(.app-home) input:not([type=checkbox]):not([type=radio]),.app:not(.app-home) textarea {border-color:#e6dccc;border-radius:14px;}
.app:not(.app-home) .tabs{background:#f0e9de;padding:5px;border-radius:15px;}
.app:not(.app-home) .outline {background:#fffaf5;color:var(--nour-forest)}
.app:not(.app-home) .dua-category-tile{border:1px solid #e9dfd2;border-radius:21px;box-shadow:0 5px 14px rgba(73,52,30,.05)}
.app:not(.app-home) .dua-intro,.app:not(.app-home) .plus-hero,.app:not(.app-home) .name-feature {border-radius:24px;}
.app:not(.app-home) .dua-intro{background:linear-gradient(140deg,#134b39,#26634b)}
.app:not(.app-home) .settings-section h2{color:#6f7768;letter-spacing:.025em}
.app:not(.app-home) .settings-group summary,.app:not(.app-home) .settings-link{padding:17px 15px;}
.app:not(.app-home) .plus-plan.selected,.app:not(.app-home) .home-shortcut-plus{border-color:#d5ad62;background:#fff5e3}
.app:not(.app-home) .plus-dashboard-card svg,.app:not(.app-home) .settings-group summary>span>svg{color:var(--nour-forest)}
.app:not(.app-home) .source{color:#858276}
.app:not(.app-home) .quran-reader.night {background:#14221c;color:#f0e9dc}
.home-shortcut .allah-written{display:inline-block;font-family:'Amiri','Noto Naskh Arabic','Geeza Pro',serif;font-size:31px;line-height:1.3;font-weight:700;color:var(--nour-forest-deep);direction:rtl;white-space:nowrap}
/* Arab calligraphy is now real text, not a raster icon. */
@media(max-width:360px){.home-shortcut .allah-written{font-size:27px}}

/* Contraste du titre sur la bannière verte des invocations.
   Prioritaire sur la règle générale des titres des pages. */
.app:not(.app-home) .dua-intro h1 {color:#fffaf2;}

/* Nour Plus subscription status */
.plus-auth-status{background:#fffdf8;border:1px solid #e6e0d4;padding:17px;border-radius:17px;margin:17px 0;color:#194837}.plus-auth-status p{font-size:13px;color:#708275}.plus-auth-status .plus-actions{display:flex;gap:9px;flex-wrap:wrap}.plus-auth-status button{padding:10px 13px;border:1px solid #d8dfd5;border-radius:12px;background:white;color:#17543d}.plus-auth-status strong{overflow-wrap:anywhere}

/* Nour Plus — accès direct pour les abonnés et gestion depuis Paramètres */
.settings-subscription{padding:17px 15px;background:#fffefa;border:1px solid #e5e5dc;border-radius:16px;display:grid;gap:9px;margin-top:10px;box-shadow:0 4px 14px #183b2610}
.settings-subscription>strong{color:#163e30;font-size:15px}.settings-subscription>small{color:#687b6b;overflow-wrap:anywhere}.settings-subscription>span{font-size:12px;color:#2e6b4f}.settings-subscription>button.outline{display:flex;align-items:center;justify-content:center;gap:8px;min-height:45px;font-weight:650;margin-top:4px}.settings-logout{border:0;background:transparent;color:#66786a;font-size:12px;padding:7px;justify-self:start}

/* Calendar: keep long Hijri labels and Android font scaling within narrow screens. */
.cal-month-nav>div{flex:1;min-width:0;overflow-wrap:anywhere}
.cal-arrow{flex-shrink:0}
.cal-grid{grid-template-columns:repeat(7,minmax(0,1fr))}
.cal-day{min-width:0;padding-inline:2px}
.cal-legend,.cal-adj>div{flex-wrap:wrap}
.cal-legend>span{min-width:0;overflow-wrap:anywhere}
.cal-heading h1,.cal-day-card h2,.cal-day-card>p,.cal-event{overflow-wrap:anywhere}
