/* ==========================================================================
   Mot de l’auteur — « Cœur du message » (partials/author-word.php).
   Phrase-cœur, sommaire en deux temps, quatre engagements, ni salaire ni renommée,
   de la dispersion à l’ordre, pour nos savants, prions ensemble, seuil de la lettre, partage.
   Chargé après author-premium.css. Tous les tons viennent des jetons du thème (--c-*),
   lisibles sur les 100 thèmes, clairs comme sombres.
   ========================================================================== */

/* ---------- Ciel étoilé discret (ouverture & clôture) ---------- */
.author-word .aw-stars { position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1.2px 1.2px at 12% 22%, rgba(255,255,255,.85), transparent 60%),
    radial-gradient(1px 1px at 28% 68%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.4px 1.4px at 46% 14%, rgba(240,210,150,.9), transparent 60%),
    radial-gradient(1px 1px at 63% 52%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.3px 1.3px at 78% 26%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 88% 74%, rgba(240,210,150,.7), transparent 60%),
    radial-gradient(1px 1px at 6% 86%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.2px 1.2px at 36% 42%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1px 1px at 94% 8%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(60% 50% at 50% 0%, rgba(200,155,94,.2), transparent 70%);
  animation: aw-twinkle 7s ease-in-out infinite alternate; }
@keyframes aw-twinkle { from { opacity: .35; } to { opacity: .75; } }
.author-word .aw-open { padding-block: 2.8rem 2.4rem; }

/* ---------- Phrase-cœur (dans l’ouverture) ---------- */
.author-word .aw-heart { position: relative; margin: 1.7rem auto .3rem; max-width: 46rem; padding: 1.2rem 1.8rem 1.2rem; text-align: center; border-block: 1px solid rgba(200,155,94,.45); }
.author-word .aw-heart::before, .author-word .aw-heart::after { content: "◆"; position: absolute; left: 50%; top: 0; transform: translate(-50%, -55%); font-size: .6rem; line-height: 1; color: var(--c-gold); }
.author-word .aw-heart::after { top: 100%; transform: translate(-50%, -45%); }
.author-word .aw-heart-mark { display: block; font-family: var(--font-heading); font-size: 4.2rem; line-height: 1; height: 2.2rem; color: var(--c-gold); opacity: .85; }
.author-word .aw-heart p { margin: 0; font-family: var(--font-heading); font-style: italic; font-weight: 500; font-size: clamp(1.3rem, 2.5vw, 1.9rem); line-height: 1.38; color: #fff; text-wrap: balance; }
.author-word .aw-heart .aw-heart-ar { margin-top: .7rem; font-family: var(--font-arabic); font-style: normal; font-size: clamp(1.05rem, 1.8vw, 1.3rem); line-height: 1.9; color: var(--c-gold-light, var(--c-gold)); text-align: center; }
html[dir="rtl"] .author-word .aw-heart p { font-family: var(--font-arabic); font-style: normal; line-height: 1.8; }

/* ---------- Sommaire en deux temps ---------- */
.author-word .aw-toc { margin: 1.6rem 2.6rem .4rem; }
.author-word .aw-toc-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem 1.6rem; }
.author-word .aw-toc .aw-toc-cols ol { grid-template-columns: minmax(0, 1fr); align-content: start; }
.author-word .aw-toc .aw-toc-heart { padding-inline-end: 1.6rem; border-inline-end: 1px solid var(--c-border-soft); }
.author-word .aw-toc .aw-toc-heart .num { background: var(--c-gold-soft); border-color: var(--c-gold); color: var(--c-gold-text, var(--c-gold-deep)); }
.author-word .aw-toc-sep { font-size: var(--fs-xs); letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--c-muted); padding: .2rem .6rem .35rem; }
[dir="rtl"] .author-word .aw-toc-sep { letter-spacing: 0; }

/* ---------- Corps « cœur » ---------- */
.author-word .aw-heart-body { padding: .6rem 2.6rem 0; display: grid; }
.author-word .awh { position: relative; padding: 3.2rem 0 2.8rem; scroll-margin-top: calc(var(--header-h, 64px) + 1.2rem); }
.author-word .awh + .awh { border-top: 1px solid var(--c-border-soft); }
.author-word .awh-head { text-align: center; margin-bottom: 1.1rem; }
.author-word .awh-kicker { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--fs-xs); letter-spacing: .2em; text-transform: uppercase; font-weight: 700; color: var(--c-gold-text, var(--c-gold-deep)); }
[dir="rtl"] .author-word .awh-kicker { letter-spacing: 0; font-size: .92rem; }
.author-word .awh-head h3 { margin: .45rem 0 .55rem; font-size: clamp(1.8rem, 3.6vw, 2.75rem); line-height: 1.12; color: var(--c-heading); font-weight: 600; text-wrap: balance; }
.author-word .awh-orn { display: flex; align-items: center; justify-content: center; gap: .7rem; color: var(--c-gold); font-size: .55rem; line-height: 1; }
.author-word .awh-orn i { display: block; height: 1px; width: min(18%, 110px); background: linear-gradient(90deg, transparent, var(--c-gold)); }
.author-word .awh-orn i:last-child { transform: scaleX(-1); }
.author-word .awh-orn b { font-weight: 400; }
.author-word .awh p.awh-lead { max-width: 50rem; margin: 0 auto 2rem; text-align: center; font-family: var(--font-heading); font-size: clamp(1.14rem, 1.9vw, 1.38rem); line-height: 1.6; color: var(--c-ink); text-wrap: pretty; }
.author-word .awh p.awh-lead.is-quote { font-style: italic; color: var(--c-heading); }
html[dir="rtl"] .author-word .awh p.awh-lead { font-family: var(--font-arabic); font-style: normal; line-height: 1.95; }
.author-word .awh-prose { max-width: 50rem; margin: 1.8rem auto .4rem; }
.author-word .awh-prose p { font-size: 1.03rem; line-height: 1.88; color: var(--c-ink); margin: 0 0 .85rem; }
.author-word .awh-prose p:first-child::first-letter { float: inline-start; font-family: var(--font-heading); font-size: 3.5rem; line-height: .8; padding: .35rem .55rem 0 0; color: var(--c-gold-text, var(--c-gold-deep)); font-weight: 600; }
html[dir="rtl"] .author-word .awh-prose p:first-child::first-letter { float: none; font-size: inherit; padding: 0; color: inherit; }
.author-word .awh-actions { text-align: center; margin: 1.3rem 0 0; }
.author-word .awh .proof-band { max-width: 50rem; margin-inline: auto; margin-top: 1.4rem; }

/* ---------- 1. Les quatre engagements ---------- */
.author-word .aw-vows { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.author-word .aw-vow { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 2rem 1.15rem 1.5rem; border: 1px solid var(--c-border-soft); border-radius: var(--r-md); background: linear-gradient(180deg, var(--c-paper-2), var(--c-paper)); box-shadow: var(--shadow-sm); transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease; overflow: hidden; }
.author-word .aw-vow::before { content: ""; position: absolute; inset-inline: 20%; top: 0; height: 3px; border-radius: 0 0 3px 3px; background: linear-gradient(90deg, transparent, var(--c-gold), transparent); }
.author-word .aw-vow::after { content: ""; position: absolute; inset: 5px; border: 1px solid var(--c-border-soft); border-radius: calc(var(--r-md) - 4px); pointer-events: none; opacity: .7; }
.author-word .aw-vow:hover { transform: translateY(-4px); border-color: var(--c-gold); box-shadow: var(--shadow-gold, 0 14px 30px rgba(0,0,0,.12)); }
.author-word .aw-vow-n { position: absolute; top: .65rem; inset-inline-start: .9rem; font-family: var(--font-heading); font-size: .9rem; font-weight: 700; color: var(--c-gold-text, var(--c-gold-deep)); opacity: .7; }
.author-word .aw-vow-ar { font-family: var(--font-mushaf, var(--font-arabic)); font-size: clamp(1.45rem, 2.2vw, 1.9rem); line-height: 1.7; color: var(--c-gold-text, var(--c-gold-deep)); margin-bottom: .2rem; }
.author-word .aw-vow-t { font-family: var(--font-heading); font-size: 1.24rem; line-height: 1.2; color: var(--c-heading); margin-bottom: .6rem; }
.author-word .aw-vow p { font-size: .91rem; line-height: 1.65; color: var(--c-muted); margin: 0; max-width: none; }

.author-word .aw-done { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: center; margin: 2.2rem auto 0; max-width: 60rem; padding: 1.8rem 2.1rem; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--c-navy-deep), var(--c-navy) 60%, var(--c-green-deep)); color: #fff; overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,.18); }
.author-word .aw-done::before { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(200,155,94,.45); border-radius: calc(var(--r-lg) - 5px); pointer-events: none; z-index: 1; }
.author-word .aw-done::after { content: ""; position: absolute; inset: 0; background-image: var(--pattern-navy); background-size: 18px 18px; opacity: .35; pointer-events: none; }
.author-word .aw-done > * { position: relative; z-index: 2; }
.author-word .aw-done-icon { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--c-gold); background: rgba(255,255,255,.07); color: var(--c-gold-on-dark, var(--c-gold)); font-size: 1.65rem; }
.author-word .aw-done-kicker { display: block; font-size: var(--fs-xs); letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--c-gold-on-dark, var(--c-gold)); margin-bottom: .4rem; }
[dir="rtl"] .author-word .aw-done-kicker { letter-spacing: 0; font-size: .92rem; }
.author-word .aw-done p.aw-done-main { margin: 0 0 .4rem; font-family: var(--font-heading); font-size: clamp(1.22rem, 2.1vw, 1.6rem); line-height: 1.38; color: #fff; font-weight: 600; max-width: none; }
.author-word .aw-done p.aw-done-sub { margin: 0; font-size: .97rem; line-height: 1.6; color: rgba(255,255,255,.82); max-width: none; }

/* ---------- 2. Ni salaire, ni renommée ---------- */
.author-word .aw-ledger { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; max-width: 60rem; margin: 0 auto; }
.author-word .aw-ledger-col { position: relative; border-radius: var(--r-md); padding: 1.5rem 1.6rem 1.3rem; border: 1px solid var(--c-border-soft); background: var(--c-paper-2); }
.author-word .aw-ledger-col h4 { display: flex; align-items: center; gap: .55rem; margin: 0 0 1.1rem; font-family: var(--font-heading); font-size: 1.32rem; color: var(--c-heading); }
.author-word .aw-ledger-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.author-word .aw-ledger-col li { position: relative; padding-inline-start: 2rem; font-size: .98rem; line-height: 1.5; color: var(--c-ink); }
.author-word .aw-ledger-col li::before { position: absolute; inset-inline-start: 0; top: .08rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; display: grid; place-items: center; font-family: "bootstrap-icons"; font-size: .7rem; line-height: 1; }
.author-word .aw-ledger-col.is-not h4 .bi { color: var(--c-muted); }
.author-word .aw-ledger-col.is-not li { color: var(--c-muted); }
.author-word .aw-ledger-col.is-not li::before { content: "\F659"; border: 1px solid var(--c-border); color: var(--c-muted); }
.author-word .aw-ledger-col.is-ask { border-color: var(--c-gold); background: linear-gradient(160deg, var(--c-gold-soft), var(--c-paper-2) 70%); box-shadow: var(--shadow-gold, var(--shadow-sm)); }
.author-word .aw-ledger-col.is-ask h4 .bi { color: var(--c-gold-text, var(--c-gold-deep)); }
.author-word .aw-ledger-col.is-ask li { font-weight: 600; color: var(--c-heading); }
.author-word .aw-ledger-col.is-ask li::before { content: "\F633"; background: var(--c-green); color: #fff; }

/* ---------- 3. Pourquoi : de la dispersion à l’ordre ---------- */
.author-word .aw-shift { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 1.2rem; align-items: stretch; max-width: 64rem; margin: 0 auto; }
.author-word .aw-shift-col { border-radius: var(--r-md); padding: 1.5rem 1.4rem 1.3rem; }
.author-word .aw-shift-col h4 { margin: 0 0 1.2rem; font-family: var(--font-heading); font-size: 1.28rem; color: var(--c-heading); text-align: center; }
.author-word .aw-shift-col ul, .author-word .aw-shift-col ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .85rem; }
.author-word .aw-shift-col li { display: grid; grid-template-columns: 2.2rem 1fr; gap: .75rem; align-items: start; font-size: .95rem; line-height: 1.55; }
.author-word .aw-shift-col li > .bi { width: 2.2rem; height: 2.2rem; display: grid; place-items: center; border-radius: 50%; font-size: 1rem; }
/* Dispersion : notes épinglées de travers, ton éteint — elles se remettent droites au survol */
.author-word .aw-shift-col.is-scatter { background: repeating-linear-gradient(-45deg, transparent 0 10px, var(--c-border-soft) 10px 11px), var(--c-paper); border: 1px dashed var(--c-border); }
.author-word .is-scatter li { padding: .75rem .85rem; background: var(--c-paper-2); border: 1px solid var(--c-border-soft); border-radius: var(--r-sm); color: var(--c-muted); box-shadow: 0 3px 8px rgba(0,0,0,.06); transform: rotate(calc((var(--i, 0) - 1.5) * 1.4deg)); transition: transform .4s ease; }
.author-word .is-scatter li:nth-child(even) { margin-inline-start: 1rem; }
.author-word .is-scatter li > .bi { background: var(--c-border-soft); color: var(--c-muted); }
.author-word .aw-shift:hover .is-scatter li { transform: none; }
/* Ordre : alignement net, accents or et vert */
.author-word .aw-shift-col.is-order { background: var(--c-paper-2); border: 1px solid var(--c-gold); box-shadow: var(--shadow-gold, var(--shadow-sm)); }
.author-word .is-order li { color: var(--c-ink); padding-bottom: .85rem; border-bottom: 1px solid var(--c-border-soft); }
.author-word .is-order li:last-child { border-bottom: 0; padding-bottom: 0; }
.author-word .is-order li > .bi { background: var(--c-green); color: #fff; box-shadow: 0 0 0 3px var(--c-green-soft); }
.author-word .aw-shift-arrow { align-self: center; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--c-gold); color: var(--c-accent-ink, #1a1a1a); font-size: 1.4rem; box-shadow: 0 8px 20px rgba(0,0,0,.15); }
[dir="rtl"] .author-word .aw-shift-arrow .bi { transform: scaleX(-1); }

.author-word .aw-for { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; max-width: 64rem; margin: 2rem auto 0; }
.author-word .aw-for-card { position: relative; padding: 1.6rem 1.7rem 1.4rem; border-radius: var(--r-md); border: 1px solid var(--c-border-soft); border-inline-start: 4px solid var(--c-gold); background: var(--c-paper); box-shadow: var(--shadow-sm); }
.author-word .aw-for-card:nth-child(2) { border-inline-start-color: var(--c-green); }
.author-word .aw-for-card .ornate-icon { margin-bottom: .7rem; }
.author-word .aw-for-card h4 { margin: 0 0 .55rem; font-family: var(--font-heading); font-size: 1.4rem; color: var(--c-heading); }
.author-word .aw-for-card p { margin: 0; font-size: .98rem; line-height: 1.78; color: var(--c-ink); max-width: none; }

/* ---------- 4. Pour nos savants (panneau nocturne, pleine largeur) ---------- */
.author-word .awh.awh-scholars { margin-inline: -2.6rem; padding-inline: 2.6rem; background: linear-gradient(180deg, var(--c-navy-deep), var(--c-navy) 55%, var(--c-navy-deep)); color: #fff; border-top: 0; overflow: hidden; }
.author-word .awh-scholars::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern-navy); background-size: 18px 18px; opacity: .35; pointer-events: none; }
.author-word .awh-scholars > * { position: relative; }
.author-word .awh-scholars .awh-kicker { color: var(--c-gold-on-dark, var(--c-gold)); }
.author-word .awh-scholars .awh-head h3 { color: #fff; }
.author-word .awh-scholars p.awh-lead { color: rgba(255,255,255,.86); }
.author-word p.aw-names-label { text-align: center; font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: rgba(255,255,255,.62); margin: 0 auto 1rem; max-width: none; }
[dir="rtl"] .author-word p.aw-names-label { letter-spacing: 0; font-size: .92rem; }
.author-word .aw-names { list-style: none; margin: 0 auto; padding: 0; max-width: 62rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.author-word .aw-names li { display: inline-flex; flex-direction: column; align-items: center; min-width: 7.6rem; padding: .55rem 1rem .5rem; border: 1px solid rgba(200,155,94,.4); border-radius: var(--r-md); background: rgba(255,255,255,.04); transition: background .25s ease, border-color .25s ease, transform .25s ease; }
.author-word .aw-names li:hover { background: rgba(200,155,94,.12); border-color: var(--c-gold); transform: translateY(-2px); }
.author-word .aw-names .ar { font-family: var(--font-arabic); font-size: 1.32rem; line-height: 1.6; color: var(--c-gold-light, var(--c-gold)); }
.author-word .aw-names .tr { font-size: .75rem; letter-spacing: .03em; color: rgba(255,255,255,.72); }
.author-word p.aw-names-more { text-align: center; font-style: italic; color: rgba(255,255,255,.66); font-size: .94rem; margin: 1.1rem auto 2.2rem; max-width: none; }
.author-word .aw-scholar-dua { margin: 0 auto; max-width: 54rem; text-align: center; padding: 2.1rem 2.2rem 1.8rem; border-radius: var(--r-lg); border: 1px solid var(--c-gold); background: radial-gradient(120% 80% at 50% 0%, rgba(200,155,94,.18), rgba(255,255,255,.03) 70%); position: relative; }
.author-word .aw-scholar-dua::after { content: ""; position: absolute; inset: 6px; border: 1px solid rgba(200,155,94,.3); border-radius: calc(var(--r-lg) - 5px); pointer-events: none; }
.author-word .aw-scholar-dua-label { display: inline-flex; align-items: center; gap: .45rem; font-size: var(--fs-xs); letter-spacing: .16em; text-transform: uppercase; font-weight: 700; color: var(--c-gold-on-dark, var(--c-gold)); margin-bottom: .9rem; }
[dir="rtl"] .author-word .aw-scholar-dua-label { letter-spacing: 0; font-size: .92rem; }
.author-word .aw-scholar-dua p.ar { margin: 0 auto 1rem; max-width: none; font-family: var(--font-mushaf, var(--font-arabic)); font-size: clamp(1.3rem, 2.4vw, 1.85rem); line-height: 2.15; color: #fff; text-align: center; }
.author-word .aw-scholar-dua blockquote { margin: 0; font-family: var(--font-heading); font-style: italic; font-size: clamp(1.04rem, 1.7vw, 1.2rem); line-height: 1.72; color: rgba(255,255,255,.9); }
html[dir="rtl"] .author-word .aw-scholar-dua blockquote { font-family: var(--font-arabic); font-style: normal; }
.author-word .awh-scholars .proof-band { background: rgba(255,255,255,.05); border-color: rgba(200,155,94,.55); }
.author-word .awh-scholars .proof-band .proof-ar { color: var(--c-gold-light, var(--c-gold)); }
.author-word .awh-scholars .proof-band blockquote { color: rgba(255,255,255,.9); }
.author-word .awh-scholars .proof-band figcaption { color: rgba(255,255,255,.62); }
.author-word .awh-scholars + .awh { border-top: 0; }
/* Filets dorés : le panneau reste détaché du fond, même quand celui-ci est déjà sombre. */
.author-word .awh.awh-scholars { box-shadow: inset 0 1px 0 rgba(200,155,94,.55), inset 0 -1px 0 rgba(200,155,94,.55); }
/* Thèmes « Nuit » : le papier est déjà bleu nuit — on creuse le panneau et on l’éclaire d’un halo doré. */
[data-mode="night"] .author-word .awh.awh-scholars { background: radial-gradient(70% 45% at 50% 0%, rgba(200,155,94,.14), transparent 70%), linear-gradient(180deg, #050f1d, #071629 55%, #050f1d); }

/* ---------- 5. Prions ensemble ---------- */
.author-word .aw-prayer { position: relative; margin: 0 auto; max-width: 56rem; text-align: center; padding: 2.5rem 2.2rem 2.1rem; border-radius: var(--r-lg); border: 1px solid var(--c-gold); background: radial-gradient(90% 70% at 50% 0%, var(--c-gold-soft), var(--c-paper-2) 75%); box-shadow: var(--shadow-gold, var(--shadow-sm)); }
.author-word .aw-prayer::after { content: ""; position: absolute; inset: 6px; border: 1px solid var(--c-border-soft); border-radius: calc(var(--r-lg) - 5px); pointer-events: none; }
.author-word .aw-prayer p.aw-prayer-ar { margin: 0 auto .7rem; max-width: none; font-family: var(--font-mushaf, var(--font-arabic)); font-size: clamp(1.6rem, 3.4vw, 2.55rem); line-height: 2; color: var(--c-heading); text-align: center; }
.author-word .aw-prayer p.aw-prayer-ar.sm { font-size: clamp(1.2rem, 2.2vw, 1.6rem); color: var(--c-green-text); }
.author-word .aw-prayer blockquote { margin: 0 auto; max-width: 44rem; font-family: var(--font-heading); font-size: clamp(1.15rem, 2vw, 1.48rem); font-style: italic; line-height: 1.5; color: var(--c-heading); }
.author-word .aw-prayer blockquote.sm { font-size: 1.06rem; color: var(--c-ink); }
.author-word .aw-prayer figcaption { display: inline-flex; align-items: center; gap: .35rem; margin-top: .65rem; font-size: var(--fs-xs); color: var(--c-muted); }
.author-word .aw-prayer-sep { display: flex; align-items: center; justify-content: center; gap: .7rem; margin: 1.5rem 0 1.2rem; color: var(--c-gold); font-size: .55rem; line-height: 1; }
.author-word .aw-prayer-sep i { display: block; height: 1px; width: min(20%, 120px); background: linear-gradient(90deg, transparent, var(--c-gold)); }
.author-word .aw-prayer-sep i:last-child { transform: scaleX(-1); }
.author-word .aw-prayer-sep b { font-weight: 400; }
.author-word .aw-amin { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: .7rem; margin-top: 2rem; }
.author-word .aw-amin-btn { position: relative; display: inline-flex; align-items: center; gap: .7rem; padding: .65rem 2.1rem; border-radius: 999px; border: 1px solid var(--c-gold); background: linear-gradient(135deg, var(--c-gold), var(--c-gold-deep, var(--c-gold))); color: var(--c-accent-ink, #1a1a1a); cursor: pointer; box-shadow: 0 10px 24px rgba(0,0,0,.16); transition: transform .2s ease, box-shadow .2s ease, background .3s ease; }
.author-word .aw-amin-btn::before { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 1px solid var(--c-gold); opacity: .5; animation: aw-halo 2.6s ease-out infinite; pointer-events: none; }
@keyframes aw-halo { from { transform: scale(.96); opacity: .6; } to { transform: scale(1.15); opacity: 0; } }
.author-word .aw-amin-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,0,0,.2); }
.author-word .aw-amin-btn:focus-visible { outline: 2px solid var(--c-heading); outline-offset: 5px; }
.author-word .aw-amin-btn .ar { font-family: var(--font-arabic); font-size: 1.55rem; line-height: 1.3; font-weight: 700; }
.author-word .aw-amin-btn .tr { font-family: var(--font-heading); font-size: 1.22rem; font-weight: 700; letter-spacing: .04em; }
.author-word .aw-amin-msg { font-size: .92rem; color: var(--c-muted); font-style: italic; min-height: 1.4em; }
.author-word .aw-amin.is-done .aw-amin-btn { background: var(--c-green); border-color: var(--c-green); color: #fff; }
.author-word .aw-amin.is-done .aw-amin-btn::before { animation: none; opacity: 0; }
.author-word .aw-amin.is-done .aw-amin-msg { color: var(--c-green-text); font-style: normal; font-weight: 600; }

/* ---------- Seuil de la lettre complète ---------- */
.author-word .aw-letter-head { margin: 0 2.6rem; padding: 2.6rem 0 .4rem; text-align: center; border-top: 1px solid var(--c-border-soft); }
.author-word .aw-letter-head h3 { margin: .45rem 0 .45rem; font-size: clamp(1.55rem, 2.8vw, 2.15rem); color: var(--c-heading); }
.author-word .aw-letter-head p { max-width: 46rem; margin: 0 auto; color: var(--c-muted); font-size: 1rem; line-height: 1.65; }

/* ---------- Partage (bandeau autonome) ---------- */
.author-word .aw-share { margin: .6rem 2.6rem 2.4rem; padding: 2.1rem 2.1rem 1.7rem; border-radius: var(--r-lg); border: 1px solid var(--c-gold); background: linear-gradient(160deg, var(--c-gold-soft), var(--c-paper) 65%); scroll-margin-top: calc(var(--header-h, 64px) + 1.2rem); }
.author-word .aw-share-intro { text-align: center; max-width: 48rem; margin: 0 auto 1rem; }
.author-word .aw-share-intro h3 { margin: .45rem 0 .55rem; font-size: clamp(1.4rem, 2.5vw, 1.9rem); color: var(--c-heading); }
.author-word .aw-share-intro p { margin: 0 auto .5rem; font-size: 1.03rem; line-height: 1.7; color: var(--c-ink); }
.author-word .aw-share-intro p.sm { font-size: .94rem; color: var(--c-muted); }

/* ---------- Apparition douce au défilement (classe posée par author.js) ---------- */
.author-word.aw-anim .aw-rise { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: calc(var(--d, 0) * 90ms); }
.author-word.aw-anim .aw-rise.is-in { opacity: 1; transform: none; }

/* ---------- Adaptations ---------- */
@media (max-width: 1199.98px) { .author-word .aw-vows { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 991.98px) {
  .author-word .aw-toc, .author-word .aw-letter-head, .author-word .aw-share { margin-inline: 1.2rem; }
  .author-word .aw-heart-body { padding-inline: 1.2rem; }
  .author-word .awh.awh-scholars { margin-inline: -1.2rem; padding-inline: 1.2rem; }
  .author-word .aw-shift { grid-template-columns: minmax(0, 1fr); }
  .author-word .aw-shift-arrow { justify-self: center; transform: rotate(90deg); }
}
@media (max-width: 767.98px) {
  .author-word .awh { padding-block: 2.3rem 2.1rem; }
  .author-word .aw-toc-cols { grid-template-columns: minmax(0, 1fr); }
  .author-word .aw-toc .aw-toc-heart { padding-inline-end: 0; border-inline-end: 0; padding-bottom: .5rem; border-bottom: 1px solid var(--c-border-soft); }
  .author-word .aw-vows, .author-word .aw-ledger, .author-word .aw-for { grid-template-columns: minmax(0, 1fr); }
  .author-word .aw-done { grid-template-columns: minmax(0, 1fr); text-align: center; justify-items: center; padding: 1.6rem 1.2rem; }
  .author-word .aw-heart { padding-inline: .4rem; }
  .author-word .aw-prayer, .author-word .aw-scholar-dua, .author-word .aw-share { padding-inline: 1.1rem; }
  .author-word .is-scatter li:nth-child(even) { margin-inline-start: 0; }
  .author-word .aw-names li { min-width: 0; flex: 1 1 40%; }
}
@media (prefers-reduced-motion: reduce) {
  .author-word .aw-stars, .author-word .aw-amin-btn::before { animation: none; }
  .author-word .aw-vow, .author-word .is-scatter li, .author-word .aw-names li, .author-word .aw-amin-btn { transition: none; }
  .author-word.aw-anim .aw-rise { opacity: 1; transform: none; transition: none; }
}
