/* Se multiplier, assujettir et dominer – application de lecture */
:root {
  --red: #A10000; --red2: #C62828; --navy: #0B1530; --orange: #F57C00; --blue: #1E88E5; --teal: #00897B;
  --bg: #F6F4F0; --card: #FFFFFF; --text: #0B1530; --muted: #5C6478; --line: #E4E0D8; --paper: #FFFFFF;
  --fs: 19px; --r: 18px; --shadow: 0 2px 10px rgba(11, 21, 48, .07);
  --sans: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Lora', Georgia, 'Times New Roman', serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
body[data-theme="sepia"] { --bg: #F3E9D7; --card: #FBF4E6; --paper: #F8EFDD; --text: #3B2A16; --muted: #7A6650; --line: #E4D5BA; }
body[data-theme="sombre"] { --bg: #070D1F; --card: #111A33; --paper: #0B1328; --text: #E8EAF2; --muted: #9AA3BC; --line: #1F2A48; --shadow: none; }

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font: 15px/1.5 var(--sans); min-height: 100vh; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; line-height: 1.25; }
.ico { width: 22px; height: 22px; flex: none; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.tiny { font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.k { font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--red); margin: 0 0 4px; }
body[data-theme="sombre"] .k { color: #FF8A80; }
.row-b { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* splash */
.splash { min-height: 100vh; display: grid; place-items: center; background: var(--navy); }
.splash-logo { width: 64px; height: 64px; border-radius: 18px; background: var(--red); animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(.85); opacity: .7; } }

/* boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; background: var(--card); border: 1.5px solid var(--line); }
.btn .ico { width: 18px; height: 18px; }
.btn-primary { background: var(--red); border-color: var(--red); color: #fff; }
.btn-primary:active { background: #7f0000; }
.btn-done { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-ghost { background: transparent; }
.btn-light { background: #fff; color: var(--red); border-color: #fff; }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: .6; }
.danger { color: var(--red2) !important; }
.link { color: var(--blue); font-weight: 500; display: block; text-align: center; margin-top: 14px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; }
.icon-btn.light { color: #fff; background: rgba(255, 255, 255, .15); }
.seg { display: flex; background: var(--line); border-radius: 999px; padding: 4px; margin: 0 0 18px; }
.seg button { flex: 1; padding: 9px 8px; border-radius: 999px; font-weight: 500; font-size: 14px; color: var(--muted); }
.seg button.on { background: var(--card); color: var(--text); box-shadow: var(--shadow); font-weight: 600; }

/* écran de connexion */
.auth { min-height: 100vh; background: var(--navy); display: flex; flex-direction: column; }
.auth-cover { position: relative; min-height: 46vh; background: var(--navy) center/cover no-repeat; display: flex; align-items: flex-end; }
.auth-cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11, 21, 48, .15) 0%, rgba(11, 21, 48, .55) 55%, var(--navy) 100%); }
.auth-cover-text { position: relative; z-index: 1; color: #fff; padding: 28px 24px 18px; }
.auth-author { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #FFCC80; }
.auth-cover h1 { font-family: var(--sans); font-size: 34px; font-weight: 700; margin: 6px 0 4px; text-shadow: 0 2px 12px rgba(0, 0, 0, .4); }
.auth-cover p { margin: 0; color: #fff; opacity: .85; }
.auth-card { background: #fff; color: var(--navy); border-radius: 26px 26px 0 0; padding: 24px 22px calc(28px + var(--safe-b)); flex: 1; max-width: 520px; width: 100%; margin: 0 auto; }
.auth-card .seg { background: #EEEAE3; }
.auth-card .seg button.on { background: #fff; color: var(--navy); }
.auth-lead { margin: 0 0 18px; color: #4A5368; }
.auth-form label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.auth-form input:not(.hp) { display: block; width: 100%; margin-top: 6px; padding: 13px 14px; font: 16px var(--sans); border: 1.5px solid #DAD5CC; border-radius: 12px; background: #FAF9F7; color: var(--navy); }
.auth-form input:focus { outline: none; border-color: var(--blue); background: #fff; }
.form-err { color: var(--red2); font-size: 14px; min-height: 1em; margin: 0 0 10px; }
.fine { font-size: 12px; color: #6B7280; text-align: center; margin: 12px 0 0; }
@media (min-width: 900px) {
  .auth { flex-direction: row; }
  .auth-cover { flex: 1.1; min-height: 100vh; }
  .auth-card { border-radius: 0; display: flex; flex-direction: column; justify-content: center; padding: 48px; max-width: 480px; }
}

/* coquille */
.screen { max-width: 640px; margin: 0 auto; padding: 18px 16px calc(96px + var(--safe-b)); }
.screen.reader { max-width: 720px; padding: 0 0 40px; }
.tabs { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; display: flex; justify-content: space-around; background: var(--card); border-top: 1px solid var(--line); padding: 6px 4px calc(6px + var(--safe-b)); }
.tabs a { flex: 1; max-width: 120px; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 6px 0; font-size: 11px; font-weight: 500; color: var(--muted); border-radius: 12px; }
.tabs a.on { color: var(--red); }
body[data-theme="sombre"] .tabs a.on { color: #FF8A80; }
.tabs a.on .ico { stroke-width: 2.4; }
.top { padding: 8px 4px 16px; }
.top h1, .hello h1 { font-size: 28px; font-weight: 700; }
.card { background: var(--card); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); margin-bottom: 14px; }
.card h3 { font-size: 17px; }
.bar { height: 6px; border-radius: 6px; background: var(--line); overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; background: var(--orange); border-radius: 6px; }
.bar.light { background: rgba(255, 255, 255, .25); } .bar.light i { background: #fff; }
.empty { text-align: center; padding: 48px 20px; color: var(--muted); }
.empty .ico { width: 44px; height: 44px; color: var(--orange); }
.loading { padding: 80px 20px; text-align: center; color: var(--muted); }

/* accueil */
.hello { display: flex; justify-content: space-between; align-items: center; padding: 6px 4px 18px; }
.hello p { margin: 0; }
.streak { display: flex; align-items: center; gap: 4px; background: var(--card); border-radius: 999px; padding: 7px 14px 7px 10px; box-shadow: var(--shadow); color: var(--orange); }
.streak b { font-size: 17px; color: var(--text); } .streak span { font-size: 12px; color: var(--muted); }
.vod { border-radius: 22px; padding: 22px 20px 14px; margin-bottom: 14px; color: #fff; background: linear-gradient(135deg, var(--red) 0%, #6A0C2E 55%, var(--navy) 100%); box-shadow: 0 8px 24px rgba(161, 0, 0, .25); }
.vod-k { margin: 0 0 10px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #FFCC80; font-weight: 600; }
.vod blockquote { margin: 0; font: italic 20px/1.5 var(--serif); }
.vod-f { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.vod cite { font-style: normal; font-weight: 600; font-size: 14px; }
.continue { display: flex; gap: 14px; align-items: center; cursor: pointer; padding: 12px; }
.continue img, .continue-ph { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; flex: none; background: var(--line); display: grid; place-items: center; color: var(--muted); }
.continue > div { flex: 1; min-width: 0; }
.plan-today { border-left: 5px solid var(--blue); }
.passages { list-style: none; margin: 12px 0 0; padding: 0; }
.passages li { padding: 9px 0; border-top: 1px solid var(--line); }
.passages a { color: var(--blue); font-weight: 500; display: flex; align-items: center; justify-content: space-between; }
.passages .ico { width: 16px; height: 16px; opacity: .6; }
.check { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; flex: none; transition: .15s; }
.check .ico { width: 20px; height: 20px; }
.check.on { background: var(--teal); border-color: var(--teal); color: #fff; }
.stats { display: flex; align-items: center; gap: 16px; }
.ring { --p: 0; width: 72px; height: 72px; border-radius: 50%; flex: none; display: grid; place-items: center; background: conic-gradient(var(--teal) calc(var(--p) * 1%), var(--line) 0); }
.ring b { width: 56px; height: 56px; border-radius: 50%; background: var(--card); display: grid; place-items: center; font-size: 15px; }

/* sommaire */
.group { margin-bottom: 22px; }
.group-h { padding: 0 4px 10px; }
.group-h h2 { font-size: 20px; }
.pill { display: inline-block; background: var(--red); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin-bottom: 6px; letter-spacing: .04em; text-transform: uppercase; }
.group:nth-of-type(3) .pill { background: var(--blue); } .group:nth-of-type(4) .pill { background: var(--teal); }
.chap-list { list-style: none; margin: 0; padding: 0; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.chap-list li + li { border-top: 1px solid var(--line); }
.chap-list a { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.chap-list img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; flex: none; }
.chap-list .t { flex: 1; min-width: 0; font-weight: 500; }
.chap-list .t small { display: block; font-size: 12px; font-weight: 600; color: var(--orange); }
.chap-list .t small.muted { color: var(--muted); font-weight: 400; }
.chap-list > li > a > .ico { color: var(--muted); width: 18px; }
.dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; flex: none; color: #fff; }
.dot .ico { width: 15px; height: 15px; }
.dot.on { background: var(--teal); border-color: var(--teal); }

/* lecteur */
.reader-top { position: sticky; top: 0; z-index: 10; display: flex; align-items: center; gap: 6px; padding: 6px 8px; background: color-mix(in srgb, var(--paper) 92%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.reader-title { flex: 1; text-align: center; font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.progress-top { position: sticky; top: 55px; z-index: 10; height: 3px; }
.progress-top i { display: block; height: 100%; width: 0; background: var(--orange); }
.screen.reader { background: var(--paper); min-height: 100vh; }
.chapter { padding: 0 20px; }
.chapter .hero { max-width: none; width: calc(100% + 40px); margin: -3px -20px 22px; aspect-ratio: 4/3; object-fit: cover; }
.chap-label { color: var(--orange); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; font-size: 13px; margin: 24px 0 4px; }
.chapter > h1 { font-size: 28px; font-weight: 700; color: var(--red); margin: 0 0 22px; }
body[data-theme="sombre"] .chapter > h1 { color: #FF8A80; }
.chapter .hero + .chap-label { margin-top: 0; }
.content { font: var(--fs)/1.75 var(--serif); }
.content p, .content li { margin: 0 0 1em; }
.content [data-p] { border-radius: 6px; transition: background .2s; cursor: pointer; scroll-margin: 90px; }
.content [data-p].sel { background: rgba(30, 136, 229, .12); }
.content [data-p].flash { animation: flash 1.6s ease; }
@keyframes flash { 0%, 40% { background: rgba(245, 124, 0, .3); } }
.content [data-p].has-note { position: relative; }
.content [data-p].has-note::after { content: ''; position: absolute; right: -12px; top: .45em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.content h2, .content h3, .content h4 { font-family: var(--sans); color: var(--blue); margin: 1.6em 0 .6em; line-height: 1.3; }
.content h2 { font-size: 1.25em; } .content h3 { font-size: 1.1em; } .content h4 { font-size: 1em; color: var(--teal); }
.content ul, .content ol { padding-left: 1.3em; }
.content strong { font-weight: 600; }
.content a { color: var(--blue); text-decoration: underline; }
.content .verset { font-style: italic; color: var(--navy); border-left: 4px solid var(--red); padding: 4px 0 4px 16px; margin: 1.2em 0; }
body[data-theme="sombre"] .content .verset { color: #F2D7D7; }
.content .encadre, .content .priere, .content .engagement { border-radius: 14px; padding: 14px 16px; margin: 1.2em 0; }
.content .encadre { background: rgba(0, 137, 123, .1); border-left: 4px solid var(--teal); }
.content .priere { background: rgba(245, 124, 0, .1); border-left: 4px solid var(--orange); font-style: italic; }
.content .engagement { background: rgba(30, 136, 229, .1); border-left: 4px solid var(--blue); }
.content .soustitre { font-family: var(--sans); font-weight: 600; color: var(--red); font-size: 1.05em; }
.content .dedicace { text-align: center; font-style: italic; }
.content .mentions { font-size: .8em; color: var(--muted); }
.content figure { margin: 1.4em 0; }
.content figure img { border-radius: 12px; margin: 0 auto; }
.content .parchemin img { max-width: 520px; width: 100%; border-radius: 0; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .15)); }
.content table, .content .tableau { width: 100%; border-collapse: collapse; font: .78em/1.4 var(--sans); margin: 1.2em 0; display: block; overflow-x: auto; }
.content th, .content td { border: 1px solid var(--line); padding: 7px 8px; text-align: left; vertical-align: top; }
.content th { background: var(--navy); color: #fff; }
.content sup.fn { color: var(--red); font-weight: 700; cursor: help; padding: 0 3px; }
.content .plan-cta { margin: 1.2em 0; text-align: center; }
.hl-jaune { background: rgba(255, 213, 79, .45) !important; }
.hl-vert { background: rgba(102, 187, 106, .35) !important; }
.hl-bleu { background: rgba(79, 195, 247, .35) !important; }
.hl-rose { background: rgba(240, 98, 146, .3) !important; }
.end-mark { height: 1px; margin: 2em 0 1.2em; background: var(--line); }
.pager { display: flex; gap: 10px; margin: 18px 0 30px; }
.pager a { flex: 1; display: flex; align-items: center; gap: 8px; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; font-size: 13px; font-weight: 500; min-width: 0; }
.pager a span { min-width: 0; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pager small { display: block; color: var(--muted); font-size: 11px; }
.pager .nx { text-align: right; justify-content: flex-end; }

/* feuille d'actions */
.sheet-wrap { position: fixed; inset: 0; z-index: 50; }
.sheet-bg { position: absolute; inset: 0; background: rgba(7, 13, 31, .35); animation: fade .2s; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; max-width: 640px; margin: 0 auto; background: var(--card); color: var(--text); border-radius: 22px 22px 0 0; padding: 18px 18px calc(20px + var(--safe-b)); box-shadow: 0 -6px 30px rgba(0, 0, 0, .2); animation: up .22s ease; max-height: 85vh; overflow: auto; }
.sheet::before { content: ''; display: block; width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: -6px auto 14px; }
.sheet h3 { margin-bottom: 12px; }
@keyframes up { from { transform: translateY(100%); } }
@keyframes fade { from { opacity: 0; } }
.sheet-colors { display: flex; gap: 14px; justify-content: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.sw { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 2px solid rgba(0, 0, 0, .06); }
.sw-jaune { background: #FFD54F; } .sw-vert { background: #81C784; } .sw-bleu { background: #4FC3F7; } .sw-rose { background: #F48FB1; }
.sw-none { background: var(--bg); color: var(--muted); }
.sw-none .ico { width: 18px; }
.sw.mini { width: 10px; height: 10px; display: inline-block; vertical-align: middle; margin-right: 6px; border: 0; }
.sheet-actions { display: flex; justify-content: space-around; padding-top: 14px; }
.sheet-actions button { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); padding: 6px 12px; }
.sheet-actions .ico { color: var(--text); }
.sheet textarea { width: 100%; font: 16px/1.5 var(--sans); padding: 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); margin: 4px 0 14px; resize: vertical; }
blockquote.q { margin: 0 0 10px; padding: 8px 12px; border-left: 3px solid var(--orange); font: italic 14px/1.5 var(--serif); color: var(--muted); }
.aa-row { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 16px; }
.aa-size { min-width: 60px; text-align: center; font-weight: 600; }

/* plans */
.plan-hero { border-radius: 22px; padding: 22px 20px; margin-bottom: 18px; color: #fff; background: linear-gradient(135deg, var(--blue), var(--navy)); }
.plan-hero .k { color: #BBDEFB; }
.plan-hero h2 { font-size: 24px; margin-bottom: 8px; }
.plan-hero p { margin: 0 0 10px; opacity: .92; }
.plan-hero .bul { margin: 0 0 18px; padding-left: 18px; opacity: .92; }
.plan-hero.small h2 { margin-bottom: 0; }
.sub { font-size: 16px; margin: 4px 4px 10px; }
.days { list-style: none; margin: 0; padding: 0; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.days li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.days li + li { border-top: 1px solid var(--line); }
.days li.today { background: rgba(30, 136, 229, .08); }
.days li.done .dnum { background: var(--teal); color: #fff; }
.dnum { width: 34px; height: 34px; border-radius: 10px; background: var(--bg); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.dtxt { flex: 1; min-width: 0; font-size: 14px; }
.dtxt a { color: var(--blue); }
.dtxt i { font-style: normal; color: var(--muted); padding: 0 6px; }
.dtxt small { display: block; color: var(--blue); font-weight: 600; }
.days .check { width: 34px; height: 34px; }

/* notes */
.note-list { list-style: none; margin: 0; padding: 0; }
.note-list li { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); margin-bottom: 12px; }
.note-list a { display: block; padding: 14px 16px; }
.note-list small { color: var(--orange); font-weight: 600; font-size: 12px; }
.note-list p { margin: 0; }

/* profil */
.profile { text-align: center; padding: 18px 0 20px; }
.avatar { width: 78px; height: 78px; margin: 0 auto 10px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--red), var(--orange)); }
.profile h1 { font-size: 22px; }
.profile p { margin: 2px 0 0; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 18px; }
.kpis div { background: var(--card); border-radius: 14px; padding: 12px 4px; text-align: center; box-shadow: var(--shadow); }
.kpis b { display: block; font-size: 20px; color: var(--red); }
body[data-theme="sombre"] .kpis b { color: #FF8A80; }
.kpis span { font-size: 11px; color: var(--muted); line-height: 1.2; display: block; }
.menu { list-style: none; margin: 0; padding: 0; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.menu li + li { border-top: 1px solid var(--line); }
.menu button, .menu a, .menu .hint { display: flex; align-items: center; gap: 12px; width: 100%; padding: 15px 16px; text-align: left; font-weight: 500; }
.menu .hint { color: var(--muted); font-weight: 400; font-size: 13px; }
.menu .ico { color: var(--blue); }
.about { text-align: center; }
.about img { width: 110px; height: 110px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }
.about p { text-align: left; }

/* notification */
.toast { position: fixed; left: 50%; bottom: calc(86px + var(--safe-b)); z-index: 60; transform: translate(-50%, 20px); max-width: calc(100% - 32px); background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 12px; font-size: 14px; box-shadow: 0 6px 20px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transition: .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body[data-theme="sombre"] .toast { background: #2A3558; }

@media (min-width: 760px) {
  .tabs { top: 0; bottom: 0; right: auto; width: 92px; flex-direction: column; justify-content: flex-start; gap: 6px; padding: 24px 6px; border-top: 0; border-right: 1px solid var(--line); }
  .tabs a { flex: none; max-width: none; padding: 10px 0; }
  .screen { padding: 32px 24px 40px 116px; max-width: 760px; }
  .screen.reader { padding-left: 0; }
  .toast { bottom: 30px; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ===================== v1.1 : barre du haut, widgets, écouter, prière, tentation ===================== */
.appbar { position: sticky; top: 0; z-index: 25; display: flex; align-items: center; gap: 10px; padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top, 0px)); background: color-mix(in srgb, var(--bg) 90%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 9px; flex: 1; min-width: 0; font-weight: 700; font-size: 15px; line-height: 1.1; }
.brand small { display: block; font-weight: 500; font-size: 11px; color: var(--muted); }
.logo { width: 34px; height: 34px; border-radius: 10px; background: var(--red); color: #fff; display: grid; place-items: center; flex: none; }
.logo .ico { width: 18px; height: 18px; }
.don-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 13px; border-radius: 999px; background: linear-gradient(135deg, var(--orange), #E65100); color: #fff; font-weight: 600; font-size: 13px; box-shadow: 0 3px 10px rgba(245, 124, 0, .35); white-space: nowrap; }
.don-btn .ico { width: 16px; height: 16px; fill: currentColor; }
.avatar-sm { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; flex: none; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(135deg, var(--red), var(--orange)); border: 2px solid var(--card); box-shadow: 0 0 0 2px transparent; }
.avatar-sm.on { box-shadow: 0 0 0 2px var(--red); }
@media (max-width: 380px) { .don-btn span { display: none; } .don-btn { padding: 9px; } .brand small { display: none; } }
.don-sheet { text-align: center; }
.don-sheet .don-ico { width: 60px; height: 60px; border-radius: 50%; margin: 0 auto 10px; display: grid; place-items: center; background: rgba(245, 124, 0, .14); color: var(--orange); }
.don-sheet .don-ico .ico { width: 28px; height: 28px; fill: currentColor; }
.don-sheet p { color: var(--muted); }

/* widgets */
.w { display: block; border-radius: 22px; padding: 18px; margin-bottom: 14px; background: var(--card); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.w h3 { font-size: 18px; margin: 2px 0 4px; }
.w .small { margin: 0; color: var(--muted); }
.w-h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.w-k { flex: 1; margin: 0; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.w-ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.w-ico .ico { width: 19px; height: 19px; }
.tag { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--bg); color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }
.tag .ico { width: 12px; height: 12px; }
.tag.ok { background: var(--teal); color: #fff; }
.w-boost { color: #fff; background: radial-gradient(120% 90% at 100% 0%, #F57C00 0%, transparent 55%), linear-gradient(140deg, #A10000 0%, #6A0C2E 55%, #0B1530 100%); box-shadow: 0 10px 26px rgba(161, 0, 0, .28); }
.w-boost .w-ico { background: rgba(255, 255, 255, .18); color: #FFE082; }
.w-boost .w-k { color: #FFE082; }
.boost-word { font: 600 21px/1.4 var(--sans); margin: 4px 0 14px; }
.w-boost blockquote { margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .12); font: italic 15px/1.55 var(--serif); }
.w-boost cite { display: block; font: 600 12px var(--sans); font-style: normal; margin-top: 6px; color: #FFE082; }
.w-prayer { border-left: 5px solid var(--teal); }
.w-prayer .w-ico { background: rgba(0, 137, 123, .12); color: var(--teal); }
.w-prayer .w-k { color: var(--teal); }
.w-line { font: italic 15px/1.55 var(--serif); margin: 10px 0 8px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.w-cta { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--teal); font-size: 14px; }
.w-cta .ico { width: 16px; height: 16px; }
.w-listen .w-ico { background: rgba(30, 136, 229, .12); color: var(--blue); }
.w-listen .w-k { color: var(--blue); }
.listen-row { display: flex; align-items: center; gap: 12px; }
.listen-row img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; }
.listen-row > div { flex: 1; min-width: 0; }
.listen-row h3 { font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.play-big { width: 52px; height: 52px; border-radius: 50%; flex: none; display: grid; place-items: center; background: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(30, 136, 229, .35); }
.play-big .ico { width: 22px; height: 22px; }
.play-big.xl { width: 70px; height: 70px; background: #fff; color: var(--navy); }
.play-big.xl .ico { width: 28px; height: 28px; }
.w-tempt { background: linear-gradient(160deg, #0B1530, #1B2A55); color: #fff; }
.w-tempt .w-ico { background: rgba(255, 82, 82, .2); color: #FF8A80; }
.w-tempt .w-k { color: #FF8A80; }
.w-tempt .small { color: #C5CBE0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { padding: 8px 12px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: 13px; font-weight: 500; }
.chip.more { display: inline-flex; align-items: center; gap: 2px; background: #fff; color: var(--navy); }
.chip .ico { width: 14px; height: 14px; }
.w-bible .w-ico { background: rgba(245, 124, 0, .14); color: var(--orange); }
.w-bible .w-k { color: var(--orange); }
.w-bible .btn { margin-top: 12px; }

/* écouter */
.player { text-align: center; color: #fff; border-radius: 24px; padding: 22px 18px 16px; margin-bottom: 20px; background: linear-gradient(160deg, var(--blue), var(--navy)); }
.player img { width: 190px; height: 190px; border-radius: 20px; object-fit: cover; margin: 0 auto 16px; box-shadow: 0 12px 30px rgba(0, 0, 0, .35); }
.player .k { color: #BBDEFB; }
.player h2 { font-size: 19px; margin: 2px 0 14px; }
.pl-ctrl { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 12px; }
.pl-ctrl .icon-btn { color: #fff; }
.rates { display: inline-flex; gap: 6px; background: rgba(255, 255, 255, .12); padding: 4px; border-radius: 999px; }
.rates button { padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #DDE6F5; }
.rates button.on { background: #fff; color: var(--navy); }
.light-t { color: #BBDEFB; margin-top: 10px; }
.lrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; width: 100%; text-align: left; }
.lrow .t { flex: 1; min-width: 0; font-weight: 500; }
.lrow .t small { display: block; font-size: 12px; font-weight: 600; color: var(--orange); }
.lrow .t small.muted { color: var(--muted); font-weight: 400; }
.lrow > .ico { width: 18px; height: 18px; color: var(--blue); }
.lrow.cur { background: rgba(30, 136, 229, .08); }
.mini { position: fixed; left: 8px; right: 8px; bottom: calc(68px + var(--safe-b)); z-index: 19; display: flex; align-items: center; gap: 4px; padding: 6px 6px 6px 12px; border-radius: 16px; background: var(--navy); color: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); overflow: hidden; }
.mini-p { position: absolute; left: 0; bottom: 0; height: 3px; background: var(--orange); }
.mini-t { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; }
.mini-t span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-t small { display: block; font-size: 11px; font-weight: 400; color: #9AA3BC; }
.mini .icon-btn { color: #fff; }
body.has-mini .screen { padding-bottom: calc(160px + var(--safe-b)); }
body.has-mini .toast { bottom: calc(150px + var(--safe-b)); }

/* prière */
.back { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; color: var(--muted); margin: 0 0 12px; font-size: 14px; }
.back .ico { width: 18px; height: 18px; }
.pr-head { border-radius: 22px; padding: 20px; color: #fff; background: linear-gradient(150deg, var(--teal), #004D40); margin-bottom: 14px; }
.pr-head .tag { background: rgba(255, 255, 255, .18); color: #fff; }
.pr-head h1 { font-size: 24px; margin: 10px 0 4px; }
.pr-head p { margin: 0 0 14px; opacity: .9; }
.pr-head blockquote { margin: 0; padding: 12px 14px; border-radius: 14px; background: rgba(255, 255, 255, .12); font: italic 15px/1.5 var(--serif); }
.pr-head cite { display: block; font: 600 12px var(--sans); margin-top: 6px; }
.pr-actions { margin-bottom: 12px; }
.pr-lines { list-style: none; counter-reset: l; margin: 0 0 18px; padding: 0; font: var(--fs)/1.7 var(--serif); }
.pr-lines li { position: relative; padding: 12px 4px 12px 34px; border-bottom: 1px solid var(--line); }
.pr-lines li::before { counter-increment: l; content: counter(l); position: absolute; left: 0; top: 15px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0, 137, 123, .14); color: var(--teal); font: 700 12px/22px var(--sans); text-align: center; }
.pr-list { list-style: none; margin: 0; padding: 0; }
.pr-list a { display: flex; align-items: center; gap: 12px; padding: 14px; margin-bottom: 10px; border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.pr-list a.today { box-shadow: 0 0 0 2px var(--teal); }
.pr-list .t { flex: 1; min-width: 0; font-weight: 600; }
.pr-list .t small { display: block; font-size: 12px; font-weight: 400; }
.pr-list .today-t { color: var(--teal) !important; font-weight: 700 !important; }
.pr-list > li > a > .ico { color: var(--muted); width: 18px; }
.pr-n { width: 38px; height: 38px; border-radius: 12px; flex: none; display: grid; place-items: center; font-weight: 700; color: #fff; background: var(--teal); }

/* tentation */
.tempt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tempt-grid a { display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 96px; padding: 14px; border-radius: 18px; color: #fff; font-weight: 600; font-size: 14px; line-height: 1.3; background: linear-gradient(150deg, #1B2A55, #0B1530); }
.tempt-grid a:nth-child(3n+2) { background: linear-gradient(150deg, #A10000, #5A0A24); }
.tempt-grid a:nth-child(3n) { background: linear-gradient(150deg, #E65100, #A10000); }
.tempt-grid small { font-weight: 500; font-size: 12px; opacity: .8; }
.screen.tempt { max-width: none; padding: 0; }
.tempt-full { min-height: calc(100vh - 60px); padding: 18px 22px calc(110px + var(--safe-b)); color: #fff; background: radial-gradient(120% 70% at 50% 0%, #A10000 0%, #3A0718 45%, #0B1530 100%); }
.tempt-full > * { max-width: 600px; margin-left: auto; margin-right: auto; }
.back.light { color: #FFCDD2; display: flex; }
.tf-sit { font-size: 14px; font-weight: 600; color: #FFCDD2; margin: 6px auto 22px; text-transform: uppercase; letter-spacing: .06em; }
.tf-k { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #FFE082; margin: 0 auto 8px; }
.tempt-full blockquote { margin: 0 auto 26px; font: italic 22px/1.5 var(--serif); }
.tempt-full cite { display: block; font: 600 14px var(--sans); color: #FFE082; margin-top: 8px; }
.tf-decl { font: 700 26px/1.4 var(--sans); margin: 0 auto 28px; }
.tf-act { display: grid; gap: 10px; }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .6); }
.tf-tip { font-size: 13px; color: #C5CBE0; margin-top: 18px; }
@media (min-width: 760px) {
  .appbar { padding-left: 116px; }
  .mini { left: 104px; right: 16px; bottom: 16px; max-width: 640px; }
  body.has-mini .screen { padding-bottom: 110px; }
  .screen.tempt { padding-left: 92px; }
}
.player img.book { width: 140px; height: auto; border-radius: 6px 12px 12px 6px; }
