/* Primary invitation and secondary sharing action. Night keeps RC2.6. Every selector is confined to the AJAX reader.
   The high, consistent scope also wins over Elementor's nested span colors. */
.feu-biblio[id^="feu-biblio-v70-"] .feu-reader {
  --fm-cta-fill:#873f2b;
  --fm-cta-label:#fff;
  --fm-cta-hover-fill:#6e3222;
  --fm-cta-hover-label:#fff;
  --fm-cta-hover-border:#873f2b96;
  --fm-cta-secondary-label:#873f2b;
  --fm-cta-secondary-border:#873f2b96;
  --fm-cta-shadow:0 3px 8px rgba(60,42,25,.22);
}
.feu-biblio[id^="feu-biblio-v70-"] .feu-reader[data-fmlab9-theme="parchemin"] {
  --fm-cta-shadow:0 3px 8px rgba(71,49,26,.23);
}
.feu-biblio[id^="feu-biblio-v70-"] .feu-reader[data-fmlab9-theme="papier"] {
  --fm-cta-shadow:0 3px 8px rgba(46,40,38,.2);
}
.feu-biblio[id^="feu-biblio-v70-"] .feu-reader[data-fmlab9-theme="crepuscule"] {
  --fm-cta-secondary-label:#dfd2c0;
  --fm-cta-secondary-border:#a8b5a2;
  --fm-cta-shadow:0 2px 6px rgba(0,0,0,.18);
}
.feu-biblio[id^="feu-biblio-v70-"] .feu-reader[data-fmlab9-appearance="dark"] {
  --fm-cta-label:#fff;
  --fm-cta-hover-fill:#fff;
  --fm-cta-hover-label:#873f2b;
  --fm-cta-hover-border:#873f2b96;
  --fm-cta-secondary-label:#d7d2c9;
  --fm-cta-secondary-border:#a8b5a2;
  --fm-cta-shadow:0 2px 6px rgba(0,0,0,.18);
}
.feu-biblio[id^="feu-biblio-v70-"] .feu-reader :is(
  .feu-reader__article .elementor-widget-button .elementor-button,
  .feu-reader__endingActions .feu-reader__contact,
  .feu-reader__endingActions .feu-reader__share
) {
  border:1px solid var(--fm-button-border,#873f2b96)!important;
  border-radius:35px!important;
  background:var(--fm-button-fill,var(--fm-cta-fill))!important;
  color:var(--fm-button-label,var(--fm-cta-label))!important;
  -webkit-text-fill-color:currentColor!important;
  box-shadow:var(--fm-cta-shadow)!important;text-shadow:none!important;
  transform:none!important;translate:none!important;scale:1!important;
  transition:background-color .6s ease,color .6s ease,border-color .6s ease!important;
}
.feu-biblio[id^="feu-biblio-v70-"] .feu-reader .feu-reader__endingActions .feu-reader__share {
  --fm-button-fill:transparent;
  --fm-button-label:var(--fm-cta-secondary-label);
  --fm-button-border:var(--fm-cta-secondary-border);
  --fm-button-hover-fill:var(--fm-cta-fill);
  --fm-button-hover-label:var(--fm-cta-label);
  --fm-button-hover-border:#873f2b;
}
.feu-biblio[id^="feu-biblio-v70-"] .feu-reader :is(
  .feu-reader__article .elementor-widget-button .elementor-button,
  .feu-reader__endingActions .feu-reader__contact,
  .feu-reader__endingActions .feu-reader__share
):is(:hover,:focus-visible) {
  background:var(--fm-button-hover-fill,var(--fm-cta-hover-fill))!important;
  color:var(--fm-button-hover-label,var(--fm-cta-hover-label))!important;
  border-color:var(--fm-button-hover-border,var(--fm-cta-hover-border))!important;
}
.feu-biblio[id^="feu-biblio-v70-"] .feu-reader .feu-reader__article .elementor-widget-button .elementor-button :is(
  .elementor-button-content-wrapper,.elementor-button-text,span,svg,path
) {
  color:inherit!important;fill:currentColor!important;
  -webkit-text-fill-color:currentColor!important;
}
@media (prefers-reduced-motion:reduce) {
  .feu-biblio[id^="feu-biblio-v70-"] .feu-reader :is(
    .feu-reader__article .elementor-widget-button .elementor-button,
    .feu-reader__endingActions .feu-reader__contact,
    .feu-reader__endingActions .feu-reader__share
  ) {transition:none!important;}
}


/* EXP-TYPO-003: lighter ending actions with symmetric colour reversal.
   Authored article buttons retain their existing presentation. */
.feu-biblio[id^="feu-biblio-v70-"] .feu-reader .feu-reader__endingActions {
  --feu-exp-action-ink:#873f2b;
  --feu-exp-action-border:#873f2b96;
}
.feu-biblio[id^="feu-biblio-v70-"] .feu-reader[data-fmlab9-appearance="dark"] .feu-reader__endingActions,
.feu-biblio[id^="feu-biblio-v70-"] .feu-reader:is([data-fmlab9-theme="crepuscule"],[data-fmlab9-theme="nuit"]):not([data-fmlab9-appearance="light"]) .feu-reader__endingActions {
  --feu-exp-action-ink:#e3b6a4;
  --feu-exp-action-border:#e3b6a496;
}
.feu-biblio[id^="feu-biblio-v70-"] .feu-reader .feu-reader__endingActions :is(.feu-reader__contact,.feu-reader__share) {
  font-family:"FM Feu Volte",system-ui,sans-serif!important;
  font-weight:500!important;
  box-shadow:0 2px 6px rgba(60,42,25,.10)!important;
}
.feu-biblio[id^="feu-biblio-v70-"] .feu-reader .feu-reader__endingActions .feu-reader__contact {
  --fm-button-fill:#873f2b;
  --fm-button-label:#fff;
  --fm-button-border:#873f2b;
  --fm-button-hover-fill:transparent;
  --fm-button-hover-label:var(--feu-exp-action-ink);
  --fm-button-hover-border:var(--feu-exp-action-border);
}
.feu-biblio[id^="feu-biblio-v70-"] .feu-reader .feu-reader__endingActions .feu-reader__share {
  --fm-button-fill:transparent;
  --fm-button-label:var(--feu-exp-action-ink);
  --fm-button-border:var(--feu-exp-action-border);
  --fm-button-hover-fill:#873f2b;
  --fm-button-hover-label:#fff;
  --fm-button-hover-border:#873f2b;
}


/* EXP-TYPO-004: replace the pale pink action accents; keep sizes and weights. */
.feu-biblio[id^="feu-biblio-v70-"] .feu-reader:is([data-fmlab9-theme="crepuscule"],[data-fmlab9-theme="nuit"]):not([data-fmlab9-appearance="light"]):not([data-fmlab9-appearance="dark"]) .feu-reader__endingActions {
  --feu-exp-action-ink:#d49a74;
  --feu-exp-action-border:#d49a7496;
}
.feu-biblio[id^="feu-biblio-v70-"] .feu-reader[data-fmlab9-theme][data-fmlab9-appearance="dark"] .feu-reader__endingActions {
  --feu-exp-action-ink:#c5825f;
  --feu-exp-action-border:#c5825f96;
}
