:root{--navy:#082a57;--blue:#0b4c9c;--gold:#d7ad45;--bg:#f5f7fa;--text:#172033}*{box-sizing:border-box}body{margin:0;background:#dfe5ec;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:var(--text)}#app{max-width:480px;margin:auto;background:var(--bg);min-height:100vh;box-shadow:0 0 30px #0002}.top{height:68px;background:var(--navy);color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 18px;position:sticky;top:0;z-index:5}.brand{display:flex;align-items:center;gap:10px}.brand .mark{font-size:25px;color:var(--gold)}.brand b,.brand span{display:block;letter-spacing:1.2px}.brand b{font-size:13px}.brand span{font-size:17px;color:#f4cc62;font-weight:800}.icon{background:none;border:0;color:#fff;font-size:20px}main{padding-bottom:78px}.page{display:none;padding:16px}.page.active{display:block}.hero{height:280px;border-radius:0 0 22px 22px;overflow:hidden;position:relative;margin:-16px -16px 16px}.hero img{width:100%;height:100%;object-fit:cover}.heroShade{position:absolute;inset:0;background:linear-gradient(0deg,#061b39dd,transparent 65%)}.heroText{position:absolute;bottom:20px;left:20px;color:#fff}.heroText small{color:#f5cf6b;letter-spacing:1.5px}.heroText h1{font-size:26px;margin:7px 0}.heroText p{margin:0;font-size:13px}.card,.event,.story,.menuCard,.profile{background:#fff;border-radius:16px;padding:16px;box-shadow:0 3px 15px #12294a10}.message{margin-top:-2px}.eyebrow{color:var(--blue);font-size:11px;font-weight:800;letter-spacing:1px}.message h2{font-size:19px;margin:8px 0}.message p,.muted{color:#657083;font-size:14px;line-height:1.5}.actions{display:flex;gap:8px}.actions button,.wide,.prayerOptions button,.menuCard button{border:0;border-radius:10px;padding:11px 13px;background:#eef2f7;font-weight:700;color:#233}.primary{background:var(--blue)!important;color:#fff!important}.secondary{background:#1677f2!important;color:#fff!important}.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:14px 0}.quick button{background:#fff;border:0;border-radius:14px;padding:13px 5px;font-size:20px;box-shadow:0 2px 10px #0000000b}.quick span{display:block;font-size:10px;margin-top:5px;font-weight:700}.page h3{margin:18px 0 9px}.event{display:flex;gap:14px;align-items:center}.date{background:#f1f4f8;color:var(--blue);font-weight:900;text-align:center;padding:8px 11px;border-radius:10px;font-size:20px;line-height:1}.date small{font-size:8px}.event p,.event small,.story p{margin:4px 0;color:#6b7484;font-size:12px}.pageHead{display:flex;justify-content:space-between;align-items:center}.pageHead h2{margin:6px 0 14px}.chips{display:flex;gap:7px;overflow:auto;margin-bottom:14px}.chips>*{white-space:nowrap;padding:8px 12px;background:#fff;border-radius:20px;font-size:12px}.chips b{background:var(--blue);color:#fff}.list article{display:flex;gap:10px;background:#fff;border-radius:14px;padding:8px;margin-bottom:9px}.list img,.story img{width:110px;height:70px;object-fit:cover;border-radius:9px}.list b{font-size:13px}.list p{font-size:10px;color:#788}.live{height:250px;border-radius:18px;overflow:hidden;position:relative}.live img{width:100%;height:100%;object-fit:cover}.liveBadge{position:absolute;top:15px;left:15px;background:#ef2d35;color:#fff;padding:8px 12px;border-radius:8px;font-weight:800;font-size:11px}.wide{width:100%;margin:7px 0}.prayerHero{height:180px;position:relative;border-radius:17px;overflow:hidden;margin-bottom:18px}.prayerHero img{width:100%;height:100%;object-fit:cover}.prayerHero>div{position:absolute;inset:0;background:#061a36aa;color:#fff;padding:55px 20px 20px;font-size:20px}.prayerHero small{display:block;font-size:11px;margin-top:10px}.prayerOptions{display:grid;gap:7px;margin:10px 0 14px}.prayerOptions button,.menuCard button{display:flex;justify-content:space-between;width:100%;text-align:left;background:#fff}.privacy{display:block;text-align:center;color:#7a8492;margin-top:8px}.testimonial{background:linear-gradient(135deg,#092f61,#0b5aa9);color:#fff;border-radius:18px;padding:25px;margin:10px 0 14px}.quote{font-size:45px;color:#f1c75e}.testimonial h2{font-size:22px}.story{display:flex;gap:12px;margin-bottom:12px}.bible{height:170px;border-radius:18px;background:linear-gradient(135deg,#122e55,#0a6aa0);color:#fff;padding:22px;margin-bottom:14px}.bible div{font-size:30px}.bible h2{max-width:300px}.agenda{display:grid;gap:10px}.agenda article{display:flex;gap:14px;align-items:center;background:#fff;border-radius:15px;padding:15px}.agenda strong{font-size:25px;color:var(--blue);min-width:45px;text-align:center}.agenda p{margin:4px 0;font-size:12px;color:#777}.agenda small{color:#777}.church{border-radius:18px;background:linear-gradient(135deg,#092f61,#0b5aa9);color:#fff;padding:28px 20px;margin-bottom:14px}.church .cross{font-size:35px;color:#f3c75e}.church h2{font-size:23px}.church p{font-size:10px;letter-spacing:1px;color:#f4d06a}.menuCard{padding:5px}.menuCard button{border-radius:10px;padding:15px 11px;background:#fff}.profile{display:flex;flex-direction:column;align-items:center;margin-bottom:14px}.profile div{font-size:40px}.profile small{color:#7a8492;margin-top:4px}nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(480px,100%);height:68px;background:#fff;border-top:1px solid #ddd;display:grid;grid-template-columns:repeat(5,1fr);z-index:10}nav button{border:0;background:#fff;color:#7a8492;font-size:19px}nav span{display:block;font-size:9px;margin-top:3px}nav button.active{color:var(--blue);font-weight:800}@media(min-width:700px){body{padding:25px 0}#app{border-radius:28px;overflow:hidden}}

.brandLogos{display:flex;align-items:center;gap:12px}.pastorLogo{width:58px;height:58px;object-fit:contain;border-radius:50%;background:#082a57;padding:7px;box-sizing:border-box}.churchLogoLarge{width:92px;height:92px;object-fit:contain;border-radius:50%;background:#fff;margin-bottom:8px}.church{display:flex;flex-direction:column;align-items:center;text-align:center}

.church{position:relative;overflow:hidden;border-radius:22px;min-height:250px;background:#082a57;color:#fff;box-shadow:0 12px 30px rgba(0,0,0,.12)}
.churchPhoto{width:100%;height:280px;object-fit:cover;display:block;filter:brightness(.62)}
.churchOverlay{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px;background:linear-gradient(180deg,rgba(4,25,60,.15),rgba(4,25,60,.72))}
.churchOverlay .churchLogoLarge{width:88px;height:88px;object-fit:contain;margin-bottom:8px;background:rgba(255,255,255,.94);border-radius:50%;padding:5px}
.churchOverlay h2{margin:4px 0;font-size:21px}
.churchOverlay p{margin:0;font-size:11px;letter-spacing:1.2px}

.profilePhoto{width:82px;height:82px;object-fit:cover;border-radius:50%;border:4px solid #eef2f7;margin-bottom:9px}.profile b{font-size:16px;color:var(--navy)}


.messageItem{display:flex;gap:12px;align-items:center}.messageCard{display:flex;gap:12px;background:#fff;border-radius:15px;padding:9px;margin-bottom:10px;box-shadow:0 2px 10px #00000008}.messageCard>img{width:132px;height:78px;object-fit:cover;border-radius:10px;flex:none}.messageInfo{flex:1;min-width:0}.messageInfo>b{display:block;font-size:14px;line-height:1.25;margin-top:4px}.messageInfo>small{display:block;color:#7a8492;font-size:10px;margin-top:5px}.messageTag{display:inline-block;background:#eef4fb;color:#0b4c9c;border-radius:12px;padding:3px 7px;font-size:9px;font-weight:800}.watchLink{display:inline-block;margin-top:7px;color:#0b5cab;text-decoration:none;font-weight:700;font-size:12px}.socialLinks{display:flex;gap:10px;margin:14px 0}.socialLinks button{flex:1;padding:12px;border:1px solid #d9e0ea;border-radius:12px;background:#fff;font-weight:700;color:#082a57}

.emptyStory{background:#fff;border:1px dashed #d5dce6;border-radius:16px;padding:25px 18px;text-align:center;margin:10px 0 14px}.emptyIcon{font-size:30px}.emptyStory h3{margin:8px 0 5px;color:var(--navy)}.emptyStory p{margin:0;color:#737d8d;font-size:13px}

.prayerOptions button{cursor:pointer;transition:.15s ease}.prayerOptions button.selected{background:#eaf2ff;color:var(--blue);box-shadow:inset 0 0 0 2px #0b4c9c}.prayerForm{background:#fff;border-radius:16px;padding:15px;margin:8px 0 12px;box-shadow:0 3px 15px #12294a10}.selectedPrayer{background:#eef4fb;color:#31557f;border-radius:10px;padding:10px 12px;font-size:12px;margin-bottom:12px}.prayerForm label{display:block;font-weight:800;font-size:13px;margin-bottom:7px}.prayerForm textarea{width:100%;resize:vertical;border:1px solid #d6deea;border-radius:11px;padding:12px;font:inherit;font-size:13px;outline:none;min-height:105px}.prayerForm textarea:focus{border-color:var(--blue);box-shadow:0 0 0 3px #0b4c9c18}.prayerQuickSend{margin-top:7px}.prayerForm[hidden]{display:none!important}

.dailyHero{display:flex;align-items:center;gap:16px;background:linear-gradient(135deg,#fff,#f5f8fc);}
.dailyIcon{width:58px;height:58px;border-radius:18px;display:grid;place-items:center;background:#eaf2ff;font-size:30px;flex:none;}
.dailyHero h2{margin:3px 0 6px;font-size:23px;line-height:1.2;}
.dailyHero p{margin:0;line-height:1.5;color:#30425c;}
.dailyDate{font-size:12px;font-weight:800;letter-spacing:1px;color:#1756a8;margin-bottom:12px;}
.dailyWord h2{font-size:24px;line-height:1.35;margin:0 0 10px;}
.dailyWord hr{border:0;border-top:1px solid #e7ebf1;margin:20px 0;}
.dailyWord h3,.dailyPrayer h3{margin-bottom:8px;}
.dailyWord p,.dailyPrayer p{line-height:1.6;}
.dailyActions{display:flex;gap:10px;margin-top:18px;}
.dailyActions button{flex:1;}
.dailyActions .saved{background:#fff4cf;border-color:#f0d57a;color:#7a5a00;}
.dailyPrayer{margin-top:14px;}

.dailyHome{margin:14px 0;display:flex;align-items:center;justify-content:space-between;gap:14px}.dailyHome h2{margin:4px 0 5px;font-size:18px}.dailyHome p{margin:0 0 12px;color:#526176;font-size:13px;line-height:1.45}.dailyHome .primary{flex:none}@media(max-width:420px){.dailyHome{display:block}.dailyHome .primary{width:100%;margin-top:4px}}
/* Correction V15 : éviter l'héritage de la taille d'icône .bible dans la Parole du jour */
.dailyHero{min-height:170px;height:auto;align-items:center;padding:22px 24px;overflow:hidden}
.dailyHero>div:not(.dailyIcon){font-size:inherit}
.dailyHero .dailyIcon{font-size:30px;flex:0 0 58px}
.dailyHero .eyebrow{font-size:11px}
.dailyHero h2{font-size:23px;line-height:1.2;margin:3px 0 6px}
.dailyHero p{font-size:14px;line-height:1.5}

/* V15 final fix: readable Parole du jour introduction */
.dailyHero{color:var(--text);}
.dailyHero h2{color:var(--navy);}
.dailyHero p{color:#30425c;}
.dailyHero .eyebrow{color:var(--blue);}

.profileWelcome{margin-top:12px}.profileWelcome h3{margin:6px 0}.profileWelcome p{margin:0;color:#31445f;line-height:1.5}.plusPanel{margin-top:12px}.panelHead{display:flex;align-items:center;justify-content:space-between;gap:12px}.panelHead h3{margin:0}.panelHead button{border:0;background:transparent;font-size:18px;cursor:pointer}.settingRow{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid #e7ebf2}.settingRow:last-child{border-bottom:0}.settingRow small{display:block;color:#64748b;margin-top:4px}.emptyPanel{text-align:center;padding:10px}.emptyPanel>div{font-size:34px}.favoriteItem p{color:#52637c}.aboutBlock{text-align:center}.aboutBlock img{width:72px;height:72px;object-fit:contain;margin:8px auto}.aboutBlock p{line-height:1.5}.secondary{cursor:pointer}

/* Profil Pasteur */
.profileButton{width:100%;display:flex;align-items:center;text-align:left;border:0;cursor:pointer;gap:12px;background:#fff;}
.profileText{display:flex;flex-direction:column;gap:4px;flex:1;}
.profileText b{font-size:18px;color:#082a57;}
.profileText small{color:#64748b;}
.profileArrow{font-size:28px;color:#0b4f9f;}
.backBtn{border:0;background:transparent;font-size:32px;color:#0b4f9f;cursor:pointer;margin-right:4px;}
.profileDetail{text-align:center;padding:22px;}
.profileDetailPhoto{width:170px;height:170px;object-fit:cover;border-radius:50%;display:block;margin:0 auto 18px;object-position:center top;}
.profileDetail h2{color:#082a57;margin:8px 0 12px;line-height:1.25;}
.profileDetail p{line-height:1.6;color:#334155;}
.profileActions{display:grid;gap:10px;margin-top:20px;}
.profileLinks{margin-top:14px;}
.profileLinks h3{margin-top:0;}
.profileLinks button{width:100%;display:flex;justify-content:space-between;align-items:center;padding:15px 4px;border:0;border-top:1px solid #e5e7eb;background:#fff;font-weight:700;color:#082a57;text-align:left;cursor:pointer;}

/* V19 — Centre de notifications */
.notifBell{position:relative;cursor:pointer}.notifBadge{position:absolute;top:4px;right:5px;min-width:16px;height:16px;padding:0 4px;border-radius:10px;background:#e83b43;color:#fff;font-size:9px;line-height:16px;font-weight:900;border:2px solid var(--navy)}
.notificationPanel{position:relative;margin:12px 16px 0;padding:16px;z-index:4}.notificationPanel[hidden]{display:none!important}.notificationPanel .panelHead{margin-bottom:8px}.notificationPanel .panelHead h3{margin:2px 0 0;color:var(--navy)}
.notificationItem{width:100%;display:flex;align-items:center;gap:12px;text-align:left;border:0;border-bottom:1px solid #e8edf3;background:#fff;padding:13px 2px;cursor:pointer}.notificationItem:last-of-type{border-bottom:0}.notificationIcon{width:42px;height:42px;border-radius:13px;background:#edf4ff;display:grid;place-items:center;font-size:21px;flex:none}.notificationItem span:nth-child(2){flex:1;min-width:0}.notificationItem b{display:block;color:var(--navy);font-size:13px}.notificationItem small{display:block;color:#66758a;font-size:11px;line-height:1.35;margin-top:3px}.notificationItem em{display:inline-block;font-style:normal;color:var(--blue);font-size:9px;font-weight:800;margin-top:5px}.notificationItem>strong{font-size:24px;color:#9aa6b5}.markRead{margin-top:10px}.notifSettingHero{display:flex;gap:12px;align-items:center;background:#f3f7fc;border-radius:14px;padding:14px;margin:8px 0 4px}.notifBig{font-size:32px}.notifSettingHero h3{margin:0 0 4px;color:var(--navy)}.notifSettingHero p{margin:0;color:#5e6d82;font-size:12px;line-height:1.45}.notifTypes{display:grid;gap:9px;padding:15px 0 4px;color:#44556d;font-size:12px}.notifTypes b{color:var(--navy)}
