/* Prie avec — maquette v6 · palette « Lumière »
   Deep blue night, warm white, sky blue accents and golden-yellow light. No orange. */
:root {
  --night-950: #0a1b2c;
  --night-900: #0f2a42;
  --night-800: #163a5a;
  --night-700: #214e78;
  --ivory: #fdfbf7;
  --paper: #ffffff;
  --sand: #eef3f8;
  --line: #e2e8ef;
  --gold: #f2b631;
  --gold-light: #ffd36e;
  --gold-text: #2a63a6;
  --lav: #9fc0e0;
  --lav-soft: #eaf2fa;
  --ink: #102a43;
  --text: #2b3a4b;
  --muted: #5c6b7c;
  --on-night: #e8eef5;
  --on-night-muted: #a9b9cc;
  --ok: #2f7a55;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-card: 22px;
  --r-pill: 999px;
  --shadow: 0 1px 2px rgb(15 42 66 / .05), 0 18px 50px -24px rgb(15 42 66 / .28);
  --shadow-lift: 0 2px 6px rgb(15 42 66 / .06), 0 30px 70px -28px rgb(15 42 66 / .4);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font: 400 1rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; font-optical-sizing: auto; color: var(--ink); line-height: 1.06; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
em { font-style: italic; font-weight: 400; color: var(--gold-text); }
.on-night em, .hero em { color: var(--gold-light); }
p { margin: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 8px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

.wrap { width: 100%; max-width: 1220px; margin-inline: auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font: 700 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); display: inline-flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .7; }
.on-night .eyebrow, .hero .eyebrow { color: var(--gold-light); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 40rem; }
.on-night .lead { color: var(--on-night-muted); }
.section { padding-block: clamp(72px, 10vw, 120px); }
.section-head { display: grid; gap: 18px; max-width: 46rem; }
.section-head h2 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
.on-night { background: var(--night-900); color: var(--on-night); }
.on-night h1, .on-night h2, .on-night h3 { color: #fff; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 52px; padding: 0 26px; border-radius: var(--r-pill); font: 700 .95rem/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn-gold { background: linear-gradient(135deg, #ffe08f, #f6bf3c); color: var(--ink); box-shadow: 0 10px 30px -10px rgb(230 170 30 / .65); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgb(230 170 30 / .8); }
.btn-night { background: var(--night-900); color: #fff; }
.btn-night:hover { background: var(--night-800); transform: translateY(-2px); }
.btn-glass { background: rgb(255 255 255 / .1); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35); backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgb(255 255 255 / .18); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: .88rem; }
.flame-ico { width: 12px; height: 18px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 70%, #fff8e1 0 25%, #ffd27a 45%, #f39b2f 80%); box-shadow: 0 0 12px 3px rgb(255 190 90 / .55); animation: flicker 2.6s ease-in-out infinite; }

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; transition: background .35s, box-shadow .35s, color .35s; color: #fff; padding-top: env(safe-area-inset-top, 0px); }
.site-header .bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.site-header.solid, .site-header.light { background: rgb(253 251 247 / .92); backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.logo svg { width: 34px; height: 34px; }
.logo span { font: 600 1.75rem/1 var(--serif); letter-spacing: -.01em; }
.nav { display: flex; gap: 6px; align-items: center; }
.nav a { text-decoration: none; font: 600 .92rem/1 var(--sans); padding: 10px 14px; border-radius: var(--r-pill); opacity: .9; }
.nav a:hover, .nav a[aria-current="page"] { background: rgb(255 255 255 / .12); opacity: 1; }
.solid .nav a:hover, .light .nav a:hover { background: var(--night-900); color: #fff; }
.solid .nav a[aria-current="page"], .light .nav a[aria-current="page"] { background: transparent; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.site-header:not(.solid):not(.light) .nav a[aria-current="page"] { background: transparent; box-shadow: inset 0 -2px 0 var(--gold-light); border-radius: 0; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .account { font: 600 .9rem/1 var(--sans); text-decoration: none; padding: 10px 12px; }
.menu-btn { display: none; background: none; border: 0; color: inherit; padding: 10px; cursor: pointer; }
.menu-btn svg { width: 26px; height: 26px; }
@media (max-width: 1020px) { .nav, .header-cta .account, .header-cta .btn-line-h { display: none; } .menu-btn { display: inline-flex; } }
@media (max-width: 560px) { .header-cta .btn { display: none; } }
.mobile-menu { position: fixed; inset: 0; z-index: 60; background: var(--night-950); color: #fff; padding: calc(env(safe-area-inset-top, 0px) + 90px) max(24px, env(safe-area-inset-right, 0px)) 32px max(24px, env(safe-area-inset-left, 0px)); display: flex; flex-direction: column; gap: 4px; overflow: auto; }
.mobile-menu a.big { font: 600 2rem/1.2 var(--serif); text-decoration: none; padding: 14px 0; border-bottom: 1px solid rgb(255 255 255 / .1); }
.mobile-menu .close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 18px); right: max(18px, env(safe-area-inset-right, 0px)); background: none; border: 0; color: #fff; font: 600 1rem var(--sans); padding: 12px; cursor: pointer; }
.mobile-menu .btns { display: grid; gap: 12px; margin-top: 28px; }

/* Hero */
.hero { position: relative; min-height: min(100vh, 940px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--night-950); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; filter: brightness(1.15) saturate(1.1); transform: scale(1.04); animation: slowzoom 28s ease-out forwards; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(10 27 44 / .88) 0%, rgb(10 27 44 / .5) 42%, rgb(10 27 44 / 0) 75%), linear-gradient(0deg, rgb(10 27 44 / .7) 0%, rgb(10 27 44 / 0) 26%); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-top: 150px; padding-bottom: 46px; }
.hero h1 { color: #fff; font-size: clamp(3rem, 7.4vw, 6.4rem); font-weight: 500; max-width: 13ch; line-height: .98; margin-top: 22px; }
.hero h1 em { display: block; }
.hero .lead { color: rgb(232 238 245 / .85); margin-top: 26px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero-stats { margin-top: clamp(48px, 8vw, 90px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; border-radius: var(--r-card); overflow: hidden; background: rgb(255 255 255 / .12); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.hero-stats div { background: rgb(10 27 44 / .45); padding: 20px 22px; }
.hero-stats b { display: block; font: 600 2.1rem/1 var(--serif); color: #fff; font-variant-numeric: tabular-nums; }
.hero-stats span { font-size: .84rem; color: var(--on-night-muted); }
@media (max-width: 760px) { .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.live-card { position: absolute; z-index: 3; right: max(20px, calc((100vw - 1220px) / 2 + 20px)); top: 150px; width: 320px; padding: 18px 18px 8px; border-radius: 20px; background: rgb(253 251 247 / .95); color: var(--ink); box-shadow: var(--shadow-lift); }
.live-card .mini-candle { flex-shrink: 0; }
.live-card p { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.live-card strong { color: var(--ink); font-weight: 700; }
.live-card .dot { width: 8px; height: 8px; border-radius: 50%; background: #3fbf6a; display: inline-block; margin-right: 6px; box-shadow: 0 0 0 4px rgb(63 191 106 / .2); }
@media (max-width: 1020px) { .live-card { display: none; } }
.demo-note { font-size: .72rem; color: var(--on-night-muted); margin-top: 12px; opacity: .8; }

/* Two gestures */
.gestures { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; margin-top: 56px; }
@media (max-width: 860px) { .gestures { grid-template-columns: 1fr; } }
.gesture { position: relative; min-height: 560px; border-radius: 28px; overflow: hidden; color: #fff; display: flex; align-items: flex-end; text-decoration: none; isolation: isolate; box-shadow: var(--shadow-lift); }
.gesture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s var(--ease); }
.gesture::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(10 27 44 / .95) 8%, rgb(10 27 44 / .2) 60%, rgb(10 27 44 / 0)); }
.gesture:hover img { transform: scale(1.05); }
.gesture-body { padding: 34px; display: grid; gap: 14px; }
.gesture .tag { justify-self: start; display: inline-flex; gap: 8px; align-items: center; font: 700 .75rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 9px 13px; border-radius: var(--r-pill); background: rgb(255 255 255 / .14); backdrop-filter: blur(6px); }
.gesture .tag svg { width: 15px; height: 15px; }
.gesture h3 { color: #fff; font-size: clamp(2.2rem, 4vw, 3rem); }
.gesture p { color: rgb(232 238 245 / .85); max-width: 30rem; }
.gesture .go { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; color: var(--gold-light); margin-top: 6px; }
.gesture .go svg { width: 18px; transition: transform .3s var(--ease); }
.gesture:hover .go svg { transform: translateX(5px); }

/* Candle wall */
.wall { background: radial-gradient(1200px 500px at 30% 0%, #1d4c78 0%, var(--night-900) 55%, var(--night-950) 100%); position: relative; overflow: hidden; }
.wall-head { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-end; }
.seg { display: inline-flex; padding: 5px; border-radius: var(--r-pill); background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); }
.seg button { border: 0; background: none; color: var(--on-night-muted); font: 700 .86rem/1 var(--sans); padding: 12px 18px; border-radius: var(--r-pill); cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--gold-light); color: var(--ink); }
.candles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; margin-top: 44px; }
@media (max-width: 1100px) { .candles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 640px) { .candles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.candle-card { position: relative; border-radius: 20px; padding: 26px 12px 18px; text-align: center; background: linear-gradient(180deg, rgb(255 255 255 / .06), rgb(255 255 255 / .02)); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .09); display: grid; justify-items: center; gap: 4px; min-width: 0; animation: rise .8s var(--ease) both; }
.candle-card.mine { box-shadow: inset 0 0 0 1.5px var(--gold-light), 0 0 40px -10px rgb(255 201 107 / .45); }
.candle-card .badge { position: absolute; top: 10px; left: 10px; font: 700 .68rem/1 var(--sans); padding: 6px 8px; border-radius: var(--r-pill); background: rgb(242 182 49 / .22); color: var(--gold-light); }
.candle-card .badge.you { background: rgb(255 255 255 / .16); color: #fff; }
.candle-card .name { font: 600 1.3rem/1.15 var(--serif); color: #fff; margin-top: 14px; overflow-wrap: anywhere; }
.candle-card .ded { font: italic 500 1rem/1.25 var(--serif); color: var(--gold-light); overflow-wrap: anywhere; }
.candle-card .meta { font-size: .76rem; color: var(--on-night-muted); }
.wall-foot { display: flex; flex-wrap: wrap; gap: 18px; justify-content: space-between; align-items: center; margin-top: 36px; padding-top: 28px; border-top: 1px solid rgb(255 255 255 / .1); color: var(--on-night-muted); }
.wall-foot b { color: var(--gold-light); }

/* CSS candle */
.candle { --h: 70px; position: relative; width: 22px; height: calc(var(--h) + 34px); display: flex; align-items: flex-end; justify-content: center; }
.candle .wax { width: 22px; height: var(--h); border-radius: 4px 4px 3px 3px; background: linear-gradient(90deg, #cdbb98 0%, #fff7e6 35%, #fffaf0 55%, #d6c4a0 100%); box-shadow: inset 0 8px 10px -6px rgb(255 190 100 / .7); }
.candle .wick { position: absolute; bottom: var(--h); width: 2px; height: 7px; background: #2a1d14; border-radius: 1px; }
.candle .fl { position: absolute; bottom: calc(var(--h) + 4px); width: 12px; height: 26px; border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: radial-gradient(circle at 50% 72%, #fffef4 0 22%, #ffe59c 40%, #ffb347 70%, rgb(255 140 40 / 0) 100%); transform-origin: 50% 100%; animation: flicker 2.8s ease-in-out infinite; filter: blur(.3px); }
.candle .halo { position: absolute; bottom: calc(var(--h) - 22px); width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgb(255 200 110 / .38), rgb(255 200 110 / 0) 65%); animation: breathe 3.5s ease-in-out infinite; }
.candle.sm { --h: 44px; transform: scale(.85); }
.candle.tall { --h: 92px; }
.mini-candle { --h: 30px; width: 14px; }
.mini-candle .wax { width: 14px; }
.mini-candle .fl { width: 9px; height: 18px; }
.mini-candle .halo { width: 60px; height: 60px; }

/* Map */
.map-section { background: var(--ivory); }
.map-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 28px; margin-top: 52px; align-items: start; }
@media (max-width: 980px) { .map-grid { grid-template-columns: 1fr; } }
.map-card { position: relative; border-radius: 28px; overflow: hidden; background: radial-gradient(900px 500px at 50% 40%, #1c3f66, var(--night-950)); padding: 26px; box-shadow: var(--shadow-lift); }
.map-card svg { width: 100%; height: auto; display: block; }
.map-card .land { fill: #4b4588; opacity: .55; }
.map-card .lit { fill: #ffd27a; }
.map-card .lit-halo { fill: url(#halo); animation: breathe 3.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.map-card .ripple { fill: none; stroke: #ffe1a1; stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: ripple 1.8s ease-out 3; }
.map-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgb(255 255 255 / .1); color: var(--on-night-muted); font-size: .82rem; }
.map-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.map-tip { position: absolute; pointer-events: none; background: var(--paper); color: var(--ink); padding: 8px 12px; border-radius: 12px; font-size: .82rem; box-shadow: var(--shadow); transform: translate(-50%, -130%); white-space: nowrap; }
.map-tip b { font-weight: 700; }
.stat-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.stat { background: var(--paper); border-radius: 18px; padding: 18px 12px; text-align: center; box-shadow: 0 0 0 1px var(--line); }
.stat b { display: block; font: 600 2.2rem/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.stat span { font-size: .8rem; color: var(--muted); }
.side-card { margin-top: 16px; background: var(--paper); border-radius: 22px; padding: 26px; box-shadow: 0 0 0 1px var(--line), var(--shadow); text-align: center; display: grid; gap: 12px; justify-items: center; }
.side-card h3 { font-size: 1.7rem; }
.side-card p { color: var(--muted); font-size: .95rem; }
.top-list { margin-top: 22px; }
.top-list h4 { font: 700 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.top-list ol { list-style: none; padding: 0; margin: 0; }
.top-list li { display: grid; grid-template-columns: 28px 1fr auto; gap: 8px; padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: .95rem; }
.top-list li span:first-child { color: var(--gold-text); font-weight: 700; }
.top-list li b { font-variant-numeric: tabular-nums; }

/* Priests */
.priests { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .priests { grid-template-columns: 1fr; } }
.priests-media { position: relative; border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3.4; box-shadow: var(--shadow-lift); max-width: 100%; }
.priests-media img { width: 100%; height: 100%; object-fit: cover; }
.priests-media .stamp { position: absolute; left: 20px; bottom: 20px; background: rgb(253 251 247 / .94); border-radius: 16px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); }
.priests-media .stamp b { font: 600 1.7rem/1 var(--serif); color: var(--ink); }
.priests-media .stamp span { font-size: .8rem; color: var(--muted); line-height: 1.3; display: block; }
.points { display: grid; gap: 22px; margin-top: 34px; }
.point { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--sand); color: var(--gold-text); }
.ico svg { width: 24px; height: 24px; }
.point h3 { font-size: 1.45rem; }
.point p { color: var(--muted); margin-top: 4px; }
.quote { margin-top: 34px; padding: 24px 26px; border-left: 3px solid var(--gold); background: var(--paper); border-radius: 0 18px 18px 0; font: italic 500 1.35rem/1.45 var(--serif); color: var(--ink); }
.placeholder { font-size: .78rem; color: var(--gold-text); background: repeating-linear-gradient(-45deg, #fff8dc, #fff8dc 8px, #fdf0c4 8px, #fdf0c4 16px); border: 1px dashed var(--gold); border-radius: 10px; padding: 8px 12px; margin-top: 16px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 52px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--paper); border-radius: var(--r-card); padding: 30px; box-shadow: 0 0 0 1px var(--line); position: relative; overflow: hidden; }
.step::after { counter-increment: s; content: counter(s); position: absolute; right: 18px; top: -6px; font: 500 6rem/1 var(--serif); color: #ffe6a3; }
.step .ico { position: relative; z-index: 1; }
.step h3 { font-size: 1.6rem; margin-top: 20px; position: relative; z-index: 1; }
.step p { color: var(--muted); margin-top: 8px; position: relative; z-index: 1; }

/* Prayers */
.prayers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 48px; }
@media (max-width: 900px) { .prayers { grid-template-columns: 1fr; } }
.prayer { display: grid; text-decoration: none; background: var(--paper); border-radius: var(--r-card); overflow: hidden; box-shadow: 0 0 0 1px var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.prayer:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.prayer .art { height: 170px; position: relative; display: grid; place-items: center; }
.prayer .art svg { width: 64px; height: 64px; color: #fff; opacity: .92; }
.prayer .art.a1 { background: radial-gradient(circle at 30% 30%, #f3c98a, #b8722f 70%); }
.prayer .art.a2 { background: radial-gradient(circle at 70% 30%, #6d86c4, #1c2f5f 75%); }
.prayer .art.a3 { background: radial-gradient(circle at 40% 70%, #b9c7a7, #55704f 75%); }
.prayer .body { padding: 24px 26px 28px; display: grid; gap: 8px; }
.prayer .kind { font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-text); }
.prayer h3 { font-size: 1.65rem; }
.prayer p { color: var(--muted); font-size: .95rem; }

/* Support band */
.support { position: relative; overflow: hidden; color: #fff; isolation: isolate; }
.support img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.support::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 27 44 / .88), rgb(10 27 44 / .45) 70%, rgb(10 27 44 / .2)); }
.support .inner { padding-block: clamp(80px, 11vw, 140px); display: grid; gap: 20px; max-width: 42rem; }
.support h2 { color: #fff; font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 500; }
.support p { color: rgb(232 238 245 / .85); font-size: 1.1rem; }
.amounts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.amount { min-width: 84px; min-height: 52px; border-radius: 16px; border: 0; cursor: pointer; font: 700 1.05rem/1 var(--sans); background: rgb(255 255 255 / .12); color: #fff; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3); backdrop-filter: blur(6px); }
.amount[aria-pressed="true"] { background: var(--gold-light); color: var(--ink); box-shadow: none; }

/* Footer */
.site-footer { background: var(--night-950); color: var(--on-night-muted); padding-block: 72px 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.site-footer .logo { color: #fff; }
.site-footer h4 { font: 700 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.foot-tag { font: italic 500 1.4rem/1.3 var(--serif); color: #fff; margin-top: 18px; max-width: 22rem; }
.foot-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgb(255 255 255 / .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .8rem; }

/* Page hero (inner pages) */
.page-hero { position: relative; padding: calc(env(safe-area-inset-top, 0px) + 150px) 0 70px; color: #fff; overflow: hidden; isolation: isolate; background: var(--night-950); }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .75; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 27 44 / .93), rgb(10 27 44 / .55) 70%, rgb(10 27 44 / .3)), linear-gradient(0deg, rgb(10 27 44 / .7), transparent 50%); }
.page-hero h1 { color: #fff; font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 500; max-width: 15ch; margin-top: 18px; }
.page-hero .lead { color: rgb(232 238 245 / .85); margin-top: 18px; }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(32px, 6vw, 72px); align-items: start; }
@media (max-width: 960px) { .form-layout { grid-template-columns: 1fr; } }
.form-aside { position: sticky; top: 110px; display: grid; gap: 26px; }
@media (max-width: 960px) { .form-aside { position: static; } }
.numbered { display: grid; gap: 22px; }
.numbered li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; }
.numbered .n { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--gold); color: var(--gold-text); display: grid; place-items: center; font: 700 .95rem/1 var(--sans); }
.numbered h3 { font: 700 1rem/1.3 var(--sans); color: var(--ink); }
.numbered p { color: var(--muted); font-size: .92rem; margin-top: 2px; }
.reassure { display: grid; gap: 12px; padding: 22px; border-radius: 20px; background: var(--sand); }
.reassure div { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; color: var(--text); }
.reassure svg { width: 20px; height: 20px; color: var(--gold-text); flex-shrink: 0; margin-top: 2px; }
.form-card { background: var(--paper); border-radius: 28px; padding: clamp(22px, 4vw, 40px); box-shadow: 0 0 0 1px var(--line), var(--shadow-lift); display: grid; gap: 30px; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.legend { font: 600 1.55rem/1.1 var(--serif); color: var(--ink); padding: 0; display: flex; align-items: baseline; gap: 10px; }
.legend small { font: 500 .8rem/1 var(--sans); color: var(--muted); }
.label { font: 700 .86rem/1.2 var(--sans); color: var(--ink); display: block; margin-bottom: 7px; }
.label small { font-weight: 500; color: var(--muted); }
.input { width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--text); background: #fff; border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 15px; transition: border-color .2s, box-shadow .2s; }
.input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgb(242 182 49 / .15); }
textarea.input { min-height: 150px; resize: vertical; font: 500 1.2rem/1.5 var(--serif); }
.two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.counter { text-align: right; font-size: .78rem; color: var(--muted); margin-top: 6px; font-variant-numeric: tabular-nums; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font: 600 .88rem/1 var(--sans); cursor: pointer; transition: all .2s; }
.chip svg { width: 16px; height: 16px; color: var(--gold-text); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:checked) { background: var(--ink); color: #fff; box-shadow: none; }
.chip:has(input:checked) svg { color: var(--gold-light); }
.chip:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.choices { display: grid; gap: 12px; }
.choices.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 560px) { .choices.cols { grid-template-columns: 1fr; } }
.choice { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; padding: 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow .2s, background .2s; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice:hover { box-shadow: inset 0 0 0 1.5px var(--gold-light); }
.choice:has(input:checked) { box-shadow: inset 0 0 0 2px var(--gold), 0 14px 30px -18px rgb(242 182 49 / .6); background: #fffcef; }
.choice:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 3px; }
.choice .ico { width: 52px; height: 52px; }
.choice:has(input:checked) .ico { background: var(--gold-light); color: var(--ink); }
.choice h4 { margin: 0; font: 600 1.3rem/1.15 var(--serif); color: var(--ink); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.choice p { margin-top: 4px; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.pill { display: inline-flex; font: 700 .68rem/1 var(--sans); letter-spacing: .04em; padding: 6px 9px; border-radius: var(--r-pill); background: var(--sand); color: var(--gold-text); }
.pill.gold { background: var(--gold-light); color: var(--ink); }
.offer { border-radius: 20px; padding: 22px; background: linear-gradient(135deg, #fffbea, #fdf3cf); box-shadow: inset 0 0 0 1px #f3e3a8; display: grid; gap: 14px; }
.offer h4 { margin: 0; font: 600 1.35rem/1.15 var(--serif); color: var(--ink); }
.offer p { font-size: .9rem; color: var(--muted); }
.offer .chips .chip { min-width: 70px; justify-content: center; font-size: .95rem; }
.offer .note { font-size: .82rem; color: var(--text); display: flex; gap: 8px; align-items: center; }
.offer .note svg { width: 16px; height: 16px; color: var(--ok); flex-shrink: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: .88rem; color: var(--text); }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--gold); flex-shrink: 0; }
.submit-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.submit-row .btn { min-width: 260px; }
.submit-row small { color: var(--muted); font-size: .8rem; max-width: 18rem; }
.autocomplete { position: relative; }
.suggest { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; right: 0; background: #fff; border-radius: 14px; box-shadow: var(--shadow-lift); list-style: none; margin: 0; padding: 6px; max-height: 260px; overflow: auto; }
.suggest li { padding: 10px 12px; border-radius: 10px; cursor: pointer; display: flex; justify-content: space-between; gap: 12px; font-size: .92rem; }
.suggest li span { color: var(--muted); font-size: .82rem; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--sand); }

/* Confirmation */
.confirm { text-align: center; display: grid; gap: 18px; justify-items: center; padding: 20px 0; }
.confirm h2 { font-size: clamp(2.2rem, 4vw, 3rem); }
.confirm p { color: var(--muted); max-width: 32rem; }
.confirm .link-box { display: flex; gap: 8px; width: 100%; max-width: 30rem; }
.confirm .link-box input { font: 500 .8rem/1 ui-monospace, monospace; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 24px); transform: translateX(-50%); z-index: 90; background: var(--night-900); color: #fff; padding: 14px 22px; border-radius: var(--r-pill); font: 600 .9rem/1.3 var(--sans); box-shadow: 0 20px 50px -20px rgb(0 0 0 / .6); max-width: calc(100% - 32px); text-align: center; }
.preview-flag { position: fixed; z-index: 70; right: max(14px, env(safe-area-inset-right, 0px)); bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); background: rgb(253 251 247 / .95); color: var(--gold-text); font: 700 .72rem/1 var(--sans); letter-spacing: .06em; padding: 9px 12px; border-radius: var(--r-pill); box-shadow: var(--shadow); }

@keyframes flicker { 0%, 100% { transform: scale(1) rotate(-1deg); } 25% { transform: scale(1.04, .97) rotate(1.5deg); } 50% { transform: scale(.97, 1.04) rotate(-.5deg); } 75% { transform: scale(1.02, .98) rotate(1deg); } }
@keyframes breathe { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.12); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes slowzoom { to { transform: scale(1.12); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ripple { from { transform: scale(.5); opacity: 1; } to { transform: scale(5); opacity: 0; } }

.stat b, .hero-stats b, .priests-media .stamp b, .wall-foot b, .top-list b { font-variant-numeric: lining-nums tabular-nums; }
.side-card .candle { margin-bottom: 6px; }
@media (max-width: 760px) {
  .hero-media img { object-position: 12% 75%; }
  .hero::after { background: linear-gradient(180deg, rgb(10 27 44 / .55) 0%, rgb(10 27 44 / .78) 55%, rgb(10 27 44 / .92) 100%); }
  .hero .eyebrow::before { display: none; }
  .candles .candle-card:nth-child(n+7) { display: none; }
  .preview-flag { display: none; }
}

/* ── v3 additions ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.help { font-size: .82rem; color: var(--muted); margin-top: -4px; }

/* Live card: 3 rows cycling */
.live-title { font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 8px; }
#live-list { list-style: none; margin: 0; padding: 0; transition: opacity .9s ease; }
#live-list.fade { opacity: 0; }
#live-list li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
#live-list li:first-child { border-top: 0; }
#live-list li p { font-size: .84rem; color: var(--muted); line-height: 1.35; margin: 0; }
#live-list li strong { color: var(--ink); }
#live-list .ded { font: italic 500 .95rem/1.2 var(--serif); color: var(--gold-text); display: block; }

/* Category colours */
.c-sante { background: radial-gradient(circle at 30% 25%, #f5cf93, #b8722f 75%); }
.c-famille { background: radial-gradient(circle at 30% 25%, #f1b9ae, #a24f52 75%); }
.c-epreuve { background: radial-gradient(circle at 70% 25%, #7d95cf, #1c2f5f 78%); }
.c-deuil { background: radial-gradient(circle at 30% 25%, #b3a7d3, #43386b 78%); }
.c-paix { background: radial-gradient(circle at 30% 25%, #a8d0e2, #2d6385 78%); }
.c-gratitude { background: radial-gradient(circle at 40% 70%, #c4d3b0, #52704c 78%); }
.c-marie { background: radial-gradient(circle at 30% 25%, #8fb0ee, #1b3a8f 78%); }
.c-quotidien { background: radial-gradient(circle at 30% 25%, #f7dca2, #c0822c 78%); }
.c-saints { background: radial-gradient(circle at 30% 25%, #dba3a3, #6c2433 78%); }
.prayer .go-sm { display: inline-flex; gap: 8px; align-items: center; font: 700 .86rem/1 var(--sans); color: var(--ink); margin-top: 6px; }
.prayer .go-sm svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.prayer:hover .go-sm svg { transform: translateX(4px); }

.cat-tiles { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; margin-top: 40px; }
@media (max-width: 1000px) { .cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 520px) { .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cat-tile { display: grid; justify-items: center; gap: 10px; padding: 20px 10px; border-radius: 18px; color: #fff; text-decoration: none; text-align: center; font: 700 .84rem/1.25 var(--sans); transition: transform .3s var(--ease), box-shadow .3s; box-shadow: var(--shadow); }
.cat-tile svg { width: 28px; height: 28px; }
.cat-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); }
.cat-tiles + .prayers { margin-top: 28px; }

/* Map v3 */
.map-card { margin-top: 48px; padding: 18px; }
.map-toolbar { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.seg-map button { padding: 10px 14px; }
.map-zoom { display: flex; gap: 6px; }
.map-zoom button { width: 40px; height: 40px; border-radius: 12px; border: 0; background: rgb(255 255 255 / .08); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.map-zoom button:hover { background: rgb(255 255 255 / .16); }
.map-zoom svg { width: 18px; height: 18px; }
.map-stage { position: relative; border-radius: 18px; overflow: hidden; background: radial-gradient(800px 400px at 50% 45%, #1a3d63, #0a1a2c); cursor: grab; touch-action: none; }
.map-stage.dragging { cursor: grabbing; }
.map-stage svg { width: 100%; height: auto; display: block; aspect-ratio: 2 / 1; }
.map-stage .land { fill: #18395c; }
.map-stage .land-dots { fill: url(#dots); }
.map-stage .borders { fill: none; stroke: rgb(170 200 230 / .38); vector-effect: non-scaling-stroke; stroke-width: .7; }
.map-stage .lit { fill: #ffe3a3; }
.map-stage .lit-halo { fill: url(#halo); animation: breathe 4s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
.map-stage .sanct { fill: #fff; stroke: var(--gold); vector-effect: non-scaling-stroke; stroke-width: 2; }
.map-stage .sanct-label { fill: #fff; font: 700 11px var(--sans); letter-spacing: .08em; paint-order: stroke; stroke: rgb(10 27 44 / .8); stroke-width: 3px; vector-effect: non-scaling-stroke; }
.map-stage .ripple { fill: none; stroke: #ffe1a1; stroke-width: 1.5; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; animation: ripple 1.8s ease-out 4; }
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; padding: 0 4px; color: var(--on-night-muted); font-size: .82rem; border: 0; }
.map-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 8px; vertical-align: middle; }
.map-legend .lg-lit { background: #ffe3a3; box-shadow: 0 0 8px #ffd27a; }
.map-legend .lg-sanct { background: #fff; box-shadow: 0 0 0 2px var(--gold); }
.map-hint { margin-left: auto; opacity: .75; }
@media (max-width: 700px) { .map-hint { margin-left: 0; } }
.map-below { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; align-items: stretch; }
@media (max-width: 980px) { .map-below { grid-template-columns: 1fr; } }
.map-col { display: grid; gap: 16px; align-content: start; }
.map-below .side-card { margin-top: 0; align-content: center; }
.map-below .top-list { margin-top: 0; background: var(--paper); border-radius: 22px; padding: 22px 24px; box-shadow: 0 0 0 1px var(--line); }
.top-list li { padding: 10px 2px; }
.latest { background: var(--paper); border-radius: 22px; padding: 20px 22px; box-shadow: 0 0 0 1px var(--line); }
.latest h4 { font: 700 .74rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 6px; }
.latest ul { list-style: none; margin: 0; padding: 0; }
.latest li { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .9rem; }
.latest li:last-child { border-bottom: 0; }
.latest li svg { width: 16px; height: 16px; color: var(--gold-text); flex-shrink: 0; }
.latest li span { color: var(--muted); margin-left: auto; font-size: .8rem; white-space: nowrap; }

/* Priests v3 */
.priests-media { aspect-ratio: 4 / 4.6; }
.priests-media .stamp svg { width: 30px; height: 30px; color: var(--gold-text); flex-shrink: 0; }
.priests-media .stamp b { font-size: 1.4rem; }
.quote small { display: block; margin-top: 8px; font: 500 .85rem var(--sans); color: var(--muted); font-style: normal; }

/* Support band v3: image already has empty left side */
.support::before { background: linear-gradient(90deg, rgb(10 27 44 / .7), rgb(10 27 44 / .25) 55%, rgb(10 27 44 / 0)); }
.support img { object-position: 70% 50%; }

/* Aside figure */
.aside-fig { margin: 0; border-radius: 22px; overflow: hidden; position: relative; }
.aside-fig img { height: 230px; width: 100%; object-fit: cover; }
.aside-fig figcaption { position: absolute; inset: auto 0 0 0; padding: 18px; background: linear-gradient(0deg, rgb(10 27 44 / .9), transparent); color: #fff; font: 600 1.15rem var(--serif); }
.aside-fig a { color: var(--gold-light); }

/* Prayers catalogue */
.page-hero.tall { padding-bottom: 90px; }
.search-box { margin-top: 30px; max-width: 560px; display: flex; align-items: center; gap: 12px; background: rgb(253 251 247 / .96); border-radius: var(--r-pill); padding: 6px 8px 6px 20px; box-shadow: var(--shadow-lift); }
.search-box svg { width: 20px; height: 20px; color: var(--gold-text); flex-shrink: 0; }
.search-box input { flex: 1; min-width: 0; border: 0; background: transparent; font: 500 1rem var(--sans); color: var(--ink); padding: 12px 0; }
.search-box input:focus { outline: none; }
.cat-bigs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 36px; }
@media (max-width: 860px) { .cat-bigs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cat-bigs { grid-template-columns: 1fr; } }
.cat-big { border: 0; cursor: pointer; text-align: left; color: #fff; border-radius: 22px; padding: 26px; min-height: 150px; display: grid; align-content: end; gap: 4px; position: relative; overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease), box-shadow .35s; }
.cat-big svg { position: absolute; right: 18px; top: 18px; width: 54px; height: 54px; opacity: .9; }
.cat-big b { font: 600 1.7rem/1.1 var(--serif); }
.cat-big span { font: 600 .82rem var(--sans); opacity: .85; }
.cat-big:hover { transform: translateY(-4px); box-shadow: var(--shadow-lift); }
.day { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); border-radius: 28px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
@media (max-width: 800px) { .day { grid-template-columns: 1fr; } }
.day-art { min-height: 260px; display: grid; place-items: center; align-content: center; gap: 14px; color: #fff; }
.day-art svg { width: 80px; height: 80px; }
.day-art span { font: 700 .78rem var(--sans); letter-spacing: .16em; text-transform: uppercase; }
.day-body { padding: clamp(26px, 4vw, 48px); display: grid; gap: 16px; align-content: center; }
.day-body h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.day-ex { font: italic 500 1.3rem/1.5 var(--serif); color: var(--ink); }
.fchips { display: flex; flex-wrap: wrap; gap: 10px; padding: 4px 0; margin-top: 18px; }
.fchip { flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px; border: 0; cursor: pointer; padding: 11px 16px; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); font: 600 .88rem/1 var(--sans); color: var(--ink); }
.fchip svg { width: 16px; height: 16px; color: var(--gold-text); }
.fchip[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.fchip[aria-pressed="true"] svg { color: var(--gold-light); }
#prayer-grid { margin-top: 24px; }
#prayer-grid .prayer[hidden] { display: none; }
.empty { margin-top: 24px; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; color: #fff; isolation: isolate; overflow: hidden; }
.cta-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; z-index: -2; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(10 27 44 / .92), rgb(10 27 44 / .6) 60%, rgb(10 27 44 / .35)); }
.cta-inner { padding-block: clamp(64px, 9vw, 110px); display: flex; flex-wrap: wrap; gap: 28px; justify-content: space-between; align-items: center; }
.cta-inner > div:first-child { max-width: 36rem; display: grid; gap: 14px; }
.cta-band h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.2rem); font-weight: 500; }
.cta-band p { color: rgb(232 238 245 / .85); }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Prayer detail */
.detail { padding-top: calc(env(safe-area-inset-top, 0px) + 100px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--muted); padding-top: 18px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.detail-head { display: grid; grid-template-columns: 96px 1fr; gap: 28px; align-items: center; margin-top: 30px; max-width: 900px; }
@media (max-width: 600px) { .detail-head { grid-template-columns: 1fr; } }
.detail-badge { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; color: #fff; box-shadow: var(--shadow-lift); }
.detail-badge svg { width: 44px; height: 44px; }
.detail-head h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); margin-top: 12px; }
.detail-head .lead { margin-top: 12px; }
.meta-row { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; font-size: .84rem; color: var(--muted); }
.meta-row span { display: inline-flex; gap: 6px; align-items: center; }
.meta-row svg { width: 16px; height: 16px; color: var(--gold-text); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(28px, 5vw, 60px); margin-top: 44px; align-items: start; }
@media (max-width: 980px) { .detail-grid { grid-template-columns: 1fr; } }
.sheet-actions { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.sheet-actions > button { display: inline-flex; gap: 8px; align-items: center; border: 0; cursor: pointer; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); border-radius: var(--r-pill); padding: 11px 16px; font: 600 .88rem/1 var(--sans); color: var(--ink); }
.sheet-actions > button:hover { box-shadow: inset 0 0 0 1.5px var(--gold); }
.sheet-actions svg { width: 17px; height: 17px; color: var(--gold-text); }
.share-menu { position: absolute; z-index: 5; top: calc(100% + 6px); left: 0; display: grid; gap: 2px; background: #fff; border-radius: 16px; padding: 6px; box-shadow: var(--shadow-lift); min-width: 210px; }
.share-menu button { display: flex; gap: 10px; align-items: center; border: 0; background: none; text-align: left; padding: 11px 12px; border-radius: 10px; cursor: pointer; font: 600 .9rem var(--sans); color: var(--ink); }
.share-menu button:hover { background: var(--sand); }
.share-menu svg { width: 16px; height: 16px; color: var(--gold-text); }
.sheet-paper { position: relative; background: linear-gradient(180deg, #fffdfc, #fcf6ea); border-radius: 26px; padding: clamp(30px, 6vw, 70px) clamp(24px, 6vw, 80px); box-shadow: 0 0 0 1px #ebe3d3, var(--shadow-lift); text-align: center; }
.sheet-paper::before { content: ""; position: absolute; inset: 14px; border: 1px solid #e7dbc3; border-radius: 18px; pointer-events: none; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 6px 0 22px; }
.ornament span { width: 70px; height: 1px; background: currentColor; opacity: .6; }
.ornament svg { width: 22px; height: 22px; }
.ornament .dot-o { width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: block; }
.sheet-title { font-size: clamp(2rem, 4vw, 2.6rem); font-weight: 600; margin-bottom: 26px; }
.sheet-text { display: grid; gap: 18px; max-width: 34rem; margin: 0 auto 26px; }
.sheet-text p { font: 500 clamp(1.25rem, 2.2vw, 1.5rem)/1.6 var(--serif); color: var(--ink); }
.sheet-text p:first-child::first-letter { font-size: 1.7em; line-height: 1; color: var(--gold-text); font-weight: 600; }
.sheet-foot { font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.verse { margin-top: 34px; padding: 30px 32px; border-radius: 22px; background: var(--night-900); color: var(--on-night); display: grid; gap: 12px; }
.verse .eyebrow { color: var(--gold-light); }
.verse blockquote { margin: 0; font: italic 500 1.55rem/1.45 var(--serif); color: #fff; }
.verse cite { font-style: normal; font-size: .84rem; color: var(--on-night-muted); }
.howto { margin-top: 40px; display: grid; gap: 16px; }
.howto h2 { font-size: 2rem; }
.howto h3 { font-size: 1.5rem; margin-top: 10px; }
.howto ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.howto li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.howto li span { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--gold-text); font-weight: 700; }
.howto li p, .howto > p { color: var(--muted); padding-top: 8px; }
.detail-aside { position: sticky; top: 110px; display: grid; gap: 18px; }
@media (max-width: 980px) { .detail-aside { position: static; } }
.aside-card { background: var(--paper); border-radius: 24px; padding: 26px; box-shadow: 0 0 0 1px var(--line), var(--shadow); display: grid; gap: 12px; justify-items: start; }
.aside-card h3 { font-size: 1.6rem; }
.aside-card p { color: var(--muted); font-size: .92rem; }
.aside-card.night { background: radial-gradient(500px 300px at 50% 0%, #1d4c78, var(--night-900)); color: var(--on-night); justify-items: center; text-align: center; box-shadow: var(--shadow-lift); }
.aside-card.night h3 { color: #fff; }
.aside-card.night p { color: var(--on-night-muted); }
.related { margin: 72px 0 80px; }
.related h2 { font-size: 2.2rem; }
.related .prayers { margin-top: 26px; }

@media print {
  .site-header, .site-footer, .preview-flag, .sheet-actions, .detail-aside, .related, .cta-band, .crumbs, .verse, .howto { display: none !important; }
  .detail { padding-top: 0; } .sheet-paper { box-shadow: none; }
}

/* ── v4 additions ── */
/* Hero ticker: transparent, slow vertical roll with fades */
.ticker { position: absolute; z-index: 3; right: max(20px, calc((100vw - 1220px) / 2 + 20px)); top: 160px; width: 300px; color: #fff; }
.ticker-title { font: 700 .72rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 10px; display: flex; align-items: center; gap: 8px; text-shadow: 0 1px 8px rgb(0 0 0 / .5); }
.ticker .dot { width: 7px; height: 7px; border-radius: 50%; background: #6fe39a; box-shadow: 0 0 0 4px rgb(111 227 154 / .2); animation: breathe 2.4s ease-in-out infinite; }
.ticker-window { height: 228px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 74%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 22%, #000 74%, transparent 100%); }
#ticker { list-style: none; margin: 0; padding: 0; will-change: transform; }
#ticker.rolling { transition: transform 1.4s cubic-bezier(.45, 0, .2, 1); }
#ticker li { height: 76px; display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: center; transition: opacity 1.2s ease, filter 1.2s ease; }
#ticker li .who { font: 600 1.25rem/1.15 var(--serif); color: #fff; text-shadow: 0 2px 12px rgb(0 0 0 / .55); }
#ticker li .what { font-size: .82rem; color: rgb(232 238 245 / .85); text-shadow: 0 1px 8px rgb(0 0 0 / .6); display: block; margin-top: 2px; }
#ticker li .what i { font-family: var(--serif); font-style: italic; color: var(--gold-light); }
@media (max-width: 1020px) { .ticker { display: none; } }

/* Candle colours */
.candle[data-color="bleu"] .wax { background: linear-gradient(90deg, #2b3f93 0%, #5b78d6 38%, #7d97ea 55%, #2a3a86 100%); box-shadow: inset 0 8px 10px -6px rgb(255 210 140 / .55); }
.candle[data-color="rouge"] .wax { background: linear-gradient(90deg, #7f1d2a 0%, #c9424f 38%, #e06a72 55%, #74192a 100%); box-shadow: inset 0 8px 10px -6px rgb(255 210 140 / .55); }
.candle[data-color="rose"] .wax { background: linear-gradient(90deg, #b9707f 0%, #f0aebb 38%, #f8c7d0 55%, #ad6676 100%); box-shadow: inset 0 8px 10px -6px rgb(255 210 140 / .6); }
.candle[data-color="vert"] .wax { background: linear-gradient(90deg, #2f5c43 0%, #5f9b74 38%, #86ba95 55%, #2b543d 100%); box-shadow: inset 0 8px 10px -6px rgb(255 210 140 / .55); }
.candle[data-color="violet"] .wax { background: linear-gradient(90deg, #47306f 0%, #8065b4 38%, #a28cd0 55%, #412b66 100%); box-shadow: inset 0 8px 10px -6px rgb(255 210 140 / .55); }
.swatches { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 640px) { .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.swatch { position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; padding: 14px 6px 12px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: box-shadow .2s, transform .2s; }
.swatch input { position: absolute; opacity: 0; pointer-events: none; }
.swatch .sw { width: 22px; height: 40px; border-radius: 5px 5px 4px 4px; position: relative; margin-top: 14px; box-shadow: inset 0 -6px 8px -4px rgb(0 0 0 / .15); }
.swatch .sw::before { content: ""; position: absolute; left: 50%; top: -15px; width: 9px; height: 14px; transform: translateX(-50%); border-radius: 50% 50% 50% 50% / 62% 62% 38% 38%; background: radial-gradient(circle at 50% 72%, #fffef4 0 22%, #ffe59c 45%, #ffb347 80%); opacity: .35; transition: opacity .25s; }
.swatch:has(input:checked) .sw::before { opacity: 1; animation: flicker 2.6s ease-in-out infinite; }
.swatch b { font: 600 .86rem/1.1 var(--sans); color: var(--ink); }
.swatch small { font-size: .7rem; color: var(--muted); line-height: 1.2; }
.swatch:has(input:checked) { box-shadow: inset 0 0 0 2px var(--gold), 0 12px 24px -16px rgb(230 170 30 / .7); transform: translateY(-2px); }
.swatch:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.sw-blanc { background: linear-gradient(90deg, #d8ccb6, #fffaf0 45%, #d6c8ae); }
.sw-bleu { background: linear-gradient(90deg, #2b3f93, #6d88e0 45%, #2a3a86); }
.sw-rouge { background: linear-gradient(90deg, #7f1d2a, #d6545f 45%, #74192a); }
.sw-rose { background: linear-gradient(90deg, #b9707f, #f6bcc7 45%, #ad6676); }
.sw-vert { background: linear-gradient(90deg, #2f5c43, #74ab85 45%, #2b543d); }
.sw-violet { background: linear-gradient(90deg, #47306f, #9179c4 45%, #412b66); }

/* Mission */
.mission-intro { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .mission-intro { grid-template-columns: 1fr; } }
.prose { display: grid; gap: 16px; font-size: 1.08rem; color: var(--text); max-width: 38rem; }
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 860px) { .pillars { grid-template-columns: 1fr; } }
.pillar { background: var(--paper); border-radius: 24px; padding: 32px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 12px; }
.pillar h3 { font-size: 1.8rem; }
.pillar p { color: var(--muted); }
.split-band { background: var(--paper); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 80px); align-items: center; }
.split.reverse .split-media { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }
.split-media { border-radius: 28px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lift); max-width: 100%; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split h2 { font-size: clamp(2.2rem, 4.4vw, 3.2rem); margin: 16px 0; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks svg { width: 20px; height: 20px; color: var(--gold-text); flex-shrink: 0; margin-top: 2px; }
.commit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
@media (max-width: 960px) { .commit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .commit-grid { grid-template-columns: 1fr; } }
.commit-grid > div { background: rgb(255 255 255 / .05); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .1); border-radius: 22px; padding: 26px; display: grid; gap: 10px; }
.commit-grid svg { width: 28px; height: 28px; color: var(--gold-light); }
.commit-grid h3 { font-size: 1.5rem; }
.commit-grid p { color: var(--on-night-muted); font-size: .94rem; }
.roadmap { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; position: relative; }
@media (max-width: 860px) { .roadmap { grid-template-columns: 1fr; } }
.roadmap li { background: var(--paper); border-radius: 22px; padding: 26px; box-shadow: 0 0 0 1px var(--line); display: grid; gap: 8px; position: relative; }
.roadmap li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 5px var(--sand); }
.roadmap li:first-child::before { background: var(--gold); }
.roadmap b { font: 500 1.5rem/1.1 var(--serif); color: var(--ink); }
.roadmap span { color: var(--muted); font-size: .94rem; }

/* Auth */
.auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 100vh; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-media { display: none; } }
.auth-media { position: relative; overflow: hidden; }
.auth-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(10 27 44 / .85), rgb(10 27 44 / .1) 60%); }
.auth-quote { position: absolute; z-index: 2; left: 48px; right: 48px; bottom: 48px; color: #fff; }
.auth-quote p { font: italic 400 1.8rem/1.35 var(--serif); }
.auth-quote small { color: var(--on-night-muted); }
.auth-panel { display: grid; place-items: center; padding: calc(env(safe-area-inset-top, 0px) + 110px) max(20px, env(safe-area-inset-right, 0px)) 60px max(20px, env(safe-area-inset-left, 0px)); background: var(--ivory); }
.auth-card { width: 100%; max-width: 460px; display: grid; gap: 22px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: var(--r-pill); background: var(--sand); }
.tabs button { border: 0; background: none; padding: 12px; border-radius: var(--r-pill); font: 700 .9rem var(--sans); color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.auth h1 { font-size: clamp(2.2rem, 4vw, 2.8rem); }
.auth section { display: grid; gap: 16px; }
.btn-google { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); width: 100%; }
.btn-google svg { width: 20px; height: 20px; }
.btn-google:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.or { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .84rem; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-form { display: grid; gap: 14px; }
.auth-form .btn { width: 100%; }
.label-row { display: flex; justify-content: space-between; align-items: baseline; }
.label-row a { font-size: .82rem; color: var(--muted); }
.perks { list-style: none; padding: 20px 0 0; margin: 0; border-top: 1px solid var(--line); display: grid; gap: 10px; color: var(--muted); font-size: .9rem; }
.perks li { display: flex; gap: 10px; align-items: center; }
.perks svg { width: 18px; height: 18px; color: var(--gold-text); }

/* Don */
.don-layout { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.seg-light { background: var(--sand); box-shadow: none; justify-self: start; }
.seg-light button { color: var(--muted); }
.don-amounts { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .don-amounts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.don-amt { position: relative; display: grid; place-items: center; min-height: 72px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; transition: all .2s; }
.don-amt input { position: absolute; opacity: 0; pointer-events: none; }
.don-amt b { font: 500 1.6rem/1 var(--serif); color: var(--ink); }
.don-amt.other b { font: 700 .95rem var(--sans); }
.don-amt:has(input:checked) { background: var(--night-900); box-shadow: none; }
.don-amt:has(input:checked) b { color: #fff; }
.don-amt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.pays { display: flex; flex-wrap: wrap; gap: 8px; }
.pays span { font: 700 .72rem/1 var(--sans); padding: 8px 10px; border-radius: 8px; background: var(--sand); color: var(--muted); }
.hero h1, .page-hero h1 { font-weight: 400; letter-spacing: -.01em; }
h2 { letter-spacing: -.015em; }

/* ── v5 additions ── */
@media (max-width: 1180px) { .nav, .header-cta .account { display: none; } .menu-btn { display: inline-flex; } }
.amount { display: inline-flex; align-items: center; justify-content: center; padding: 0 18px; text-decoration: none; }
.amount.on { background: var(--gold-light); color: var(--ink); box-shadow: none; }
.hero-chain { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; color: rgb(232 238 245 / .9); text-decoration: none; font-size: .95rem; padding: 10px 16px; border-radius: var(--r-pill); background: rgb(10 27 44 / .35); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.hero-chain b { color: var(--gold-light); }
.hero-chain svg { width: 18px; height: 18px; }
.hero-chain:hover { background: rgb(10 27 44 / .55); }

/* Payment logos */
.paylogos { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.paylogos svg { width: 46px; height: 29px; display: block; }

/* Monthly band (v6) */
.monthly { padding-block: clamp(56px, 8vw, 96px); background: var(--ivory); }
.monthly-inner { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 32px; background: radial-gradient(700px 360px at 85% 0%, #2a5f96 0%, var(--night-900) 55%, var(--night-950) 100%); color: var(--on-night); box-shadow: var(--shadow-lift); }
.monthly-inner::after { content: ""; position: absolute; right: -80px; bottom: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgb(255 211 110 / .22), rgb(255 211 110 / 0) 70%); pointer-events: none; }
@media (max-width: 900px) { .monthly-inner { grid-template-columns: 1fr; } }
.monthly-text { display: grid; gap: 18px; justify-items: start; }
.m-ico { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 211 110 / .14); color: var(--gold-light); box-shadow: inset 0 0 0 1px rgb(255 211 110 / .3); }
.m-ico svg { width: 28px; height: 28px; }
.monthly h2 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.1rem); line-height: 1.08; }
.monthly h2 em { display: block; color: var(--gold-light); }
.monthly p { color: var(--on-night-muted); font-size: 1.05rem; max-width: 30rem; }
.monthly-act { position: relative; z-index: 1; display: grid; gap: 18px; }
.m-amts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 480px) { .m-amts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.m-amt { display: grid; justify-items: center; gap: 4px; padding: 18px 10px; border-radius: 18px; background: rgb(255 255 255 / .07); text-decoration: none; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); transition: transform .25s var(--ease), background .25s, box-shadow .25s; }
.m-amt b { font: 500 1.9rem/1 var(--serif); color: #fff; }
.m-amt span { font-size: .78rem; color: var(--on-night-muted); }
.m-amt:hover, .m-amt.pop { transform: translateY(-3px); background: rgb(255 211 110 / .14); box-shadow: inset 0 0 0 1.5px var(--gold-light); }
.m-amt.pop b { color: var(--gold-light); }
.m-cta { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; }
.m-cta small { color: var(--on-night-muted); font-size: .84rem; }
.monthly .paylogos svg { width: 44px; height: 28px; }

/* Chains */
.avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 1.15rem var(--serif); flex-shrink: 0; }
.avatar.big { width: 84px; height: 84px; font-size: 2.2rem; box-shadow: var(--shadow-lift); }
.avatar.sm { width: 38px; height: 38px; font-size: 1rem; }
.g1 { background: linear-gradient(135deg, #ffd86e, #d9a019); } .g2 { background: linear-gradient(135deg, #7fb3e6, #2a5f9e); } .g3 { background: linear-gradient(135deg, #f7a8a0, #c7525a); }
.g4 { background: linear-gradient(135deg, #a9d2b4, #3e8160); } .g5 { background: linear-gradient(135deg, #b8a8e0, #5a4a9a); } .g6 { background: linear-gradient(135deg, #8fd3d0, #2d8a8a); }
.chain-home { background: var(--sand); }
.chain-home-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 920px) { .chain-home-grid { grid-template-columns: 1fr; } }
.chain-home h2 { font-size: clamp(2.3rem, 4.6vw, 3.4rem); margin: 18px 0; }
.chain-home .ticks { margin-bottom: 28px; }
.chain-stack { display: grid; gap: 18px; }
.chain-stack .chain-card:nth-child(2) { margin-left: 40px; opacity: .92; }
@media (max-width: 560px) { .chain-stack .chain-card:nth-child(2) { margin-left: 0; } }
.chain-card { position: relative; background: var(--paper); border-radius: 22px; padding: 22px; box-shadow: 0 0 0 1px var(--line), var(--shadow); display: grid; gap: 12px; color: var(--text); }
.chain-link { position: absolute; inset: 0; border-radius: inherit; z-index: 1; }
.chain-card .pray-btn { position: relative; z-index: 2; justify-self: start; }
.chain-top { display: flex; gap: 14px; align-items: center; }
.chain-card h3 { font-size: 1.45rem; }
.chain-by { font-size: .8rem; color: var(--muted); margin-top: 2px; }
.chain-ctx { display: flex; gap: 6px; align-items: center; font-size: .86rem; color: var(--muted); }
.chain-ctx svg { width: 15px; height: 15px; color: var(--gold-text); }
.chain-upd { font: italic 400 1.02rem/1.45 var(--serif); color: var(--ink); background: var(--sand); padding: 12px 14px; border-radius: 12px; }
.chain-foot { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; font-size: .88rem; }
.chain-count b { font-size: 1.05rem; color: var(--ink); font-variant-numeric: tabular-nums; }
.pray-btn.on { background: var(--night-900); color: #fff; box-shadow: none; }
.chain-wall { background: radial-gradient(1100px 500px at 20% 0%, #1d4c78, var(--night-900) 55%, var(--night-950)); }
.chain-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 40px; }
@media (max-width: 1000px) { .chain-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .chain-grid { grid-template-columns: 1fr; } }
.chain-hero { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: center; margin-top: 26px; }
@media (max-width: 920px) { .chain-hero { grid-template-columns: 1fr; } }
.chain-hero-main { display: flex; gap: 24px; align-items: center; }
.chain-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.2rem); margin-top: 10px; }
.pray-box { background: var(--paper); border-radius: 24px; padding: 26px; box-shadow: 0 0 0 1px var(--line), var(--shadow-lift); display: grid; gap: 14px; justify-items: center; text-align: center; }
.pray-count b { display: block; font: 500 3.4rem/1 var(--serif); color: var(--ink); font-variant-numeric: tabular-nums; }
.pray-count span { color: var(--muted); font-size: .92rem; }
.faces { display: flex; }
.faces i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; font: 600 .85rem var(--sans); font-style: normal; margin-left: -8px; box-shadow: 0 0 0 3px var(--paper); }
.faces i:first-child { margin-left: 0; }
.faces .more { background: var(--sand); color: var(--ink); font-size: .72rem; }
.pray-btn.big { width: 100%; min-height: 58px; font-size: 1.02rem; }
.chain-story, .neuvaine, .updates, .messages { margin-bottom: 40px; display: grid; gap: 14px; }
.chain-story h2, .neuvaine h2, .updates h2, .messages h2 { font-size: 2rem; }
.chain-story p { font-size: 1.08rem; }
.signature { font: italic 400 1.1rem var(--serif); color: var(--gold-text); }
.neu-head { display: flex; gap: 12px; justify-content: space-between; align-items: center; }
.days { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; }
.days li { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: var(--sand); color: var(--muted); font-weight: 700; font-size: .9rem; }
.days li.done { background: var(--gold-light); color: var(--ink); }
.days li.today { background: var(--night-900); color: #fff; box-shadow: 0 0 0 4px rgb(255 201 107 / .45); }
.sheet-paper.small { padding: 34px 30px; margin-bottom: 40px; }
.sheet-paper.small .sheet-title { font-size: 1.8rem; margin-bottom: 16px; }
.sheet-paper.small .sheet-text p { font-size: 1.2rem; }
.timeline { list-style: none; padding: 0 0 0 22px; margin: 0; border-left: 2px solid var(--line); display: grid; gap: 22px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: -30px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold-light); box-shadow: 0 0 0 4px var(--ivory); }
.timeline li:first-child::before { background: var(--gold); }
.t-date { font-size: .8rem; font-weight: 700; color: var(--gold-text); letter-spacing: .02em; }
.timeline p { font: 400 1.1rem/1.5 var(--serif); color: var(--ink); margin-top: 4px; }
.msg-form { display: grid; gap: 10px; justify-items: end; }
.msg-form textarea { min-height: 90px; font-size: 1.05rem; }
.msg-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.msg-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--paper); padding: 16px; border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
.msg-list b { color: var(--ink); }
.msg-list p { color: var(--text); margin-top: 2px; }
.msg-list span:not(.avatar) { font-size: .78rem; color: var(--muted); }
.share-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: 100%; }
.share-grid.wide { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 30rem; }
@media (max-width: 520px) { .share-grid.wide { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.share-grid button { border: 0; cursor: pointer; background: var(--sand); color: var(--ink); font: 700 .86rem var(--sans); padding: 12px; border-radius: 12px; }
.share-grid button:hover { background: var(--gold-light); }
.invite .link-box { display: flex; gap: 8px; width: 100%; }
.invite .link-box input { font: 500 .8rem ui-monospace, monospace; }

/* Create a chain */
.creer-head { margin-top: 26px; max-width: 760px; display: grid; gap: 12px; }
.creer-head h1 { font-size: clamp(2.6rem, 5vw, 3.8rem); }
.stepper { list-style: none; padding: 0; margin: 32px 0 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: st; }
.stepper li { display: flex; gap: 10px; align-items: center; font: 600 .88rem var(--sans); color: var(--muted); padding-top: 12px; border-top: 3px solid var(--line); }
.stepper li span { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); font-size: .8rem; flex-shrink: 0; }
.stepper li.on, .stepper li.done { color: var(--ink); border-top-color: var(--gold); }
.stepper li.on span { background: var(--night-900); color: #fff; }
.stepper li.done span { background: var(--gold-light); color: var(--ink); }
@media (max-width: 700px) { .stepper li { font-size: 0; gap: 0; } .stepper li span { font-size: .8rem; } }
.creer-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; margin-bottom: 80px; }
@media (max-width: 920px) { .creer-grid { grid-template-columns: 1fr; } }
.step-pane { display: grid; gap: 18px; }
.choices.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) { .choices.three { grid-template-columns: 1fr; } }
.step-nav { display: flex; justify-content: space-between; gap: 12px; }
.step-nav .btn-gold { margin-left: auto; }
.notice-acc { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: var(--lav-soft); color: var(--ink); font-size: .92rem; }
.notice-acc svg { width: 22px; height: 22px; color: var(--night-700); flex-shrink: 0; }
#c-preview .chain-card { box-shadow: 0 0 0 2px var(--gold-light), var(--shadow-lift); }
.creer-done { margin: 20px 0 90px; }
.creer-done .confirm { background: var(--paper); border-radius: 28px; padding: 50px 24px; box-shadow: 0 0 0 1px var(--line), var(--shadow-lift); }
.creer-done .link-box { display: flex; gap: 8px; width: 100%; max-width: 30rem; }
.on-night .chain-card h3, .chain-card h3 { color: var(--ink); }
.ticker-date { margin-left: 4px; color: rgb(232 238 245 / .75); font-weight: 600; letter-spacing: .08em; }
.ticker-date::before { content: "·"; margin-right: 6px; }
.chain-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.chain-filters button { border: 0; cursor: pointer; padding: 11px 16px; border-radius: var(--r-pill); background: rgb(255 255 255 / .07); color: var(--on-night); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); font: 600 .88rem/1 var(--sans); }
.chain-filters button:hover { background: rgb(255 255 255 / .14); }
.chain-filters button[aria-pressed="true"] { background: var(--gold-light); color: var(--ink); box-shadow: none; }
.chain-grid .chain-card[hidden] { display: none; }
.empty.light { color: var(--on-night-muted); }
#haut { position: absolute; top: 0; left: 0; width: 1px; height: 1px; }
.nav { gap: 2px; }
.nav a { white-space: nowrap; padding: 10px 12px; font-size: .9rem; }
.logo span, .header-cta .account { white-space: nowrap; }
.site-header .bar { gap: 16px; }
@media (max-width: 1260px) { .nav a { padding: 9px 9px; font-size: .86rem; } .header-cta .account { display: none; } }

/* ── v7 additions ── */
.account-ico { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: inherit; box-shadow: inset 0 0 0 1.5px currentColor; opacity: .9; transition: background .2s, color .2s; }
.account-ico svg { width: 20px; height: 20px; }
.account-ico:hover { background: var(--gold-light); color: var(--ink); box-shadow: none; opacity: 1; }
@media (max-width: 560px) { .account-ico { display: none; } }

/* Porteur de lumière */
.porteur { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 26px 30px; border-radius: 24px; background: linear-gradient(120deg, #fffdf3, #fff4cf); box-shadow: 0 0 0 1px #f3e3a8, var(--shadow); }
.porteur h3 { font-size: 1.6rem; }
.porteur p { color: var(--text); margin-top: 4px; max-width: 46rem; }
.porteur.dark { background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 211 110 / .3); }
.porteur.dark h3 { color: #fff; }
.porteur.dark p { color: var(--on-night-muted); }
.porteur-ico { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; background: var(--night-900); color: var(--gold-light); }
.porteur-ico svg { width: 30px; height: 30px; }
.porteur-ico.big { width: 76px; height: 76px; border-radius: 24px; justify-self: center; }
.porteur-ico.big svg { width: 38px; height: 38px; }
@media (max-width: 760px) { .porteur { grid-template-columns: 1fr; text-align: left; } }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgb(10 27 44 / .6); backdrop-filter: blur(6px); }
.modal-card { width: 100%; max-width: 520px; max-height: calc(100vh - 40px); overflow: auto; border-radius: 28px; background: var(--ivory); box-shadow: 0 40px 100px -30px rgb(0 0 0 / .6); animation: rise .5s var(--ease) both; }
.modal-art { height: 150px; overflow: hidden; position: relative; }
.modal-art img { width: 100%; height: 100%; object-fit: cover; }
.modal-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, var(--ivory), transparent 70%); }
.modal-body { padding: 0 32px 30px; margin-top: -38px; position: relative; display: grid; gap: 14px; text-align: center; justify-items: center; }
.modal-body h2 { font-size: clamp(1.8rem, 4vw, 2.3rem); }
.modal-body p { color: var(--text); max-width: 26rem; }
.modal-count { display: inline-flex; gap: 8px; align-items: center; background: #fff; padding: 10px 16px; border-radius: var(--r-pill); box-shadow: 0 0 0 1px var(--line); font-size: .92rem; }
.modal-count svg { width: 18px; height: 18px; color: var(--gold-text); }
.modal-choice { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.modal-body .btn-gold { width: 100%; }
.link-btn { border: 0; background: none; color: var(--gold-text); font: 700 .92rem var(--sans); cursor: pointer; padding: 8px; }

/* Gospel of the day */
.gospel-sec { padding-top: 64px; }
.gospel { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); border-radius: 30px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px var(--line), var(--shadow-lift); }
@media (max-width: 900px) { .gospel { grid-template-columns: 1fr; } }
.gospel-media { position: relative; min-height: 320px; }
.gospel-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gospel-date { position: absolute; left: 20px; top: 20px; background: rgb(255 255 255 / .94); color: var(--ink); font: 700 .82rem var(--sans); padding: 9px 14px; border-radius: var(--r-pill); box-shadow: var(--shadow); text-transform: capitalize; }
.gospel-body { padding: clamp(26px, 4vw, 48px); display: grid; gap: 14px; align-content: center; }
.gospel-body .eyebrow svg { width: 15px; height: 15px; }
.gospel-body .eyebrow::before { display: none; }
.gospel-body h2 { font-size: clamp(2rem, 3.6vw, 2.7rem); }
.gospel-ref { font-weight: 700; color: var(--gold-text); font-size: .9rem; }
.gospel-text { margin: 0; font: italic 400 1.2rem/1.6 var(--serif); color: var(--ink); padding-left: 18px; border-left: 3px solid var(--gold-light); }
.gospel-tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--sand); border-radius: var(--r-pill); justify-self: start; margin-top: 4px; }
.gospel-tabs button { border: 0; background: none; padding: 10px 16px; border-radius: var(--r-pill); font: 700 .86rem var(--sans); color: var(--muted); cursor: pointer; }
.gospel-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.gospel-pane p { color: var(--text); }
.gospel-prayer { font: 400 1.15rem/1.6 var(--serif); color: var(--ink) !important; }
.page-hero em, .support em, .cta-band em, .gesture em { color: var(--gold-light); }
.page-hero .eyebrow, .support .eyebrow, .cta-band .eyebrow { color: var(--gold-light); }

/* ───────── v8 · Mon espace ───────── */
.dash-wrap{background:var(--sand);padding:calc(var(--header-h,76px) + 2rem) 0 4rem;min-height:100vh}
.dash{display:grid;grid-template-columns:250px 1fr;gap:2rem;align-items:start}
.dash-side{position:sticky;top:calc(var(--header-h,76px) + 1.5rem);background:var(--paper);border:1px solid var(--line);border-radius:var(--r-card);padding:1.1rem;box-shadow:var(--shadow)}
.dash-user{display:flex;gap:.75rem;align-items:center;padding:.25rem .35rem 1rem;border-bottom:1px solid var(--line);margin-bottom:.6rem}
.dash-user div span{line-height:1.35;display:block}.dash-user b{display:block;color:var(--ink);font-size:.98rem}.dash-user span{font-size:.8rem;color:var(--muted)}
.dash-nav{display:grid;gap:.15rem}
.dnav{position:relative;display:flex;align-items:center;gap:.7rem;width:100%;padding:.68rem .8rem;border:0;border-radius:12px;background:none;color:var(--text);font:500 .94rem var(--sans);cursor:pointer;text-align:left;transition:background .2s,color .2s}
.dnav svg{width:18px;height:18px;flex:none;opacity:.75}
.dnav:hover{background:var(--sand);color:var(--ink)}
.dnav[aria-pressed="true"]{background:var(--night-900);color:#fff}
.dnav[aria-pressed="true"] svg{opacity:1;color:var(--gold-light)}
.dot-new{width:8px;height:8px;border-radius:50%;background:var(--gold);margin-left:auto;box-shadow:0 0 0 3px rgb(242 182 49 / .25)}
.dash-out{display:flex;gap:.5rem;align-items:center;margin-top:.6rem;padding:.7rem .8rem;border-top:1px solid var(--line);color:var(--muted);font-size:.88rem;text-decoration:none}
.dash-out svg{width:16px;height:16px;transform:scaleX(-1)}.dash-out:hover{color:var(--ink)}
.dash-main{min-width:0}
.panel{display:grid;gap:1.25rem;animation:panelIn .35s var(--ease)}
@keyframes panelIn{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.dash-head{display:flex;justify-content:space-between;align-items:flex-end;gap:1rem;flex-wrap:wrap}
.dash-head h1{font-family:var(--serif);font-weight:500;font-size:clamp(1.8rem,3vw,2.4rem);color:var(--ink);margin:.2rem 0 .3rem;line-height:1.1}
.dash-head h1 em{color:var(--gold-text)}
.dash-head .lead{margin:0;font-size:1rem}
#dash-date{text-transform:none}
.sent-reminder{position:relative;display:flex;align-items:center;gap:1rem;padding:1.1rem 3rem 1.1rem 1.2rem;border-radius:var(--r-card);background:linear-gradient(120deg,#fff6dc,#fff 70%);border:1px solid #f6dc95}
.sent-reminder.slim{padding-right:1.2rem}
.sent-reminder h3{font-family:var(--serif);font-weight:500;font-size:1.15rem;color:var(--ink);margin:0 0 .15rem}
.sent-reminder p{margin:0;font-size:.92rem;color:var(--text)}
.sent-reminder>div{flex:1}
.sent-reminder .btn{flex:none}
.sent-reminder .x{position:absolute;top:.5rem;right:.6rem;border:0;background:none;color:var(--muted);font-size:.95rem;padding:.4rem;cursor:pointer;border-radius:8px}
.sent-reminder .x:hover{background:rgb(0 0 0 / .05);color:var(--ink)}
.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}
.kpi{background:var(--paper);border:1px solid var(--line);border-radius:18px;padding:1rem 1.1rem}
.kpi b{display:block;font-family:var(--serif);font-weight:500;font-size:2rem;color:var(--ink);line-height:1.1}
.kpi span{font-size:.86rem;color:var(--text)}
.dash-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:1.25rem;align-items:start}
.dcard{background:var(--paper);border:1px solid var(--line);border-radius:var(--r-card);padding:1.4rem;box-shadow:var(--shadow)}
.dcard h2{font-family:var(--serif);font-weight:500;font-size:1.3rem;color:var(--ink);margin:0 0 .8rem}
.dcard-head{display:flex;justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.6rem;flex-wrap:wrap}
.dcard-head h2{margin:0}
.muted-p{color:var(--text);font-size:.93rem;margin:0 0 1rem}.muted-p b{color:var(--ok)}
.update-form textarea{min-height:90px;resize:vertical}
.row-end{display:flex;justify-content:flex-end;gap:.6rem;flex-wrap:wrap;margin-top:.9rem}
.row-end.left{justify-content:flex-start}
.ilist{list-style:none;margin:0;padding:0}
.irow,.srow{display:grid;grid-template-columns:1fr auto auto;gap:.4rem 1rem;align-items:center;padding:.9rem 0;border-bottom:1px solid var(--line)}
.irow:last-child,.srow:last-child{border-bottom:0}
.itext{margin:0;color:var(--ink);font-weight:500;line-height:1.4}
.imeta{margin:.2rem 0 0;font-size:.84rem;color:var(--muted)}
.ioff{font-size:.88rem;color:var(--text);min-width:2.5rem;text-align:right}
.ilist.compact .ioff{display:none}
.ilist.compact .irow{grid-template-columns:1fr auto}
.status{display:inline-flex;align-items:center;gap:.35rem;font-size:.78rem;font-weight:600;padding:.3rem .65rem;border-radius:var(--r-pill);white-space:nowrap}
.status::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}
.status.ok{background:#e6f3ec;color:var(--ok)}
.status.wait{background:#fff3d4;color:#7a5600}
.status.muted{background:var(--sand);color:var(--muted)}
.mychain-top{display:flex;align-items:center;gap:.9rem;margin-bottom:1rem}
.mychain-top>div{flex:1}.mychain-top h2{margin:0}
.mychain.past{opacity:.8;box-shadow:none}
.mini-kpis{display:flex;flex-wrap:wrap;gap:.5rem}
.mini-kpis span{background:var(--sand);border-radius:12px;padding:.45rem .75rem;font-size:.88rem;color:var(--text)}
.mini-kpis b{color:var(--ink)}
.mycandles{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:1rem}
.mycandle{display:flex;gap:1rem;align-items:center;background:var(--night-900);color:var(--on-night);border-radius:var(--r-card);padding:1.2rem}
.mycandle b{color:#fff;font-family:var(--serif);font-weight:500;font-size:1.1rem}
.mycandle p{margin:.1rem 0 .5rem;font-size:.85rem;color:var(--on-night-muted)}
.mycandle .pill{background:rgb(255 255 255 / .1);color:var(--on-night);border-color:transparent}
.mycandle .pill.gold{background:var(--gold);color:var(--ink)}
.sent-hero{text-align:center;background:var(--paper);border:1px solid var(--line);border-radius:var(--r-card);padding:2.5rem 1.5rem;box-shadow:var(--shadow);display:grid;justify-items:center;gap:.6rem}
.sent-hero h1{font-family:var(--serif);font-weight:500;font-size:clamp(1.8rem,3vw,2.5rem);color:var(--ink);margin:.3rem 0 0}
.sent-hero h1 em{color:var(--gold-text)}
.sent-hero .lead{max-width:34rem;margin:0 auto .4rem}
.porteur-ico.big{width:72px;height:72px}.porteur-ico.big svg{width:34px;height:34px}
.streak{display:flex;align-items:center;gap:.5rem;background:var(--night-900);color:var(--on-night);border-radius:var(--r-pill);padding:.55rem 1rem}
.streak svg{width:18px;height:18px;color:var(--gold-light)}.streak b{font-size:1.2rem;color:#fff}.streak span{font-size:.85rem}
.srow{grid-template-columns:auto 1fr auto}
.snum{width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:var(--lav-soft);color:var(--night-800);font-weight:600}
.srow.done .itext{color:var(--muted)}
.srow.done .snum{background:var(--gold);color:var(--ink)}
.sent-ok[disabled]{background:#e6f3ec;color:var(--ok);border-color:transparent;cursor:default}
#sent-done{margin:.8rem 0 0;color:var(--ok);font-weight:500}
.settings-mini .two{margin:0}
.monthly-card{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;background:var(--night-900);color:var(--on-night);border:0}
.monthly-card h2{color:#fff;margin:.2rem 0}.monthly-card .imeta{color:var(--on-night-muted)}.monthly-card .eyebrow{color:var(--gold-light)}
.monthly-card .btn-line{color:#fff;border-color:rgb(255 255 255 / .35)}.monthly-card .link-btn{color:var(--on-night)}
.monthly-card .row-end{margin:0}
.dtable{width:100%;border-collapse:collapse;font-size:.92rem}
.dtable th{text-align:left;font-size:.78rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted);font-weight:600;padding:.5rem .4rem;border-bottom:1px solid var(--line)}
.dtable td{padding:.8rem .4rem;border-bottom:1px solid var(--line);color:var(--text)}
.dtable tr:last-child td{border-bottom:0}
.dtable .link-btn svg{width:15px;height:15px;vertical-align:-2px}
.toggles{display:grid;gap:.2rem}
.toggle{display:flex;align-items:center;gap:.8rem;padding:.6rem 0;cursor:pointer;color:var(--text);font-size:.95rem}
.toggle input{position:absolute;opacity:0;pointer-events:none}
.toggle span{flex:none;width:42px;height:24px;border-radius:999px;background:#cfd8e2;position:relative;transition:background .2s}
.toggle span::after{content:"";position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgb(0 0 0 / .2);transition:transform .25s var(--ease)}
.toggle input:checked+span{background:var(--night-800)}
.toggle input:checked+span::after{transform:translateX(18px)}
.toggle input:focus-visible+span{outline:2px solid var(--gold-text);outline-offset:2px}
.link-btn.danger{color:#a3302a}
@media (max-width:980px){
  .dash{grid-template-columns:1fr}
  .dash-side{position:static;padding:.6rem;min-width:0}
  .dash-user{display:none}
  .dash-nav{display:flex;overflow-x:auto;scrollbar-width:none;gap:.3rem}
  .dash-nav::-webkit-scrollbar{display:none}
  .dnav{width:auto;white-space:nowrap;padding:.55rem .8rem}
  .dash-out{display:none}
  .kpis{grid-template-columns:repeat(2,1fr)}
  .dash-grid{grid-template-columns:1fr}
}
@media (max-width:560px){
  .sent-reminder{flex-wrap:wrap}
  .irow{grid-template-columns:1fr auto}.irow .ioff{display:none}
  .srow{grid-template-columns:auto 1fr}.srow .sent-ok{grid-column:2;justify-self:start}
  .dtable th:nth-child(2),.dtable td:nth-child(2){display:none}
}

/* ───────── v9 · Hero en deux temps ───────── */
.hero-slides { display: grid; }
.hslide { grid-area: 1 / 1; opacity: 0; transform: translateY(16px); visibility: hidden; transition: opacity .9s var(--ease), transform .9s var(--ease), visibility 0s .9s; }
.hslide.is-on { opacity: 1; transform: none; visibility: visible; transition-delay: .15s, .15s, 0s; }
.hero-how { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-how li { display: inline-flex; align-items: center; gap: 9px; font-size: .92rem; color: rgb(232 238 245 / .92); padding: 7px 14px 7px 7px; border-radius: var(--r-pill); background: rgb(10 27 44 / .35); backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .14); }
.hero-how b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-light); color: var(--ink); font-size: .8rem; }
.hero-dots { display: flex; align-items: center; gap: 6px; margin-top: 30px; }
.hero-dots [role="tab"] { position: relative; width: 46px; height: 24px; border: 0; background: none; padding: 0; cursor: pointer; }
.hero-dots [role="tab"]::before, .hero-dots [role="tab"]::after { content: ""; position: absolute; left: 0; top: 10px; height: 4px; border-radius: 4px; }
.hero-dots [role="tab"]::before { right: 0; background: rgb(255 255 255 / .28); }
.hero-dots [role="tab"]::after { width: 0; background: var(--gold-light); }
.hero-dots [aria-selected="true"]::after { animation: dotfill 7s linear forwards; }
.hero.paused .hero-dots [aria-selected="true"]::after, .hero.hold .hero-dots [aria-selected="true"]::after { animation-play-state: paused; }
@keyframes dotfill { to { width: 100%; } }
.hero-dots [role="tab"]:focus-visible, .hero-pause:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 6px; }
.hero-pause { width: 30px; height: 30px; margin-left: 6px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); cursor: pointer; display: grid; place-items: center; }
.hero-pause span { width: 9px; height: 10px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.hero-pause[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 9px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
.ticker { transition: opacity .7s ease, transform .7s var(--ease); }
.hero[data-slide="1"] .ticker { opacity: 0; transform: translateX(20px); pointer-events: none; }
.hero-chains { position: absolute; z-index: 3; right: max(20px, calc((100vw - 1220px) / 2 + 20px)); top: 132px; width: 330px; display: grid; gap: 12px; pointer-events: none; }
.hchain { background: rgb(255 255 255 / .95); color: var(--ink); border-radius: 18px; padding: 14px 16px; box-shadow: 0 24px 60px -24px rgb(0 0 0 / .55); opacity: 0; transform: translateX(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hchain:nth-child(2) { margin-left: -36px; margin-right: 36px; }
.hero[data-slide="1"] .hero-chains { pointer-events: auto; }
.hero[data-slide="1"] .hchain { opacity: 1; transform: none; transition-delay: calc(.25s + var(--i) * .14s); }
.hchain-top { display: flex; align-items: center; gap: 10px; }
.hchain-top .avatar { width: 36px; height: 36px; font-size: .9rem; }
.hchain h3 { font: 500 1.02rem/1.2 var(--serif); margin: 0; color: var(--ink); }
.hchain-top p { margin: 2px 0 0; font-size: .76rem; color: var(--muted); }
.hchain-upd { margin: 8px 0 10px; font: italic 400 .9rem/1.4 var(--serif); color: var(--text); }
.hchain-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hchain-foot > span { font-size: .76rem; color: var(--muted); }
.hchain-foot b { color: var(--ink); font-size: .9rem; }
.hchain .pray-btn { padding: 7px 12px; font-size: .78rem; white-space: nowrap; }
.hchain .pray-btn svg { width: 14px; height: 14px; }
@media (max-width: 1020px) { .hero-chains { display: none; } }
@media (max-height: 820px) and (min-width: 1021px) { .hchain:nth-child(3) { display: none; } }

/* ───────── v9 · Prière de la chaîne ───────── */
.prayer-pick { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; min-width: 0; }
.prayer-pick legend { margin-bottom: 10px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 4px; border-radius: var(--r-pill); background: var(--sand); justify-self: start; }
.seg label { cursor: pointer; }
.seg input, .pick input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 8px 15px; border-radius: var(--r-pill); font-weight: 600; font-size: .88rem; color: var(--text); transition: background .2s, color .2s; }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgb(15 42 66 / .12); }
.seg input:focus-visible + span, .pick input:focus-visible + span { outline: 2px solid var(--gold-text); outline-offset: 2px; }
[data-pmode="liste"] { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
.pick-list { display: grid; gap: 7px; }
.pick-group { margin: 6px 0 0; font: 700 .7rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pick { display: block; cursor: pointer; }
.pick > span { display: block; padding: 10px 14px; border-radius: 14px; border: 1px solid var(--line); background: #fff; transition: border-color .2s, background .2s; }
.pick b { color: var(--ink); font-weight: 600; font-size: .95rem; }
.pick small { display: block; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.pick .pill { margin-left: 8px; font-size: .66rem; padding: 2px 8px; vertical-align: 2px; }
.pick:hover > span { border-color: #c6d3e0; }
.pick input:checked + span { border-color: var(--night-700); box-shadow: inset 0 0 0 1px var(--night-700); background: var(--lav-soft); }
.pick-preview { position: sticky; top: 100px; padding: 20px; border-radius: 16px; background: var(--ivory); border: 1px solid var(--line); }
.pick-preview h4 { font: 500 1.15rem/1.25 var(--serif); color: var(--ink); margin: 10px 0 8px; }
.pick-preview p { font: 400 1rem/1.65 var(--serif); color: var(--text); margin: 0; }
@media (max-width: 720px) { [data-pmode="liste"] { grid-template-columns: 1fr; } .pick-preview { position: static; } }

/* ───────── v10 · Modale intention (Mon espace) + bandeau mission ───────── */
.modal-card.wide { max-width: 620px; }
.intent-card { position: relative; display: grid; gap: 16px; padding: 30px 32px; text-align: left; }
.intent-card h2 { font: 500 clamp(1.7rem, 3.5vw, 2.1rem)/1.1 var(--serif); color: var(--ink); margin: -6px 0 0; }
.intent-card h2 em { color: var(--gold-text); }
.intent-card .help { margin: 0; }
.intent-card textarea { min-height: 130px; resize: vertical; }
.intent-card .seg { margin: 4px 0 8px; }
.intent-card .x { position: absolute; top: 14px; right: 14px; border: 0; background: none; font-size: 1rem; color: var(--muted); padding: 8px; border-radius: 10px; cursor: pointer; }
.intent-card .x:hover { background: rgb(0 0 0 / .05); color: var(--ink); }
.intent-card .row-end { margin-top: 4px; }
.field-err { color: #a3302a; font-size: .85rem; margin: 6px 0 0; }
.row-inline { display: inline-flex; align-items: center; gap: 12px; }
.irow.is-new { animation: rowIn .8s var(--ease); background: linear-gradient(90deg, #fff7df, transparent); }
@keyframes rowIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.mission-teaser { display: grid; grid-template-columns: 1fr 1.15fr; border-radius: var(--r-card); overflow: hidden; background: var(--night-900); color: var(--on-night); box-shadow: var(--shadow-lift); }
.mt-media img { width: 100%; height: 100%; min-height: 260px; object-fit: cover; display: block; }
.mt-body { padding: clamp(28px, 4vw, 48px); display: grid; gap: 14px; align-content: center; }
.mt-body .eyebrow { color: var(--gold-light); }
.mt-body h2 { color: #fff; font: 500 clamp(1.6rem, 3vw, 2.2rem)/1.15 var(--serif); margin: 0; }
.mt-body h2 em { color: var(--gold-light); }
.mt-body p { margin: 0; color: var(--on-night); }
.mt-body .btn-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .45); }
.mt-body .btn-line:hover { background: #fff; color: var(--ink); }
.mt-body .row-end { margin-top: 6px; }
@media (max-width: 820px) { .mission-teaser { grid-template-columns: 1fr; } .mt-media img { min-height: 200px; max-height: 240px; } }
@media (max-width: 560px) { .intent-card { padding: 26px 20px; } }

/* ───────── v11 · Formulaires en fenêtre, invitation à créer un compte, suppression ───────── */
.form-modal { position: relative; display: grid; gap: 18px; padding: 32px 34px; text-align: left; }
.modal-card.wide.form-modal { max-width: 720px; }
.form-modal h2 { font: 500 clamp(1.7rem, 3.5vw, 2.2rem)/1.1 var(--serif); color: var(--ink); margin: -8px 0 0; }
.form-modal h2 em { color: var(--gold-text); }
.form-modal .x { position: absolute; top: 14px; right: 14px; border: 0; background: none; font-size: 1rem; color: var(--muted); padding: 8px; border-radius: 10px; cursor: pointer; z-index: 2; }
.form-modal .x:hover { background: rgb(0 0 0 / .05); color: var(--ink); }
.form-modal .legend { font-size: 1.15rem; }
.form-modal textarea { min-height: 110px; resize: vertical; }
.form-modal .choice { padding: 14px; grid-template-columns: 44px 1fr; gap: 12px; }
.form-modal .choice .ico { width: 44px; height: 44px; }
.form-modal .choice h4 { font-size: 1.1rem; }
.form-modal .choices.cols .choice[style] { grid-template-columns: 1fr !important; }
.form-modal .offer { padding: 18px; }
.form-modal .offer h4 { font-size: 1.15rem; }
.form-modal .swatches { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.form-modal .row-end { position: sticky; bottom: -32px; margin: 0 -34px -32px; padding: 14px 34px 18px; background: linear-gradient(180deg, rgb(253 251 247 / 0), var(--ivory) 30%); }
.autre-wrap { max-width: 200px; }
.autocomplete { position: relative; }
.autocomplete .suggest { top: 76px; }
.form-modal .fieldset > .legend { margin-bottom: 2px; }
.kpi-link { display: inline-flex; align-items: center; gap: 6px; border: 0; cursor: pointer; background: var(--lav-soft); border-radius: 12px; padding: .45rem .75rem; font: inherit; font-size: .88rem; color: var(--night-800); }
.kpi-link svg { width: 16px; height: 16px; }
.kpi-link b { color: var(--ink); }
.kpi-link:hover { background: #dbe9f6; }
.kpi-link .dot-new { margin-left: 2px; }
.link-btn.inline { padding: 0; font-size: inherit; text-decoration: underline; text-underline-offset: 2px; }
.msg-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.msg { display: grid; grid-template-columns: auto 1fr; gap: 12px; padding: 14px; border-radius: 16px; }
.msg.new { background: #fff7df; }
.msg-head { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .9rem; }
.msg-head b { color: var(--ink); }
.msg-head span { color: var(--muted); font-size: .8rem; }
.msg-head .pill { font-style: normal; font-size: .66rem; padding: 2px 8px; }
.msg-text { margin: 4px 0 6px; font: 400 1rem/1.5 var(--serif); color: var(--text); }
.thank { font-size: .82rem; display: inline-flex; gap: 5px; align-items: center; }
.thank svg { width: 14px; height: 14px; }
.thank[disabled] { color: var(--ok); cursor: default; }
.irow.has-del { grid-template-columns: 1fr auto auto auto; }
.row-del { border: 0; background: none; color: var(--muted); padding: 8px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.row-del svg { width: 18px; height: 18px; }
.row-del:hover { background: #fbe9e7; color: #a3302a; }
.del-confirm { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #fbe9e7; font-size: .9rem; color: #6d221d; }
.del-confirm span { flex: 1; min-width: 180px; }
.btn-danger { background: #a3302a; color: #fff; }
.btn-danger:hover { background: #86251f; }
.irow.removing { opacity: 0; transform: translateX(20px); transition: opacity .3s, transform .3s; }
.del-note { display: flex; gap: 6px; align-items: center; margin: 12px 0 0; }
.del-note svg { width: 15px; height: 15px; }
.mycandle.is-new, .mychain.is-new { animation: rowIn .8s var(--ease); }
.acct-invite { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: start; margin-top: 22px; padding: 20px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); text-align: left; width: 100%; }
.ai-ico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--lav-soft); color: var(--night-800); }
.ai-ico svg { width: 22px; height: 22px; }
.ai-text h3 { margin: 0 0 4px; font: 500 1.2rem/1.2 var(--serif); color: var(--ink); }
.ai-text p { margin: 0; font-size: .92rem; color: var(--text); }
.ai-act { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ai-act .btn-google { width: auto; }
.engage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.engage-card { display: grid; gap: 12px; justify-items: start; align-content: start; padding: 30px; border-radius: var(--r-card); background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow); }
.engage-card h3 { margin: 0; font: 500 1.5rem/1.15 var(--serif); color: var(--ink); }
.engage-card p { margin: 0; color: var(--text); }
.engage-card.night { background: var(--night-900); box-shadow: var(--shadow-lift); }
.engage-card.night h3 { color: #fff; } .engage-card.night p { color: var(--on-night); }
.engage-card .ico { width: 52px; height: 52px; }
@media (max-width: 760px) { .engage-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .form-modal { padding: 26px 18px; } .form-modal .row-end { margin: 0 -18px -26px; padding: 12px 18px 16px; bottom: -26px; }
  .form-modal .swatches { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .form-modal .choices.cols { grid-template-columns: 1fr; }
  .irow.has-del { grid-template-columns: 1fr auto; } .irow.has-del .status { grid-column: 1; justify-self: start; }
}
.engage .section-head { margin-bottom: 30px; }
.engage { padding-top: 40px; }
.engage-card.night .porteur-ico { background: rgb(255 255 255 / .1); }
@media (max-width: 560px) { .form-modal .row-end .btn-line[data-close] { display: none; } .form-modal .row-end .btn { flex: 1; } }

/* ───────── v12 · Image de chaîne, photo de profil, statistiques sentinelle, modification ───────── */
.modal-card.xwide.form-modal { max-width: 860px; }
.chain-modal-card .stepper { margin: 0; }
.chain-modal-card .form-card { box-shadow: none; padding: 0; background: transparent; border: 0; }
.chain-modal-card .step-nav { position: sticky; bottom: -32px; margin: 0 -34px -32px; padding: 14px 34px 18px; background: linear-gradient(180deg, rgb(253 251 247 / 0), var(--ivory) 30%); }
.visual-pick { border: 0; padding: 0; margin: 0; min-width: 0; }
.vp-row { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.vp-preview { width: 84px; height: 84px; flex: none; position: relative; }
.vp-preview .avatar, .vp-preview img { width: 84px; height: 84px; border-radius: 50%; }
.vp-preview img { object-fit: cover; display: block; box-shadow: var(--shadow-lift); }
.vp-opts { flex: 1; min-width: 240px; display: grid; gap: 10px; }
.vp-opts .seg { justify-self: start; }
.vp-opts .help { margin: 6px 0 0; }
.color-dots { display: flex; gap: 10px; flex-wrap: wrap; }
.color-dots label { cursor: pointer; position: relative; }
.color-dots input { position: absolute; opacity: 0; pointer-events: none; }
.dotc { display: block; width: 32px; height: 32px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .6); transition: transform .2s; }
.color-dots input:checked + .dotc { box-shadow: 0 0 0 3px var(--ivory), 0 0 0 5px var(--night-800); transform: scale(1.05); }
.color-dots input:focus-visible + .dotc { outline: 2px solid var(--gold-text); outline-offset: 4px; }
.file-btn { position: relative; cursor: pointer; }
.file-btn svg { width: 18px; height: 18px; }
.avatar.has-img { padding: 0; overflow: hidden; background: var(--sand); }
.avatar.has-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-row { display: flex; gap: 18px; align-items: center; margin-bottom: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.photo-row .label { margin: 0; } .photo-row .help { margin: 2px 0 0; }
.photo-row .row-end { margin-top: 10px; }
.sent-stats { display: grid; gap: 20px; }
.thanks { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: 18px; background: linear-gradient(120deg, #fff6dc, #fff 75%); box-shadow: inset 0 0 0 1px #f6dc95; }
.thanks h2 { margin: 0 0 4px; } .thanks h2 em { color: var(--gold-text); }
.thanks p { margin: 0; color: var(--text); } .thanks b { color: var(--ink); }
.thanks .porteur-ico svg { color: var(--gold-light); }
.st-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.st { background: var(--sand); border-radius: 16px; padding: 14px 16px; }
.st b { display: block; font: 500 2rem/1.1 var(--serif); color: var(--ink); }
.st span { font-size: .85rem; color: var(--text); }
.st-row { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start; }
.st-row .label { margin: 0 0 8px; } .st-row .label span { font-weight: 500; color: var(--text); }
.week { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.week li { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 600; background: var(--sand); color: var(--muted); }
.week li.on { background: var(--gold); color: var(--ink); }
.week li.today { box-shadow: inset 0 0 0 2px var(--gold); color: var(--ink); background: #fff; }
.st-bar { height: 10px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.st-bar span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--gold-light), var(--gold)); transition: width .6s var(--ease); }
.st-goal .help { margin: 8px 0 0; }
.st-private { display: flex; gap: 6px; align-items: center; margin: 0; }
.st-private svg { width: 15px; height: 15px; flex: none; }
.row-acts { display: inline-flex; gap: 2px; }
.row-edit:hover { background: var(--lav-soft); color: var(--night-800); }
.edit-box { grid-column: 1 / -1; display: grid; gap: 8px; }
.edit-box textarea { min-height: 90px; }
.edit-box .row-end { margin: 0; }
.irow.editing .itext { opacity: .5; }
.status-legend { list-style: none; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 6px; font-size: .86rem; color: var(--text); }
.status-legend .status { margin-right: 8px; }
@media (max-width: 760px) { .st-tiles { grid-template-columns: repeat(2, 1fr); } .st-row { grid-template-columns: 1fr; gap: 18px; } }
@media (max-width: 560px) { .chain-modal-card .step-nav { margin: 0 -18px -26px; padding: 12px 18px 16px; bottom: -26px; } .chain-modal-card .stepper li { font-size: 0; gap: 0; } .irow.has-del .row-acts { grid-column: 2; grid-row: 1; } }
.ilist.full .row-acts { min-width: 76px; justify-content: flex-end; }
.status-legend li { display: grid; grid-template-columns: 190px 1fr; align-items: center; }
.status-legend .status { justify-self: start; }
@media (max-width: 560px) { .status-legend li { grid-template-columns: 1fr; gap: 4px; } .ilist.full .row-acts { min-width: 0; } }

/* ───────── v13 · SMS, chaînes terminées ───────── */
.channels .chip svg { width: 16px; height: 16px; }
.channels .chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip.is-soon { opacity: .55; cursor: default; }
.chip .pill { font-style: normal; font-size: .64rem; padding: 1px 7px; margin-left: 4px; }
.sms-box { margin-top: 14px; padding: 14px 16px; border-radius: 16px; background: var(--lav-soft); }
.sms-box.always { background: transparent; padding: 0; }
.sms-box .help { margin: 8px 0 0; }
.phone-row { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.phone-row > div { flex: 1; min-width: 200px; }
.phone-row .btn { margin-bottom: 4px; }
.btn.verified { color: var(--ok); box-shadow: inset 0 0 0 1.5px var(--ok); background: #e6f3ec; opacity: 1; }
.notif-table { width: 100%; border-collapse: collapse; }
.notif-table th, .notif-table td { padding: 10px 6px; border-bottom: 1px solid var(--line); text-align: center; }
.notif-table tbody th { text-align: left; font-weight: 500; color: var(--text); font-size: .94rem; }
.notif-table thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; width: 90px; }
.notif-table thead th:first-child { width: auto; }
.notif-table thead svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 3px; }
.notif-table tr:last-child th, .notif-table tr:last-child td { border-bottom: 0; }
.notif-table .na { color: var(--muted); }
.toggle.sm { display: inline-flex; padding: 0; }
.sms-note { display: flex; gap: 6px; align-items: center; margin: 12px 0 0; }
.sms-note svg { width: 15px; height: 15px; flex: none; }
.mychain.past { opacity: 1; box-shadow: none; background: #fbfcfd; }
.closing-msg { margin: 14px 0 0; padding: 12px 16px; border-left: 3px solid var(--gold); background: #fffaf0; border-radius: 0 12px 12px 0; font: italic 400 1rem/1.5 var(--serif); color: var(--text); }
.closing-msg span { display: block; margin-top: 4px; font: 500 .78rem var(--sans); font-style: normal; color: var(--muted); }
@media (max-width: 560px) { .notif-table thead th { width: 56px; font-size: .68rem; } .notif-table thead svg { display: none; } .notif-table tbody th { font-size: .88rem; } }

/* ───────── v14 · Fil du jour, chaînes groupées, amis de prière, modifier/publier ───────── */
.hero-media .hm { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-media .hm.is-on { opacity: 1; }
.today { background: var(--night-900); color: var(--on-night); border-radius: var(--r-card); padding: 22px 24px; box-shadow: var(--shadow-lift); }
.today-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 10px; }
.today-head h2 { margin: 0; font: 500 1.35rem/1.2 var(--serif); color: #fff; display: flex; align-items: center; gap: 10px; }
.today-head h2 svg { width: 20px; height: 20px; color: var(--gold-light); }
.feed { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.feed-item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px; border-radius: 16px; background: rgb(255 255 255 / .05); }
.feed-item.hl { background: rgb(255 255 255 / .1); box-shadow: inset 0 0 0 1px rgb(255 211 110 / .25); }
.fi-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgb(255 255 255 / .1); color: #fff; }
.fi-ico svg { width: 20px; height: 20px; }
.fi-ico.gold { background: var(--gold); color: var(--ink); } .fi-ico.blue { background: var(--night-700); } .fi-ico.ok { background: #2f7a55; }
.fi-txt p { margin: 0; color: #fff; font-size: .98rem; } .fi-txt p b { color: var(--gold-light); font-weight: 600; }
.fi-txt span { display: block; margin-top: 2px; font-size: .8rem; color: var(--on-night-muted); }
.fi-acts { display: flex; gap: 10px; align-items: center; }
.today .btn-line { color: #fff; box-shadow: inset 0 0 0 1.5px rgb(255 255 255 / .4); }
.today .btn-night { background: #fff; color: var(--ink); }
.today .link-btn { color: var(--gold-light); }
.count-new { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 99px; background: var(--gold); color: var(--ink); font: 700 .72rem/20px var(--sans); text-align: center; font-style: normal; }
.subtabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1px var(--line); justify-self: start; }
.subtabs button { border: 0; background: none; padding: 9px 16px; border-radius: var(--r-pill); font: 600 .92rem var(--sans); color: var(--text); cursor: pointer; display: inline-flex; gap: 8px; align-items: center; }
.subtabs button span { min-width: 22px; padding: 1px 7px; border-radius: 99px; background: var(--sand); font-size: .76rem; }
.subtabs [aria-selected="true"] { background: var(--night-900); color: #fff; }
.subtabs [aria-selected="true"] span { background: var(--gold); color: var(--ink); }
.subpane { display: grid; gap: 14px; }
.group-t { display: flex; align-items: center; gap: 10px; margin: 10px 0 0; font: 700 .76rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.group-t span { padding: 3px 8px; border-radius: 99px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); letter-spacing: 0; }
.group-t.empty { opacity: .5; }
.gdot { width: 8px; height: 8px; border-radius: 50%; } .gdot.ok { background: var(--ok); } .gdot.wait { background: var(--gold); } .gdot.muted { background: #9aa8b6; }
.mychain.draft { border: 1.5px dashed #e7cf86; background: #fffdf6; box-shadow: none; }
.draft-progress { display: grid; gap: 8px; font-size: .86rem; color: var(--text); margin-bottom: 4px; }
.mychain.removing, .fchain.removing, .friend.removing { opacity: 0; transform: translateX(20px); transition: opacity .3s, transform .3s; }
.mychain .del-confirm { margin-top: 12px; }
.sub-intro { display: flex; gap: 8px; align-items: center; margin: 0; }
.sub-intro svg { width: 16px; height: 16px; color: var(--gold-text); flex: none; }
.fchains { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fchain { display: grid; gap: 10px; align-content: start; }
.fchain.new { box-shadow: inset 0 0 0 1.5px #f3d98a, var(--shadow); }
.fchain h3 { margin: 0; font: 500 1.15rem/1.2 var(--serif); color: var(--ink); }
.fchain .mychain-top { margin: 0; }
.fchain-news { margin: 0; font: italic 400 1rem/1.45 var(--serif); color: var(--text); }
.fchain-news span { font: 500 .78rem var(--sans); font-style: normal; color: var(--muted); margin-left: 4px; }
.fchain .imeta svg { width: 13px; height: 13px; vertical-align: -2px; color: var(--gold-text); }
.fchain .row-end { margin-top: 2px; }
.friends { list-style: none; margin: 0; padding: 0; display: grid; }
.friend { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.friend:last-child { border-bottom: 0; }
.friend b { display: block; color: var(--ink); } .friend > div > span { font-size: .85rem; color: var(--muted); }
.friend .avatar { width: 44px; height: 44px; font-size: 1rem; }
.friend.pending .avatar { background: var(--sand); color: var(--muted); } .friend.pending .avatar svg { width: 18px; height: 18px; }
.friend.is-new { animation: rowIn .8s var(--ease); background: linear-gradient(90deg, #fff7df, transparent); }
.fr-acts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.friend-ask { margin-top: 14px; }
.friend-ask svg { width: 16px; height: 16px; }
.toggle.is-soon { opacity: .4; cursor: not-allowed; }
.notif-table thead .pill { font-style: normal; font-size: .62rem; padding: 1px 6px; text-transform: none; letter-spacing: 0; }
.edit-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.edit-main { display: grid; gap: 22px; min-width: 0; }
.edit-preview { position: sticky; top: 0; display: grid; gap: 10px; padding: 18px; border-radius: 20px; background: var(--sand); }
.edit-preview .label { margin: 0; } .edit-preview .help { margin: 0; }
.edit-preview .chain-card { margin: 0; }
.danger-zone { border-radius: 16px; padding: 14px 16px; background: #fbf3f2; box-shadow: inset 0 0 0 1px #f0d6d3; }
.danger-zone summary { cursor: pointer; font-weight: 600; color: #8a2b25; }
.danger-zone[open] { display: grid; gap: 12px; } .danger-zone[open] summary { margin-bottom: 4px; }
.news-types .chip svg { width: 16px; height: 16px; }
.news-types .chip input { position: absolute; opacity: 0; pointer-events: none; }
.news-photo { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.news-photo small { font-weight: 400; color: var(--muted); }
#n-thumb { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; box-shadow: var(--shadow); }
.news-preview { padding: 16px; border-radius: 16px; background: var(--sand); }
.news-preview .label { margin: 0 0 8px; }
.timeline-item { padding: 14px 16px; border-radius: 14px; background: #fff; border-left: 3px solid var(--gold); }
.tl-type { font: 700 .7rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.timeline-item p { margin: 6px 0; font: 400 1rem/1.5 var(--serif); color: var(--text); white-space: pre-wrap; }
.tl-meta { font-size: .8rem; color: var(--muted); }
@media (max-width: 900px) { .edit-grid { grid-template-columns: 1fr; } .edit-preview { position: static; } .fchains { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .feed-item { grid-template-columns: auto 1fr; } .feed-item > .btn, .feed-item > .link-btn, .feed-item > .fi-acts { grid-column: 2; justify-self: start; }
  .friend { grid-template-columns: auto 1fr; } .fr-acts { grid-column: 1 / -1; justify-content: flex-start; }
  .subtabs { width: 100%; } .subtabs button { flex: 1; justify-content: center; padding: 9px 10px; }
}
/* v14: let the warm photographs breathe */
.page-hero img { opacity: 1; }
.page-hero::before { background: linear-gradient(90deg, rgb(10 27 44 / .86) 0%, rgb(10 27 44 / .55) 45%, rgb(10 27 44 / .08) 80%), linear-gradient(0deg, rgb(10 27 44 / .55), transparent 45%); }
.hero::after { background: linear-gradient(90deg, rgb(10 27 44 / .84) 0%, rgb(10 27 44 / .45) 42%, rgb(10 27 44 / 0) 72%), linear-gradient(0deg, rgb(10 27 44 / .6) 0%, rgb(10 27 44 / 0) 26%); }
.hero-media img { filter: none; }
.hero::after { background: radial-gradient(420px 320px at calc(100% - max(170px, (100vw - 1220px) / 2 + 170px)) 290px, rgb(10 27 44 / .5), transparent 70%), linear-gradient(90deg, rgb(10 27 44 / .84) 0%, rgb(10 27 44 / .45) 42%, rgb(10 27 44 / 0) 72%), linear-gradient(0deg, rgb(10 27 44 / .6) 0%, rgb(10 27 44 / 0) 26%); }
#ticker li .who, #ticker li .what { text-shadow: 0 1px 3px rgb(0 0 0 / .7), 0 2px 16px rgb(0 0 0 / .6); }

/* ───────── v15 · Prière de la chaîne, causes, recherche, profil d'un ami ───────── */
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 46px; cursor: pointer; font-weight: 500; }
.select-wrap::after { content: ""; position: absolute; right: 18px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.prayer-pick [data-pmode="liste"] { display: grid; grid-template-columns: 1fr; gap: 10px; }
.prayer-pick [data-pmode="liste"][hidden] { display: none !important; }
.prayer-pick .pick-preview { position: static; }
.prayer-pick textarea { min-height: 110px; }
.prayer-pick-e { display: grid; gap: 10px; } .prayer-pick-e .label { margin: 0; } .prayer-pick-e .seg { justify-self: start; }
.chain-types { margin: 0 0 12px; justify-self: start; display: inline-flex; flex-wrap: wrap; }
.pill.cause { margin-left: 6px; font-size: .66rem; padding: 2px 8px; background: var(--lav-soft); color: var(--night-800); }
.all-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.search-inline { position: relative; flex: 0 1 360px; min-width: 240px; }
.search-inline svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search-inline .input { padding-left: 46px; border-radius: var(--r-pill); }
.result-count { margin: 4px 0 14px; font-size: .88rem; color: var(--muted); min-height: 1.2em; }
.more-row { display: flex; justify-content: center; margin-top: 26px; }
.more-row .btn svg { width: 18px; height: 18px; }
details.more { position: relative; }
details.more summary { list-style: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; cursor: pointer; color: var(--muted); }
details.more summary::-webkit-details-marker { display: none; }
details.more summary:hover, details.more[open] summary { background: var(--sand); color: var(--ink); }
details.more summary svg { width: 20px; height: 20px; }
.more-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 20; min-width: 210px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lift), 0 0 0 1px var(--line); display: grid; }
.more-menu button { display: flex; align-items: center; gap: 8px; border: 0; background: none; text-align: left; padding: 10px 12px; border-radius: 10px; font: 500 .9rem var(--sans); color: var(--text); cursor: pointer; }
.more-menu button:hover { background: var(--sand); }
.more-menu button svg { width: 16px; height: 16px; }
.more-menu button:nth-child(2), .more-menu button:nth-child(3) { color: #a3302a; }
.fname { color: inherit; text-decoration: none; } .fname:hover, .fname:hover b { text-decoration: underline; text-underline-offset: 2px; }
.today .fname { color: var(--gold-light); font-weight: 600; }
.blocked .avatar { filter: grayscale(1); opacity: .7; }
.inv-quota { display: flex; gap: 6px; align-items: center; margin: 0; } .inv-quota svg { width: 15px; height: 15px; flex: none; } .inv-quota b { color: var(--ink); }
.report-reasons { gap: 8px; } .report-reasons .choice { padding: 12px 14px; } .report-reasons h4 { font: 600 .98rem var(--sans); }
.profile-page { padding-top: calc(var(--header-h, 76px) + 1.5rem); }
.profile { display: grid; gap: 22px; max-width: 1080px; }
.back-link { display: inline-flex; gap: 8px; align-items: center; color: var(--muted); text-decoration: none; font-size: .9rem; justify-self: start; }
.back-link svg { width: 16px; height: 16px; transform: scaleX(-1); } .back-link:hover { color: var(--ink); }
.profile-hero { display: grid; grid-template-columns: auto 1fr auto; gap: 26px; align-items: center; padding: 30px; border-radius: var(--r-card); background: linear-gradient(135deg, #fff, #fff7df); box-shadow: var(--shadow), inset 0 0 0 1px #f3e3a8; }
.avatar.xl { width: 120px; height: 120px; font-size: 3rem; box-shadow: 0 0 0 6px #fff, var(--shadow-lift); }
.ph-main h1 { margin: 0; font: 500 clamp(2rem, 4vw, 2.8rem)/1.05 var(--serif); color: var(--ink); } .ph-main h1 em { color: var(--gold-text); }
.ph-meta { margin: 6px 0 0; color: var(--muted); display: flex; gap: 6px; align-items: center; font-size: .92rem; } .ph-meta svg { width: 16px; height: 16px; }
.ph-bio { margin: 12px 0 0; font: italic 400 1.08rem/1.5 var(--serif); color: var(--text); max-width: 46ch; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--r-pill); background: var(--lav-soft); color: var(--night-800); font-size: .84rem; font-weight: 600; }
.badge svg { width: 15px; height: 15px; } .badge.gold { background: var(--gold); color: var(--ink); }
.ph-acts { display: flex; gap: 8px; align-items: center; align-self: start; }
.ph-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pst { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); display: grid; gap: 4px; }
.pst-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--lav-soft); color: var(--night-800); margin-bottom: 6px; } .pst-ico svg { width: 19px; height: 19px; }
.pst b { font: 500 2.1rem/1 var(--serif); color: var(--ink); } .pst > span:last-child { font-size: .86rem; color: var(--text); }
.ph-note, .ph-private { display: flex; gap: 6px; align-items: center; margin: -8px 0 0; } .ph-note svg, .ph-private svg { width: 15px; height: 15px; flex: none; }
.ph-private { margin: 4px 0 0; justify-content: center; }
.ph-section { display: grid; gap: 14px; } .ph-section > h2 { margin: 0; font: 500 1.5rem/1.2 var(--serif); color: var(--ink); }
.ph-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.two-col { grid-template-columns: 1fr 1fr; align-items: start; }
.mycandles.compact { grid-template-columns: 1fr; gap: 10px; } .mycandles.compact .mycandle { padding: 12px 16px; } .mycandles.compact .mycandle p { margin: 0; }
@media (max-width: 900px) { .profile-hero { grid-template-columns: auto 1fr; } .ph-acts { grid-column: 1 / -1; } .ph-stats { grid-template-columns: repeat(2, 1fr); } .ph-grid, .two-col { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .profile-hero { grid-template-columns: 1fr; text-align: left; padding: 22px; } .avatar.xl { width: 92px; height: 92px; font-size: 2.3rem; } .more-menu.right { right: auto; left: 0; } }
.chain-types { background: rgb(255 255 255 / .08); margin-top: 28px; } .chain-types + .chain-filters { margin-top: 0; }
.ph-grid { margin-top: 0; }
/* v16: step 4 — preview label + account gate */
.preview-label { display: flex; align-items: center; gap: 10px; margin: -4px 0 4px; font-size: .9rem; color: var(--muted); }
.preview-label .pill { background: var(--gold); color: var(--ink); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .7rem; }
#c-preview .chain-card { box-shadow: 0 0 0 2px var(--gold-light), var(--shadow); }
.acct-gate { display: grid; grid-template-columns: auto 1fr; gap: 14px 16px; align-items: start; margin-top: 18px; padding: 22px; border-radius: 20px; background: linear-gradient(135deg, #fff7df, #fff); box-shadow: inset 0 0 0 1.5px var(--gold-light), var(--shadow); }
.acct-gate h3 { margin: 0 0 4px; font: 500 1.3rem/1.2 var(--serif); color: var(--ink); }
.acct-gate p { margin: 0; color: var(--text); font-size: .95rem; }
.ag-acts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; }
@media (max-width: 560px) { .ag-acts .btn { flex: 1; } }
/* v17: account nudge before posting */
.acct-nudge { display: grid; grid-template-columns: auto 1fr auto; gap: 12px 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--lav-soft); box-shadow: inset 0 0 0 1px #d6e4f2; }
.acct-nudge p { margin: 0; font-size: .92rem; color: var(--text); } .acct-nudge b { color: var(--ink); }
.acct-nudge .ai-ico { width: 40px; height: 40px; background: #fff; }
.an-acts { display: flex; gap: 12px; align-items: center; }
.autocomplete .help svg { width: 14px; height: 14px; vertical-align: -2px; margin-right: 2px; color: var(--gold-text); }
@media (max-width: 640px) { .acct-nudge { grid-template-columns: auto 1fr; } .an-acts { grid-column: 1 / -1; } }
.acct-nudge { grid-template-columns: auto 1fr; } .acct-nudge p { max-width: none; } .an-acts { grid-column: 2; }
@media (max-width: 640px) { .an-acts { grid-column: 1 / -1; } }
/* v18: signed-in demo state */
.is-logged .acct-nudge, .is-logged .acct-invite, .is-logged .acct-gate { display: none !important; }
.account-ico.logged span { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #ffd86e, #d9a019); color: #fff; font: 600 1rem var(--serif); }
#cierge-confirm { scroll-margin-top: 110px; }
.account-ico.logged { text-decoration: none; padding: 0; overflow: hidden; }
/* v20: notifications history */
.feed-item.removing { opacity: 0; transform: translateX(20px); transition: opacity .3s, transform .3s; }
.feed-empty { margin: 4px 0 0; padding: 14px; border-radius: 14px; background: rgb(255 255 255 / .06); color: var(--on-night); display: flex; gap: 8px; align-items: center; }
.feed-empty svg { width: 18px; height: 18px; color: var(--gold-light); }
.today-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 12px; padding-top: 12px; border-top: 1px solid rgb(255 255 255 / .1); }
.today-foot .link-btn { display: inline-flex; gap: 6px; align-items: center; color: var(--on-night); font-size: .9rem; }
.today-foot .link-btn:last-child { color: var(--gold-light); }
.today-foot svg { width: 16px; height: 16px; }
.nf-count { min-width: 22px; padding: 1px 7px; border-radius: 99px; background: rgb(255 255 255 / .14); font-size: .76rem; }
.nf-group { margin: 6px 0 0; font: 700 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nf-list { list-style: none; margin: 0; padding: 0; display: grid; }
.nf-item { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.nf-item:last-child { border-bottom: 0; }
.nf-item .fi-ico { width: 36px; height: 36px; border-radius: 10px; background: var(--sand); color: var(--muted); }
.nf-item .fi-ico svg { width: 18px; height: 18px; }
.nf-item p { margin: 0; color: var(--text); font-size: .94rem; } .nf-item b { color: var(--ink); font-weight: 600; }
.nf-item span { display: block; font-size: .8rem; color: var(--muted); margin-top: 2px; }
.nf-item .fname { color: var(--ink); }
/* v21: account type at sign-up */
.acct-type { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 14px; }
.at-opt { cursor: pointer; } .at-opt input { position: absolute; opacity: 0; pointer-events: none; }
.at-opt > span { display: grid; gap: 2px; padding: 14px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); height: 100%; transition: box-shadow .2s, background .2s; }
.at-opt svg { width: 22px; height: 22px; color: var(--night-800); margin-bottom: 4px; }
.at-opt b { color: var(--ink); font-size: .96rem; } .at-opt small { color: var(--muted); font-size: .8rem; line-height: 1.35; }
.at-opt input:checked + span { box-shadow: inset 0 0 0 2px var(--gold); background: #fffcef; }
.at-opt input:focus-visible + span { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.org-form { gap: 14px; }
.org-verif { display: flex; gap: 8px; align-items: center; margin: 0; padding: 10px 12px; border-radius: 12px; background: var(--lav-soft); font-size: .86rem; color: var(--night-800); }
.org-verif svg { width: 16px; height: 16px; flex: none; }
[data-acct="org"] > .help { margin-bottom: 14px; }

/* ───────── v22 · Organisations : page publique + espace ───────── */
.org-page { background: var(--ivory); }
.org-cover { position: relative; height: clamp(220px, 32vw, 380px); overflow: hidden; }
.org-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; display: block; }
.org-cover-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(10 27 44 / .35), rgb(10 27 44 / 0) 40%, rgb(253 251 247 / .2)); }
.org-wrap { display: grid; gap: 22px; padding-bottom: 60px; }
.org-head { position: relative; margin-top: -80px; display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: end; padding: 26px 28px; border-radius: var(--r-card); background: #fff; box-shadow: var(--shadow-lift), inset 0 0 0 1px var(--line); }
.org-logo { width: 112px; height: 112px; border-radius: 28px; display: grid; place-items: center; background: linear-gradient(135deg, var(--night-800), var(--night-950)); color: var(--gold-light); box-shadow: 0 0 0 6px #fff, var(--shadow-lift); margin-top: -60px; align-self: start; }
.org-logo svg { width: 54px; height: 54px; }
.oh-type { margin: 0; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; color: var(--muted); font-size: .9rem; }
.badge.verified { background: #e6f3ec; color: var(--ok); }
.oh-main h1 { margin: 6px 0 0; font: 500 clamp(1.9rem, 4vw, 2.7rem)/1.05 var(--serif); color: var(--ink); } .oh-main h1 em { color: var(--gold-text); }
.oh-desc { margin: 10px 0 0; color: var(--text); max-width: 60ch; }
.oh-stats { margin: 10px 0 0; color: var(--muted); font-size: .92rem; } .oh-stats b { color: var(--ink); }
.oh-acts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.org-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1px var(--line); justify-self: start; max-width: 100%; }
.org-tabs::-webkit-scrollbar { display: none; }
.org-tabs a { white-space: nowrap; padding: 9px 16px; border-radius: var(--r-pill); color: var(--text); text-decoration: none; font-weight: 600; font-size: .92rem; }
.org-tabs a:hover { background: var(--sand); color: var(--ink); }
.org-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.org-main { display: grid; gap: 34px; min-width: 0; }
.org-sec { scroll-margin-top: 100px; display: grid; gap: 14px; }
.os-head h2 { margin: 0; font: 500 1.7rem/1.15 var(--serif); color: var(--ink); } .os-head h2 em { color: var(--gold-text); }
.os-head p { margin: 4px 0 0; color: var(--muted); }
.parcs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.parc { background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); display: grid; }
.parc-img { position: relative; aspect-ratio: 16 / 10; } .parc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.parc-img .pill { position: absolute; left: 12px; top: 12px; background: rgb(255 255 255 / .92); color: var(--ink); font-size: .7rem; }
.parc-body { padding: 16px; display: grid; gap: 8px; align-content: start; }
.parc-body h3 { margin: 0; font: 500 1.15rem/1.2 var(--serif); color: var(--ink); }
.parc-body p { margin: 0; font-size: .88rem; color: var(--text); }
.parc-meta { display: flex; gap: 6px; align-items: center; color: var(--muted) !important; font-size: .8rem !important; } .parc-meta svg { width: 14px; height: 14px; }
.parc-body .btn { justify-self: start; }
[data-subscribe].on { background: var(--night-900); color: #fff; box-shadow: none; }
.org-chains { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
.events { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.event { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.ev-date { width: 60px; height: 64px; border-radius: 14px; display: grid; place-items: center; align-content: center; background: var(--night-900); color: var(--gold-light); font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; }
.ev-date b { font: 500 1.6rem/1 var(--serif); color: #fff; letter-spacing: 0; }
.event h4 { margin: 0; font: 500 1.08rem/1.25 var(--serif); color: var(--ink); } .event p { margin: 2px 0 0; font-size: .88rem; color: var(--text); } .event span { font-size: .8rem; color: var(--muted); }
.newses { display: grid; gap: 10px; }
.news { padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-left: 3px solid var(--gold); }
.news-when { font-size: .78rem; color: var(--muted); } .news h4 { margin: 4px 0 4px; font: 500 1.12rem/1.25 var(--serif); color: var(--ink); } .news p { margin: 0; font-size: .92rem; color: var(--text); }
.org-aside { display: grid; gap: 16px; position: sticky; top: 96px; }
.org-aside .dcard h2 { font-size: 1.2rem; } .org-aside .dcard h2 em { color: var(--gold-text); }
.confier { background: linear-gradient(135deg, #fff7df, #fff); box-shadow: var(--shadow), inset 0 0 0 1.5px var(--gold-light); scroll-margin-top: 100px; }
.org-intent { display: grid; gap: 10px; } .org-intent textarea { min-height: 110px; }
.hours { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; font-size: .9rem; }
.hours dt { font-weight: 600; color: var(--ink); } .hours dd { margin: 0; color: var(--text); }
.mini-map { position: relative; border-radius: 14px; overflow: hidden; background: var(--sand); }
.mini-map svg { display: block; width: 100%; height: auto; }
.mm-pin { position: absolute; left: 58%; top: 34%; width: 40px; height: 40px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--night-900); display: grid; place-items: center; box-shadow: 0 8px 18px -6px rgb(10 27 44 / .6); }
.mm-pin svg { width: 20px; height: 20px; color: var(--gold-light); transform: rotate(45deg); }
.addr { display: flex; gap: 6px; align-items: center; font-size: .9rem; color: var(--text); margin: 12px 0 0; } .addr svg { width: 16px; height: 16px; flex: none; }
.org-fict { display: flex; gap: 6px; align-items: center; justify-content: center; } .org-fict svg { width: 15px; height: 15px; }
/* espace organisation */
.org-av { background: var(--night-900); color: var(--gold-light); } .org-av svg { width: 22px; height: 22px; }
.okpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.okpi { background: #fff; border-radius: 20px; padding: 18px; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); display: grid; gap: 2px; }
.okpi b { font: 500 2rem/1.05 var(--serif); color: var(--ink); margin-top: 6px; } .okpi > span:not(.pst-ico) { font-size: .88rem; color: var(--text); }
.okpi em { font-style: normal; font-size: .8rem; color: var(--ok); font-weight: 600; margin-top: 4px; }
.two-eq { grid-template-columns: 1fr 1fr; }
.chart-card .muted-p { margin: -4px 0 6px; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart .gl { stroke: #e6ecf2; stroke-width: 1; }
.chart .ax { font: 500 11px var(--sans); fill: var(--muted); }
.chart .ln { fill: none; stroke: var(--night-700); stroke-width: 2.25; stroke-linejoin: round; stroke-linecap: round; }
.chart .ar { fill: rgb(33 78 120 / .08); }
.chart .pt { fill: var(--night-700); stroke: #fff; stroke-width: 2; }
.chart .lbl { font: 600 12px var(--sans); fill: var(--ink); }
.chart .br { fill: #9fc0e0; } .chart .br.last { fill: var(--night-700); }
.chart .hit { fill: transparent; cursor: crosshair; } .chart .hit.on { fill: rgb(33 78 120 / .06); }
.chart-tip { position: absolute; z-index: 50; padding: 7px 11px; border-radius: 10px; background: var(--night-950); color: #fff; font: 500 .82rem var(--sans); pointer-events: none; box-shadow: var(--shadow-lift); white-space: nowrap; }
.hbars { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hbars li { display: grid; grid-template-columns: minmax(120px, 1.2fr) 2fr auto; gap: 12px; align-items: center; font-size: .88rem; color: var(--text); }
.hb-track { height: 10px; border-radius: 99px; background: var(--sand); overflow: hidden; } .hb-track i { display: block; height: 100%; border-radius: 99px; background: var(--night-700); }
.hbars b { color: var(--ink); font-variant-numeric: tabular-nums; min-width: 3.5em; text-align: right; }
.report { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; background: linear-gradient(135deg, #fff7df, #fff); box-shadow: var(--shadow), inset 0 0 0 1px #f3e3a8; }
.report h2 { margin: 0 0 4px; } .report p { margin: 0; color: var(--text); } .report b { color: var(--ink); } .report .row-end { margin: 0; }
.oi-row { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.oi-row:last-child { border-bottom: 0; } .oi-row.done .itext { color: var(--muted); }
.btn-ok { background: #e6f3ec; color: var(--ok); box-shadow: none; } .btn-ok[disabled] { opacity: 1; cursor: default; }
.parcs.admin { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .okpis { grid-template-columns: repeat(2, 1fr); } .two-eq { grid-template-columns: 1fr; } .parcs, .parcs.admin { grid-template-columns: 1fr 1fr; } }
@media (max-width: 980px) { .org-grid { grid-template-columns: 1fr; } .org-aside { position: static; } .org-head { grid-template-columns: auto 1fr; } .oh-acts { grid-column: 1 / -1; justify-content: flex-start; } }
@media (max-width: 640px) { .org-head { grid-template-columns: 1fr; padding: 22px; } .org-logo { width: 88px; height: 88px; margin-top: -70px; } .parcs, .parcs.admin, .org-chains { grid-template-columns: 1fr; } .event { grid-template-columns: auto 1fr; } .event .btn { grid-column: 2; justify-self: start; } .report { grid-template-columns: auto 1fr; } .report .row-end { grid-column: 1 / -1; } .hbars li { grid-template-columns: 1fr auto; } .hb-track { grid-column: 1 / -1; grid-row: 2; } .okpis { grid-template-columns: 1fr 1fr; } }
.org-head { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
.oh-acts { grid-column: 2; justify-content: flex-start; }
.parc { grid-template-columns: minmax(0, 1fr); } .parc-body { min-width: 0; }
.chart .ax { font-size: 15px; } .chart .lbl { font-size: 17px; }
@media (max-width: 640px) { .oh-acts { grid-column: 1; } }
@media (max-width: 640px) { .org-head { grid-template-columns: minmax(0, 1fr); } .oh-type { font-size: .82rem; } }
.parc { grid-template-rows: auto 1fr; align-content: start; } .parc-body { align-content: start; } .parc-body .btn { margin-top: auto; }
/* v23: admin access bar on the organisation page */
.org-adminbar { position: relative; z-index: 2; margin-top: -150px; margin-bottom: 70px; justify-self: end; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 8px 8px 8px 16px; border-radius: var(--r-pill); background: rgb(255 255 255 / .94); box-shadow: var(--shadow-lift); font-size: .88rem; color: var(--text); }
.org-adminbar > svg { width: 16px; height: 16px; color: var(--gold-text); } .org-adminbar b { color: var(--ink); }
.org-adminbar .btn svg { width: 15px; height: 15px; }
@media (max-width: 640px) { .org-adminbar { margin-top: -130px; margin-bottom: 50px; justify-self: stretch; border-radius: 18px; } }

/* ───────── v24 · Parcours : page publique + création ───────── */
.parc-link { color: inherit; text-decoration: none; } .parc-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.confier .pill.gold { justify-self: start; margin-bottom: 4px; }
.parcours-page { padding-top: calc(var(--header-h, 76px) + 24px); background: var(--ivory); }
.pc-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 44px; align-items: center; padding-bottom: 36px; }
.org-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; margin-bottom: 18px; }
.oc-logo { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--night-900); color: var(--gold-light); } .oc-logo svg { width: 18px; height: 18px; }
.org-chip b { display: block; color: var(--ink); font-size: .88rem; } .org-chip small { display: flex; gap: 4px; align-items: center; color: var(--ok); font-size: .74rem; font-weight: 600; } .org-chip small svg { width: 12px; height: 12px; }
.pc-hero h1 { margin: 12px 0 0; font: 500 clamp(2.3rem, 5vw, 3.6rem)/1.03 var(--serif); color: var(--ink); } .pc-hero h1 em { color: var(--gold-text); }
.pc-hero .lead { margin: 16px 0 0; max-width: 46ch; }
.pc-facts { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pc-facts li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: var(--r-pill); background: #fff; box-shadow: inset 0 0 0 1px var(--line); font-size: .86rem; color: var(--text); }
.pc-facts svg { width: 16px; height: 16px; color: var(--gold-text); } .pc-facts b { color: var(--ink); }
.pc-cta { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin-top: 24px; }
.pc-time { min-width: 170px; } .pc-time .label { margin-bottom: 4px; font-size: .78rem; } .pc-time .input { padding-top: 10px; padding-bottom: 10px; }
[data-pc-join].on { background: var(--night-900); color: #fff; }
.pc-progress { margin-top: 16px; padding: 14px 16px; border-radius: 16px; background: #e6f3ec; display: grid; gap: 8px; } .pc-progress p { margin: 0; color: #1f5a3d; font-size: .9rem; display: flex; gap: 6px; align-items: center; } .pc-progress svg { width: 16px; height: 16px; flex: none; }
.pc-hero-img img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: 28px; box-shadow: var(--shadow-lift); display: block; }
.pc-get { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 40px; }
.pc-get-item { background: #fff; border-radius: 20px; padding: 20px; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); }
.pc-get-item h3 { margin: 10px 0 4px; font: 500 1.15rem/1.2 var(--serif); color: var(--ink); } .pc-get-item p { margin: 0; color: var(--text); font-size: .92rem; }
.pc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 30px; align-items: start; padding-bottom: 70px; }
.pc-main { display: grid; gap: 34px; min-width: 0; }
.pc-sec { display: grid; gap: 14px; } .pc-sec h2 { margin: 0; font: 500 1.7rem/1.15 var(--serif); color: var(--ink); } .pc-sec h2 em { color: var(--gold-text); } .pc-sec > .help { margin: -6px 0 0; }
.pc-day { background: #fff; border-radius: var(--r-card); padding: 26px; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); display: grid; gap: 18px; }
.pc-day header h3 { margin: 10px 0 0; font: 500 1.6rem/1.2 var(--serif); color: var(--ink); }
.pc-block { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.pc-lbl { display: flex; gap: 6px; align-items: center; font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); } .pc-lbl svg { width: 15px; height: 15px; }
.pc-block blockquote { margin: 0; font: italic 400 1.1rem/1.6 var(--serif); color: var(--ink); } .pc-block cite { font-size: .8rem; color: var(--muted); font-style: normal; }
.pc-block p { margin: 0; color: var(--text); line-height: 1.65; }
.pc-prayer { font: 400 1.05rem/1.65 var(--serif) !important; color: var(--ink) !important; }
.pc-block.step { padding: 14px 16px; border-top: 0; border-radius: 14px; background: #fff7df; }
.audio { display: flex; align-items: center; gap: 12px; margin-top: 4px; padding: 10px 14px 10px 10px; border-radius: var(--r-pill); background: var(--sand); }
.audio-play { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--night-900); color: #fff; display: grid; place-items: center; cursor: pointer; } .audio-play svg { width: 16px; height: 16px; }
.audio-bar { flex: 1; height: 6px; border-radius: 99px; background: #d5dfe9; overflow: hidden; } .audio-bar span { display: block; width: 0; height: 100%; background: var(--night-700); }
.audio-t { font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.week-acc { background: #fff; border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.week-acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 16px 18px; }
.week-acc summary::-webkit-details-marker { display: none; }
.week-acc summary b { font: 700 .74rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); }
.week-acc summary span { font: 500 1.1rem/1.2 var(--serif); color: var(--ink); } .week-acc summary em { font-style: normal; font-size: .82rem; color: var(--muted); }
.week-acc[open] summary { border-bottom: 1px solid var(--line); }
.pc-days { list-style: none; margin: 0; padding: 6px 18px 12px; display: grid; }
.pc-days li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: .94rem; color: var(--text); } .pc-days li:last-child { border-bottom: 0; }
.pc-days .dn, .step-ed .dn { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--sand); color: var(--night-800); font-size: .78rem; font-weight: 700; }
.pc-days li svg { width: 15px; height: 15px; color: var(--muted); } .pc-days .pill { font-size: .66rem; }
.pc-aside { display: grid; gap: 16px; position: sticky; top: 96px; }
.pc-aside .dcard h2 { font-size: 1.2rem; }
.faq { border-top: 1px solid var(--line); padding: 10px 0; } .faq:first-of-type { border-top: 0; } .faq summary { cursor: pointer; font-weight: 600; color: var(--ink); font-size: .94rem; } .faq p { margin: 8px 0 0; font-size: .9rem; color: var(--text); }
.pc-also a { display: flex; justify-content: space-between; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 500; } .pc-also a span { color: var(--muted); font-size: .84rem; } .pc-also a:hover { color: var(--gold-text); }
/* création */
.pcc-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.pcc-form { display: grid; gap: 18px; min-width: 0; } .pcc-form .dcard { display: grid; gap: 14px; }
.pcc-form h2 { display: flex; align-items: center; gap: 10px; margin: 0; }
.sn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font: 700 .86rem var(--sans); }
.pcc-types .chip input { position: absolute; opacity: 0; pointer-events: none; }
.pcc-date { margin-top: 10px; max-width: 200px; }
.steps-ed { display: grid; gap: 10px; }
.step-ed { border-radius: 16px; background: #fbfcfd; box-shadow: inset 0 0 0 1px var(--line); }
.step-ed summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto auto 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; }
.step-ed summary::-webkit-details-marker { display: none; }
.step-ed .drag { color: #b5c2cf; letter-spacing: -2px; cursor: grab; } .step-ed summary b { color: var(--ink); font-weight: 600; }
.st-state { font-size: .74rem; font-weight: 700; padding: 3px 9px; border-radius: 99px; background: #fff3d4; color: #7a5600; } .st-state.ok { background: #e6f3ec; color: var(--ok); }
.step-ed[open] { background: #fff; box-shadow: inset 0 0 0 1.5px var(--gold-light), var(--shadow); }
.step-body { display: grid; gap: 12px; padding: 4px 16px 16px; } .step-body textarea { min-height: 80px; } .step-body textarea.tall { min-height: 140px; }
.pcc-aside { display: grid; gap: 14px; position: sticky; top: 96px; } .pcc-aside > .label { margin: 0; }
.checklist { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 8px; font-size: .9rem; }
.checklist li { display: flex; gap: 8px; align-items: center; color: var(--text); } .checklist svg { width: 16px; height: 16px; } .checklist .ok svg { color: var(--ok); } .checklist .todo svg { color: #b07d00; }
.pcc-check h2 { font-size: 1.15rem; margin-bottom: 10px; }
@media (max-width: 1000px) { .pc-hero { grid-template-columns: 1fr; } .pc-hero-img { order: -1; } .pc-grid, .pcc-grid { grid-template-columns: 1fr; } .pc-aside, .pcc-aside { position: static; } }
@media (max-width: 640px) { .pc-get { grid-template-columns: 1fr; } .pc-day { padding: 20px; } .week-acc summary { grid-template-columns: 1fr auto; } .week-acc summary b { grid-column: 1 / -1; } }
.pcc-date { width: 100%; min-width: 0; } @media (max-width: 640px) { .pcc-form .choices.cols { grid-template-columns: 1fr; } .dash-head .row-end { justify-content: flex-start; } }
.choice > span { min-width: 0; } .pcc-date { display: block; max-width: 100%; box-sizing: border-box; }
.pc-days li { aspect-ratio: auto; border-radius: 0; background: none; place-items: initial; font-weight: 400; }
.pc-progress p { display: flex; gap: 8px; align-items: flex-start; } .pc-progress p svg { margin-top: 3px; }
.pcc-grid ~ *, .dash-nav a.dnav { text-decoration: none; }
.step-body .row-end { align-items: center; } .step-body .link-btn { display: inline-flex; gap: 6px; align-items: center; } .step-body .link-btn svg { width: 16px; height: 16px; }

/* ───────── v25 · Ticker continu, cartes de chaînes, nouvelles d'abord, enseignements ───────── */
.ticker-window { height: 372px; overflow: hidden; margin-left: -34px; padding-left: 34px; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 14%, #000 82%, transparent 100%); }
#ticker li { height: 62px; opacity: 1 !important; filter: none !important; }
#ticker.flow { animation: tickerUp 42s linear infinite; }
.ticker:hover #ticker.flow { animation-play-state: paused; }
@keyframes tickerUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
@media (prefers-reduced-motion: reduce) { #ticker.flow { animation: none; } }
#ticker .mini-candle .halo { filter: blur(2px); }
.chain-acts { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; position: relative; z-index: 2; }
.chain-acts .btn svg { width: 15px; height: 15px; }
.chain-card .open-chain { background: #fff; }
.chain-card.praying .open-chain { background: var(--night-900); color: #fff; box-shadow: none; }
.hchain-open { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font: 600 .82rem var(--sans); color: var(--night-800); text-decoration: none; }
.hchain-open[hidden] { display: none; }
.hchain-open svg { width: 14px; height: 14px; } .hchain-open:hover { text-decoration: underline; }
.updates h2 .pill { vertical-align: middle; margin-left: 8px; font-family: var(--sans); font-size: .7rem; }
.readings { display: grid; gap: 12px; }
.rd { padding: 12px 14px; border-radius: 14px; background: var(--sand); }
.rd-l { display: block; font: 700 .7rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 6px; }
.rd p { margin: 0; font: italic 400 1rem/1.55 var(--serif); color: var(--ink); }
.teach-src { background: var(--sand); box-shadow: none; margin-bottom: 12px; }
.teach-src button { color: var(--text); } .teach-src button[aria-pressed="true"] { background: var(--night-900); color: #fff; }
.teach-types { margin-bottom: 18px; }
.teaches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.teach { position: relative; background: #fff; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow), inset 0 0 0 1px var(--line); display: grid; grid-template-rows: auto 1fr; transition: transform .25s var(--ease), box-shadow .25s; }
.teach:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift), inset 0 0 0 1px var(--line); }
.teach[hidden] { display: none; }
.teach-link { position: absolute; inset: 0; z-index: 2; }
.teach .parc-body h3 { margin: 0; }
.t-src { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; font-weight: 700; color: var(--night-800); }
.t-src svg { width: 15px; height: 15px; } .t-src.org { color: var(--ok); }
@media (max-width: 1000px) { .teaches { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .teaches { grid-template-columns: 1fr; } }
.chain-hero-main { min-width: 0; } .chain-hero-main > div { min-width: 0; } .friend-ask { white-space: normal; text-align: left; height: auto; }
/* v26: likes on chain news */
.t-row { display: grid; gap: 4px; }
.t-like { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 6px; }
.like-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border: 0; border-radius: 99px; background: var(--sand); color: var(--text); font: 600 .84rem var(--sans); cursor: pointer; transition: background .2s, color .2s; }
.like-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.like-btn:hover, .like-btn[aria-pressed="true"] { background: #fde7ea; color: #b4233c; }
.like-btn[aria-pressed="true"] svg { fill: currentColor; }
.like-btn.pop svg { animation: likePop .45s var(--ease); }
@keyframes likePop { 0% { transform: scale(1); } 40% { transform: scale(1.35); } 100% { transform: scale(1); } }
.like-btn:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.like-who { font-size: .8rem; color: var(--muted); }
.fi-ico.like { background: #b4233c; color: #fff; }
/* v27: cross-promotion bands */
.chain-band::before { background: linear-gradient(90deg, rgb(10 27 44 / .9), rgb(10 27 44 / .55) 60%, rgb(10 27 44 / .2)); }
.cta-band h2 em { color: var(--gold-light); }
.cb-how { margin-top: 20px; }
/* v28: chain card actions side by side, chevron, toast link, socials */
.chain-acts { flex-wrap: nowrap; justify-content: space-between; }
.chain-card .open-chain { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.chain-card .open-chain svg { width: 18px; height: 18px; }
.chain-card .open-chain:hover { background: var(--ink); color: #fff; transform: translateX(2px); }
.chain-card.praying .open-chain { background: var(--night-900); color: #fff; box-shadow: none; }
.toast-link { margin-left: 12px; color: var(--gold-light); font-weight: 700; text-decoration: none; white-space: nowrap; }
.toast-link:hover { text-decoration: underline; }
.foot-social { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 36px 0 0; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .1); }
.foot-social > span { font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-light); margin-right: 6px; }
.soc { padding: 8px 14px; border-radius: 99px; color: var(--on-night); text-decoration: none; font-size: .88rem; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .2); }
.soc:hover { background: rgb(255 255 255 / .1); color: #fff; }
/* v29: footer social icons */
.foot-soc { display: flex; gap: 10px; margin-top: 22px; }
.soc-i { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: var(--on-night); background: rgb(255 255 255 / .06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .16); text-decoration: none; transition: background .2s, color .2s, transform .2s; }
.soc-i:hover { background: var(--gold-light); color: var(--ink); transform: translateY(-2px); box-shadow: none; }
.soc-i svg { width: 19px; height: 19px; }
.soc-l { font: 700 .95rem/1 var(--sans); letter-spacing: -.02em; }
.soc-i svg { width: 20px; height: 20px; } .soc-i svg path[d^="M9.5"] { transform: scale(1.35); transform-origin: 12px 12px; }
