/* Palette commune aux pages éditoriales, à la boutique et aux espaces de lecture.
   Les scènes immersives gardent leurs médias, leurs lumières et leurs transitions. */
body.malakh-palette-claire{
 --bg:#f5eff5;--bg2:#eee4f0;--fond:#f5eff5;--carte:#fbf6ed;--panel:#eee4f0;
 --nuit:#f5eff5;--nuit2:#eee4f0;--nuit-clair:#eee4f0;--texte:#392b46;--ink:#392b46;--encre:#392b46;--creme:#392b46;--titre:#392b46;
 --muted:#6d5878;--doux:#6d5878;--brume:#6d5878;--creme-doux:#6d5878;
 --gold:#805b2e;--gold-soft:#805b2e;--or:#805b2e;--or2:#805b2e;--or-eclat:#805b2e;--or-clair:#805b2e;
 --lav:#6b427c;--lavande:#6b427c;--violet:#6b427c;--violet-profond:#513b62;--neb:#6b427c;--rose:#94345b;--teal:#216b61;--mag:#94345b;
 --trait:#a18aa9;--cta:#513b62;--cta-halo:none;--cta-halo-fort:none;
 background:#f5eff5!important;color:#392b46!important;color-scheme:light;font-weight:400
}
/* WordPress : les styles hérités restent circonscrits à leur contenu éditorial. */
body.malakh-palette-claire.malakh-annexe-wp::before{background:#f5eff5!important;opacity:1!important}
body.malakh-palette-claire.malakh-annexe-wp::after{display:none!important}
body.malakh-palette-claire.malakh-annexe-wp :is(#main-container,.site-main,.content-area,.entry-content){background:transparent!important;color:#392b46!important}
body.malakh-palette-claire.malakh-annexe-wp .entry-content{font-weight:400}
body.malakh-palette-claire.malakh-annexe-wp .entry-content :is(h1,h2,h3,h4,h5,h6){color:#392b46!important;text-shadow:none!important}
/* Les intertitres gardent leur rôle visuel sur toutes les pages WordPress. */
body.malakh-palette-claire.malakh-annexe-wp .entry-content h2{font:400 clamp(29px,4vw,40px)/1.22 'Cormorant Garamond',Georgia,serif!important;margin:1.45em 0 .55em!important;opacity:1!important}
body.malakh-palette-claire.malakh-annexe-wp .entry-content h3{font:500 clamp(23px,3vw,29px)/1.22 'Cormorant Garamond',Georgia,serif!important;margin:1.2em 0 .5em!important;opacity:1!important}
body.malakh-palette-claire.malakh-annexe-wp .entry-content h4{font:500 clamp(19px,2.4vw,23px)/1.25 'Cormorant Garamond',Georgia,serif!important;margin:1em 0 .45em!important;opacity:1!important}
body.malakh-palette-claire.malakh-annexe-wp .entry-content :is(.hero p,.hero .sub,.hero .nat,.hero .whisper,.quote,.extrait-txt,.prose p,.prose strong,.signature,.lead,.fine,.cta-fine,.panel .blurb,.panel p.txt,.val p,.nl-card p,.immersion .q,.immersion .who,.prequel p,.prequel em,.integrale p,.book .ti,.nov .nti,.cyc span,.cyc.faint,.cyc.faint span,.planete-description,.planete-subtitle,.planete-card p,.index-intro,.portrait .ph,figcaption){color:#392b46!important;opacity:1;text-shadow:none}
body.malakh-palette-claire.malakh-annexe-wp .entry-content :is(.hero .no,.hero .label,.eyebrow,.gift-tag,.panel .no,.panel .lead,.panel .od,.book .pen,.book .pr,.nov .npr,.planete-kicker,.portail-label,.index-label){color:#805b2e!important;opacity:1}
body.malakh-palette-claire.malakh-annexe-wp .entry-content :is(.hero h1 em,.panel .species,.panel .badge,.portail a span,.planete-card span,.cov2 span:not(.badge)){color:#6b427c!important}
body.malakh-palette-claire.malakh-annexe-wp .entry-content :is(.card,.panel,.nl-card,.val,.portrait,.cov2,.cover .soon,.badge,.book .ribbon,.planete-page,.planetes-index,.field,.world,.soon,.visuel-perso figcaption,.avant-apres figcaption){background:#eee4f0!important;color:#392b46!important;box-shadow:none!important}
body.malakh-palette-claire.malakh-annexe-wp .entry-content :is(.field::after,.glow){opacity:.04!important}
body.malakh-palette-claire.malakh-annexe-wp .entry-content :is(.portrait .emblem,.portrait .ph,.book.avenir .ghost span,.cyc.faint){opacity:1;color:#6d5878!important}
body.malakh-palette-claire.malakh-annexe-wp .entry-content :is(.doc a,.prose a,.prequel a,.immersion a,.tnav a,.planete-page a,.planetes-index a,.text-link){color:#6b427c!important;text-decoration:underline;text-decoration-color:currentColor!important;text-underline-offset:.2em}
body.malakh-palette-claire.malakh-annexe-wp .entry-content :is(.cta,.btn,.escales-cta,.shop.primary,.card a.buy),body.malakh-palette-claire.malakh-annexe-wp #nl-form button{background:#513b62!important;color:#fff9ef!important;border-color:#513b62!important;box-shadow:none!important;opacity:1}
body.malakh-palette-claire.malakh-annexe-wp .entry-content :is(.cta,.btn,.escales-cta,.shop.primary,.card a.buy) :is(span,small,strong){color:#fff9ef!important;opacity:1}
body.malakh-palette-claire.malakh-annexe-wp :is(#nl-email,input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]),textarea,select){background:#fff9f2!important;color:#392b46!important;border-color:#a18aa9!important}
body.malakh-palette-claire.malakh-annexe-wp :is(#nl-email,input,textarea)::placeholder{color:#6d5878!important;opacity:1}
body.malakh-palette-claire.malakh-annexe-wp #nl-msg{color:#513b62!important}
/* WooCommerce : champs, notices, prix, onglets et états restent lisibles. */
body.malakh-palette-claire.malakh-commerce :is(input:not([type=submit]):not([type=button]):not([type=checkbox]):not([type=radio]),textarea,select){background:#fff9f2!important;color:#392b46!important;border-color:#a18aa9!important}
body.malakh-palette-claire.malakh-commerce :is(input,textarea)::placeholder{color:#6d5878!important;opacity:1}
body.malakh-palette-claire.malakh-commerce :is(.woocommerce-info,.woocommerce-message,.wc-block-components-notice-banner){background:#eee4f0;color:#392b46}
body.malakh-palette-claire.malakh-commerce :is(.woocommerce-error,.wc-block-components-notice-banner.is-error){background:#f8e8e9;color:#762940}
body.malakh-palette-claire.malakh-commerce :is(.price,.amount,.woocommerce-tabs .tabs a,.woocommerce-product-details__short-description,.woocommerce-product-attributes){color:#392b46}
body.malakh-palette-claire.malakh-commerce :is(a.button,button.button,input.button){background:#513b62;color:#fff9ef}
/* Gabarits refondus : fond et couleurs de texte communs, CTA cohérents. */
body.malakh-palette-claire.refonte .ref-content :is(.quote,.extrait-txt,.prose p,.prose strong,.hero p,.top p,.book .lede,.resume p,.resume ul,.resume li,.nov .nti,.book .ti){color:#392b46}
body.malakh-palette-claire.refonte :is(.ref-primary,.ref-primary:hover){background:#513b62;color:#fff9ef}
body.malakh-palette-claire.refonte .ref-hero{color:#fff9ef}
body.malakh-palette-claire.refonte .ref-hero p{color:#fff9ef;background:#463450e8;border-radius:12px;padding:12px 18px}
body.malakh-palette-claire.refonte .ref-hero .ref-secondary{color:#fff9ef;background:#463450;border-radius:999px;padding-inline:18px}
body.malakh-palette-claire.refonte .antre-arche span{color:#fff9ef;background:#463450;border-radius:12px;padding:8px 12px}
body.malakh-palette-claire.refonte .antre-voies>section>span{color:#805b2e}
body.malakh-palette-claire .ref-content a:not(.cta):not(.ref-primary){color:#6b427c}
/* Confidences : face de carte claire, titre du dos sur son fond sombre. */
body.malakh-palette-claire.ref-oracle :is(.confidence,.bonus p,.presage,.invitation,.sur-titre){color:#392b46!important;opacity:1}
body.malakh-palette-claire.ref-oracle .bonus{background:#eee4f0;color:#392b46}
body.malakh-palette-claire.ref-oracle .plaque :is(#nom,#serie){color:#fff9ef!important}
body.malakh-palette-claire.ref-oracle :is(.cle,.cle:hover){background:#513b62;color:#fff9ef}
/* Bibliothèque et connexion : aucune modification des accès ni des contenus. */
body.malakh-palette-lectrice{font-family:'Montserrat',sans-serif;background:#f5eff5!important;color:#392b46!important}
body.malakh-palette-lectrice :is(.panel,.collection,.bonus-type,.connection-guide,.reader,.tier-shelf,.tier-shelf--bas,.tier-shelf--moyen,.tier-shelf--haut){background:#fbf6ed!important;color:#392b46;border-color:#d8c9df;box-shadow:none}
body.malakh-palette-lectrice :is(h1,h2,h3,h4,.connexion h1,.connection-guide h2,.connection-guide ol,.prose .crist,.tier-shelf h3){color:#392b46!important;text-shadow:none}
body.malakh-palette-lectrice :is(.eyebrow,.tier,.connexion .eyebrow,.collection-kind,.bonus-type h4,.tier-group__title,.tier-shelf__number,.collection-card>.collection-card__badge){color:#805b2e!important}
body.malakh-palette-lectrice :is(.intro,.connexion .intro,.connexion .account-help,.connection-guide .privacy-note,.panel p,.hint,.meta,.status,.collection-count,.tier-shelf__kicker){color:#6d5878!important;font-weight:400}
body.malakh-palette-lectrice :is(.button,.connexion .button,.button:hover,.connexion .button:hover){background:#513b62;color:#fff9ef;border-color:#513b62;box-shadow:none}
body.malakh-palette-lectrice :is(.secondary,.bonus-link,.filter-chip,.sort-button){background:#fff9f2;color:#513b62;border-color:#a18aa9}
body.malakh-palette-lectrice :is(.filter-chip.is-active,.filter-chip:hover,.sort-button:hover,.bonus-link:hover){background:#eee4f0;color:#392b46;border-color:#6b427c}
body.malakh-palette-lectrice :is(.collection-card,.collection-card.image-missing::before){background:#eee4f0;color:#392b46;border-color:#a18aa9}
body.malakh-palette-lectrice .collection-card.image-missing::before{color:#805b2e}
body.malakh-palette-lectrice :is(.text-link,.connexion .text-link){color:#6b427c;text-decoration-color:currentColor}
body.malakh-palette-lectrice .connection-guide strong{color:#513b62;background:#eee4f0}
body.malakh-palette-lectrice :is(.locked,.tier-shelf--locked){opacity:1}
body.malakh-palette-lectrice .error{color:#762940}
/* Sanctuaires et laissez-passer : retours et boutons sur des surfaces opaques. */
body.malakh-palette-sanctuaire :is(.lien--cle,.lien--cle:hover){color:#fff9ef;background:#513b62}
body.malakh-palette-sanctuaire :is(.narration button:hover,.lien:not(.lien--cle):hover){color:#513b62;background:#eee4f0}
body.malakh-palette-document .retour{background:#f5eff5;color:#513b62;opacity:1;padding:8px 12px;min-height:44px;border-radius:6px}
body.malakh-palette-document :is(.btn-sceller,.btn-sceller:hover){background:#513b62;color:#fff9ef}
body.malakh-palette-document .btn-refus{color:#513b62;opacity:1}
body.malakh-palette-document input::placeholder{color:#6d5878;opacity:1}
/* Immersion : contraste des commandes et des légendes, médias intacts. */
body.malakh-palette-immersive :is(.commandes button,.cta,.portail a,.retour,.portail.a-venir,.ref-media-status){background:#392b46!important;color:#fff9ef!important;opacity:1!important;border-color:#cfbcd9}
body.malakh-palette-immersive :is(.cta-note,.portail-note){color:#fff9ef;opacity:1;background:#392b46;border-radius:8px;padding:6px 10px}
body.malakh-palette-immersive :is(.voix p,.voix h2){color:#fff9ef!important;opacity:1;text-shadow:0 1px 5px #000,0 0 14px #000}
body.malakh-palette-immersive .voix{background:#21172bf2;border-radius:12px;padding-block:12px}
body.malakh-palette-immersive.ref-galaxie .lbl{background:#21172b;border-radius:10px;padding:5px 9px}
body.malakh-palette-immersive.ref-galaxie .lbl :is(.lbl__n,.lbl__s){color:#fff9ef!important;opacity:1}
/* Navigation commune et focus : indépendants des anciens styles nav. */
body.malakh-palette .ref-nav{color:#fff9ef;background:#463450}
body.malakh-palette .ref-nav a{color:#fff9ef}
body.malakh-palette a:focus-visible,body.malakh-palette button:focus-visible,body.malakh-palette summary:focus-visible,body.malakh-palette input:focus-visible{outline:3px solid #805b2e;outline-offset:4px}
body.malakh-palette-immersive :is(a,button):focus-visible{outline-color:#fff9ef}
/* Détails hérités recensés dans les styles : anciennes portes et encarts. */
body.malakh-palette-claire.malakh-annexe-wp .entry-content :is(.galaxy,.galaxy .intro,.world p,.world .tg,.soon .pt,.sub,.cadeau .lead,.visuel-uc figcaption,.brand-name,.malakh-confidences-card__detail){color:#392b46!important;opacity:1}
body.malakh-palette-claire.malakh-annexe-wp .entry-content .malakh-confidences-card{background:#eee4f0;box-shadow:none;border-color:#a18aa9}
body.malakh-palette-claire.malakh-annexe-wp .entry-content .malakh-confidences-card__eyebrow{color:#805b2e}
body.malakh-palette-claire.malakh-annexe-wp .entry-content .malakh-confidences-card__title{color:#392b46!important;text-decoration-color:#6b427c!important}
body.malakh-palette-claire.malakh-annexe-wp .entry-content :is(.world .entrer,.world .entrer:hover,.backbooks,.backbooks:hover,.soon a.tag:hover){background:#513b62;color:#fff9ef!important}
body.malakh-palette-lectrice .connection-guide li::marker{color:#805b2e}
