« MediaWiki:Common.css » : différence entre les versions

De Nephilim Wiki
Aucun résumé des modifications
Aucun résumé des modifications
 
(91 versions intermédiaires par le même utilisateur non affichées)
Ligne 39 : Ligne 39 :
   border: 2px solid #33302A;
   border: 2px solid #33302A;
   box-shadow: 0 3px 16px rgba(30,27,22,0.2);
   box-shadow: 0 3px 16px rgba(30,27,22,0.2);
  font-family: 'EB Garamond', Georgia, serif;
   border-collapse: separate;
   border-collapse: separate;
   border-spacing: 0;
   border-spacing: 0;
Ligne 79 : Ligne 78 :
   color: #2A2520;
   color: #2A2520;
   border-top: 1px solid rgba(51,48,42,0.15);
   border-top: 1px solid rgba(51,48,42,0.15);
   font-weight: 500;
   font-family: "Source Sans 3", "Segoe UI", sans-serif;
   font-size: 15px;
   font-size: 15px;
}
}
Ligne 86 : Ligne 85 :
.regle-n1 .nephilim-regle-header td { background: #6B5D4F; }
.regle-n1 .nephilim-regle-header td { background: #6B5D4F; }
.regle-n1 .nephilim-regle-contenu  { background: #E8E0D3; }
.regle-n1 .nephilim-regle-contenu  { background: #E8E0D3; }
/* --- N2 : 2nde édition (Olive / Or) --- */
/* --- N2 : 2nde édition (Olive / Or) --- */
.regle-n2 .nephilim-regle-header td { background: #727a68; }
.regle-n2 .nephilim-regle-header td { background: #727a68; }
.regle-n2 .nephilim-regle-contenu  { background: #E8E4D8; }
.regle-n2 .nephilim-regle-contenu  { background: #E8E4D8; }
/* --- NR : 3ème édition Révélation (Bleu nuit / Argent) --- */
/* --- NR : 3ème édition Révélation (Bleu nuit / Argent) --- */
.regle-nr .nephilim-regle-header td { background: #4A5568; }
.regle-nr .nephilim-regle-header td { background: #4A5568; }
.regle-nr .nephilim-regle-contenu  { background: #DDE2E8; }
.regle-nr .nephilim-regle-contenu  { background: #DDE2E8; }
/* --- N4 : 4ème édition Anniversaire (Bordeaux / Or rose) --- */
/* --- N4 : 4ème édition Anniversaire (Bordeaux / Or rose) --- */
.regle-n4 .nephilim-regle-header td { background: #6B4548; }
.regle-n4 .nephilim-regle-header td { background: #6B4548; }
.regle-n4 .nephilim-regle-contenu  { background: #E8DDD8; }
.regle-n4 .nephilim-regle-contenu  { background: #E8DDD8; }
 
/* --- NL : 5ème édition Légende (Pourpre / Améthyste) --- */
/* --- N5 : 5ème édition Légende (Pourpre / Améthyste) --- */
.regle-nl .nephilim-regle-header td { background: #574B6B; }
.regle-nl .nephilim-regle-header td { background: #574B6B; }
.regle-nl .nephilim-regle-contenu  { background: #E3DEE8; }
.regle-nl .nephilim-regle-contenu  { background: #E3DEE8; }
Ligne 111 : Ligne 106 :
.mw-body-content .FichePNJNL .entete-pnj {
.mw-body-content .FichePNJNL .entete-pnj {
     text-align: center;
     text-align: center;
}
.mw-body-content .FichePNJNL .entete-pnj,
.mw-body-content .FichePNJNL .entete-pnj span,
.mw-body-content .FichePNJNL .entete-pnj b {
    color: #fff !important;
}
}
.mw-body-content .FichePNJNL .bandeau-pnj {
.mw-body-content .FichePNJNL .bandeau-pnj {
Ligne 117 : Ligne 117 :
}
}
.mw-body-content .FichePNJNL .sous-titre-pnj {
.mw-body-content .FichePNJNL .sous-titre-pnj {
     color: rgba(255,255,255,0.65);
     color: rgba(255,255,255,0.65) !important;
}
}


Ligne 123 : Ligne 123 :
.mw-body-content .FichePNJNL .entete-pnj {
.mw-body-content .FichePNJNL .entete-pnj {
     background-color: #8C8C8C;
     background-color: #8C8C8C;
     color: #fff;
     color: #fff !important;
}
}
.mw-body-content .FichePNJNL .bandeau-pnj {
.mw-body-content .FichePNJNL .bandeau-pnj {
Ligne 131 : Ligne 131 :
/* --- Pyrim / Effet-dragon Feu (rouge) --- */
/* --- Pyrim / Effet-dragon Feu (rouge) --- */
.mw-body-content .FichePNJNL.fiche-pnj-pyrim .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-pyrim .entete-pnj {
     background-color: #C0524E;
     background: linear-gradient(135deg, #8B2A28 0%, #C0524E 60%, #D4706C 100%);
     color: #fff;
     color: #fff !important;
}
}
.mw-body-content .FichePNJNL.fiche-pnj-pyrim .bandeau-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-pyrim .bandeau-pnj {
Ligne 140 : Ligne 140 :
/* --- Éolim / Effet-dragon Air (bleu ciel) --- */
/* --- Éolim / Effet-dragon Air (bleu ciel) --- */
.mw-body-content .FichePNJNL.fiche-pnj-eolim .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-eolim .entete-pnj {
     background-color: #5BA4D9;
     background: linear-gradient(135deg, #2E6B9A 0%, #5BA4D9 60%, #7CBDE8 100%);
     color: #fff;
     color: #fff !important;
}
}
.mw-body-content .FichePNJNL.fiche-pnj-eolim .bandeau-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-eolim .bandeau-pnj {
Ligne 149 : Ligne 149 :
/* --- Hydrim / Effet-dragon Eau (bleu outremer) --- */
/* --- Hydrim / Effet-dragon Eau (bleu outremer) --- */
.mw-body-content .FichePNJNL.fiche-pnj-hydrim .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-hydrim .entete-pnj {
     background-color: #3B6FA0;
     background: linear-gradient(135deg, #1E4A6E 0%, #3B6FA0 60%, #5488B8 100%);
     color: #fff;
     color: #fff !important;
}
}
.mw-body-content .FichePNJNL.fiche-pnj-hydrim .bandeau-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-hydrim .bandeau-pnj {
Ligne 158 : Ligne 158 :
/* --- Faërim / Effet-dragon Terre (vert) --- */
/* --- Faërim / Effet-dragon Terre (vert) --- */
.mw-body-content .FichePNJNL.fiche-pnj-faerim .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-faerim .entete-pnj {
     background-color: #4A9A6A;
     background: linear-gradient(135deg, #266044 0%, #4A9A6A 60%, #62B07E 100%);
     color: #fff;
     color: #fff !important;
}
}
.mw-body-content .FichePNJNL.fiche-pnj-faerim .bandeau-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-faerim .bandeau-pnj {
Ligne 167 : Ligne 167 :
/* --- Onirim / Effet-dragon Lune (violet sombre) --- */
/* --- Onirim / Effet-dragon Lune (violet sombre) --- */
.mw-body-content .FichePNJNL.fiche-pnj-onirim .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-onirim .entete-pnj {
     background-color: #6B4E8A;
     background: linear-gradient(135deg, #3A2458 0%, #6B4E8A 60%, #8262A0 100%);
     color: #fff;
     color: #fff !important;
}
}
.mw-body-content .FichePNJNL.fiche-pnj-onirim .bandeau-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-onirim .bandeau-pnj {
Ligne 176 : Ligne 176 :
/* --- Selenim / Effet-dragon Lune Noire (noir) --- */
/* --- Selenim / Effet-dragon Lune Noire (noir) --- */
.mw-body-content .FichePNJNL.fiche-pnj-selenim .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-selenim .entete-pnj {
     background-color: #3A3A3A;
     background: linear-gradient(135deg, #1A1A1A 0%, #3A3A3A 60%, #555555 100%);
     color: #E8E8E8;
}
.mw-body-content .FichePNJNL.fiche-pnj-selenim .entete-pnj,
.mw-body-content .FichePNJNL.fiche-pnj-selenim .entete-pnj span,
.mw-body-content .FichePNJNL.fiche-pnj-selenim .entete-pnj b {
     color: #E8E8E8 !important;
}
}
.mw-body-content .FichePNJNL.fiche-pnj-selenim .bandeau-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-selenim .bandeau-pnj {
Ligne 185 : Ligne 189 :
/* --- Saurien (violet sombre corrompu) --- */
/* --- Saurien (violet sombre corrompu) --- */
.mw-body-content .FichePNJNL.fiche-pnj-saurien .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-saurien .entete-pnj {
     background-color: #352846;
     background: linear-gradient(135deg, #1C1228 0%, #352846 60%, #4A3860 100%);
     color: #fff;
     color: #fff !important;
}
}
.mw-body-content .FichePNJNL.fiche-pnj-saurien .bandeau-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-saurien .bandeau-pnj {
Ligne 194 : Ligne 198 :
/* --- Humain lambda (jaune sable) --- */
/* --- Humain lambda (jaune sable) --- */
.mw-body-content .FichePNJNL.fiche-pnj-humain .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-humain .entete-pnj {
     background-color: #B8A878;
     background: linear-gradient(135deg, #7A6A48 0%, #B8A878 60%, #CEC098 100%);
     color: #fff;
     color: #fff !important;
}
}
.mw-body-content .FichePNJNL.fiche-pnj-humain .bandeau-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-humain .bandeau-pnj {
Ligne 203 : Ligne 207 :
/* --- Humain initié (or solaire) --- */
/* --- Humain initié (or solaire) --- */
.mw-body-content .FichePNJNL.fiche-pnj-humain-initie .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-humain-initie .entete-pnj {
     background-color: #D4A820;
     background: linear-gradient(135deg, #8A6800 0%, #D4A820 60%, #E8C84A 100%);
     color: #fff;
     color: #fff !important;
}
}
.mw-body-content .FichePNJNL.fiche-pnj-humain-initie .bandeau-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-humain-initie .bandeau-pnj {
Ligne 212 : Ligne 216 :
/* --- Ar-Kaïm (turquoise) --- */
/* --- Ar-Kaïm (turquoise) --- */
.mw-body-content .FichePNJNL.fiche-pnj-arkaim .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-arkaim .entete-pnj {
     background-color: #2E9E9E;
     background: linear-gradient(135deg, #1A6E6E 0%, #2E9E9E 60%, #46B8B8 100%);
     color: #fff;
     color: #fff !important;
}
}
.mw-body-content .FichePNJNL.fiche-pnj-arkaim .bandeau-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-arkaim .bandeau-pnj {
Ligne 221 : Ligne 225 :
/* --- Bohémien (mauve clair) --- */
/* --- Bohémien (mauve clair) --- */
.mw-body-content .FichePNJNL.fiche-pnj-bohemien .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-bohemien .entete-pnj {
     background-color: #A86CA8;
     background: linear-gradient(135deg, #6A3A6A 0%, #A86CA8 60%, #C088C0 100%);
     color: #fff;
     color: #fff !important;
}
}
.mw-body-content .FichePNJNL.fiche-pnj-bohemien .bandeau-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-bohemien .bandeau-pnj {
Ligne 230 : Ligne 234 :
/* --- Daïmon (gris métallique) --- */
/* --- Daïmon (gris métallique) --- */
.mw-body-content .FichePNJNL.fiche-pnj-daimon .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-daimon .entete-pnj {
     background-color: #6E7A85;
     background: linear-gradient(135deg, #404C55 0%, #6E7A85 60%, #8A98A5 100%);
     color: #fff;
     color: #fff !important;
}
}
.mw-body-content .FichePNJNL.fiche-pnj-daimon .bandeau-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-daimon .bandeau-pnj {
Ligne 239 : Ligne 243 :
/* --- Wowakan / Loa / Shen / Jukurrpa (marron terre) --- */
/* --- Wowakan / Loa / Shen / Jukurrpa (marron terre) --- */
.mw-body-content .FichePNJNL.fiche-pnj-cousin .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-cousin .entete-pnj {
     background-color: #6B4832;
     background: linear-gradient(135deg, #3E2818 0%, #6B4832 60%, #8A6248 100%);
     color: #fff;
     color: #fff !important;
}
}
.mw-body-content .FichePNJNL.fiche-pnj-cousin .bandeau-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-cousin .bandeau-pnj {
Ligne 248 : Ligne 252 :
/* --- Reflet akashique (soleil pur) --- */
/* --- Reflet akashique (soleil pur) --- */
.mw-body-content .FichePNJNL.fiche-pnj-reflet .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-reflet .entete-pnj {
     background-color: #E8C820;
     background: linear-gradient(135deg, #A89000 0%, #E8C820 60%, #F5DC50 100%);
     color: #fff;
     color: #fff !important;
}
}
.mw-body-content .FichePNJNL.fiche-pnj-reflet .bandeau-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-reflet .bandeau-pnj {
Ligne 258 : Ligne 262 :
.mw-body-content .FichePNJNL.fiche-pnj-drakaon .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-drakaon .entete-pnj {
     background: linear-gradient(135deg, #5BA4D9 0%, #3B6FA0 20%, #4A9A6A 40%, #C0524E 60%, #6B4E8A 80%, #5BA4D9 100%);
     background: linear-gradient(135deg, #5BA4D9 0%, #3B6FA0 20%, #4A9A6A 40%, #C0524E 60%, #6B4E8A 80%, #5BA4D9 100%);
     color: #fff;
     color: #fff !important;
}
}
.mw-body-content .FichePNJNL.fiche-pnj-drakaon .bandeau-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-drakaon .bandeau-pnj {
     background: linear-gradient(to right, #F2D5D3, #D4E9F7, #D2EDDA, #E0D4EE);
     background: linear-gradient(to right, #F2D5D3, #D4E9F7, #D2EDDA, #E0D4EE);
}
/* ============================================= */
/* FichePNJNL — Nouvelles classes de couleurs    */
/* ============================================= */
/* --- 1. Ka-Soleil (Nephilim exceptionnel, ex: Khnoum) --- */
.mw-body-content .FichePNJNL.fiche-pnj-soleil .entete-pnj {
    background: linear-gradient(135deg, #8B5A00 0%, #C49A2A 40%, #E8C84A 70%, #F5DC80 100%) !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-soleil .bandeau-pnj {
    background: linear-gradient(135deg, #F5E6B8 0%, #FAEDC4 40%, #EDD9A3 100%) !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-soleil .bandeau-pnj,
.mw-body-content .FichePNJNL.fiche-pnj-soleil .bandeau-pnj span,
.mw-body-content .FichePNJNL.fiche-pnj-soleil .bandeau-pnj b {
    color: #7A6218 !important;
}
/* --- 2. Multi-élémentaire (Effet-Dragon / DraKaon multi) --- */
.mw-body-content .FichePNJNL.fiche-pnj-multiple .entete-pnj {
    background: linear-gradient(135deg, #C0524E 0%, #5BA4D9 25%, #3B8C6E 50%, #D4A843 75%, #8B6BAE 100%) !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-multiple .bandeau-pnj {
    background: linear-gradient(135deg, #F2D5D3 0%, #D4E9F7 25%, #D0E8DC 50%, #F5ECD5 75%, #E4D8EE 100%) !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-multiple .bandeau-pnj,
.mw-body-content .FichePNJNL.fiche-pnj-multiple .bandeau-pnj span,
.mw-body-content .FichePNJNL.fiche-pnj-multiple .bandeau-pnj b {
    color: #4A4A4A !important;
}
/* --- 3. Autre créature (crème/sable) --- */
.mw-body-content .FichePNJNL.fiche-pnj-autre .entete-pnj {
    background: linear-gradient(135deg, #B5A68C 0%, #C9BC9E 50%, #B5A68C 100%) !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-autre .bandeau-pnj {
    background: #F5F0E4 !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-autre .bandeau-pnj,
.mw-body-content .FichePNJNL.fiche-pnj-autre .bandeau-pnj span,
.mw-body-content .FichePNJNL.fiche-pnj-autre .bandeau-pnj b {
    color: #7A6F5D !important;
}
/* --- 4. Animal (ocre) --- */
.mw-body-content .FichePNJNL.fiche-pnj-animal .entete-pnj {
    background: linear-gradient(135deg, #7A5520 0%, #B8883B 60%, #D0A860 100%) !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-animal .bandeau-pnj {
    background: #F5EDD8 !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-animal .bandeau-pnj,
.mw-body-content .FichePNJNL.fiche-pnj-animal .bandeau-pnj span,
.mw-body-content .FichePNJNL.fiche-pnj-animal .bandeau-pnj b {
    color: #7A5C26 !important;
}
/* ================================================= */
/* Affichage mobile — Pleine largeur (ciblé)        */
/* ================================================= */
@media screen and (max-width: 768px) {
  .mw-parser-output .FichePNJNL {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1em 0 !important;
  }
  .mw-parser-output .contexte-scenario {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1em 0 !important;
  }
}
/* ================================================= */
/* Infobox Effetmagique — Affichage mobile          */
/* À AJOUTER à la fin de MediaWiki:Common.css        */
/* ================================================= */
@media screen and (max-width: 768px) {
/* Conteneur flex pour réordonner : infobox en premier */
.mw-parser-output:has(.infobox-effetmagique) {
display: flex !important;
flex-direction: column !important;
}
/* L’infobox passe en premier et occupe toute la largeur */
.mw-parser-output .infobox-effetmagique {
float: none !important;
width: 100% !important;
max-width: 100% !important;
margin: 0 0 1em 0 !important;
order: -1 !important;
}
}
}


Ligne 744 : Ligne 846 :
   padding: 0.3rem 0.6rem;
   padding: 0.3rem 0.6rem;
   text-transform: uppercase;
   text-transform: uppercase;
}
.nph-ephem-edition-revelation .nph-ephem-edition-header {
  background: #4A5568;
  color: #DDE2E8;
}
.nph-ephem-edition-revelation .nph-ephem-edition-body {
  background: #DDE2E8;
}
}
.nph-ephem-edition-legende .nph-ephem-edition-header {
.nph-ephem-edition-legende .nph-ephem-edition-header {
Ligne 759 : Ligne 854 :
   background: #E3DEE8;
   background: #E3DEE8;
}
}
.nph-ephem-edition-anniversaire .nph-ephem-edition-header {
  background: #6B4548;
  color: #E8DDD8;
}
.nph-ephem-edition-anniversaire .nph-ephem-edition-body {
  background: #E8DDD8;
}
.nph-ephem-edition-revelation .nph-ephem-edition-header {
  background: #4A5568;
  color: #DDE2E8;
}
.nph-ephem-edition-revelation .nph-ephem-edition-body {
  background: #DDE2E8;
}
.nph-ephem-edition-body {
.nph-ephem-edition-body {
   padding: 0.5rem 0.6rem;
   padding: 0.5rem 0.6rem;
Ligne 1 072 : Ligne 1 182 :
   background: #ffffff !important;
   background: #ffffff !important;
   color: #2A2520 !important;
   color: #2A2520 !important;
   font-family: 'EB Garamond', Georgia, serif;
   font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
   font-size: 16px !important;
   font-size: 16px !important;
   font-weight: 500;
   font-weight: 500;
Ligne 1 228 : Ligne 1 338 :
   background: #ffffff !important;
   background: #ffffff !important;
   color: #2A2520 !important;
   color: #2A2520 !important;
   font-family: 'EB Garamond', Georgia, serif;
   font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
   font-size: 16px !important;
   font-size: 16px !important;
   font-weight: 500;
   font-weight: 500;
Ligne 1 373 : Ligne 1 483 :
   background: #ffffff !important;
   background: #ffffff !important;
   color: #2A2520 !important;
   color: #2A2520 !important;
   font-family: 'EB Garamond', Georgia, serif;
   font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
   font-size: 16px !important;
   font-size: 16px !important;
   font-weight: 500;
   font-weight: 500;
Ligne 1 518 : Ligne 1 628 :
   background: #ffffff !important;
   background: #ffffff !important;
   color: #2A2520 !important;
   color: #2A2520 !important;
   font-family: 'EB Garamond', Georgia, serif;
   font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
   font-size: 16px !important;
   font-size: 16px !important;
   font-weight: 500;
   font-weight: 500;
Ligne 1 663 : Ligne 1 773 :
   background: #ffffff !important;
   background: #ffffff !important;
   color: #2A2520 !important;
   color: #2A2520 !important;
   font-family: 'EB Garamond', Georgia, serif;
   font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
   font-size: 16px !important;
   font-size: 16px !important;
   font-weight: 500;
   font-weight: 500;
Ligne 2 033 : Ligne 2 143 :
}
}


/* ============================================ */
/* ===========================================================
/* INFOBOX EFFETMAGIQUE — Dégradés en-tête      */
  STYLE TABLEAU QUÊTE ÉSOTÉRIQUE (NL)
/* par science occulte                          */
  =========================================================== */
/* ============================================ */
.neph_table_NL_quete_eso {
 
  border-collapse: separate !important;
/* --- Nephilim --- */
  border-spacing: 0 !important;
 
  background: #ffffff !important;
/* Magie — Or royal (aussi utilisé par défaut si sc_occulte vide) */
  color: #2A2520 !important;
.infobox-sc-magie {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
   background: linear-gradient(135deg, #6A5010 0%, #B89830 25%, #E8C848 50%, #B89830 75%, #6A5010 100%) !important;
  font-size: 16px !important;
   color: #FFFFFF !important;
  font-weight: 500;
  line-height: 1.4;
   border: none !important;
   width: 100% !important;
}
}


/* Kabbale — Argent sacré */
/* --- Cellules générales --- */
.infobox-sc-kabbale {
.neph_table_NL_quete_eso th,
   background: linear-gradient(135deg, #3A3A4A 0%, #6A6A80 30%, #9898B0 50%, #6A6A80 70%, #3A3A4A 100%) !important;
.neph_table_NL_quete_eso td {
   color: #F0F0F8 !important;
  border: 1px solid #c8c0d0 !important;
  padding: 4px 7px !important;
  vertical-align: middle !important;
   background: #ffffff !important;
   color: #2A2520 !important;
}


.neph_table_NL_quete_eso td {
  font-size: 16px !important;
}
}


/* Alchimie — Rouge métallique */
/* --- En-têtes (th) --- */
.infobox-sc-alchimie {
.neph_table_NL_quete_eso th {
   background: linear-gradient(135deg, #3A0A0A 0%, #6A1A1A 30%, #982828 50%, #6A1A1A 70%, #3A0A0A 100%) !important;
  background: #2D1B4E !important;
   color: #F8D8D8 !important;
  color: #D0C4DC !important;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.85em;
   letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  border-color: #1E0F38 !important;
   border-bottom: 2px solid #33302A !important;
}


/* --- Largeurs des colonnes --- */
.neph_table_NL_quete_eso th:first-child {
  width: 8%;
}
.neph_table_NL_quete_eso th:nth-child(2),
.neph_table_NL_quete_eso th:nth-child(3) {
  width: 46%;
}
}


/* Qiyas — Or classique */
/* --- Première colonne (Degré) --- */
.infobox-sc-qiyas {
.neph_table_NL_quete_eso td:first-child {
   background: linear-gradient(135deg, #B8860B 0%, #DAA520 30%, #F0D060 50%, #DAA520 70%, #B8860B 100%) !important;
  text-align: center !important;
   color: #2A1F0A !important;
  font-weight: bold !important;
   background: #574B6B !important;
   color: #D0C4DC !important;
}


/* --- Caption --- */
.neph_table_NL_quete_eso caption {
  font-weight: bold;
  font-size: 1.1em;
  padding: 8px;
  font-family: 'Cinzel', serif;
}
}


/* --- Selenim --- */
/* --- Ligne séparatrice colspan --- */
.neph_table_NL_quete_eso th[colspan] {
  text-align: center;
}


/* Nécromancie Noir / violet sombre */
/* ============================================================
.infobox-sc-necromancie {
  INFOBOX EFFETMAGIQUE Style épuré
  background: linear-gradient(135deg, #1A1020 0%, #2A1840 30%, #402860 50%, #2A1840 70%, #1A1020 100%) !important;
  Inspiré de l'infobox Arcane Majeur
  color: #D0C0E0 !important;
  À ajouter dans MediaWiki:Common.css
  ============================================================ */


/* --- Conteneur principal --- */
.infobox-effetmagique {
    float: right;
    width: 320px;
    margin: 0 0 12px 16px;
    padding: 0;
    background: #ffffff;
    border: 1px solid #d0c4dc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #1e293b;
}
}


/* Kabbale noire — Noir / gris métallique */
/* Reset des marges parasites insérées par MediaWiki */
.infobox-sc-kabbale-noire {
.infobox-effetmagique p {
  background: linear-gradient(135deg, #0E0E0E 0%, #2A2A30 30%, #484850 50%, #2A2A30 70%, #0E0E0E 100%) !important;
    margin: 0;
  color: #C8C8D0 !important;
    padding: 0;
}


/* Reset de la table infobox_v2 interne */
.infobox-effetmagique .infobox_v2 {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}
}


/* --- Ar-Kaïm --- */
.infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"] {
    background: linear-gradient(135deg, #1e1535 0%, #3a2d60 60%, #4a3a80 100%) !important;
    padding: 16px 20px !important;
    text-align: center;
    font-size: 20px !important;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none !important;
    font-variant: normal !important;
    font-family: 'EB Garamond', 'Lora', Georgia, serif !important;
}


/* Talents — Turquoise métallique */
/* Texte blanc dans l'en-tête */
.infobox-sc-talents {
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"],
  background: linear-gradient(135deg, #0A3038 0%, #186068 30%, #20888C 50%, #186068 70%, #0A3038 100%) !important;
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"] b,
  color: #D0F4F4 !important;
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"] i,
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"] span {
    color: #ffffff !important;
}


/* --- Image --- */
.infobox-effetmagique .infobox_v2 td[style*="text-align:center"] img {
    border-radius: 6px;
    margin: 4px 0;
}
}


/* --- Bohémiens --- */
/* --- Bandeau de section (Identité, Sources) --- */
.infobox-effetmagique .infobox_v2 td[colspan="2"][style*="background-color: #E8E8E8"] {
    background-color: #f8fafc !important;
    border-top: 2px solid #f0f1f3 !important;
    border-bottom: 1px solid #e2e5ea !important;
    padding: 8px 20px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: none !important;
    color: #94a3b8 !important;
}


/* Mandalas — Mauve / gris argent */
/* --- Bandeaux d'édition (en-têtes colorés NL, N4, NR, N2, N1) ---
.infobox-sc-mandalas {
  Ciblés via les classes infobox-sc-* définies dans les sous-modèles */
  background: linear-gradient(135deg, #3A2848 0%, #6A5080 30%, #8878A0 50%, #6A5080 70%, #3A2848 100%) !important;
  color: #E8E0F0 !important;


/* --- Champs clé/valeur --- */
.infobox-effetmagique .infobox_v2 th {
    padding: 5px 20px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #64748b !important;
    vertical-align: top;
    border-bottom: 1px solid #f1f5f9 !important;
    background: transparent !important;
}
}


/* Dons — Mauve / doré */
.infobox-effetmagique .infobox_v2 td {
.infobox-sc-dons {
    padding: 5px 20px !important;
  background: linear-gradient(135deg, #3A2040 0%, #6A4060 30%, #A07040 50%, #6A4060 70%, #3A2040 100%) !important;
    font-size: 13px !important;
  color: #F0E0D0 !important;
    color: #1e293b !important;
    vertical-align: top;
    border-bottom: 1px solid #f1f5f9 !important;
}


/* Liens dans les valeurs */
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td a:not(.new):not(.external) {
    color: #1e293b !important;
    border-bottom: none !important;
}
}
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td a:not(.new):not(.external):hover {
    color: #6366f1 !important;
}
/* --- Responsive : pleine largeur en mobile --- */
@media screen and (max-width: 768px) {


    .mw-parser-output .infobox-effetmagique {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 1em 0 !important;
    }
}


/* ============================================
/* Bandeau édition dans Infobox Effetmagique — forcer texte clair */
  Modèle {{Définition}} — Cadres de définition
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="574B6B"],
  Style A+C : filet latéral + badge d'édition
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="574B6B"] span,
  ============================================ */
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="6B4548"],
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="6B4548"] span,
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="4A5568"],
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="4A5568"] span,
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="727a68"],
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="727a68"] span,
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="6B5D4F"],
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="6B5D4F"] span {
    color: #F7F6F2 !important;
    text-transform: none !important;
}


/* Cadre de base */
.def-cadre {
    border-left: 4px solid #999;
    padding: .8em 1.2em;
    margin: .5em 0;
    background: #fafafa;
    border-radius: 0 3px 3px 0;
    overflow: hidden;
}


/* Badge d'édition */
/* ============================================ */
.def-badge {
/* INFOBOX EFFETMAGIQUE — Dégradés en-tête      */
    display: inline-block;
/* par science occulte                          */
    font-family: 'Cinzel', serif;
/* ============================================ */
    font-size: .7em;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .15em .55em;
    border-radius: 3px;
    color: #fff;
    margin-bottom: .5em;
    line-height: 1.4;
}


/* Texte de la définition */
/* --- Nephilim --- */
.def-texte {
    font-size: .95em;
    line-height: 1.55;
}


/* Source */
/* Magie — Or royal (aussi utilisé par défaut si sc_occulte vide) */
.def-source {
.infobox-sc-magie {
    margin-top: .5em;
  background: linear-gradient(135deg, #6A5010 0%, #B89830 25%, #E8C848 50%, #B89830 75%, #6A5010 100%) !important;
    font-size: .82em;
  color: #FFFFFF !important;
    color: #888;
    font-style: italic;
}
}


/* --- Nephilim Légende (5e) Pourpre --- */
/* Kabbale Argent sacré */
.def-nl {
.infobox-sc-kabbale {
    border-left-color: #574B6B;
  background: linear-gradient(135deg, #3A3A4A 0%, #6A6A80 30%, #9898B0 50%, #6A6A80 70%, #3A3A4A 100%) !important;
  color: #F0F0F8 !important;
 
}
}
.def-badge-nl {
 
    background-color: #7B6D92;
/* Alchimie — Rouge métallique */
.infobox-sc-alchimie {
  background: linear-gradient(135deg, #3A0A0A 0%, #6A1A1A 30%, #982828 50%, #6A1A1A 70%, #3A0A0A 100%) !important;
  color: #F8D8D8 !important;
 
}
}


/* --- Nephilim Anniversaire (4e) Bordeaux --- */
/* Qiyas Or classique */
.def-n4 {
.infobox-sc-qiyas {
    border-left-color: #6B4548;
  background: linear-gradient(135deg, #B8860B 0%, #DAA520 30%, #F0D060 50%, #DAA520 70%, #B8860B 100%) !important;
}
  color: #2A1F0A !important;
.def-badge-n4 {
 
    background-color: #8E6568;
}
}


/* --- Nephilim Révélation (3e) — Bleu nuit --- */
/* --- Selenim --- */
.def-nr {
 
    border-left-color: #4A5568;
/* Nécromancie — Noir / violet sombre */
.infobox-sc-necromancie {
  background: linear-gradient(135deg, #1A1020 0%, #2A1840 30%, #402860 50%, #2A1840 70%, #1A1020 100%) !important;
  color: #D0C0E0 !important;
 
}
}
.def-badge-nr {
 
    background-color: #6B7A8E;
/* Kabbale noire — Noir / gris métallique */
.infobox-sc-kabbale-noire {
  background: linear-gradient(135deg, #0E0E0E 0%, #2A2A30 30%, #484850 50%, #2A2A30 70%, #0E0E0E 100%) !important;
  color: #C8C8D0 !important;
 
}
}


/* --- Nephilim 2e édition — Olive --- */
/* --- Ar-Kaïm --- */
.def-n2 {
 
    border-left-color: #727a68;
/* Talents — Turquoise métallique */
}
.infobox-sc-talents {
.def-badge-n2 {
  background: linear-gradient(135deg, #0A3038 0%, #186068 30%, #20888C 50%, #186068 70%, #0A3038 100%) !important;
    background-color: #8E9680;
  color: #D0F4F4 !important;
}


/* --- Nephilim 1ère édition — Brun chaud --- */
.def-n1 {
    border-left-color: #6B5D4F;
}
.def-badge-n1 {
    background-color: #8E7E6E;
}
}


/* --- Contenu natif du wiki — Ambre/Parchemin --- */
/* --- Bohémiens --- */
.def-wiki {
 
    border-left-color: #A08050;
/* Mandalas — Mauve / gris argent */
.infobox-sc-mandalas {
  background: linear-gradient(135deg, #3A2848 0%, #6A5080 30%, #8878A0 50%, #6A5080 70%, #3A2848 100%) !important;
  color: #E8E0F0 !important;
 
}
}
.def-badge-wiki {
 
    background-color: #B89860;
/* Dons — Mauve / doré */
.infobox-sc-dons {
  background: linear-gradient(135deg, #3A2040 0%, #6A4060 30%, #A07040 50%, #6A4060 70%, #3A2040 100%) !important;
  color: #F0E0D0 !important;
 
}
}


/* Micro-titre "Définition" */
/* --- Sources : texte réduit --- */
.def-type-label {
.infobox-effetmagique .infobox_v2 th.infobox-src,
    display: block;
.infobox-effetmagique .infobox_v2 td.infobox-src {
    font-family: 'Cinzel', serif;
     font-size: 11px !important;
    font-size: .55em;
     padding: 8px 12px !important;
     font-weight: 600;
     letter-spacing: .15em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: .25em;
}
}




/* ============================================
/* ============================================
   INFOBOX SUPPLÉMENTS Styles par édition
   Modèle {{Définition}} Cadres de définition
   À ajouter dans MediaWiki:Common.css
   Style A+C : filet latéral + badge d'édition
   ============================================ */
   ============================================ */


/* --- Structure commune --- */
/* Cadre de base */
.infobox-supplement {
.def-cadre {
     background: #fff;
     border-left: 4px solid #999;
     border-radius: 4px;
     padding: .8em 1.2em;
     overflow: hidden;
     margin: .5em 0;
     box-shadow: 0 1px 5px rgba(0,0,0,0.1);
     background: #fafafa;
     font-family: 'EB Garamond', 'Georgia', serif;
     border-radius: 0 3px 3px 0;
     font-size: 0.92em;
     overflow: hidden;
}
}


.infobox-supplement table {
/* Badge d'édition */
     width: 100%;
.def-badge {
     border-collapse: collapse;
     display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: .7em;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .15em .55em;
     border-radius: 3px;
    color: #fff;
    margin-bottom: .5em;
    line-height: 1.4;
}
}


.infobox-supplement-badge {
/* Texte de la définition */
    font-family: 'Cinzel', serif;
.def-texte {
     font-size: 0.65em;
     font-size: .95em;
     letter-spacing: 0.15em;
     line-height: 1.55;
    text-transform: uppercase;
    text-align: center;
    padding: 3px 8px;
    color: rgba(255,255,255,0.82) !important;
}
}


.infobox-supplement-title {
/* Source */
     font-family: 'Cinzel', serif;
.def-source {
     font-size: 1.05em;
     margin-top: .5em;
    font-weight: 700;
     font-size: .82em;
    text-align: center;
     color: #888;
    padding: 10px 12px;
     font-style: italic;
     color: #fff !important;
     text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
}


/* Force blanc sur titre même à travers les balises wiki bold/italic */
/* --- Nephilim Légende (5e) — Pourpre --- */
.infobox-supplement-title b,
.def-nl {
.infobox-supplement-title i,
    border-left-color: #574B6B;
.infobox-supplement-title a {
}
     color: #fff !important;
.def-badge-nl {
     background-color: #7B6D92;
}
}


.infobox-supplement-cover {
/* --- Nephilim Anniversaire (4e) — Bordeaux --- */
     text-align: center;
.def-n4 {
     padding: 12px;
     border-left-color: #6B4548;
}
.def-badge-n4 {
     background-color: #8E6568;
}
}


.infobox-supplement-cover img {
/* --- Nephilim Révélation (3e) — Bleu nuit --- */
     border-radius: 2px;
.def-nr {
     border: 1px solid rgba(0,0,0,0.08);
     border-left-color: #4A5568;
}
.def-badge-nr {
     background-color: #6B7A8E;
}
}


.infobox-supplement-legend {
/* --- Nephilim 2e édition — Olive --- */
     text-align: center;
.def-n2 {
     font-style: italic;
     border-left-color: #727a68;
    font-size: 0.82em;
}
     color: #888;
.def-badge-n2 {
     padding: 0 12px 8px;
     background-color: #8E9680;
}
 
/* --- Nephilim 1ère édition — Brun chaud --- */
.def-n1 {
     border-left-color: #6B5D4F;
}
.def-badge-n1 {
     background-color: #8E7E6E;
}
}


.infobox-supplement-sep {
/* --- Contenu natif du wiki — Ambre/Parchemin --- */
     height: 1px;
.def-wiki {
    padding: 0;
     border-left-color: #A08050;
    line-height: 0;
}
     font-size: 0;
.def-badge-wiki {
     background-color: #B89860;
}
}


.infobox-supplement-section {
/* Micro-titre "Définition" */
.def-type-label {
    display: block;
     font-family: 'Cinzel', serif;
     font-family: 'Cinzel', serif;
     font-size: 0.68em;
     font-size: .55em;
     font-weight: 600;
     font-weight: 600;
     letter-spacing: 0.1em;
     letter-spacing: .15em;
     text-transform: uppercase;
     text-transform: uppercase;
     padding: 4px 10px;
     color: #aaa;
     color: #fff !important;
     margin-bottom: .25em;
}
}


.infobox-supplement-label {
    width: 38%;
    text-align: left;
    padding: 4px 10px;
    font-weight: 600;
    font-size: 16px;
    vertical-align: top;
    background: #fff;
    border-bottom: 1px solid #EDEDED;
}


.infobox-supplement-data {
/* ============================================
     padding: 4px 10px;
  INFOBOX SUPPLÉMENTS — Styles par édition
     font-size: 16px;
  À ajouter dans MediaWiki:Common.css
     vertical-align: top;
  ============================================ */
     color: #444;
 
/* --- Structure commune --- */
table.infobox-supplement {
     float: right !important;
    width: 35% !important;
     min-width: 280px !important;
     margin: 0 0 1em 2em !important;
     border-collapse: collapse;
     background: #fff;
     background: #fff;
     border-bottom: 1px solid #EDEDED;
     border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    font-family: 'EB Garamond', 'Georgia', serif;
    font-size: 0.92em;
}
.infobox-supplement-badge {
    font-family: 'Cinzel', serif;
    font-size: 0.65em;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    padding: 3px 8px;
    color: rgba(255,255,255,0.82) !important;
}
}


/* --- NL — 5e édition (Légende) — Pourpre --- */
.infobox-supplement-title {
.infobox-supplement-nl {
    font-family: 'Cinzel', serif;
     border: 1px solid #C4BAD0;
    font-size: 1.05em;
    font-weight: 700;
    text-align: center;
    padding: 10px 12px;
    color: #fff !important;
     text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
}
.infobox-supplement-nl .infobox-supplement-badge {
 
     background: #483D5C;
/* Force blanc sur titre même à travers les balises wiki bold/italic */
.infobox-supplement-title b,
.infobox-supplement-title i,
.infobox-supplement-title a {
     color: #fff !important;
}
}
.infobox-supplement-nl .infobox-supplement-title {
 
     background: linear-gradient(135deg, #574B6B, #7B6E91);
.infobox-supplement-cover {
    text-align: center;
     padding: 12px;
}
}
.infobox-supplement-nl .infobox-supplement-cover {
 
     background: #E3DEE8;
.infobox-supplement-cover img {
     border-radius: 2px;
    border: 1px solid rgba(0,0,0,0.08);
}
}
.infobox-supplement-nl .infobox-supplement-legend {
 
     background: #E3DEE8;
.infobox-supplement-legend {
    text-align: center;
    font-style: italic;
    font-size: 0.82em;
     color: #888;
    padding: 0 12px 8px;
}
}
.infobox-supplement-nl .infobox-supplement-sep {
 
     background: #C4BAD0;
.infobox-supplement-sep {
     height: 1px;
    padding: 0;
    line-height: 0;
    font-size: 0;
}
}
.infobox-supplement-nl .infobox-supplement-section {
 
     background: #7B6E91;
.infobox-supplement-section {
    font-family: 'Cinzel', serif;
    font-size: 0.68em;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
     color: #fff !important;
}
}
.infobox-supplement-nl .infobox-supplement-label {
 
     color: #574B6B;
.infobox-supplement-label {
    width: 38%;
    text-align: left;
    padding: 4px 10px;
    font-weight: 600;
    font-size: 16px;
    vertical-align: top;
    background: #fff;
    border-bottom: 1px solid #EDEDED;
}
 
.infobox-supplement-data {
    padding: 4px 10px;
    font-size: 16px;
    vertical-align: top;
    color: #444;
    background: #fff;
    border-bottom: 1px solid #EDEDED;
}
 
/* --- NL — 5e édition (Légende) — Pourpre --- */
.infobox-supplement-nl {
    border: 1px solid #C4BAD0;
}
.infobox-supplement-nl .infobox-supplement-badge {
    background: #483D5C;
}
.infobox-supplement-nl .infobox-supplement-title {
    background: linear-gradient(135deg, #574B6B, #7B6E91);
}
.infobox-supplement-nl .infobox-supplement-cover {
    background: #E3DEE8;
}
.infobox-supplement-nl .infobox-supplement-legend {
    background: #E3DEE8;
}
.infobox-supplement-nl .infobox-supplement-sep {
    background: #C4BAD0;
}
.infobox-supplement-nl .infobox-supplement-section {
    background: #7B6E91;
}
.infobox-supplement-nl .infobox-supplement-label {
     color: #574B6B;
}
}


Ligne 2 521 : Ligne 2 843 :
   font-weight: 600;
   font-weight: 600;
   color: #1E1A16;
   color: #1E1A16;
}
.mw-body-content th b,
.mw-body-content th strong {
  color: inherit;
}
}
.mw-body-content i,
.mw-body-content i,
Ligne 2 560 : Ligne 2 886 :
   font-weight: 600;
   font-weight: 600;
   color: #1E1A16;
   color: #1E1A16;
}
body:not(.page-Accueil) .mw-body-content th b,
body:not(.page-Accueil) .mw-body-content th strong {
  color: inherit;
}
}


Ligne 2 693 : Ligne 3 023 :
}
}


body:not(.page-Accueil) .mw-body-content ul:not(.toc ul) > li::before {
body:not(.page-Accueil) .mw-body-content ul:not(.toc ul):not(.nph-ephem-list) > li::before {
   content: '\25C6';
   content: '\25C6';
   position: absolute;
   position: absolute;
Ligne 2 702 : Ligne 3 032 :
}
}


body:not(.page-Accueil) .mw-body-content ul:not(.toc ul) ul > li::before {
body:not(.page-Accueil) .mw-body-content ul:not(.toc ul):not(.nph-ephem-list) ul > li::before {
   content: '\25C7';
   content: '\25C7';
   color: #8A7FA0;
   color: #8A7FA0;
Ligne 3 010 : Ligne 3 340 :
}
}


/* =============================================
  Modèle:ContexteScenario — Style C (Ruban + Médaillon)
  À ajouter dans MediaWiki:Common.css
  ============================================= */


/* ============================================ */
/* --- Conteneur principal --- */
/* Nom du Wiki et nom de l'utilisateur          */
.mw-body-content .contexte-scenario {
/*  
    position: relative;
/* ============================================ */
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    max-width: 48%;
    float: left;
}
/* --- Ruban vertical gauche --- */
.mw-body-content .contexte-scenario .contexte-scenario-ruban {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
}
 
/* --- Corps (padding pour le ruban) --- */
.mw-body-content .contexte-scenario .contexte-scenario-corps {
    padding: 10px 12px 10px 16px;
}
 
/* --- En-tête : label édition + médaillon --- */
.mw-body-content .contexte-scenario .contexte-scenario-entete {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}
 
/* --- Label édition (petites capitales) --- */
.mw-body-content .contexte-scenario .contexte-scenario-edition {
    font-family: 'Cinzel', serif;
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-top: 2px;
    line-height: 1.3;
}
 
/* --- Médaillon circulaire (couverture) --- */
.mw-body-content .contexte-scenario .contexte-scenario-medaillon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
 
.mw-body-content .contexte-scenario .contexte-scenario-medaillon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* --- Nom du wiki en haut à gauche --- */
/* --- Texte principal --- */
.mw-logo-wordmark {
.mw-body-content .contexte-scenario .contexte-scenario-texte {
  color: #2D1B4E !important;
    font-size: 0.88em;
    line-height: 1.6;
    color: #444;
}
}


/* --- Nom d'utilisateur en haut à droite --- */
/* =============================================
#pt-userpage-2 a {
  Palettes par édition
  color: #574B6B !important;
  ============================================= */
 
/* NL — 5e édition (Légende) : pourpre */
.mw-body-content .contexte-scenario-NL {
    background-color: #E3DEE8;
    border: 1px solid rgba(87,75,107,0.15);
}
.mw-body-content .contexte-scenario-NL .contexte-scenario-ruban {
    background: linear-gradient(180deg, #574B6B, rgba(87,75,107,0.7));
}
.mw-body-content .contexte-scenario-NL .contexte-scenario-edition {
    color: #574B6B;
}
.mw-body-content .contexte-scenario-NL .contexte-scenario-medaillon {
    box-shadow: 0 1px 3px rgba(87,75,107,0.3);
    border: 2px solid rgba(87,75,107,0.4);
}
}
#pt-userpage-2 a:hover {
.mw-body-content .contexte-scenario-NL .contexte-scenario-texte a {
  color: #2D1B4E !important;
    color: #574B6B !important;
    font-weight: 600;
}
}


/* Fix : compteur d'articles doré sur l'accueil */
/* N4 — 4e édition (Anniversaire) : bordeaux */
.nph-hero-stats b,
.mw-body-content .contexte-scenario-N4 {
.nph-hero-stats strong {
    background-color: #E8DDD8;
    border: 1px solid rgba(107,69,72,0.15);
}
.mw-body-content .contexte-scenario-N4 .contexte-scenario-ruban {
    background: linear-gradient(180deg, #6B4548, rgba(107,69,72,0.7));
}
.mw-body-content .contexte-scenario-N4 .contexte-scenario-edition {
    color: #6B4548;
}
.mw-body-content .contexte-scenario-N4 .contexte-scenario-medaillon {
    box-shadow: 0 1px 3px rgba(107,69,72,0.3);
    border: 2px solid rgba(107,69,72,0.4);
}
.mw-body-content .contexte-scenario-N4 .contexte-scenario-texte a {
    color: #6B4548 !important;
    font-weight: 600;
}
 
/* NR — 3e édition (Révélation) : bleu nuit */
.mw-body-content .contexte-scenario-NR {
    background-color: #DDE2E8;
    border: 1px solid rgba(74,85,104,0.15);
}
.mw-body-content .contexte-scenario-NR .contexte-scenario-ruban {
    background: linear-gradient(180deg, #4A5568, rgba(74,85,104,0.7));
}
.mw-body-content .contexte-scenario-NR .contexte-scenario-edition {
    color: #4A5568;
}
.mw-body-content .contexte-scenario-NR .contexte-scenario-medaillon {
    box-shadow: 0 1px 3px rgba(74,85,104,0.3);
    border: 2px solid rgba(74,85,104,0.4);
}
.mw-body-content .contexte-scenario-NR .contexte-scenario-texte a {
    color: #4A5568 !important;
    font-weight: 600;
}
 
/* N2 — 2e édition : olive */
.mw-body-content .contexte-scenario-N2 {
    background-color: #E8E4D8;
    border: 1px solid rgba(114,122,104,0.15);
}
.mw-body-content .contexte-scenario-N2 .contexte-scenario-ruban {
    background: linear-gradient(180deg, #727a68, rgba(114,122,104,0.7));
}
.mw-body-content .contexte-scenario-N2 .contexte-scenario-edition {
    color: #727a68;
}
.mw-body-content .contexte-scenario-N2 .contexte-scenario-medaillon {
    box-shadow: 0 1px 3px rgba(114,122,104,0.3);
    border: 2px solid rgba(114,122,104,0.4);
}
.mw-body-content .contexte-scenario-N2 .contexte-scenario-texte a {
    color: #727a68 !important;
    font-weight: 600;
}
 
/* N1 — 1e édition : brun chaud */
.mw-body-content .contexte-scenario-N1 {
    background-color: #E8E0D3;
    border: 1px solid rgba(107,93,79,0.15);
}
.mw-body-content .contexte-scenario-N1 .contexte-scenario-ruban {
    background: linear-gradient(180deg, #6B5D4F, rgba(107,93,79,0.7));
}
.mw-body-content .contexte-scenario-N1 .contexte-scenario-edition {
    color: #6B5D4F;
}
.mw-body-content .contexte-scenario-N1 .contexte-scenario-medaillon {
    box-shadow: 0 1px 3px rgba(107,93,79,0.3);
    border: 2px solid rgba(107,93,79,0.4);
}
.mw-body-content .contexte-scenario-N1 .contexte-scenario-texte a {
    color: #6B5D4F !important;
    font-weight: 600;
}
 
/* NUS — US édition : gris neutre */
.mw-body-content .contexte-scenario-NUS {
    background-color: #E8E8E8;
    border: 1px solid rgba(107,107,107,0.15);
}
.mw-body-content .contexte-scenario-NUS .contexte-scenario-ruban {
    background: linear-gradient(180deg, #6B6B6B, rgba(107,107,107,0.7));
}
.mw-body-content .contexte-scenario-NUS .contexte-scenario-edition {
    color: #6B6B6B;
}
.mw-body-content .contexte-scenario-NUS .contexte-scenario-medaillon {
    box-shadow: 0 1px 3px rgba(107,107,107,0.3);
    border: 2px solid rgba(107,107,107,0.4);
}
.mw-body-content .contexte-scenario-NUS .contexte-scenario-texte a {
    color: #6B6B6B !important;
    font-weight: 600;
}
 
/* FAN — Fanzine : bleu-vert */
.mw-body-content .contexte-scenario-FAN {
    background-color: #D8E8E4;
    border: 1px solid rgba(61,107,107,0.15);
}
.mw-body-content .contexte-scenario-FAN .contexte-scenario-ruban {
    background: linear-gradient(180deg, #3D6B6B, rgba(61,107,107,0.7));
}
.mw-body-content .contexte-scenario-FAN .contexte-scenario-edition {
    color: #3D6B6B;
}
.mw-body-content .contexte-scenario-FAN .contexte-scenario-medaillon {
    box-shadow: 0 1px 3px rgba(61,107,107,0.3);
    border: 2px solid rgba(61,107,107,0.4);
}
.mw-body-content .contexte-scenario-FAN .contexte-scenario-texte a {
    color: #3D6B6B !important;
    font-weight: 600;
}
 
/* ============================================ */
/* Nom du Wiki et nom de l'utilisateur          */
/*
/* ============================================ */
 
/* --- Nom du wiki en haut à gauche --- */
.mw-logo-wordmark {
  color: #2D1B4E !important;
}
 
/* --- Nom d'utilisateur en haut à droite --- */
#pt-userpage-2 a {
  color: #574B6B !important;
}
#pt-userpage-2 a:hover {
  color: #2D1B4E !important;
}
 
/* Fix : compteur d'articles doré sur l'accueil */
.nph-hero-stats b,
.nph-hero-stats strong {
   color: #E8D5A3 !important;
   color: #E8D5A3 !important;
}
/* ============================================================
  INFOBOX ARCANE MAJEUR
  À ajouter dans MediaWiki:Common.css
  ============================================================ */
/* --- Conteneur principal --- */
.infobox-arcane-majeur {
    float: right;
    width: 320px;
    margin: 0 0 12px 16px;
    background: #ffffff;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #1e293b;
}
/* Reset des marges parasites insérées par MediaWiki */
.infobox-arcane-majeur p {
    margin: 0;
    padding: 0;
}
/* --- En-tête --- */
.infobox-arcane-majeur .iam-header {
    background: linear-gradient(135deg, #2e3558 0%, #4a4280 60%, #5548a0 100%);
    padding: 20px 20px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
}
.infobox-arcane-majeur .iam-header-glow {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100,90,200,0.2) 0%, transparent 70%);
    pointer-events: none;
}
.infobox-arcane-majeur .iam-header-badge {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    flex-shrink: 0;
    background: rgba(130,120,220,0.15);
    border: 1.5px solid rgba(150,140,230,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: rgba(200,195,245,0.75);
    letter-spacing: 1px;
}
.infobox-arcane-majeur .iam-header-surtitre {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
}
.infobox-arcane-majeur .iam-header-nom {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}
/* --- Image --- */
.infobox-arcane-majeur .iam-image {
    margin: 16px;
    text-align: center;
    background: #f4f5f7;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}
.infobox-arcane-majeur .iam-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}
.infobox-arcane-majeur .iam-image-legende {
    padding: 8px 12px;
    font-size: 11px;
    color: #6b7280;
    text-align: center;
    background: linear-gradient(transparent, rgba(244,245,247,0.95));
}
/* --- Champs clé/valeur --- */
.infobox-arcane-majeur .iam-fields {
    padding: 0 20px 12px;
}
.infobox-arcane-majeur .iam-row {
    padding: 4px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
}
.infobox-arcane-majeur .iam-row,
.infobox-arcane-majeur .iam-row p {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline;
    gap: 10px;
}
.infobox-arcane-majeur .iam-row p {
    margin: 0;
    padding: 0;
    width: 100%;
}
.infobox-arcane-majeur .iam-label {
    color: #64748b;
    font-weight: 400;
    flex: 0 0 auto;
}
.infobox-arcane-majeur .iam-value {
    color: #1e293b;
    text-align: right !important;
    flex: 1 1 auto;
}
/* Masquer les <br /> dans les valeurs (ex: arkana) */
.infobox-arcane-majeur .iam-value br {
    display: none;
}
/* Liens dans les valeurs */
.infobox-arcane-majeur .iam-value a {
    color: #1e293b;
}
.infobox-arcane-majeur .iam-value a:hover {
    color: #6366f1;
}
/* --- Stellaire --- */
.infobox-arcane-majeur .iam-stellaire {
    padding: 8px 20px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}
.infobox-arcane-majeur .iam-stellaire .iam-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
}
.infobox-arcane-majeur .iam-stellaire-img {
    width: 48px;
    height: 48px;
    background: #f4f5f7;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.infobox-arcane-majeur .iam-stellaire-img img {
    max-width: 100%;
    max-height: 100%;
}
/* --- Relations --- */
.infobox-arcane-majeur .iam-relations {
    padding: 14px 20px 18px;
    border-top: 2px solid #f0f1f3;
}
.infobox-arcane-majeur .iam-relations-titre {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 12px;
}
.infobox-arcane-majeur .iam-rel-group {
    margin-bottom: 12px;
}
.infobox-arcane-majeur .iam-rel-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}
.infobox-arcane-majeur .iam-rel-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}
.infobox-arcane-majeur .iam-rel-label {
    font-size: 11px;
    font-weight: 600;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.infobox-arcane-majeur .iam-rel-tags {
    padding-left: 14px;
    font-size: 12px;
    line-height: 2;
    color: #374151;
}
/* Masquer les <br /> pour que les arcanes s'affichent en ligne */
.infobox-arcane-majeur .iam-rel-tags br {
    display: none;
}
/* Les liens dans les tags de relations */
.infobox-arcane-majeur .iam-rel-tags a {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1.6;
    text-decoration: none;
    margin: 0 3px 3px 0;
}
/* Conjonction — violet magique */
.infobox-arcane-majeur .iam-rel-conjonction .iam-rel-dot {
    background: #7B2D8E;
}
.infobox-arcane-majeur .iam-rel-conjonction .iam-rel-tags a {
    background: rgba(123, 45, 142, 0.07);
    border: 1px solid rgba(123, 45, 142, 0.18);
    color: #374151;
}
.infobox-arcane-majeur .iam-rel-conjonction .iam-rel-tags a:hover {
    background: rgba(123, 45, 142, 0.15);
    color: #7B2D8E;
}
/* Accord — vert */
.infobox-arcane-majeur .iam-rel-accord .iam-rel-dot {
    background: #22c55e;
}
.infobox-arcane-majeur .iam-rel-accord .iam-rel-tags a {
    background: rgba(34, 197, 94, 0.07);
    border: 1px solid rgba(34, 197, 94, 0.18);
    color: #374151;
}
.infobox-arcane-majeur .iam-rel-accord .iam-rel-tags a:hover {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}
/* Neutre — gris ardoise */
.infobox-arcane-majeur .iam-rel-neutre .iam-rel-dot {
    background: #94a3b8;
}
.infobox-arcane-majeur .iam-rel-neutre .iam-rel-tags a {
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #374151;
}
.infobox-arcane-majeur .iam-rel-neutre .iam-rel-tags a:hover {
    background: rgba(148, 163, 184, 0.2);
    color: #475569;
}
/* Désaccord — ambre */
.infobox-arcane-majeur .iam-rel-desaccord .iam-rel-dot {
    background: #f59e0b;
}
.infobox-arcane-majeur .iam-rel-desaccord .iam-rel-tags a {
    background: rgba(245, 158, 11, 0.07);
    border: 1px solid rgba(245, 158, 11, 0.18);
    color: #374151;
}
.infobox-arcane-majeur .iam-rel-desaccord .iam-rel-tags a:hover {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}
/* Opposé — rouge */
.infobox-arcane-majeur .iam-rel-oppose .iam-rel-dot {
    background: #ef4444;
}
.infobox-arcane-majeur .iam-rel-oppose .iam-rel-tags a {
    background: rgba(239, 68, 68, 0.07);
    border: 1px solid rgba(239, 68, 68, 0.18);
    color: #374151;
}
.infobox-arcane-majeur .iam-rel-oppose .iam-rel-tags a:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}
/* --- Responsive : écrans étroits --- */
@media (max-width: 720px) {
    .infobox-arcane-majeur {
        float: none;
        width: 100%;
        max-width: 360px;
        margin: 0 auto 16px;
    }
}
/* ══════════════════════════════════════════════════════
  Arbre de Vie — Modèle:ArbreDeVie — V3
  REMPLACE intégralement le CSS ArbreDeVie précédent
  dans MediaWiki:Common.css
  ══════════════════════════════════════════════════════ */
/* Container */
.arbre-de-vie {
  position: relative;
  margin: 0 auto;
  font-family: sans-serif;
  border: 1.5px solid var(--adv-border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
/* Colored overlay on top of background image */
.arbre-de-vie::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 0 0 8px 8px;
  background: var(--adv-overlay);
  z-index: 0;
  pointer-events: none;
}
/* Background images per world
  IMPORTANT: Ajuster les URLs ci-dessous après upload sur le wiki.
  Pour trouver l'URL exacte : uploader l'image, aller sur la page
  Fichier:Fond-AdV-Sohar.png et copier l'URL directe de l'image.
  Exemple PlanetHoster: /images/X/XX/Fond-AdV-Sohar.png */
.arbre-de-vie.adv-sohar    { background-image: url('/index.php/Special:Redirect/file/Fond-AdV-Sohar.png'); }
.arbre-de-vie.adv-zakai    { background-image: url('/index.php/Special:Redirect/file/Fond-AdV-Zakai.png'); }
.arbre-de-vie.adv-meborack { background-image: url('/index.php/Special:Redirect/file/Fond-AdV-Meborack.png'); }
.arbre-de-vie.adv-pachad  { background-image: url('/index.php/Special:Redirect/file/Fond-AdV-Pachad.png'); }
.arbre-de-vie.adv-aresh    { background-image: url('/index.php/Special:Redirect/file/Fond-AdV-Aresh.png'); }
/* Title h2 generated by template — kill default margins */
.mw-body-content h2 + .arbre-de-vie {
  margin-top: 0 !important;
}
.mw-parser-output > h2:has(+ .arbre-de-vie) {
  margin: 5px 0 0 0 !important;
  padding-bottom: 2px !important;
}
/* Direct class on the h2 */
.mw-body-content h2.adv-titre {
  margin: 0 0 0 0 !important;
  padding: 0 0 2px 0 !important;
  border-bottom: none !important;
  text-align: center !important;
}
/* Subtitle */
.arbre-de-vie .adv-subtitle {
  font-size: 0.85rem;
  color: var(--adv-text-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
}
/* Sentier (path line between sephiroth) */
.adv-sentier {
  position: absolute;
  height: 0px;
  border-top: 2px solid var(--adv-path-color);
  transform-origin: 0 0;
  z-index: 1;
  pointer-events: none;
}
/* ── Sephirah group ── */
.adv-sephirah-group {
  position: absolute;
  z-index: 1;
}
.adv-sephirah-group:hover {
  z-index: 20;
}
/* ── Sephirah circle ── */
.adv-sephirah {
  position: absolute;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.2px solid var(--adv-seph-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
  z-index: 10;
}
.adv-sephirah::after {
  content: '';
  position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  border-radius: 50%;
  border: 0.6px solid var(--adv-accent-border);
  opacity: 0.5;
  pointer-events: none;
}
.adv-sephirah-group:hover .adv-sephirah {
  border-width: 2.8px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.12);
}
.adv-sephirah .adv-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--adv-accent);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.adv-sephirah .adv-name-sm {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--adv-accent);
  letter-spacing: 0.04em;
  line-height: 1.2;
}
/* ── Satellite (contrée) ── */
.adv-satellite {
  position: absolute;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.2px solid var(--adv-sat-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  z-index: 2;
  padding: 6px;
  text-align: center;
  overflow: hidden;
}
/* Level 1: group hover — structural highlight */
.adv-sephirah-group:hover .adv-satellite {
  border-color: var(--adv-sat-hover-border);
  border-width: 1.8px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.12);
}
/* Level 2: individual satellite hover — content highlight */
.adv-satellite:hover {
  background: var(--adv-sat-hover-bg) !important;
  border-color: var(--adv-sat-hover-border) !important;
  border-width: 1.8px !important;
  box-shadow: 0 3px 14px rgba(0,0,0,0.12) !important;
}
.adv-satellite:hover .adv-sat-link {
  color: var(--adv-accent) !important;
}
/* Satellite link — covers entire circle */
.adv-sat-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11.5px !important;
  font-weight: 400;
  color: #2A2520;
  line-height: 1.05 !important;
  text-decoration: none;
  padding: 6px;
  box-sizing: border-box;
  border-radius: 50%;
  transition: color 0.2s ease;
}
.adv-satellite a {
  color: inherit;
  text-decoration: none;
  display: contents;
}
/* MediaWiki wraps wiki links in <p> tags — override their inherited styles */
.adv-satellite p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.05 !important;
  font-size: 11.5px !important;
  position: static;
  display: contents;
}
.mw-body-content .adv-sat-link,
.mw-body-content .adv-satellite p,
.mw-body-content .adv-satellite p a,
.mw-body-content .adv-satellite a {
  font-size: 11.5px !important;
  line-height: 1.05 !important;
  text-decoration: none;
}
/* ── Connector lines ── */
.adv-connector {
  position: absolute;
  background: var(--adv-connector-color);
  height: 1px;
  transform-origin: 0 0;
  z-index: 0;
  pointer-events: none;
}
.adv-sephirah-group:hover .adv-connector {
  background: var(--adv-sat-hover-border);
  height: 1.5px;
}
/* ── Color themes ── */
.arbre-de-vie.adv-sohar {
  --adv-accent: #4A90B8;
  --adv-accent-soft: #6AAED4;
  --adv-accent-border: #B3D4E8;
  --adv-seph-border: #4A90B8;
  --adv-sat-border: #A8C8DE;
  --adv-sat-hover-border: #5A9EC6;
  --adv-sat-hover-bg: #F0F7FB;
  --adv-path-color: #C5DAE8;
  --adv-connector-color: #D0E2EE;
  --adv-text-muted: #6A8A9E;
  --adv-text-light: #88A4B6;
  --adv-bg-tint: #F6FAFE;
  --adv-overlay: rgba(74, 144, 184, 0.10);
  --adv-border-color: #B3D4E8;
}
.arbre-de-vie.adv-zakai {
  --adv-accent: #3A5080;
  --adv-accent-soft: #5670A0;
  --adv-accent-border: #AAB8D4;
  --adv-seph-border: #3A5080;
  --adv-sat-border: #9AAAC4;
  --adv-sat-hover-border: #4A6090;
  --adv-sat-hover-bg: #EEF2F8;
  --adv-path-color: #BCC8DC;
  --adv-connector-color: #C8D2E4;
  --adv-text-muted: #607088;
  --adv-text-light: #8090A8;
  --adv-bg-tint: #F4F6FA;
  --adv-overlay: rgba(58, 80, 128, 0.10);
  --adv-border-color: #AAB8D4;
}
.arbre-de-vie.adv-meborack {
  --adv-accent: #4A8A5A;
  --adv-accent-soft: #6AAE78;
  --adv-accent-border: #B3D8BC;
  --adv-seph-border: #4A8A5A;
  --adv-sat-border: #A8CCAE;
  --adv-sat-hover-border: #5A9E68;
  --adv-sat-hover-bg: #F0FBF2;
  --adv-path-color: #C5DEC8;
  --adv-connector-color: #D0EED4;
  --adv-text-muted: #6A8E6E;
  --adv-text-light: #88A88C;
  --adv-bg-tint: #F5FBF6;
  --adv-overlay: rgba(74, 138, 90, 0.10);
  --adv-border-color: #B3D8BC;
}
.arbre-de-vie.adv-pachad {
  --adv-accent: #7A5A9E;
  --adv-accent-soft: #9878B8;
  --adv-accent-border: #CCBADE;
  --adv-seph-border: #7A5A9E;
  --adv-sat-border: #BBA8D0;
  --adv-sat-hover-border: #8A6AAE;
  --adv-sat-hover-bg: #F6F0FB;
  --adv-path-color: #D5C5E8;
  --adv-connector-color: #DED0EE;
  --adv-text-muted: #8A6E9E;
  --adv-text-light: #A088B0;
  --adv-bg-tint: #F8F4FC;
  --adv-overlay: rgba(122, 90, 158, 0.10);
  --adv-border-color: #CCBADE;
}
.arbre-de-vie.adv-aresh {
  --adv-accent: #B84A4A;
  --adv-accent-soft: #D46A6A;
  --adv-accent-border: #E8B3B3;
  --adv-seph-border: #B84A4A;
  --adv-sat-border: #DEACAC;
  --adv-sat-hover-border: #C65A5A;
  --adv-sat-hover-bg: #FBF0F0;
  --adv-path-color: #E8C5C5;
  --adv-connector-color: #EED0D0;
  --adv-text-muted: #9E6A6A;
  --adv-text-light: #B08888;
  --adv-bg-tint: #FDF6F6;
  --adv-overlay: rgba(184, 74, 74, 0.10);
  --adv-border-color: #E8B3B3;
}
/* ── Bandeau ── */
.adv-bandeau {
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding: 14px 0;
  margin: 0 auto 0 auto;
  width: 820px;
  border-radius: 8px 8px 0 0;
  color: #FFFFFF;
}
.adv-bandeau.adv-sohar    { background: linear-gradient(135deg, #4A90B8, #6AAED4); }
.adv-bandeau.adv-zakai    { background: linear-gradient(135deg, #3A5080, #5670A0); }
.adv-bandeau.adv-meborack { background: linear-gradient(135deg, #4A8A5A, #6AAE78); }
.adv-bandeau.adv-pachad  { background: linear-gradient(135deg, #7A5A9E, #9878B8); }
.adv-bandeau.adv-aresh    { background: linear-gradient(135deg, #B84A4A, #D46A6A); }
/* ===========================================================
  BLOC DE CITATION LONGUE
  Alternative au blockquote italique pour les longs passages
  =========================================================== */
body:not(.page-Accueil) .mw-body-content .citation-longue {
  margin: 1.5em 0;
  padding: 1.2em 1.6em;
  background: linear-gradient(135deg, #F8F5FB 0%, #F2EEF6 100%);
  border-left: 4px solid #C49A2A;
  border-right: 1px solid #D0C4DC;
  border-top: 1px solid #D0C4DC;
  border-bottom: 1px solid #D0C4DC;
  border-radius: 0 6px 6px 0;
  font-style: normal;
  color: #3A3530;
  font-size: 0.97em;
  line-height: 1.65;
  position: relative;
}
body:not(.page-Accueil) .mw-body-content .citation-longue::before {
  content: '\275D';
  position: absolute;
  top: -8px;
  left: 10px;
  font-size: 2.5em;
  color: rgba(196, 154, 42, 0.15);
  font-style: normal;
  line-height: 1;
}
/* Espacement généreux entre paragraphes dans les longs blocs */
body:not(.page-Accueil) .mw-body-content .citation-longue p {
  margin: 0.7em 0;
}
body:not(.page-Accueil) .mw-body-content .citation-longue p:first-child {
  margin-top: 0;
}
body:not(.page-Accueil) .mw-body-content .citation-longue p:last-child {
  margin-bottom: 0;
}
/* Filet décoratif en bas */
body:not(.page-Accueil) .mw-body-content .citation-longue::after {
  content: '';
  display: block;
  margin-top: 1em;
  height: 1px;
  background: linear-gradient(90deg, #C49A2A 0%, transparent 80%);
  opacity: 0.3;
}
/* ===========================================================
  BLOCKQUOTE qui respecte les infobox flottantes
  =========================================================== */
.mw-parser-output blockquote {
    overflow: hidden;
}
/* ============================================ */
/* Infobox Métamorphe — Base                    */
/* ============================================ */
.mw-parser-output .infobox-metamorphe {
  float: right;
  margin: 0 0 0.75em 0.75em;
  width: 400px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(45,27,78,0.25) !important;
}
.mw-parser-output .infobox-metamorphe .infobox_v2 {
  border-collapse: collapse !important;
  width: 100% !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
}
/* Colonne gauche et droite égales */
.mw-parser-output .infobox-metamorphe .infobox_v2 th {
  width: 50% !important;
  font-weight: 600 !important;
  text-align: left !important;
  white-space: normal !important;
  padding: 4px 8px !important;
  border: none !important;
  border-bottom: 1px solid rgba(0,0,0,0.07) !important;
  font-size: 0.88em !important;
  vertical-align: top !important;
}
.mw-parser-output .infobox-metamorphe .infobox_v2 td {
  width: 50% !important;
  padding: 4px 8px !important;
  border: none !important;
  border-bottom: 1px solid rgba(0,0,0,0.07) !important;
  font-size: 0.88em !important;
  vertical-align: top !important;
}
/* Cellule titre — fond coloré, texte non italique */
.mw-parser-output .infobox-metamorphe .infobox_v2 td.entete.auteur {
  width: 100% !important;
  font-family: 'Cinzel', serif !important;
  font-style: normal !important;
  font-weight: 600 !important;
  text-align: center !important;
  padding: 8px 12px 6px !important;
  text-transform: none !important;
  font-variant: normal !important;
  font-size: 1.0em !important;
  border-bottom: none !important;
  line-height: 1.5 !important;
}
/* Titre en blanc, non italique */
.mw-parser-output .infobox-metamorphe .infobox_v2 td.entete.auteur b,
.mw-parser-output .infobox-metamorphe .infobox_v2 td.entete.auteur strong {
  color: #FFFFFF !important;
  font-style: normal !important;
}
/* Sous-titre dans la même cellule */
.mw-parser-output .infobox-metamorphe .infobox_v2 td.entete.auteur .soustitre-metamorphe {
  display: block !important;
  font-family: 'EB Garamond', serif !important;
  font-style: italic !important;
  font-size: 0.82em !important;
  font-weight: 400 !important;
  margin-top: 2px !important;
}
/* Masquer les <hr> */
.mw-parser-output .infobox-metamorphe .infobox_v2 hr {
  display: none !important;
}
/* Masquer les lignes vides générées par les <hr> */
.mw-parser-output .infobox-metamorphe .infobox_v2 tr:has(> td[colspan="2"] > hr) {
  display: none !important;
}
/* Bandeaux de section — base */
.mw-parser-output .infobox-metamorphe .infobox_v2 td[colspan="2"]:not(.entete) {
  width: 100% !important;
  text-align: center !important;
  font-family: 'Cinzel', serif !important;
  font-size: 0.75em !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  padding: 3px 8px 4px !important;
  background-color: #FFFFFF !important;
  border-top: none !important;
  border-bottom: none !important;
}
.mw-parser-output .infobox-metamorphe .infobox_v2 td[colspan="2"]:not(.entete) b {
  display: inline !important;
  font-style: normal !important;
}
/* Couleur des bandeaux par élément */
.mw-parser-output .metamorphe-pyrim .infobox_v2 td[colspan="2"]:not(.entete) b {
  color: #C0524E !important;
}
.mw-parser-output .metamorphe-eolim .infobox_v2 td[colspan="2"]:not(.entete) b {
  color: #3B7FAD !important;
}
.mw-parser-output .metamorphe-hydrim .infobox_v2 td[colspan="2"]:not(.entete) b {
  color: #3B6FA0 !important;
}
.mw-parser-output .metamorphe-faerim .infobox_v2 td[colspan="2"]:not(.entete) b {
  color: #4A9A6A !important;
}
.mw-parser-output .metamorphe-onirim .infobox_v2 td[colspan="2"]:not(.entete) b {
  color: #6B4E8A !important;
}
.mw-parser-output .metamorphe-neutre .infobox_v2 td[colspan="2"]:not(.entete) b {
  color: #574B6B !important;
}
/* ============================================ */
/* Couleurs par élément                        */
/* ============================================ */
/* ---- Feu / Pyrim ---- */
.mw-parser-output .metamorphe-pyrim .infobox_v2 td.entete.auteur {
  background: linear-gradient(135deg, #8B2A28 0%, #C0524E 100%) !important;
}
.mw-parser-output .metamorphe-pyrim .infobox_v2 td.entete.auteur .soustitre-metamorphe {
  color: #F2D5D3 !important;
}
.mw-parser-output .metamorphe-pyrim .infobox_v2 th {
  background-color: #F2D5D3 !important;
  color: #6A1F1D !important;
}
.mw-parser-output .metamorphe-pyrim .infobox_v2 td:not(.entete) {
  background-color: #FDF0EF !important;
}
.mw-parser-output .metamorphe-pyrim .infobox_v2 td[colspan="2"]:not(.entete) {
  color: #C0524E !important;
}
/* ---- Air / Éolim ---- */
.mw-parser-output .metamorphe-eolim .infobox_v2 td.entete.auteur {
  background: linear-gradient(135deg, #2E6B9A 0%, #5BA4D9 100%) !important;
}
.mw-parser-output .metamorphe-eolim .infobox_v2 td.entete.auteur .soustitre-metamorphe {
  color: #D4E9F7 !important;
}
.mw-parser-output .metamorphe-eolim .infobox_v2 th {
  background-color: #D4E9F7 !important;
  color: #1A3F5A !important;
}
.mw-parser-output .metamorphe-eolim .infobox_v2 td:not(.entete) {
  background-color: #F0F7FD !important;
}
.mw-parser-output .metamorphe-eolim .infobox_v2 td[colspan="2"]:not(.entete) {
  color: #3B7FAD !important;
}
/* ---- Eau / Hydrim ---- */
.mw-parser-output .metamorphe-hydrim .infobox_v2 td.entete.auteur {
  background: linear-gradient(135deg, #1E4A6E 0%, #3B6FA0 100%) !important;
}
.mw-parser-output .metamorphe-hydrim .infobox_v2 td.entete.auteur .soustitre-metamorphe {
  color: #CEDDEF !important;
}
.mw-parser-output .metamorphe-hydrim .infobox_v2 th {
  background-color: #CEDDEF !important;
  color: #1A3550 !important;
}
.mw-parser-output .metamorphe-hydrim .infobox_v2 td:not(.entete) {
  background-color: #EEF5FB !important;
}
.mw-parser-output .metamorphe-hydrim .infobox_v2 td[colspan="2"]:not(.entete) {
  color: #3B6FA0 !important;
}
/* ---- Terre / Faërim ---- */
.mw-parser-output .metamorphe-faerim .infobox_v2 td.entete.auteur {
  background: linear-gradient(135deg, #266044 0%, #4A9A6A 100%) !important;
}
.mw-parser-output .metamorphe-faerim .infobox_v2 td.entete.auteur .soustitre-metamorphe {
  color: #D2EDDA !important;
}
.mw-parser-output .metamorphe-faerim .infobox_v2 th {
  background-color: #D2EDDA !important;
  color: #1A4A2A !important;
}
.mw-parser-output .metamorphe-faerim .infobox_v2 td:not(.entete) {
  background-color: #F0FAF4 !important;
}
.mw-parser-output .metamorphe-faerim .infobox_v2 td[colspan="2"]:not(.entete) {
  color: #4A9A6A !important;
}
/* ---- Lune / Onirim ---- */
.mw-parser-output .metamorphe-onirim .infobox_v2 td.entete.auteur {
  background: linear-gradient(135deg, #3A2458 0%, #6B4E8A 100%) !important;
}
.mw-parser-output .metamorphe-onirim .infobox_v2 td.entete.auteur .soustitre-metamorphe {
  color: #E0D4EE !important;
}
.mw-parser-output .metamorphe-onirim .infobox_v2 th {
  background-color: #E0D4EE !important;
  color: #2D1B4E !important;
}
.mw-parser-output .metamorphe-onirim .infobox_v2 td:not(.entete) {
  background-color: #F7F3FC !important;
}
.mw-parser-output .metamorphe-onirim .infobox_v2 td[colspan="2"]:not(.entete) {
  color: #6B4E8A !important;
}
/* ---- Neutre ---- */
.mw-parser-output .metamorphe-neutre .infobox_v2 td.entete.auteur {
  background: linear-gradient(135deg, #2D1B4E 0%, #574B6B 100%) !important;
}
.mw-parser-output .metamorphe-neutre .infobox_v2 td.entete.auteur .soustitre-metamorphe {
  color: #D0C4DC !important;
}
.mw-parser-output .metamorphe-neutre .infobox_v2 th {
  background-color: #E8E0F0 !important;
  color: #2D1B4E !important;
}
.mw-parser-output .metamorphe-neutre .infobox_v2 td:not(.entete) {
  background-color: #F8F5FC !important;
}
.mw-parser-output .metamorphe-neutre .infobox_v2 td[colspan="2"]:not(.entete) {
  color: #574B6B !important;
}
/* ============================================ */
/* Responsive mobile                            */
/* ============================================ */
@media screen and (max-width: 768px) {
  .mw-parser-output .infobox-metamorphe {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1em 0 !important;
  }
  .mw-parser-output .infobox-metamorphe .infobox_v2 {
    width: 100% !important;
    max-width: 100% !important;
  }
}
}

Dernière version du 29 mars 2026 à 11:18

/* Le CSS placé ici sera appliqué à tous les habillages. */

/* ===================================================
   Police de caractère pour cadre MJonly
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@700&family=Cormorant+Garamond:ital@1&display=swap');

/* ===================================================
   Police de caractère pour le nouveau Accueil
   =================================================== */

/* === Import Google Fonts (optionnel, à mettre tout en haut du fichier) === */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lora:ital,wght@0,400;0,600;0,700;1,400&display=swap');


/* ===================================================
   NEPHILIM — Police pour Points de règle (5 éditions)
   =================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Crimson+Text:ital,wght@0,400;0,600;1,400&family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400&display=swap');


/* ===================================================
   Police de caractère Corps du texte
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,400;0,500;0,600;1,400&display=swap');


/* ===================================================
   NEPHILIM — CSS pour Points de règle (5 éditions)
   =================================================== */

/* --- Structure commune --- */
.nephilim-regle {
  margin: 1em 0;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid #33302A;
  box-shadow: 0 3px 16px rgba(30,27,22,0.2);
  border-collapse: separate;
  border-spacing: 0;
}
.nephilim-regle-header td {
  padding: 0.7em 0.6em;
  vertical-align: middle;
}
.nephilim-regle-icon {
  width: 40px;
  padding-right: 0 !important;
}
.nephilim-regle-icon img {
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 4px;
  background: rgba(0,0,0,0.15);
  padding: 4px;
}
.nephilim-regle-titre {
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 1.1em;
  letter-spacing: 0.03em;
  color: #F7F6F2;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}
.nephilim-regle-edition {
  font-family: 'Crimson Text', serif;
  font-weight: 400;
  font-size: 0.85em;
  color: #F7F6F2;
  opacity: 0.7;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nephilim-regle-contenu {
  padding: 1em 1.2em;
  line-height: 1.7;
  color: #2A2520;
  border-top: 1px solid rgba(51,48,42,0.15);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 15px;
}

/* --- N1 : 1ère édition (Brun chaud / Cuivre) --- */
.regle-n1 .nephilim-regle-header td { background: #6B5D4F; }
.regle-n1 .nephilim-regle-contenu   { background: #E8E0D3; }
/* --- N2 : 2nde édition (Olive / Or) --- */
.regle-n2 .nephilim-regle-header td { background: #727a68; }
.regle-n2 .nephilim-regle-contenu   { background: #E8E4D8; }
/* --- NR : 3ème édition Révélation (Bleu nuit / Argent) --- */
.regle-nr .nephilim-regle-header td { background: #4A5568; }
.regle-nr .nephilim-regle-contenu   { background: #DDE2E8; }
/* --- N4 : 4ème édition Anniversaire (Bordeaux / Or rose) --- */
.regle-n4 .nephilim-regle-header td { background: #6B4548; }
.regle-n4 .nephilim-regle-contenu   { background: #E8DDD8; }
/* --- NL : 5ème édition Légende (Pourpre / Améthyste) --- */
.regle-nl .nephilim-regle-header td { background: #574B6B; }
.regle-nl .nephilim-regle-contenu   { background: #E3DEE8; }


/* ============================================= */
/* FichePNJNL — Couleurs par type de PNJ         */
/* ============================================= */

/* --- Structure commune --- */
.mw-body-content .FichePNJNL .entete-pnj {
    text-align: center;
}
.mw-body-content .FichePNJNL .entete-pnj,
.mw-body-content .FichePNJNL .entete-pnj span,
.mw-body-content .FichePNJNL .entete-pnj b {
    color: #fff !important;
}
.mw-body-content .FichePNJNL .bandeau-pnj {
    padding: .3em .8em;
    font-weight: bold;
}
.mw-body-content .FichePNJNL .sous-titre-pnj {
    color: rgba(255,255,255,0.65) !important;
}

/* --- Fallback / Autre créature (gris standard) --- */
.mw-body-content .FichePNJNL .entete-pnj {
    background-color: #8C8C8C;
    color: #fff !important;
}
.mw-body-content .FichePNJNL .bandeau-pnj {
    background-color: #DCDCDC;
}

/* --- Pyrim / Effet-dragon Feu (rouge) --- */
.mw-body-content .FichePNJNL.fiche-pnj-pyrim .entete-pnj {
    background: linear-gradient(135deg, #8B2A28 0%, #C0524E 60%, #D4706C 100%);
    color: #fff !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-pyrim .bandeau-pnj {
    background-color: #F2D5D3;
}

/* --- Éolim / Effet-dragon Air (bleu ciel) --- */
.mw-body-content .FichePNJNL.fiche-pnj-eolim .entete-pnj {
    background: linear-gradient(135deg, #2E6B9A 0%, #5BA4D9 60%, #7CBDE8 100%);
    color: #fff !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-eolim .bandeau-pnj {
    background-color: #D4E9F7;
}

/* --- Hydrim / Effet-dragon Eau (bleu outremer) --- */
.mw-body-content .FichePNJNL.fiche-pnj-hydrim .entete-pnj {
    background: linear-gradient(135deg, #1E4A6E 0%, #3B6FA0 60%, #5488B8 100%);
    color: #fff !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-hydrim .bandeau-pnj {
    background-color: #CEDDEF;
}

/* --- Faërim / Effet-dragon Terre (vert) --- */
.mw-body-content .FichePNJNL.fiche-pnj-faerim .entete-pnj {
    background: linear-gradient(135deg, #266044 0%, #4A9A6A 60%, #62B07E 100%);
    color: #fff !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-faerim .bandeau-pnj {
    background-color: #D2EDDA;
}

/* --- Onirim / Effet-dragon Lune (violet sombre) --- */
.mw-body-content .FichePNJNL.fiche-pnj-onirim .entete-pnj {
    background: linear-gradient(135deg, #3A2458 0%, #6B4E8A 60%, #8262A0 100%);
    color: #fff !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-onirim .bandeau-pnj {
    background-color: #E0D4EE;
}

/* --- Selenim / Effet-dragon Lune Noire (noir) --- */
.mw-body-content .FichePNJNL.fiche-pnj-selenim .entete-pnj {
    background: linear-gradient(135deg, #1A1A1A 0%, #3A3A3A 60%, #555555 100%);
}
.mw-body-content .FichePNJNL.fiche-pnj-selenim .entete-pnj,
.mw-body-content .FichePNJNL.fiche-pnj-selenim .entete-pnj span,
.mw-body-content .FichePNJNL.fiche-pnj-selenim .entete-pnj b {
    color: #E8E8E8 !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-selenim .bandeau-pnj {
    background-color: #D2D2D2;
}

/* --- Saurien (violet sombre corrompu) --- */
.mw-body-content .FichePNJNL.fiche-pnj-saurien .entete-pnj {
    background: linear-gradient(135deg, #1C1228 0%, #352846 60%, #4A3860 100%);
    color: #fff !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-saurien .bandeau-pnj {
    background-color: #C0B8C8;
}

/* --- Humain lambda (jaune sable) --- */
.mw-body-content .FichePNJNL.fiche-pnj-humain .entete-pnj {
    background: linear-gradient(135deg, #7A6A48 0%, #B8A878 60%, #CEC098 100%);
    color: #fff !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-humain .bandeau-pnj {
    background-color: #EAE2CE;
}

/* --- Humain initié (or solaire) --- */
.mw-body-content .FichePNJNL.fiche-pnj-humain-initie .entete-pnj {
    background: linear-gradient(135deg, #8A6800 0%, #D4A820 60%, #E8C84A 100%);
    color: #fff !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-humain-initie .bandeau-pnj {
    background-color: #F5ECBA;
}

/* --- Ar-Kaïm (turquoise) --- */
.mw-body-content .FichePNJNL.fiche-pnj-arkaim .entete-pnj {
    background: linear-gradient(135deg, #1A6E6E 0%, #2E9E9E 60%, #46B8B8 100%);
    color: #fff !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-arkaim .bandeau-pnj {
    background-color: #C8EAEA;
}

/* --- Bohémien (mauve clair) --- */
.mw-body-content .FichePNJNL.fiche-pnj-bohemien .entete-pnj {
    background: linear-gradient(135deg, #6A3A6A 0%, #A86CA8 60%, #C088C0 100%);
    color: #fff !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-bohemien .bandeau-pnj {
    background-color: #EDDCED;
}

/* --- Daïmon (gris métallique) --- */
.mw-body-content .FichePNJNL.fiche-pnj-daimon .entete-pnj {
    background: linear-gradient(135deg, #404C55 0%, #6E7A85 60%, #8A98A5 100%);
    color: #fff !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-daimon .bandeau-pnj {
    background-color: #D8DDE2;
}

/* --- Wowakan / Loa / Shen / Jukurrpa (marron terre) --- */
.mw-body-content .FichePNJNL.fiche-pnj-cousin .entete-pnj {
    background: linear-gradient(135deg, #3E2818 0%, #6B4832 60%, #8A6248 100%);
    color: #fff !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-cousin .bandeau-pnj {
    background-color: #E2D2C0;
}

/* --- Reflet akashique (soleil pur) --- */
.mw-body-content .FichePNJNL.fiche-pnj-reflet .entete-pnj {
    background: linear-gradient(135deg, #A89000 0%, #E8C820 60%, #F5DC50 100%);
    color: #fff !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-reflet .bandeau-pnj {
    background-color: #FBF2C0;
}

/* --- DraKaon (dégradé arc-en-ciel des 5 Ka) --- */
.mw-body-content .FichePNJNL.fiche-pnj-drakaon .entete-pnj {
    background: linear-gradient(135deg, #5BA4D9 0%, #3B6FA0 20%, #4A9A6A 40%, #C0524E 60%, #6B4E8A 80%, #5BA4D9 100%);
    color: #fff !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-drakaon .bandeau-pnj {
    background: linear-gradient(to right, #F2D5D3, #D4E9F7, #D2EDDA, #E0D4EE);
}

/* ============================================= */
/* FichePNJNL — Nouvelles classes de couleurs    */
/* ============================================= */

/* --- 1. Ka-Soleil (Nephilim exceptionnel, ex: Khnoum) --- */
.mw-body-content .FichePNJNL.fiche-pnj-soleil .entete-pnj {
    background: linear-gradient(135deg, #8B5A00 0%, #C49A2A 40%, #E8C84A 70%, #F5DC80 100%) !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-soleil .bandeau-pnj {
    background: linear-gradient(135deg, #F5E6B8 0%, #FAEDC4 40%, #EDD9A3 100%) !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-soleil .bandeau-pnj,
.mw-body-content .FichePNJNL.fiche-pnj-soleil .bandeau-pnj span,
.mw-body-content .FichePNJNL.fiche-pnj-soleil .bandeau-pnj b {
    color: #7A6218 !important;
}

/* --- 2. Multi-élémentaire (Effet-Dragon / DraKaon multi) --- */
.mw-body-content .FichePNJNL.fiche-pnj-multiple .entete-pnj {
    background: linear-gradient(135deg, #C0524E 0%, #5BA4D9 25%, #3B8C6E 50%, #D4A843 75%, #8B6BAE 100%) !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-multiple .bandeau-pnj {
    background: linear-gradient(135deg, #F2D5D3 0%, #D4E9F7 25%, #D0E8DC 50%, #F5ECD5 75%, #E4D8EE 100%) !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-multiple .bandeau-pnj,
.mw-body-content .FichePNJNL.fiche-pnj-multiple .bandeau-pnj span,
.mw-body-content .FichePNJNL.fiche-pnj-multiple .bandeau-pnj b {
    color: #4A4A4A !important;
}

/* --- 3. Autre créature (crème/sable) --- */
.mw-body-content .FichePNJNL.fiche-pnj-autre .entete-pnj {
    background: linear-gradient(135deg, #B5A68C 0%, #C9BC9E 50%, #B5A68C 100%) !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-autre .bandeau-pnj {
    background: #F5F0E4 !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-autre .bandeau-pnj,
.mw-body-content .FichePNJNL.fiche-pnj-autre .bandeau-pnj span,
.mw-body-content .FichePNJNL.fiche-pnj-autre .bandeau-pnj b {
    color: #7A6F5D !important;
}

/* --- 4. Animal (ocre) --- */
.mw-body-content .FichePNJNL.fiche-pnj-animal .entete-pnj {
    background: linear-gradient(135deg, #7A5520 0%, #B8883B 60%, #D0A860 100%) !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-animal .bandeau-pnj {
    background: #F5EDD8 !important;
}
.mw-body-content .FichePNJNL.fiche-pnj-animal .bandeau-pnj,
.mw-body-content .FichePNJNL.fiche-pnj-animal .bandeau-pnj span,
.mw-body-content .FichePNJNL.fiche-pnj-animal .bandeau-pnj b {
    color: #7A5C26 !important;
}

/* ================================================= */
/* Affichage mobile — Pleine largeur (ciblé)         */
/* ================================================= */
@media screen and (max-width: 768px) {

  .mw-parser-output .FichePNJNL {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1em 0 !important;
  }

  .mw-parser-output .contexte-scenario {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1em 0 !important;
  }
}

/* ================================================= */
/* Infobox Effetmagique — Affichage mobile           */
/* À AJOUTER à la fin de MediaWiki:Common.css        */
/* ================================================= */
@media screen and (max-width: 768px) {

/* Conteneur flex pour réordonner : infobox en premier */
.mw-parser-output:has(.infobox-effetmagique) {
display: flex !important;
flex-direction: column !important;
}

/* L’infobox passe en premier et occupe toute la largeur */
.mw-parser-output .infobox-effetmagique {
float: none !important;
width: 100% !important;
max-width: 100% !important;
margin: 0 0 1em 0 !important;
order: -1 !important;
}
}

/* ============================================================
   NEPHILIM WIKI - STYLES MODERNISÉS POUR LA PAGE D'ACCUEIL
   À ajouter dans MediaWiki:Common.css
   ============================================================ */

/* --- Variables couleurs (via classes, MediaWiki ne supporte pas :root nativement partout) --- */

/* === BANNIERE HERO === */
/* === BANNIÈRE HERO === */
.nph-hero {
  background: linear-gradient(135deg, #2D1B4E 0%, #4A2D6B 60%, #5E3D7A 100%);
  border-radius: 10px;
  text-align: center;
  padding: 1.8rem 2rem 1.5rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.2rem;
}
.nph-hero-ornament {
  font-size: 0.5rem;
  color: rgba(232,213,163,0.3);
  letter-spacing: 0.5em;
  margin-bottom: 0.3rem;
}
.nph-hero-title {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.nph-hero-title a {
  color: #E8D5A3 !important;
  text-decoration: none;
}
.nph-hero-title a:hover {
  color: #F5ECD7 !important;
}
.nph-hero-tagline {
  font-style: italic;
  color: rgba(255,255,255,0.6);
  font-size: 0.95rem;
  margin-top: 0.2rem;
}
.nph-hero-badge {
  display: inline-block;
  margin-top: 0.7rem;
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #C49A2A;
  border: 1px solid rgba(196,154,42,0.4);
  padding: 0.2rem 1rem;
  border-radius: 20px;
}
.nph-hero-nav {
  margin-top: 1rem;
  font-size: 0.85rem;
}
.nph-hero-nav a {
  color: rgba(255,255,255,0.85) !important;
  text-decoration: none;
}
.nph-hero-nav a:hover {
  color: #E8D5A3 !important;
}
.nph-hero-sep {
  color: rgba(196,154,42,0.5);
  margin: 0 0.4rem;
}
.nph-hero-stats {
  margin-top: 0.6rem;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.45);
}
.nph-hero-stats b,
.nph-hero-stats strong {
  color: #E8D5A3;
  font-weight: 700;
}

/* === LAYOUT GRILLE PRINCIPALE === */
.nph-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 0.9rem;
  align-items: start;
  max-width: 100%;
}
.nph-content { min-width: 0; }
.nph-sidebar { min-width: 0; }

@media (max-width: 900px) {
  .nph-layout {
    grid-template-columns: 1fr;
  }
}

/* === CARTES CONTENU (colonne principale) === */
.nph-card {
  background: #FFFFFF;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(45,27,78,0.06);
  margin-bottom: 0.8rem;
  overflow: hidden;
  border: 1px solid #E0D5C0;
  transition: box-shadow 0.2s;
}
.nph-card:hover {
  box-shadow: 0 4px 12px rgba(45,27,78,0.08);
}

.nph-card-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 1rem;
  border-bottom: 1px solid #E0D5C0;
  background: linear-gradient(to right, #F5ECD7, #FFFFFF);
}
.nph-card-icon {
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}
.nph-card-header h2,
.nph-card-header .nph-card-title {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 0.92rem;
  font-weight: 600;
  color: #2D1B4E;
  letter-spacing: 0.02em;
  margin: 0;
  padding: 0;
  border: none;
}
.nph-card-header .nph-edit {
  margin-left: auto;
  font-size: 0.72rem;
  color: #7A6E5E;
  opacity: 0;
  transition: opacity 0.2s;
}
.nph-card:hover .nph-card-header .nph-edit {
  opacity: 1;
}

.nph-card-body {
  padding: 0.5rem 1rem;
  font-size: 0.88rem;
  line-height: 1.45;
}

/* === TABLEAUX DANS LES CARTES === */
.nph-card-body table.wikitable,
.nph-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: transparent;
  border: none;
}
.nph-table th {
  text-align: left;
  padding: 0.3rem 0.7rem;
  font-weight: 600;
  color: #4A2D6B;
  background: #F5ECD7;
  border-bottom: 2px solid #E8D5A3;
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 0.8rem;
}
.nph-table td {
  padding: 0.25rem 0.7rem;
  border-bottom: 1px solid rgba(224,213,192,0.5);
  vertical-align: top;
  border-left: none;
  border-right: none;
}
.nph-table tr:last-child td {
  border-bottom: none;
}
.nph-table tr:hover td {
  background: rgba(245,236,215,0.4);
}
.nph-table td:first-child {
  font-weight: 600;
  color: #4A2D6B;
  white-space: nowrap;
  width: 140px;
}
.nph-table a {
  color: #6B4D8A;
}
.nph-table a:hover {
  color: #4A2D6B;
}

/* === VARIANTE SANS EN-TÊTE (nph-table-flat) === */
.nph-table-flat {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  background: transparent;
  border: none;
}
.nph-table-flat td {
  padding: 0.25rem 0.7rem;
  border-bottom: 1px solid rgba(224,213,192,0.5);
  vertical-align: top;
  border-left: none;
  border-right: none;
}
.nph-table-flat tr:last-child td {
  border-bottom: none;
}
.nph-table-flat tr:hover td {
  background: rgba(245,236,215,0.4);
}
.nph-table-flat td:first-child {
  font-weight: 600;
  color: #4A2D6B;
  white-space: nowrap;
  width: 140px;
}
.nph-table-flat td:first-child b,
.nph-table-flat td:first-child strong {
  font-weight: 600;
}
.nph-table-flat a {
  color: #6B4D8A;
}
.nph-table-flat a:hover {
  color: #4A2D6B;
}

/* === CARTES SIDEBAR === */
.nph-sidebar .nph-card-header {
  background: linear-gradient(to right, #2D1B4E, #4A2D6B);
  border-bottom: none;
}
.nph-sidebar .nph-card-header h2,
.nph-sidebar .nph-card-header .nph-card-title {
  color: #E8D5A3;
}
.nph-sidebar .nph-card-header .nph-edit {
  color: #8E7BA8;
}
.nph-sidebar .nph-card-body {
  font-size: 0.82rem;
  max-height: 420px;
  overflow-y: auto;
}

/* === BLOCS NOUVEAUTÉS === */
.nph-news-item {
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(224,213,192,0.4);
}
.nph-news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.nph-news-date {
  display: inline-block;
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 0.72rem;
  font-weight: 700;
  color: #8B6914;
  background: #F5ECD7;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 0.3rem;
}
.nph-news-title {
  font-weight: 600;
  color: #2C2418;
  margin-bottom: 0.15rem;
}

/* === INDEX TAGS === */
.nph-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.nph-tag {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: all 0.15s;
}
.nph-tag-primary {
  background: #2D1B4E;
  color: #E8D5A3 !important;
}
.nph-tag-primary a {
  color: #E8D5A3 !important;
  text-decoration: none !important;
}
.nph-tag-primary:hover {
  background: #4A2D6B;
}
.nph-tag-secondary {
  background: #F5ECD7;
  color: #4A2D6B !important;
  border: 1px solid #E0D5C0;
}
.nph-tag-secondary a {
  color: #4A2D6B !important;
  text-decoration: none !important;
}
.nph-tag-secondary:hover {
  background: #E8D5A3;
}

/* === BOUTON PARTICIPER === */
.nph-btn {
  display: inline-block;
  padding: 6px 16px;
  background: #4A2D6B;
  color: #E8D5A3 !important;
  text-decoration: none !important;
  border-radius: 5px;
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}
.nph-btn:hover {
  background: #2D1B4E;
  transform: translateY(-1px);
}
.nph-btn a {
  color: #E8D5A3 !important;
  text-decoration: none !important;
}
.nph-btn:hover a {
  color: #F5ECD7 !important;
}

/* === ÉPHÉMÉRIDES === */
.nph-ephem-day {
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 700;
  color: #4A2D6B;
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
.nph-ephem-icon {
  text-align: center;
  margin-bottom: 0.4rem;
}
.nph-ephem-warning {
  text-align: center;
  font-weight: 700;
  color: #A0522D;
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}
.nph-ephem-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.nph-ephem-list li {
  padding: 0.25rem 0 0.25rem 1.2rem;
  position: relative;
  font-size: 0.8rem;
  line-height: 1.5;
}
.nph-ephem-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: #C49A2A;
  font-size: 0.55rem;
  top: 0.4rem;
}
.nph-ephem-list li.nph-ephem-bonus::before {
  content: '▲';
  color: #4A8C5C;
  font-size: 0.5rem;
}
.nph-ephem-list li.nph-ephem-malus::before {
  content: '▼';
  color: #A0522D;
  font-size: 0.5rem;
}
.nph-ephem-random {
  margin-top: 0.5rem;
  padding: 0.5rem 0.7rem;
  background: #F5ECD7;
  border-radius: 6px;
  font-size: 0.78rem;
  line-height: 1.6;
}
.nph-ephem-random-title {
  font-weight: 700;
  color: #4A2D6B;
  margin-bottom: 0.2rem;
  font-size: 0.8rem;
}
.nph-ephem-random-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0.4rem 0;
  font-size: 0.78rem;
}
.nph-ephem-random-table td {
  padding: 0.2rem 0.5rem;
  border-bottom: 1px solid rgba(196,154,42,0.25);
}
.nph-ephem-random-table tr:last-child td {
  border-bottom: none;
}
.nph-ephem-random-table td:first-child {
  font-weight: 700;
  color: #4A2D6B;
  text-align: center;
  width: 55px;
  background: rgba(255,255,255,0.5);
  border-radius: 3px;
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 0.75rem;
}
.nph-ephem-random-table td:last-child {
  color: #4A3F32;
  font-style: italic;
}
.nph-ephem-random-table th {
  font-size: 0.7rem;
  font-weight: 600;
  color: #4A2D6B;
  text-align: center;
  padding: 0.2rem 0.5rem;
  border-bottom: 2px solid rgba(196,154,42,0.4);
  background: rgba(255,255,255,0.4);
}
.nph-ephem-random-table td.nph-ephem-malus-cell {
  color: #A0522D;
  font-style: italic;
}
.nph-ephem-random-note {
  font-size: 0.75rem;
  color: #7A6E5E;
  font-style: italic;
  margin-top: 0.2rem;
}

/* === SIGNE ASTROLOGIQUE EN COURS === */
.nph-ephem-signe {
  text-align: center;
  font-size: 0.82rem;
  color: #4A2D6B;
  margin-bottom: 0.7rem;
  padding: 0.3rem 0.5rem;
  background: rgba(74,45,107,0.06);
  border-radius: 5px;
}

/* === ENCARTS ÉDITION (Révélation / Légende) === */
.nph-ephem-edition {
  margin-top: 0.6rem;
  border: 1px solid #E0D5C0;
  border-radius: 7px;
  overflow: hidden;
}
.nph-ephem-edition-header {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.3rem 0.6rem;
  text-transform: uppercase;
}
.nph-ephem-edition-legende .nph-ephem-edition-header {
  background: #574B6B;
  color: #E3DEE8;
}
.nph-ephem-edition-legende .nph-ephem-edition-body {
  background: #E3DEE8;
}
.nph-ephem-edition-anniversaire .nph-ephem-edition-header {
  background: #6B4548;
  color: #E8DDD8;
}
.nph-ephem-edition-anniversaire .nph-ephem-edition-body {
  background: #E8DDD8;
}
.nph-ephem-edition-revelation .nph-ephem-edition-header {
  background: #4A5568;
  color: #DDE2E8;
}
.nph-ephem-edition-revelation .nph-ephem-edition-body {
  background: #DDE2E8;
}

.nph-ephem-edition-body {
  padding: 0.5rem 0.6rem;
  font-size: 0.8rem;
}
.nph-ephem-placeholder {
  font-style: italic;
  color: #7A6E5E;
  font-size: 0.78rem;
  text-align: center;
  padding: 0.3rem 0;
}

/* === SOUS-SECTIONS DANS LES ENCARTS ÉDITION === */
.nph-ephem-section-title {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #2C2418;
  margin-top: 0.5rem;
  margin-bottom: 0.2rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}
.nph-ephem-section-title:first-child {
  margin-top: 0;
}
.nph-ephem-impossible {
  font-style: italic;
  color: #7A6E5E;
  font-size: 0.78rem;
  padding: 0.2rem 0;
}
.nph-ephem-saturnales {
  margin-top: 0.4rem;
  padding: 0.35rem 0.5rem;
  background: rgba(101,101,101,0.1);
  border-left: 3px solid #656565;
  border-radius: 0 4px 4px 0;
  font-size: 0.78rem;
  color: #4A3F32;
}
.nph-ephem-grande-active {
  margin-top: 0.3rem;
  padding: 0.35rem 0.5rem;
  background: rgba(74,45,107,0.06);
  border-left: 3px solid #574B6B;
  border-radius: 0 4px 4px 0;
  font-size: 0.78rem;
}

/* === Masquer le titre H1 sur la page d'accueil === */
body.page-Accueil #firstHeading {
  display: none;
}


/* === GAMME (Pastilles d'éditions) === */
.nph-gamme {
  background: #FFFFFF;
  border-radius: 8px;
  padding: 0.6rem 1rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.nph-gamme-title {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #2D1B4E;
}
.nph-gamme-title a {
  color: #2D1B4E !important;
  text-decoration: none;
}
.nph-gamme-title a:hover {
  color: #4A2D6B !important;
  text-decoration: underline;
}
.nph-gamme-title-sep {
  color: #C49A2A;
  font-size: 0.7rem;
  margin: 0 0.2rem;
}
.nph-gamme-editions {
  margin-top: 0.35rem;
}
.nph-gamme-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.25rem;
}
.nph-gamme-row:last-child {
  margin-bottom: 0;
}
.nph-gamme-label {
  font-family: 'Cinzel', 'Georgia', serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #C49A2A;
  min-width: 110px;
  flex-shrink: 0;
}
.nph-gamme-ed {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
  background: #F0EBE0;
  transition: background 0.15s;
}
.nph-gamme-ed a {
  color: #6B4D8A !important;
  text-decoration: none;
}
.nph-gamme-ed:hover {
  background: #E3D8C8;
}
.nph-gamme-ed-current {
  background: #4A2D6B;
}
.nph-gamme-ed-current a {
  color: #FFFFFF !important;
  font-weight: 600;
}
.nph-gamme-ed-current:hover {
  background: #2D1B4E;
}
.nph-gamme-links {
  margin-top: 0.35rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(196,154,42,0.2);
  font-size: 0.8rem;
}
.nph-gamme-links a {
  color: #6B4D8A !important;
  text-decoration: none;
}
.nph-gamme-links a:hover {
  color: #2D1B4E !important;
  text-decoration: underline;
}
.nph-gamme-links-sep {
  color: #C49A2A;
  font-size: 0.55rem;
  margin: 0 0.3rem;
  vertical-align: middle;
}


/* ============================================================
   ONGLETS D'ACTION — PAGE D'ACCUEIL UNIQUEMENT
   Mêmes couleurs que les articles, SANS le filet doré
   ============================================================ */

/* --- Supprimer les lignes grises natives --- */
body.page-Accueil .vector-page-titlebar {
  box-shadow: none !important;
}
body.page-Accueil .vector-page-toolbar-container {
  box-shadow: none !important;
  border-top: none !important;
  border-bottom: 1px solid #D0C4DC !important;
}

/* --- Onglets : police et couleur --- */
body.page-Accueil .vector-page-toolbar-container .vector-tab-noicon a,
body.page-Accueil .vector-page-toolbar-container .mw-list-item a {
  font-family: 'Source Sans 3', sans-serif;
  color: #574B6B;
}

/* --- Onglet actif --- */
body.page-Accueil .vector-page-toolbar-container .vector-tab-noicon.selected a,
body.page-Accueil .vector-page-toolbar-container .mw-list-item.selected a {
  color: #2D1B4E;
  font-weight: 600;
}

/* --- Onglet au survol --- */
body.page-Accueil .vector-page-toolbar-container .vector-tab-noicon a:hover,
body.page-Accueil .vector-page-toolbar-container .mw-list-item a:hover {
  color: #2D1B4E;
}

/* --- Onglet lien rouge --- */
body.page-Accueil .vector-page-toolbar-container .vector-tab-noicon.new a,
body.page-Accueil .vector-page-toolbar-container .mw-list-item.new a {
  color: #a04030;
}


/* ============================================================
   NEPHILIM LÉGENDE — CSS de base pour tous les tableaux
   Classe : neph_table_NL
   À copier dans MediaWiki:Common.css
   
   Charte NL : Pourpre sombre #574B6B / Parchemin mauve #E3DEE8
   Polices : Cinzel (titres), Crimson Text (sous-titres),
             EB Garamond (contenu, 16px, weight 500)
   Bordures : #33302A · Texte : #2A2520 · Blanc : #F7F6F2
   
   USAGE (tableau simple) :
   {| class="wikitable neph_table_NL"
   |-
   ! En-tête 1 !! En-tête 2
   |-
   | Donnée 1 || Donnée 2
   |}
   
   USAGE (tableau large avec scroll horizontal) :
   <div class="neph-scroll-top"><div class="neph-scroll-top-spacer"></div></div>
   <div class="neph-scroll-table">
   {| class="wikitable neph_table_NL" ...
   |}
   </div>
   (requiert nephilim-double-scroll.js dans MediaWiki:Common.js)
   
   Pour le tableau des Incarnations, ajouter aussi la classe
   neph_table_incarnations et charger le CSS correspondant.
   ============================================================ */


/* ===========================================================
   1. CONTENEUR À DÉFILEMENT HORIZONTAL (optionnel)
   =========================================================== */

.neph-scroll-table {
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
  margin: 0 0 1.5em 0;
  border: 2px solid #33302A;
  border-radius: 0 0 8px 8px;
  background: #ffffff;
  box-shadow: 0 3px 16px rgba(30, 27, 22, 0.2);
  position: relative;
}

/* --- Barre de défilement HAUTE (div vide + spacer) --- */

.neph-scroll-top {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  margin: 1.5em 0 0 0;
  border: 2px solid #33302A;
  border-bottom: none;
  border-radius: 8px 8px 0 0;
  background: #E3DEE8;
  height: 14px;
}
.neph-scroll-top-spacer {
  height: 1px;
}

/* Scrollbar personnalisée — barre HAUTE */
.neph-scroll-top::-webkit-scrollbar { height: 10px; }
.neph-scroll-top::-webkit-scrollbar-track {
  background: #E3DEE8;
  border-radius: 8px 8px 0 0;
}
.neph-scroll-top::-webkit-scrollbar-thumb {
  background: #574B6B;
  border-radius: 5px;
  border: 2px solid #E3DEE8;
}
.neph-scroll-top::-webkit-scrollbar-thumb:hover {
  background: #6B5D80;
}

/* Scrollbar personnalisée — barre BASSE */
.neph-scroll-table::-webkit-scrollbar { height: 10px; }
.neph-scroll-table::-webkit-scrollbar-track {
  background: #E3DEE8;
  border-radius: 0 0 8px 8px;
}
.neph-scroll-table::-webkit-scrollbar-thumb {
  background: #574B6B;
  border-radius: 5px;
  border: 2px solid #E3DEE8;
}
.neph-scroll-table::-webkit-scrollbar-thumb:hover {
  background: #6B5D80;
}

/* Firefox */
.neph-scroll-top,
.neph-scroll-table {
  scrollbar-color: #574B6B #E3DEE8;
  scrollbar-width: thin;
}

/* Quand le scroll-table est seul (sans scroll-top au-dessus) :
   coins arrondis complets et marge haute restaurée */
.neph-scroll-table:not(.neph-scroll-top + .neph-scroll-table) {
  margin-top: 1.5em;
  border-radius: 8px;
}


/* ===========================================================
   2. STYLE DE BASE DU TABLEAU
   =========================================================== */

.neph_table_NL {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
  color: #2A2520 !important;
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: 16px !important;
  font-weight: 500;
  line-height: 1.4;
  border: none !important;
}

/* --- Cellules générales --- */
.neph_table_NL th,
.neph_table_NL td {
  border: 1px solid #c8c0d0 !important;
  padding: 4px 7px !important;
  vertical-align: middle !important;
  background: #ffffff !important;
  color: #2A2520 !important;
}

/* Force 16px sur les cellules de données (surcharge wikitable) */
.neph_table_NL td {
  font-size: 16px !important;
}

/* --- En-têtes (th) --- */
.neph_table_NL th {
  background: #574B6B !important;
  color: #F7F6F2 !important;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  border-color: #473D5B !important;
  border-bottom: 2px solid #33302A !important;
}

/* Liens dans les en-têtes : blancs sur fond pourpre */
.neph_table_NL th a,
.neph_table_NL th a:visited {
  color: #ffffff !important;
  text-decoration: none;
}
.neph_table_NL th a:hover {
  color: #E3DEE8 !important;
  text-decoration: underline;
}


/* ===========================================================
   3. LIENS DANS LES CELLULES
   =========================================================== */

.neph_table_NL td a {
  color: #574B6B !important;
  text-decoration: none;
}
.neph_table_NL td a:hover {
  color: #7a6a9a !important;
  text-decoration: underline;
}
/* Liens non existants (redlinks MediaWiki) */
.neph_table_NL a.new {
  color: #a0352a !important;
}


/* ===========================================================
   4. SÉPARATION VISUELLE (opt-in)
   Ajouter class="ere-end" sur une cellule pour un trait fort
   =========================================================== */

.neph_table_NL .ere-end {
  border-right: 2px solid #574B6B !important;
}


/* ===========================================================
   5. EFFETS INTERACTIFS
   =========================================================== */

.neph_table_NL tbody tr:hover td {
  background: #EDE8F0 !important;
  transition: background 0.12s ease;
}

.neph_table_NL td:hover {
  outline: 1px solid #574B6B;
  outline-offset: -1px;
}


/* ===========================================================
   6. RESPONSIVE
   =========================================================== */

@media (max-width: 768px) {
  .neph_table_NL {
    font-size: 12px;
  }
  .neph_table_NL th,
  .neph_table_NL td {
    padding: 3px 5px !important;
  }
}


/* ===========================================================
   7. IMPRESSION
   =========================================================== */

@media print {
  .neph-scroll-table,
  .neph-scroll-top {
    overflow: visible;
    box-shadow: none;
    border: 1px solid #999;
  }
  .neph-scroll-top {
    display: none;
  }
  .neph_table_NL th,
  .neph_table_NL td {
    position: static !important;
  }
  .neph_table_NL th {
    background: #ddd !important;
    color: #000 !important;
    text-shadow: none;
  }
}

/* ============================================================
   NEPHILIM 4e — Anniversaire — CSS de base pour tous les tableaux
   Classe : neph_table_N4
   À copier dans MediaWiki:Common.css
   
   Charte N4 : #6B4548 / #E8DDD8
   Polices : Cinzel (titres), Crimson Text (sous-titres),
             EB Garamond (contenu, 16px, weight 500)
   Bordures : #33302A · Texte : #2A2520 · Blanc : #F7F6F2
   
   USAGE :
   {| class="wikitable neph_table_N4"
   ...
   |}
   ============================================================ */


/* ===========================================================
   1. STYLE DE BASE DU TABLEAU
   =========================================================== */

.neph_table_N4 {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
  color: #2A2520 !important;
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: 16px !important;
  font-weight: 500;
  line-height: 1.4;
  border: none !important;
}

/* --- Cellules générales --- */
.neph_table_N4 th,
.neph_table_N4 td {
  border: 1px solid #d0c0c0 !important;
  padding: 4px 7px !important;
  vertical-align: middle !important;
  background: #ffffff !important;
  color: #2A2520 !important;
}

/* Force 16px sur les cellules de données (surcharge wikitable) */
.neph_table_N4 td {
  font-size: 16px !important;
}

/* --- En-têtes (th) --- */
.neph_table_N4 th {
  background: #6B4548 !important;
  color: #F7F6F2 !important;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  border-color: #5B3538 !important;
  border-bottom: 2px solid #33302A !important;
}

/* Liens dans les en-têtes : blancs */
.neph_table_N4 th a,
.neph_table_N4 th a:visited {
  color: #ffffff !important;
  text-decoration: none;
}
.neph_table_N4 th a:hover {
  color: #E8DDD8 !important;
  text-decoration: underline;
}


/* ===========================================================
   2. LIENS DANS LES CELLULES
   =========================================================== */

.neph_table_N4 td a {
  color: #6B4548 !important;
  text-decoration: none;
}
.neph_table_N4 td a:hover {
  color: #9a6a6d !important;
  text-decoration: underline;
}
.neph_table_N4 a.new {
  color: #a0352a !important;
}


/* ===========================================================
   3. SÉPARATION VISUELLE (opt-in)
   =========================================================== */

.neph_table_N4 .ere-end {
  border-right: 2px solid #6B4548 !important;
}


/* ===========================================================
   4. EFFETS INTERACTIFS
   =========================================================== */

.neph_table_N4 tbody tr:hover td {
  background: #F0E8E5 !important;
  transition: background 0.12s ease;
}

.neph_table_N4 td:hover {
  outline: 1px solid #6B4548;
  outline-offset: -1px;
}


/* ===========================================================
   5. RESPONSIVE
   =========================================================== */

@media (max-width: 768px) {
  .neph_table_N4 {
    font-size: 12px;
  }
  .neph_table_N4 th,
  .neph_table_N4 td {
    padding: 3px 5px !important;
  }
}


/* ===========================================================
   6. IMPRESSION
   =========================================================== */

@media print {
  .neph_table_N4 th,
  .neph_table_N4 td {
    position: static !important;
  }
  .neph_table_N4 th {
    background: #ddd !important;
    color: #000 !important;
    text-shadow: none;
  }
}

/* ============================================================
   NEPHILIM 3e — Révélation — CSS de base pour tous les tableaux
   Classe : neph_table_NR
   À copier dans MediaWiki:Common.css
   
   Charte NR : #4A5568 / #DDE2E8
   Polices : Cinzel (titres), Crimson Text (sous-titres),
             EB Garamond (contenu, 16px, weight 500)
   Bordures : #33302A · Texte : #2A2520 · Blanc : #F7F6F2
   
   USAGE :
   {| class="wikitable neph_table_NR"
   ...
   |}
   ============================================================ */


/* ===========================================================
   1. STYLE DE BASE DU TABLEAU
   =========================================================== */

.neph_table_NR {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
  color: #2A2520 !important;
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: 16px !important;
  font-weight: 500;
  line-height: 1.4;
  border: none !important;
}

/* --- Cellules générales --- */
.neph_table_NR th,
.neph_table_NR td {
  border: 1px solid #c0c8d0 !important;
  padding: 4px 7px !important;
  vertical-align: middle !important;
  background: #ffffff !important;
  color: #2A2520 !important;
}

/* Force 16px sur les cellules de données (surcharge wikitable) */
.neph_table_NR td {
  font-size: 16px !important;
}

/* --- En-têtes (th) --- */
.neph_table_NR th {
  background: #4A5568 !important;
  color: #F7F6F2 !important;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  border-color: #3A4558 !important;
  border-bottom: 2px solid #33302A !important;
}

/* Liens dans les en-têtes : blancs */
.neph_table_NR th a,
.neph_table_NR th a:visited {
  color: #ffffff !important;
  text-decoration: none;
}
.neph_table_NR th a:hover {
  color: #DDE2E8 !important;
  text-decoration: underline;
}


/* ===========================================================
   2. LIENS DANS LES CELLULES
   =========================================================== */

.neph_table_NR td a {
  color: #4A5568 !important;
  text-decoration: none;
}
.neph_table_NR td a:hover {
  color: #6a7a9a !important;
  text-decoration: underline;
}
.neph_table_NR a.new {
  color: #a0352a !important;
}


/* ===========================================================
   3. SÉPARATION VISUELLE (opt-in)
   =========================================================== */

.neph_table_NR .ere-end {
  border-right: 2px solid #4A5568 !important;
}


/* ===========================================================
   4. EFFETS INTERACTIFS
   =========================================================== */

.neph_table_NR tbody tr:hover td {
  background: #E8ECF0 !important;
  transition: background 0.12s ease;
}

.neph_table_NR td:hover {
  outline: 1px solid #4A5568;
  outline-offset: -1px;
}


/* ===========================================================
   5. RESPONSIVE
   =========================================================== */

@media (max-width: 768px) {
  .neph_table_NR {
    font-size: 12px;
  }
  .neph_table_NR th,
  .neph_table_NR td {
    padding: 3px 5px !important;
  }
}


/* ===========================================================
   6. IMPRESSION
   =========================================================== */

@media print {
  .neph_table_NR th,
  .neph_table_NR td {
    position: static !important;
  }
  .neph_table_NR th {
    background: #ddd !important;
    color: #000 !important;
    text-shadow: none;
  }
}

/* ============================================================
   NEPHILIM 2e édition — CSS de base pour tous les tableaux
   Classe : neph_table_N2
   À copier dans MediaWiki:Common.css
   
   Charte N2 : #727a68 / #E8E4D8
   Polices : Cinzel (titres), Crimson Text (sous-titres),
             EB Garamond (contenu, 16px, weight 500)
   Bordures : #33302A · Texte : #2A2520 · Blanc : #F7F6F2
   
   USAGE :
   {| class="wikitable neph_table_N2"
   ...
   |}
   ============================================================ */


/* ===========================================================
   1. STYLE DE BASE DU TABLEAU
   =========================================================== */

.neph_table_N2 {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
  color: #2A2520 !important;
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: 16px !important;
  font-weight: 500;
  line-height: 1.4;
  border: none !important;
}

/* --- Cellules générales --- */
.neph_table_N2 th,
.neph_table_N2 td {
  border: 1px solid #c8c8c0 !important;
  padding: 4px 7px !important;
  vertical-align: middle !important;
  background: #ffffff !important;
  color: #2A2520 !important;
}

/* Force 16px sur les cellules de données (surcharge wikitable) */
.neph_table_N2 td {
  font-size: 16px !important;
}

/* --- En-têtes (th) --- */
.neph_table_N2 th {
  background: #727a68 !important;
  color: #F7F6F2 !important;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  border-color: #626A58 !important;
  border-bottom: 2px solid #33302A !important;
}

/* Liens dans les en-têtes : blancs */
.neph_table_N2 th a,
.neph_table_N2 th a:visited {
  color: #ffffff !important;
  text-decoration: none;
}
.neph_table_N2 th a:hover {
  color: #E8E4D8 !important;
  text-decoration: underline;
}


/* ===========================================================
   2. LIENS DANS LES CELLULES
   =========================================================== */

.neph_table_N2 td a {
  color: #727a68 !important;
  text-decoration: none;
}
.neph_table_N2 td a:hover {
  color: #8a9a7a !important;
  text-decoration: underline;
}
.neph_table_N2 a.new {
  color: #a0352a !important;
}


/* ===========================================================
   3. SÉPARATION VISUELLE (opt-in)
   =========================================================== */

.neph_table_N2 .ere-end {
  border-right: 2px solid #727a68 !important;
}


/* ===========================================================
   4. EFFETS INTERACTIFS
   =========================================================== */

.neph_table_N2 tbody tr:hover td {
  background: #EDE8E0 !important;
  transition: background 0.12s ease;
}

.neph_table_N2 td:hover {
  outline: 1px solid #727a68;
  outline-offset: -1px;
}


/* ===========================================================
   5. RESPONSIVE
   =========================================================== */

@media (max-width: 768px) {
  .neph_table_N2 {
    font-size: 12px;
  }
  .neph_table_N2 th,
  .neph_table_N2 td {
    padding: 3px 5px !important;
  }
}


/* ===========================================================
   6. IMPRESSION
   =========================================================== */

@media print {
  .neph_table_N2 th,
  .neph_table_N2 td {
    position: static !important;
  }
  .neph_table_N2 th {
    background: #ddd !important;
    color: #000 !important;
    text-shadow: none;
  }
}

/* ============================================================
   NEPHILIM 1ère édition — CSS de base pour tous les tableaux
   Classe : neph_table_N1
   À copier dans MediaWiki:Common.css
   
   Charte N1 : #6B5D4F / #E8E0D3
   Polices : Cinzel (titres), Crimson Text (sous-titres),
             EB Garamond (contenu, 16px, weight 500)
   Bordures : #33302A · Texte : #2A2520 · Blanc : #F7F6F2
   
   USAGE :
   {| class="wikitable neph_table_N1"
   ...
   |}
   ============================================================ */


/* ===========================================================
   1. STYLE DE BASE DU TABLEAU
   =========================================================== */

.neph_table_N1 {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
  color: #2A2520 !important;
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: 16px !important;
  font-weight: 500;
  line-height: 1.4;
  border: none !important;
}

/* --- Cellules générales --- */
.neph_table_N1 th,
.neph_table_N1 td {
  border: 1px solid #d0c8c0 !important;
  padding: 4px 7px !important;
  vertical-align: middle !important;
  background: #ffffff !important;
  color: #2A2520 !important;
}

/* Force 16px sur les cellules de données (surcharge wikitable) */
.neph_table_N1 td {
  font-size: 16px !important;
}

/* --- En-têtes (th) --- */
.neph_table_N1 th {
  background: #6B5D4F !important;
  color: #F7F6F2 !important;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  border-color: #5B4D3F !important;
  border-bottom: 2px solid #33302A !important;
}

/* Liens dans les en-têtes : blancs */
.neph_table_N1 th a,
.neph_table_N1 th a:visited {
  color: #ffffff !important;
  text-decoration: none;
}
.neph_table_N1 th a:hover {
  color: #E8E0D3 !important;
  text-decoration: underline;
}


/* ===========================================================
   2. LIENS DANS LES CELLULES
   =========================================================== */

.neph_table_N1 td a {
  color: #6B5D4F !important;
  text-decoration: none;
}
.neph_table_N1 td a:hover {
  color: #9a8a7a !important;
  text-decoration: underline;
}
.neph_table_N1 a.new {
  color: #a0352a !important;
}


/* ===========================================================
   3. SÉPARATION VISUELLE (opt-in)
   =========================================================== */

.neph_table_N1 .ere-end {
  border-right: 2px solid #6B5D4F !important;
}


/* ===========================================================
   4. EFFETS INTERACTIFS
   =========================================================== */

.neph_table_N1 tbody tr:hover td {
  background: #F0E8E0 !important;
  transition: background 0.12s ease;
}

.neph_table_N1 td:hover {
  outline: 1px solid #6B5D4F;
  outline-offset: -1px;
}


/* ===========================================================
   5. RESPONSIVE
   =========================================================== */

@media (max-width: 768px) {
  .neph_table_N1 {
    font-size: 12px;
  }
  .neph_table_N1 th,
  .neph_table_N1 td {
    padding: 3px 5px !important;
  }
}


/* ===========================================================
   6. IMPRESSION
   =========================================================== */

@media print {
  .neph_table_N1 th,
  .neph_table_N1 td {
    position: static !important;
  }
  .neph_table_N1 th {
    background: #ddd !important;
    color: #000 !important;
    text-shadow: none;
  }
}



/* ============================================================
   NEPHILIM LÉGENDE — CSS spécifique au tableau des Incarnations
   Classe additionnelle : neph_table_incarnations
   À copier dans MediaWiki:Common.css (après nephilim-table-NL.css)
   
   REQUIERT : nephilim-table-NL.css (classe de base neph_table_NL)
   
   USAGE MediaWiki :
   <div class="neph-scroll-top"><div class="neph-scroll-top-spacer"></div></div>
   <div class="neph-scroll-table">
   {| class="wikitable neph_table_NL neph_table_incarnations"
   ...
   |}
   </div>
   ============================================================ */


/* ===========================================================
   1. TABLEAU LARGE — forcer la largeur au contenu
   =========================================================== */

.neph_table_incarnations {
  width: max-content;
  min-width: 100%;
}

.neph_table_incarnations td {
  white-space: nowrap;
}


/* ===========================================================
   2. LIGNES D'EN-TÊTE POSITIONNELLES
   Spécifiques à la structure Ères (1ère ligne) + Époques (2ème)
   =========================================================== */

/* --- Ligne des Ères (première ligne) --- */
.neph_table_incarnations tr:first-child th {
  font-size: 0.88em;
  letter-spacing: 0.06em;
  padding: 7px 8px !important;
}

/* Séparations d'ères : blanc sur la ligne Ères (fond pourpre) */
.neph_table_incarnations tr:first-child th.ere-end {
  border-right: 2px solid #ffffff !important;
}

/* --- Ligne des Époques (deuxième ligne) --- */
.neph_table_incarnations tr:nth-child(2) td,
.neph_table_incarnations tr:nth-child(2) th {
  background: #E3DEE8 !important;
  color: #574B6B !important;
  font-family: 'Crimson Text', serif;
  font-size: 0.82em;
  font-weight: 600;
  text-shadow: none;
  border-bottom: 2px solid #574B6B !important;
}


/* ===========================================================
   3. COLONNES FIXES (sticky)
   
   Classes explicites pour éviter les bugs liés au rowspan.
   
   | class="neph-sticky-1" rowspan="5" | Vécus
   | class="neph-sticky-2" | Feu
   =========================================================== */

.neph_table_incarnations .neph-sticky-1 {
  position: sticky !important;
  left: 0 !important;
  z-index: 8;
  background: #E3DEE8 !important;
  color: #574B6B !important;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.88em;
  border-right: 2px solid #574B6B !important;
  box-sizing: border-box;
  width: 95px;
  min-width: 95px;
  max-width: 95px;
  white-space: normal;
}

.neph_table_incarnations .neph-sticky-2 {
  position: sticky !important;
  left: 95px !important;
  z-index: 7;
  background: #E3DEE8 !important;
  color: #574B6B !important;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.85em;
  border-right: 2px solid #574B6B !important;
  box-sizing: border-box;
  width: 60px;
  min-width: 60px;
  max-width: 60px;
  box-shadow: 3px 0 6px rgba(87, 75, 107, 0.1);
}

/* En-têtes sticky : z-index supérieur */
.neph_table_incarnations th.neph-sticky-1 {
  z-index: 15;
  background: #574B6B !important;
  color: #F7F6F2 !important;
}
.neph_table_incarnations th.neph-sticky-2 {
  z-index: 14;
  background: #574B6B !important;
  color: #F7F6F2 !important;
}


/* ===========================================================
   4. LIGNES DES ÉLÉMENTS (Vécus par Ka)
   Couleurs adaptées au fond clair
   =========================================================== */

/* --- Feu --- */
.neph_table_incarnations .ka-feu .neph-sticky-2 {
  background: #f8e8e4 !important;
  color: #a0352a !important;
}
.neph_table_incarnations .ka-feu td {
  background: #fdf6f5 !important;
}

/* --- Air --- */
.neph_table_incarnations .ka-air .neph-sticky-2 {
  background: #e4eef6 !important;
  color: #3a6a90 !important;
}
.neph_table_incarnations .ka-air td {
  background: #f5f8fc !important;
}

/* --- Eau --- */
.neph_table_incarnations .ka-eau .neph-sticky-2 {
  background: #dce8f2 !important;
  color: #2a5a80 !important;
}
.neph_table_incarnations .ka-eau td {
  background: #f2f6fa !important;
}

/* --- Terre --- */
.neph_table_incarnations .ka-terre .neph-sticky-2 {
  background: #e4f0dc !important;
  color: #3a6a28 !important;
}
.neph_table_incarnations .ka-terre td {
  background: #f5faf2 !important;
}

/* --- Lune --- */
.neph_table_incarnations .ka-lune .neph-sticky-2 {
  background: #ebe4f2 !important;
  color: #6a4a8a !important;
}
.neph_table_incarnations .ka-lune td {
  background: #f8f5fc !important;
}

/* Label "Vécus" sticky sur les lignes élémentaires */
.neph_table_incarnations .ka-feu .neph-sticky-1,
.neph_table_incarnations .ka-air .neph-sticky-1,
.neph_table_incarnations .ka-eau .neph-sticky-1,
.neph_table_incarnations .ka-terre .neph-sticky-1,
.neph_table_incarnations .ka-lune .neph-sticky-1 {
  background: #E3DEE8 !important;
  color: #574B6B !important;
}

/* Survol élémentaire : rester dans la teinte */
.neph_table_incarnations tr.ka-feu:hover td   { background: #f3e0dc !important; }
.neph_table_incarnations tr.ka-air:hover td   { background: #dce8f2 !important; }
.neph_table_incarnations tr.ka-eau:hover td   { background: #d4e0ec !important; }
.neph_table_incarnations tr.ka-terre:hover td { background: #dcecd4 !important; }
.neph_table_incarnations tr.ka-lune:hover td  { background: #e2d8ee !important; }


/* ===========================================================
   5. LIGNES SPÉCIALES
   =========================================================== */

/* PI (points d'incarnation) */
.neph_table_incarnations .neph-pi td {
  text-align: center;
  font-weight: 700;
  color: #574B6B !important;
  font-family: 'Cinzel', serif;
  font-size: 1em;
  background: #f0ecf4 !important;
}
.neph_table_incarnations .neph-pi .neph-sticky-1,
.neph_table_incarnations .neph-pi .neph-sticky-2 {
  background: #E3DEE8 !important;
}

/* Lignes multi-contenu (texte wrappé) */
.neph_table_incarnations .neph-so td,
.neph_table_incarnations .neph-sorts td,
.neph_table_incarnations .neph-quetes td,
.neph_table_incarnations .neph-quetes-arcane td,
.neph_table_incarnations .neph-savoirs td {
  font-size: 0.82em;
  line-height: 1.5;
  white-space: normal;
  min-width: 100px;
}

/* Stases */
.neph_table_incarnations .neph-stases td {
  font-style: italic;
  color: #6a6060 !important;
  font-size: 0.82em;
  white-space: normal;
  min-width: 150px;
}


/* ===========================================================
   6. RESPONSIVE — colonnes sticky
   =========================================================== */

@media (max-width: 768px) {
  /* Sur mobile, ne garder que la 1ère colonne sticky */
  .neph_table_incarnations .neph-sticky-2 {
    position: static !important;
    left: auto !important;
  }
}


/* ===========================================================
   7. IMPRESSION — colonnes sticky
   =========================================================== */

@media print {
  .neph_table_incarnations .neph-sticky-1,
  .neph_table_incarnations .neph-sticky-2 {
    position: static !important;
  }
}

/* ===========================================================
   STYLE TABLEAU QUÊTE ÉSOTÉRIQUE (NL)
   =========================================================== */
.neph_table_NL_quete_eso {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #ffffff !important;
  color: #2A2520 !important;
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: 16px !important;
  font-weight: 500;
  line-height: 1.4;
  border: none !important;
  width: 100% !important;
}

/* --- Cellules générales --- */
.neph_table_NL_quete_eso th,
.neph_table_NL_quete_eso td {
  border: 1px solid #c8c0d0 !important;
  padding: 4px 7px !important;
  vertical-align: middle !important;
  background: #ffffff !important;
  color: #2A2520 !important;
}

.neph_table_NL_quete_eso td {
  font-size: 16px !important;
}

/* --- En-têtes (th) --- */
.neph_table_NL_quete_eso th {
  background: #2D1B4E !important;
  color: #D0C4DC !important;
  font-family: 'Cinzel', serif;
  font-weight: 600;
  font-size: 0.85em;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
  border-color: #1E0F38 !important;
  border-bottom: 2px solid #33302A !important;
}

/* --- Largeurs des colonnes --- */
.neph_table_NL_quete_eso th:first-child {
  width: 8%;
}
.neph_table_NL_quete_eso th:nth-child(2),
.neph_table_NL_quete_eso th:nth-child(3) {
  width: 46%;
}

/* --- Première colonne (Degré) --- */
.neph_table_NL_quete_eso td:first-child {
  text-align: center !important;
  font-weight: bold !important;
  background: #574B6B !important;
  color: #D0C4DC !important;
}

/* --- Caption --- */
.neph_table_NL_quete_eso caption {
  font-weight: bold;
  font-size: 1.1em;
  padding: 8px;
  font-family: 'Cinzel', serif;
}

/* --- Ligne séparatrice colspan --- */
.neph_table_NL_quete_eso th[colspan] {
  text-align: center;
}

/* ============================================================
   INFOBOX EFFETMAGIQUE — Style épuré
   Inspiré de l'infobox Arcane Majeur
   À ajouter dans MediaWiki:Common.css
   ============================================================ */

/* --- Conteneur principal --- */
.infobox-effetmagique {
    float: right;
    width: 320px;
    margin: 0 0 12px 16px;
    padding: 0;
    background: #ffffff;
    border: 1px solid #d0c4dc;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #1e293b;
}

/* Reset des marges parasites insérées par MediaWiki */
.infobox-effetmagique p {
    margin: 0;
    padding: 0;
}

/* Reset de la table infobox_v2 interne */
.infobox-effetmagique .infobox_v2 {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"] {
    background: linear-gradient(135deg, #1e1535 0%, #3a2d60 60%, #4a3a80 100%) !important;
    padding: 16px 20px !important;
    text-align: center;
    font-size: 20px !important;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none !important;
    font-variant: normal !important;
    font-family: 'EB Garamond', 'Lora', Georgia, serif !important;
}

/* Texte blanc dans l'en-tête */
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"],
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"] b,
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"] i,
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"] span {
    color: #ffffff !important;
}

/* --- Image --- */
.infobox-effetmagique .infobox_v2 td[style*="text-align:center"] img {
    border-radius: 6px;
    margin: 4px 0;
}

/* --- Bandeau de section (Identité, Sources) --- */
.infobox-effetmagique .infobox_v2 td[colspan="2"][style*="background-color: #E8E8E8"] {
    background-color: #f8fafc !important;
    border-top: 2px solid #f0f1f3 !important;
    border-bottom: 1px solid #e2e5ea !important;
    padding: 8px 20px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 2px !important;
    text-transform: none !important;
    color: #94a3b8 !important;
}

/* --- Bandeaux d'édition (en-têtes colorés NL, N4, NR, N2, N1) ---
   Ciblés via les classes infobox-sc-* définies dans les sous-modèles */

/* --- Champs clé/valeur --- */
.infobox-effetmagique .infobox_v2 th {
    padding: 5px 20px !important;
    font-size: 12px !important;
    font-weight: 400 !important;
    color: #64748b !important;
    vertical-align: top;
    border-bottom: 1px solid #f1f5f9 !important;
    background: transparent !important;
}

.infobox-effetmagique .infobox_v2 td {
    padding: 5px 20px !important;
    font-size: 13px !important;
    color: #1e293b !important;
    vertical-align: top;
    border-bottom: 1px solid #f1f5f9 !important;
}

/* Liens dans les valeurs */
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td a:not(.new):not(.external) {
    color: #1e293b !important;
    border-bottom: none !important;
}
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td a:not(.new):not(.external):hover {
    color: #6366f1 !important;
}

/* --- Responsive : pleine largeur en mobile --- */
@media screen and (max-width: 768px) {

    .mw-parser-output .infobox-effetmagique {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 1em 0 !important;
    }
}

/* Bandeau édition dans Infobox Effetmagique — forcer texte clair */
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="574B6B"],
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="574B6B"] span,
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="6B4548"],
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="6B4548"] span,
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="4A5568"],
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="4A5568"] span,
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="727a68"],
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="727a68"] span,
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="6B5D4F"],
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="6B5D4F"] span {
    color: #F7F6F2 !important;
    text-transform: none !important;
}


/* ============================================ */
/* INFOBOX EFFETMAGIQUE — Dégradés en-tête      */
/* par science occulte                          */
/* ============================================ */

/* --- Nephilim --- */

/* Magie — Or royal (aussi utilisé par défaut si sc_occulte vide) */
.infobox-sc-magie {
  background: linear-gradient(135deg, #6A5010 0%, #B89830 25%, #E8C848 50%, #B89830 75%, #6A5010 100%) !important;
  color: #FFFFFF !important;
}

/* Kabbale — Argent sacré */
.infobox-sc-kabbale {
  background: linear-gradient(135deg, #3A3A4A 0%, #6A6A80 30%, #9898B0 50%, #6A6A80 70%, #3A3A4A 100%) !important;
  color: #F0F0F8 !important;

}

/* Alchimie — Rouge métallique */
.infobox-sc-alchimie {
  background: linear-gradient(135deg, #3A0A0A 0%, #6A1A1A 30%, #982828 50%, #6A1A1A 70%, #3A0A0A 100%) !important;
  color: #F8D8D8 !important;

}

/* Qiyas — Or classique */
.infobox-sc-qiyas {
  background: linear-gradient(135deg, #B8860B 0%, #DAA520 30%, #F0D060 50%, #DAA520 70%, #B8860B 100%) !important;
  color: #2A1F0A !important;

}

/* --- Selenim --- */

/* Nécromancie — Noir / violet sombre */
.infobox-sc-necromancie {
  background: linear-gradient(135deg, #1A1020 0%, #2A1840 30%, #402860 50%, #2A1840 70%, #1A1020 100%) !important;
  color: #D0C0E0 !important;

}

/* Kabbale noire — Noir / gris métallique */
.infobox-sc-kabbale-noire {
  background: linear-gradient(135deg, #0E0E0E 0%, #2A2A30 30%, #484850 50%, #2A2A30 70%, #0E0E0E 100%) !important;
  color: #C8C8D0 !important;

}

/* --- Ar-Kaïm --- */

/* Talents — Turquoise métallique */
.infobox-sc-talents {
  background: linear-gradient(135deg, #0A3038 0%, #186068 30%, #20888C 50%, #186068 70%, #0A3038 100%) !important;
  color: #D0F4F4 !important;

}

/* --- Bohémiens --- */

/* Mandalas — Mauve / gris argent */
.infobox-sc-mandalas {
  background: linear-gradient(135deg, #3A2848 0%, #6A5080 30%, #8878A0 50%, #6A5080 70%, #3A2848 100%) !important;
  color: #E8E0F0 !important;

}

/* Dons — Mauve / doré */
.infobox-sc-dons {
  background: linear-gradient(135deg, #3A2040 0%, #6A4060 30%, #A07040 50%, #6A4060 70%, #3A2040 100%) !important;
  color: #F0E0D0 !important;

}

/* --- Sources : texte réduit --- */
.infobox-effetmagique .infobox_v2 th.infobox-src,
.infobox-effetmagique .infobox_v2 td.infobox-src {
    font-size: 11px !important;
    padding: 8px 12px !important;
}


/* ============================================
   Modèle {{Définition}} — Cadres de définition
   Style A+C : filet latéral + badge d'édition
   ============================================ */

/* Cadre de base */
.def-cadre {
    border-left: 4px solid #999;
    padding: .8em 1.2em;
    margin: .5em 0;
    background: #fafafa;
    border-radius: 0 3px 3px 0;
    overflow: hidden;
}

/* Badge d'édition */
.def-badge {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: .7em;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: .15em .55em;
    border-radius: 3px;
    color: #fff;
    margin-bottom: .5em;
    line-height: 1.4;
}

/* Texte de la définition */
.def-texte {
    font-size: .95em;
    line-height: 1.55;
}

/* Source */
.def-source {
    margin-top: .5em;
    font-size: .82em;
    color: #888;
    font-style: italic;
}

/* --- Nephilim Légende (5e) — Pourpre --- */
.def-nl {
    border-left-color: #574B6B;
}
.def-badge-nl {
    background-color: #7B6D92;
}

/* --- Nephilim Anniversaire (4e) — Bordeaux --- */
.def-n4 {
    border-left-color: #6B4548;
}
.def-badge-n4 {
    background-color: #8E6568;
}

/* --- Nephilim Révélation (3e) — Bleu nuit --- */
.def-nr {
    border-left-color: #4A5568;
}
.def-badge-nr {
    background-color: #6B7A8E;
}

/* --- Nephilim 2e édition — Olive --- */
.def-n2 {
    border-left-color: #727a68;
}
.def-badge-n2 {
    background-color: #8E9680;
}

/* --- Nephilim 1ère édition — Brun chaud --- */
.def-n1 {
    border-left-color: #6B5D4F;
}
.def-badge-n1 {
    background-color: #8E7E6E;
}

/* --- Contenu natif du wiki — Ambre/Parchemin --- */
.def-wiki {
    border-left-color: #A08050;
}
.def-badge-wiki {
    background-color: #B89860;
}

/* Micro-titre "Définition" */
.def-type-label {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: .55em;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: #aaa;
    margin-bottom: .25em;
}


/* ============================================
   INFOBOX SUPPLÉMENTS — Styles par édition
   À ajouter dans MediaWiki:Common.css
   ============================================ */

/* --- Structure commune --- */
table.infobox-supplement {
    float: right !important;
    width: 35% !important;
    min-width: 280px !important;
    margin: 0 0 1em 2em !important;
    border-collapse: collapse;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 5px rgba(0,0,0,0.1);
    font-family: 'EB Garamond', 'Georgia', serif;
    font-size: 0.92em;
}
.infobox-supplement-badge {
    font-family: 'Cinzel', serif;
    font-size: 0.65em;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    padding: 3px 8px;
    color: rgba(255,255,255,0.82) !important;
}

.infobox-supplement-title {
    font-family: 'Cinzel', serif;
    font-size: 1.05em;
    font-weight: 700;
    text-align: center;
    padding: 10px 12px;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* Force blanc sur titre même à travers les balises wiki bold/italic */
.infobox-supplement-title b,
.infobox-supplement-title i,
.infobox-supplement-title a {
    color: #fff !important;
}

.infobox-supplement-cover {
    text-align: center;
    padding: 12px;
}

.infobox-supplement-cover img {
    border-radius: 2px;
    border: 1px solid rgba(0,0,0,0.08);
}

.infobox-supplement-legend {
    text-align: center;
    font-style: italic;
    font-size: 0.82em;
    color: #888;
    padding: 0 12px 8px;
}

.infobox-supplement-sep {
    height: 1px;
    padding: 0;
    line-height: 0;
    font-size: 0;
}

.infobox-supplement-section {
    font-family: 'Cinzel', serif;
    font-size: 0.68em;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
    color: #fff !important;
}

.infobox-supplement-label {
    width: 38%;
    text-align: left;
    padding: 4px 10px;
    font-weight: 600;
    font-size: 16px;
    vertical-align: top;
    background: #fff;
    border-bottom: 1px solid #EDEDED;
}

.infobox-supplement-data {
    padding: 4px 10px;
    font-size: 16px;
    vertical-align: top;
    color: #444;
    background: #fff;
    border-bottom: 1px solid #EDEDED;
}

/* --- NL — 5e édition (Légende) — Pourpre --- */
.infobox-supplement-nl {
    border: 1px solid #C4BAD0;
}
.infobox-supplement-nl .infobox-supplement-badge {
    background: #483D5C;
}
.infobox-supplement-nl .infobox-supplement-title {
    background: linear-gradient(135deg, #574B6B, #7B6E91);
}
.infobox-supplement-nl .infobox-supplement-cover {
    background: #E3DEE8;
}
.infobox-supplement-nl .infobox-supplement-legend {
    background: #E3DEE8;
}
.infobox-supplement-nl .infobox-supplement-sep {
    background: #C4BAD0;
}
.infobox-supplement-nl .infobox-supplement-section {
    background: #7B6E91;
}
.infobox-supplement-nl .infobox-supplement-label {
    color: #574B6B;
}

/* --- N4 — 4e édition (Anniversaire) — Bordeaux --- */
.infobox-supplement-n4 {
    border: 1px solid #D0C0BD;
}
.infobox-supplement-n4 .infobox-supplement-badge {
    background: #5B3538;
}
.infobox-supplement-n4 .infobox-supplement-title {
    background: linear-gradient(135deg, #6B4548, #8B6568);
}
.infobox-supplement-n4 .infobox-supplement-cover {
    background: #E8DDD8;
}
.infobox-supplement-n4 .infobox-supplement-legend {
    background: #E8DDD8;
}
.infobox-supplement-n4 .infobox-supplement-sep {
    background: #D0C0BD;
}
.infobox-supplement-n4 .infobox-supplement-section {
    background: #8B6568;
}
.infobox-supplement-n4 .infobox-supplement-label {
    color: #6B4548;
}

/* --- NR — 3e édition (Révélation) — Bleu nuit --- */
.infobox-supplement-nr {
    border: 1px solid #C0C8D0;
}
.infobox-supplement-nr .infobox-supplement-badge {
    background: #3A4558;
}
.infobox-supplement-nr .infobox-supplement-title {
    background: linear-gradient(135deg, #4A5568, #6A7588);
}
.infobox-supplement-nr .infobox-supplement-cover {
    background: #DDE2E8;
}
.infobox-supplement-nr .infobox-supplement-legend {
    background: #DDE2E8;
}
.infobox-supplement-nr .infobox-supplement-sep {
    background: #C0C8D0;
}
.infobox-supplement-nr .infobox-supplement-section {
    background: #6A7588;
}
.infobox-supplement-nr .infobox-supplement-label {
    color: #4A5568;
}

/* --- N2 — 2e édition — Olive --- */
.infobox-supplement-n2 {
    border: 1px solid #C8C8C0;
}
.infobox-supplement-n2 .infobox-supplement-badge {
    background: #626A58;
}
.infobox-supplement-n2 .infobox-supplement-title {
    background: linear-gradient(135deg, #727a68, #8A9278);
}
.infobox-supplement-n2 .infobox-supplement-cover {
    background: #E8E4D8;
}
.infobox-supplement-n2 .infobox-supplement-legend {
    background: #E8E4D8;
}
.infobox-supplement-n2 .infobox-supplement-sep {
    background: #C8C8C0;
}
.infobox-supplement-n2 .infobox-supplement-section {
    background: #8A9278;
}
.infobox-supplement-n2 .infobox-supplement-label {
    color: #727a68;
}

/* --- N1 — 1ère édition — Brun chaud --- */
.infobox-supplement-n1 {
    border: 1px solid #D0C8B8;
}
.infobox-supplement-n1 .infobox-supplement-badge {
    background: #5B4D3F;
}
.infobox-supplement-n1 .infobox-supplement-title {
    background: linear-gradient(135deg, #6B5D4F, #8B7D6F);
}
.infobox-supplement-n1 .infobox-supplement-cover {
    background: #E8E0D3;
}
.infobox-supplement-n1 .infobox-supplement-legend {
    background: #E8E0D3;
}
.infobox-supplement-n1 .infobox-supplement-sep {
    background: #D0C8B8;
}
.infobox-supplement-n1 .infobox-supplement-section {
    background: #8B7D6F;
}
.infobox-supplement-n1 .infobox-supplement-label {
    color: #6B5D4F;
}

/* --- NUS — US édition — Gris neutre --- */
.infobox-supplement-nus {
    border: 1px solid #C8C8C8;
}
.infobox-supplement-nus .infobox-supplement-badge {
    background: #5B5B5B;
}
.infobox-supplement-nus .infobox-supplement-title {
    background: linear-gradient(135deg, #6B6B6B, #8B8B8B);
}
.infobox-supplement-nus .infobox-supplement-cover {
    background: #E8E8E8;
}
.infobox-supplement-nus .infobox-supplement-legend {
    background: #E8E8E8;
}
.infobox-supplement-nus .infobox-supplement-sep {
    background: #C8C8C8;
}
.infobox-supplement-nus .infobox-supplement-section {
    background: #8B8B8B;
}
.infobox-supplement-nus .infobox-supplement-label {
    color: #6B6B6B;
}

/* --- FAN — Fanzines — Bleu-vert --- */
.infobox-supplement-fan {
    border: 1px solid #B8D0C8;
}
.infobox-supplement-fan .infobox-supplement-badge {
    background: #2D5B5B;
}
.infobox-supplement-fan .infobox-supplement-title {
    background: linear-gradient(135deg, #3D6B6B, #5D8B8B);
}
.infobox-supplement-fan .infobox-supplement-cover {
    background: #D8E8E4;
}
.infobox-supplement-fan .infobox-supplement-legend {
    background: #D8E8E4;
}
.infobox-supplement-fan .infobox-supplement-sep {
    background: #B8D0C8;
}
.infobox-supplement-fan .infobox-supplement-section {
    background: #5D8B8B;
}
.infobox-supplement-fan .infobox-supplement-label {
    color: #3D6B6B;
}

/* ============================================================
   ÉTAPE 1 — CORPS DE TEXTE DES ARTICLES
   À AJOUTER à la fin de MediaWiki:Common.css (ne rien modifier)
   
   Police : Source Sans 3 (Google Fonts)
   Prérequis : ajouter à la ligne @import existante (voir ci-dessous)
   ============================================================ */

/* --- Corps de texte général --- */
.mw-body-content {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.72;
  color: #2A2520;
}
.mw-body-content p {
  margin-bottom: 0.85em;
}
.mw-body-content b,
.mw-body-content strong {
  font-weight: 600;
  color: #1E1A16;
}
.mw-body-content th b,
.mw-body-content th strong {
  color: inherit;
}
.mw-body-content i,
.mw-body-content em {
  font-style: italic;
}


/* ============================================================
   STYLE DES ARTICLES STANDARDS
   À AJOUTER à la fin de MediaWiki:Common.css (ne rien modifier)
   
   Police : Source Sans 3 (Google Fonts)
   Prérequis : @import Source Sans 3 ajouté en haut du fichier
   
   NOTE : les titres H1 à H5 ne sont PAS modifiés ici.
   NOTE : la page d'accueil est exclue via body:not(.page-Accueil)
   ============================================================ */


/* ===========================================================
   A1. TYPOGRAPHIE GÉNÉRALE DU CORPS D'ARTICLE
   =========================================================== */

body:not(.page-Accueil) .mw-body-content {
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: #2A2520;
}

body:not(.page-Accueil) .mw-body-content p {
  margin-bottom: 0.85em;
}

body:not(.page-Accueil) .mw-body-content b,
body:not(.page-Accueil) .mw-body-content strong {
  font-weight: 600;
  color: #1E1A16;
}
body:not(.page-Accueil) .mw-body-content th b,
body:not(.page-Accueil) .mw-body-content th strong {
  color: inherit;
}

body:not(.page-Accueil) .mw-body-content i,
body:not(.page-Accueil) .mw-body-content em {
  font-style: italic;
}


/* ===========================================================
   A2. LIENS
   =========================================================== */

/* Liens internes (articles existants) */
body:not(.page-Accueil) .mw-body-content a:not(.new):not(.external):not(.mw-editsection a) {
  color: #574B6B;
  text-decoration: none;
  border-bottom: 1px solid rgba(87, 75, 107, 0.25);
  transition: color 0.2s, border-bottom-color 0.2s;
}
body:not(.page-Accueil) .mw-body-content a:not(.new):not(.external):not(.mw-editsection a):hover {
  color: #2D1B4E;
  border-bottom-color: #C49A2A;
}
body:not(.page-Accueil) .mw-body-content a:not(.new):not(.external):not(.mw-editsection a):visited {
  color: #6B5A80;
}

/* Liens rouges (articles inexistants) */
body:not(.page-Accueil) .mw-body-content a.new {
  color: #a04030;
  border-bottom: 1px dashed rgba(160, 64, 48, 0.3);
}
body:not(.page-Accueil) .mw-body-content a.new:hover {
  color: #c05040;
  border-bottom-color: #c05040;
}

/* Liens externes */
body:not(.page-Accueil) .mw-body-content a.external {
  color: #4A6B5B;
  text-decoration: none;
  border-bottom: 1px dotted rgba(74, 107, 91, 0.4);
}
body:not(.page-Accueil) .mw-body-content a.external:hover {
  color: #2D4E3B;
  border-bottom-color: #2D4E3B;
}


/* ===========================================================
   A3. TABLE DES MATIÈRES (TOC)
   =========================================================== */

body:not(.page-Accueil) .toc {
  background: linear-gradient(135deg, #F5F2F8 0%, #EDE8F2 100%);
  border: 1px solid #D0C4DC;
  border-radius: 8px;
  padding: 1em 1.4em;
  margin: 0.8em 0 1.5em 0;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.9em;
  line-height: 1.5;
  width: auto;
  display: table;
  box-shadow: 0 1px 4px rgba(87, 75, 107, 0.08);
}

body:not(.page-Accueil) .toc .toctitle,
body:not(.page-Accueil) .toc #toctitle {
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  font-size: 1.05em;
  color: #574B6B;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 0.5em;
  padding-bottom: 0.4em;
  border-bottom: 1px solid rgba(196, 154, 42, 0.35);
}

body:not(.page-Accueil) .toc .toctoggle,
body:not(.page-Accueil) .toc .togglelink,
body:not(.page-Accueil) .toc .toctogglelabel {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85em;
  color: #7A6D8E;
}

body:not(.page-Accueil) .toc .tocnumber {
  color: #C49A2A;
  font-weight: 600;
  margin-right: 0.3em;
}

body:not(.page-Accueil) .toc a {
  color: #574B6B !important;
  text-decoration: none !important;
  border-bottom: none !important;
}
body:not(.page-Accueil) .toc a:hover {
  color: #2D1B4E !important;
  text-decoration: underline !important;
}

body:not(.page-Accueil) .toc ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
body:not(.page-Accueil) .toc ul ul {
  padding-left: 1.3em;
}
body:not(.page-Accueil) .toc li {
  margin: 0.15em 0;
}


/* ===========================================================
   A4. LISTES À PUCES ET NUMÉROTÉES
   =========================================================== */

body:not(.page-Accueil) .mw-body-content ul:not(.toc ul) {
  list-style: none;
  padding-left: 1.6em;
  margin: 0.5em 0 1em 0;
}

body:not(.page-Accueil) .mw-body-content ul:not(.toc ul) > li {
  position: relative;
  padding-left: 0.2em;
  margin-bottom: 0.35em;
}

body:not(.page-Accueil) .mw-body-content ul:not(.toc ul):not(.nph-ephem-list) > li::before {
  content: '\25C6';
  position: absolute;
  left: -1.4em;
  color: #C49A2A;
  font-size: 0.55em;
  top: 0.5em;
}

body:not(.page-Accueil) .mw-body-content ul:not(.toc ul):not(.nph-ephem-list) ul > li::before {
  content: '\25C7';
  color: #8A7FA0;
}

body:not(.page-Accueil) .mw-body-content ol {
  padding-left: 2em;
  margin: 0.5em 0 1em 0;
}
body:not(.page-Accueil) .mw-body-content ol > li {
  margin-bottom: 0.35em;
  padding-left: 0.3em;
}
body:not(.page-Accueil) .mw-body-content ol > li::marker {
  color: #C49A2A;
  font-weight: 600;
}


/* ===========================================================
   A5. BLOCS DE CITATION
   =========================================================== */

body:not(.page-Accueil) .mw-body-content blockquote {
  margin: 1.2em 0;
  padding: 1em 1.4em;
  background: linear-gradient(135deg, #F8F5FB 0%, #F2EEF6 100%);
  border-left: 4px solid #C49A2A;
  border-radius: 0 6px 6px 0;
  font-style: italic;
  color: #3A3530;
  font-size: 1.02em;
  line-height: 1.55;
  position: relative;
}
body:not(.page-Accueil) .mw-body-content blockquote::before {
  content: '\275D';
  position: absolute;
  top: -8px;
  left: 10px;
  font-size: 2.5em;
  color: rgba(196, 154, 42, 0.2);
  font-style: normal;
  line-height: 1;
}


/* ===========================================================
   A6. SÉPARATEUR HORIZONTAL
   =========================================================== */

body:not(.page-Accueil) .mw-body-content hr {
  border: none;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, #C49A2A 20%, #574B6B 50%, #C49A2A 80%, transparent 100%);
  margin: 2em 0;
  opacity: 0.5;
}


/* ===========================================================
   A7. CATÉGORIES EN BAS DE PAGE
   =========================================================== */

body:not(.page-Accueil) .catlinks {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85em;
  background: #F5F2F8;
  border: 1px solid #D0C4DC;
  border-radius: 6px;
  padding: 0.6em 1em;
  margin-top: 2em;
  color: #574B6B;
}
body:not(.page-Accueil) .catlinks a {
  color: #574B6B !important;
}
body:not(.page-Accueil) .catlinks a:hover {
  color: #2D1B4E !important;
}


/* ===========================================================
   A8. IMAGES / THUMBNAILS
   =========================================================== */

body:not(.page-Accueil) .mw-body-content .thumb {
  border: 1px solid #D0C4DC;
  border-radius: 6px;
  overflow: hidden;
  background: #F8F5FB;
}
body:not(.page-Accueil) .mw-body-content .thumbcaption {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.85em;
  color: #6B5A80;
  padding: 0.4em 0.6em;
  line-height: 1.4;
  font-style: italic;
}


/* ===========================================================
   A9. PREMIER PARAGRAPHE (intro)
   =========================================================== */

body:not(.page-Accueil) .mw-body-content > p:first-of-type {
  font-size: 1.05em;
  line-height: 1.6;
}


/* ===========================================================
   A10. IMPRESSION
   =========================================================== */

@media print {
  body:not(.page-Accueil) .mw-body-content {
    font-size: 11pt;
    color: #000;
  }
  body:not(.page-Accueil) .toc {
    border: 1px solid #ccc;
    background: #f5f5f5;
    box-shadow: none;
  }
}

/* ============================================================
   ÉTAPE 2 — TITRES H2 à H5 DES ARTICLES
   
   STYLE DES TITRES H2 À H5
   À AJOUTER à la fin de MediaWiki:Common.css
   (après le bloc "Style des articles standards")
   
   H2 : Cinzel (majuscules naturelles) + dégradé pourpre→doré
   H3/H4/H5 : Lora (casse mixte)
   
   NOTE : le titre H1 de l'article n'est PAS modifié.
   NOTE : la page d'accueil est exclue.
   ============================================================ */

/* --- H2 : Sections principales (== Titre ==) --- */
body:not(.page-Accueil) .mw-body-content h2 {
  font-family: 'Cinzel', 'Georgia', serif;
  font-weight: 600;
  font-size: 1.45em;
  color: #574B6B;
  letter-spacing: 0.03em;
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  padding-bottom: 0.3em;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #574B6B 0%, #C49A2A 40%, transparent 100%) 1;
  line-height: 1.3;
}

/* --- H3 : Sous-sections (=== Titre ===) --- */
body:not(.page-Accueil) .mw-body-content h3 {
  font-family: 'Lora', 'Georgia', serif;
  font-weight: 700;
  font-size: 1.15em;
  color: #6B5A80;
  letter-spacing: 0.02em;
  margin-top: 1.2em;
  margin-bottom: 0.4em;
  padding-bottom: 0.2em;
  border-bottom: 1px solid transparent;
  border-image: linear-gradient(90deg, #D0C4DC 0%, transparent 70%) 1;
  line-height: 1.3;
}

/* --- H4 : Sous-sous-sections (==== Titre ====) --- */
body:not(.page-Accueil) .mw-body-content h4 {
  font-family: 'Lora', 'Georgia', serif;
  font-weight: 600;
  font-size: 1.02em;
  color: #7A6D8E;
  margin-top: 1em;
  margin-bottom: 0.35em;
  padding-left: 0.6em;
  border-left: 3px solid #C49A2A;
  border-bottom: none;
  line-height: 1.3;
}

/* --- H5 : Niveau rare (===== Titre =====) --- */
body:not(.page-Accueil) .mw-body-content h5 {
  font-family: 'Lora', 'Georgia', serif;
  font-weight: 500;
  font-size: 0.92em;
  color: #8A7FA0;
  margin-top: 0.9em;
  margin-bottom: 0.3em;
  border-bottom: none;
  line-height: 1.3;
}

/* --- Lien [modifier] : discret --- */
body:not(.page-Accueil) .mw-body-content .mw-editsection {
  font-family: 'Source Sans 3', sans-serif;
  font-size: 0.55em;
  font-weight: 400;
  letter-spacing: 0;
  vertical-align: baseline;
}

body:not(.page-Accueil) .mw-body-content .mw-editsection a {
  color: #574B6B;
  border-bottom: none;
}
body:not(.page-Accueil) .mw-body-content .mw-editsection a:hover {
  color: #2D1B4E;
  border-bottom: none;
}

/* ============================================================
   ÉTAPE 3 : TITRE H1
   STYLE DU TITRE H1 (titre de l'article)
   À AJOUTER à la fin de MediaWiki:Common.css
   (après le bloc "Style des titres H2 à H5")
   
   H1 : Lora semi-bold (casse mixte), sans filet
   (le filet doré est sur .vector-page-toolbar-container)
   
   NOTE : la page d'accueil est exclue.
   ============================================================ */

body:not(.page-Accueil) #firstHeading,
body:not(.page-Accueil) .mw-first-heading {
  font-family: 'Lora', 'Georgia', serif;
  font-weight: 600;
  font-size: 1.7em;
  color: #2D1B4E;
  letter-spacing: 0.01em;
  line-height: 1.25;
  padding-bottom: 0.3em;
  border-bottom: none;
}


/* ============================================================
   STYLE DES ONGLETS D'ACTION (Vector 2022)
   À AJOUTER à la fin de MediaWiki:Common.css
   
   Ligne haute (sous le titre) : filet doré 3px
   Ligne basse (sous les onglets) : mauve pâle 1px
   Onglets : Source Sans 3, palette pourpre/doré
   
   NOTE : la page d'accueil est exclue.
   ============================================================ */

body:not(.page-Accueil) .vector-page-toolbar-container {
  border-top: 3px solid #C49A2A !important;
  border-bottom: 1px solid #D0C4DC !important;
  box-shadow: none !important;
}

/* --- Onglets : police et couleur --- */
body:not(.page-Accueil) .vector-page-toolbar-container .vector-tab-noicon a,
body:not(.page-Accueil) .vector-page-toolbar-container .mw-list-item a {
  font-family: 'Source Sans 3', sans-serif;
  color: #574B6B;
}

/* --- Onglet actif --- */
body:not(.page-Accueil) .vector-page-toolbar-container .vector-tab-noicon.selected a,
body:not(.page-Accueil) .vector-page-toolbar-container .mw-list-item.selected a {
  color: #2D1B4E;
  font-weight: 600;
}

/* --- Onglet au survol --- */
body:not(.page-Accueil) .vector-page-toolbar-container .vector-tab-noicon a:hover,
body:not(.page-Accueil) .vector-page-toolbar-container .mw-list-item a:hover {
  color: #2D1B4E;
}

/* --- Onglet lien rouge (Discussion inexistante) --- */
body:not(.page-Accueil) .vector-page-toolbar-container .vector-tab-noicon.new a,
body:not(.page-Accueil) .vector-page-toolbar-container .mw-list-item.new a {
  color: #a04030;
}
body:not(.page-Accueil) .vector-page-toolbar-container .vector-tab-noicon.new a:hover,
body:not(.page-Accueil) .vector-page-toolbar-container .mw-list-item.new a:hover {
  color: #c05040;
}

body:not(.page-Accueil) .vector-page-titlebar {
  box-shadow: none !important;
}

/* ============================================ */
/* Surcharge pour infobox Effetmagique           */
/* Force le blanc directement sur le <b> du titre*/
/* ============================================ */
body:not(.page-Accueil) .mw-body-content td[class*="infobox-sc-"],
body:not(.page-Accueil) .mw-body-content td[class*="infobox-sc-"] b,
body:not(.page-Accueil) .mw-body-content td[class*="infobox-sc-"] strong,
body:not(.page-Accueil) .mw-body-content td[class*="infobox-sc-"] span,
body:not(.page-Accueil) .mw-body-content td[class*="infobox-sc-"] a:not(.new):not(.external):not(.mw-editsection a),
body:not(.page-Accueil) .mw-body-content td[class*="infobox-sc-"] a:not(.new):not(.external):not(.mw-editsection a):visited,
body:not(.page-Accueil) .mw-body-content td[class*="infobox-sc-"] a:not(.new):not(.external):not(.mw-editsection a):hover {
  color: #FFFFFF !important;
  border-bottom: none !important;
  text-decoration: none !important;
}

/* =============================================
   Modèle:ContexteScenario — Style C (Ruban + Médaillon)
   À ajouter dans MediaWiki:Common.css
   ============================================= */

/* --- Conteneur principal --- */
.mw-body-content .contexte-scenario {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    font-family: 'Source Sans 3', 'Source Sans Pro', sans-serif;
    margin-bottom: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    max-width: 48%;
    float: left;
}
/* --- Ruban vertical gauche --- */
.mw-body-content .contexte-scenario .contexte-scenario-ruban {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
}

/* --- Corps (padding pour le ruban) --- */
.mw-body-content .contexte-scenario .contexte-scenario-corps {
    padding: 10px 12px 10px 16px;
}

/* --- En-tête : label édition + médaillon --- */
.mw-body-content .contexte-scenario .contexte-scenario-entete {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

/* --- Label édition (petites capitales) --- */
.mw-body-content .contexte-scenario .contexte-scenario-edition {
    font-family: 'Cinzel', serif;
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding-top: 2px;
    line-height: 1.3;
}

/* --- Médaillon circulaire (couverture) --- */
.mw-body-content .contexte-scenario .contexte-scenario-medaillon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mw-body-content .contexte-scenario .contexte-scenario-medaillon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Texte principal --- */
.mw-body-content .contexte-scenario .contexte-scenario-texte {
    font-size: 0.88em;
    line-height: 1.6;
    color: #444;
}

/* =============================================
   Palettes par édition
   ============================================= */

/* NL — 5e édition (Légende) : pourpre */
.mw-body-content .contexte-scenario-NL {
    background-color: #E3DEE8;
    border: 1px solid rgba(87,75,107,0.15);
}
.mw-body-content .contexte-scenario-NL .contexte-scenario-ruban {
    background: linear-gradient(180deg, #574B6B, rgba(87,75,107,0.7));
}
.mw-body-content .contexte-scenario-NL .contexte-scenario-edition {
    color: #574B6B;
}
.mw-body-content .contexte-scenario-NL .contexte-scenario-medaillon {
    box-shadow: 0 1px 3px rgba(87,75,107,0.3);
    border: 2px solid rgba(87,75,107,0.4);
}
.mw-body-content .contexte-scenario-NL .contexte-scenario-texte a {
    color: #574B6B !important;
    font-weight: 600;
}

/* N4 — 4e édition (Anniversaire) : bordeaux */
.mw-body-content .contexte-scenario-N4 {
    background-color: #E8DDD8;
    border: 1px solid rgba(107,69,72,0.15);
}
.mw-body-content .contexte-scenario-N4 .contexte-scenario-ruban {
    background: linear-gradient(180deg, #6B4548, rgba(107,69,72,0.7));
}
.mw-body-content .contexte-scenario-N4 .contexte-scenario-edition {
    color: #6B4548;
}
.mw-body-content .contexte-scenario-N4 .contexte-scenario-medaillon {
    box-shadow: 0 1px 3px rgba(107,69,72,0.3);
    border: 2px solid rgba(107,69,72,0.4);
}
.mw-body-content .contexte-scenario-N4 .contexte-scenario-texte a {
    color: #6B4548 !important;
    font-weight: 600;
}

/* NR — 3e édition (Révélation) : bleu nuit */
.mw-body-content .contexte-scenario-NR {
    background-color: #DDE2E8;
    border: 1px solid rgba(74,85,104,0.15);
}
.mw-body-content .contexte-scenario-NR .contexte-scenario-ruban {
    background: linear-gradient(180deg, #4A5568, rgba(74,85,104,0.7));
}
.mw-body-content .contexte-scenario-NR .contexte-scenario-edition {
    color: #4A5568;
}
.mw-body-content .contexte-scenario-NR .contexte-scenario-medaillon {
    box-shadow: 0 1px 3px rgba(74,85,104,0.3);
    border: 2px solid rgba(74,85,104,0.4);
}
.mw-body-content .contexte-scenario-NR .contexte-scenario-texte a {
    color: #4A5568 !important;
    font-weight: 600;
}

/* N2 — 2e édition : olive */
.mw-body-content .contexte-scenario-N2 {
    background-color: #E8E4D8;
    border: 1px solid rgba(114,122,104,0.15);
}
.mw-body-content .contexte-scenario-N2 .contexte-scenario-ruban {
    background: linear-gradient(180deg, #727a68, rgba(114,122,104,0.7));
}
.mw-body-content .contexte-scenario-N2 .contexte-scenario-edition {
    color: #727a68;
}
.mw-body-content .contexte-scenario-N2 .contexte-scenario-medaillon {
    box-shadow: 0 1px 3px rgba(114,122,104,0.3);
    border: 2px solid rgba(114,122,104,0.4);
}
.mw-body-content .contexte-scenario-N2 .contexte-scenario-texte a {
    color: #727a68 !important;
    font-weight: 600;
}

/* N1 — 1e édition : brun chaud */
.mw-body-content .contexte-scenario-N1 {
    background-color: #E8E0D3;
    border: 1px solid rgba(107,93,79,0.15);
}
.mw-body-content .contexte-scenario-N1 .contexte-scenario-ruban {
    background: linear-gradient(180deg, #6B5D4F, rgba(107,93,79,0.7));
}
.mw-body-content .contexte-scenario-N1 .contexte-scenario-edition {
    color: #6B5D4F;
}
.mw-body-content .contexte-scenario-N1 .contexte-scenario-medaillon {
    box-shadow: 0 1px 3px rgba(107,93,79,0.3);
    border: 2px solid rgba(107,93,79,0.4);
}
.mw-body-content .contexte-scenario-N1 .contexte-scenario-texte a {
    color: #6B5D4F !important;
    font-weight: 600;
}

/* NUS — US édition : gris neutre */
.mw-body-content .contexte-scenario-NUS {
    background-color: #E8E8E8;
    border: 1px solid rgba(107,107,107,0.15);
}
.mw-body-content .contexte-scenario-NUS .contexte-scenario-ruban {
    background: linear-gradient(180deg, #6B6B6B, rgba(107,107,107,0.7));
}
.mw-body-content .contexte-scenario-NUS .contexte-scenario-edition {
    color: #6B6B6B;
}
.mw-body-content .contexte-scenario-NUS .contexte-scenario-medaillon {
    box-shadow: 0 1px 3px rgba(107,107,107,0.3);
    border: 2px solid rgba(107,107,107,0.4);
}
.mw-body-content .contexte-scenario-NUS .contexte-scenario-texte a {
    color: #6B6B6B !important;
    font-weight: 600;
}

/* FAN — Fanzine : bleu-vert */
.mw-body-content .contexte-scenario-FAN {
    background-color: #D8E8E4;
    border: 1px solid rgba(61,107,107,0.15);
}
.mw-body-content .contexte-scenario-FAN .contexte-scenario-ruban {
    background: linear-gradient(180deg, #3D6B6B, rgba(61,107,107,0.7));
}
.mw-body-content .contexte-scenario-FAN .contexte-scenario-edition {
    color: #3D6B6B;
}
.mw-body-content .contexte-scenario-FAN .contexte-scenario-medaillon {
    box-shadow: 0 1px 3px rgba(61,107,107,0.3);
    border: 2px solid rgba(61,107,107,0.4);
}
.mw-body-content .contexte-scenario-FAN .contexte-scenario-texte a {
    color: #3D6B6B !important;
    font-weight: 600;
}

/* ============================================ */
/* Nom du Wiki et nom de l'utilisateur          */
/* 
/* ============================================ */

/* --- Nom du wiki en haut à gauche --- */
.mw-logo-wordmark {
  color: #2D1B4E !important;
}

/* --- Nom d'utilisateur en haut à droite --- */
#pt-userpage-2 a {
  color: #574B6B !important;
}
#pt-userpage-2 a:hover {
  color: #2D1B4E !important;
}

/* Fix : compteur d'articles doré sur l'accueil */
.nph-hero-stats b,
.nph-hero-stats strong {
  color: #E8D5A3 !important;
}

/* ============================================================
   INFOBOX ARCANE MAJEUR
   À ajouter dans MediaWiki:Common.css
   ============================================================ */

/* --- Conteneur principal --- */
.infobox-arcane-majeur {
    float: right;
    width: 320px;
    margin: 0 0 12px 16px;
    background: #ffffff;
    border: 1px solid #e2e5ea;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 8px 24px rgba(0,0,0,0.04);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #1e293b;
}

/* Reset des marges parasites insérées par MediaWiki */
.infobox-arcane-majeur p {
    margin: 0;
    padding: 0;
}

/* --- En-tête --- */
.infobox-arcane-majeur .iam-header {
    background: linear-gradient(135deg, #2e3558 0%, #4a4280 60%, #5548a0 100%);
    padding: 20px 20px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
}

.infobox-arcane-majeur .iam-header-glow {
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(100,90,200,0.2) 0%, transparent 70%);
    pointer-events: none;
}

.infobox-arcane-majeur .iam-header-badge {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    flex-shrink: 0;
    background: rgba(130,120,220,0.15);
    border: 1.5px solid rgba(150,140,230,0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: rgba(200,195,245,0.75);
    letter-spacing: 1px;
}

.infobox-arcane-majeur .iam-header-surtitre {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 4px;
}

.infobox-arcane-majeur .iam-header-nom {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

/* --- Image --- */
.infobox-arcane-majeur .iam-image {
    margin: 16px;
    text-align: center;
    background: #f4f5f7;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.infobox-arcane-majeur .iam-image img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.infobox-arcane-majeur .iam-image-legende {
    padding: 8px 12px;
    font-size: 11px;
    color: #6b7280;
    text-align: center;
    background: linear-gradient(transparent, rgba(244,245,247,0.95));
}

/* --- Champs clé/valeur --- */
.infobox-arcane-majeur .iam-fields {
    padding: 0 20px 12px;
}

.infobox-arcane-majeur .iam-row {
    padding: 4px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
}

.infobox-arcane-majeur .iam-row,
.infobox-arcane-majeur .iam-row p {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline;
    gap: 10px;
}

.infobox-arcane-majeur .iam-row p {
    margin: 0;
    padding: 0;
    width: 100%;
}

.infobox-arcane-majeur .iam-label {
    color: #64748b;
    font-weight: 400;
    flex: 0 0 auto;
}

.infobox-arcane-majeur .iam-value {
    color: #1e293b;
    text-align: right !important;
    flex: 1 1 auto;
}

/* Masquer les <br /> dans les valeurs (ex: arkana) */
.infobox-arcane-majeur .iam-value br {
    display: none;
}

/* Liens dans les valeurs */
.infobox-arcane-majeur .iam-value a {
    color: #1e293b;
}

.infobox-arcane-majeur .iam-value a:hover {
    color: #6366f1;
}

/* --- Stellaire --- */
.infobox-arcane-majeur .iam-stellaire {
    padding: 8px 20px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
}

.infobox-arcane-majeur .iam-stellaire .iam-label {
    font-size: 13px;
    color: #64748b;
    font-weight: 400;
}

.infobox-arcane-majeur .iam-stellaire-img {
    width: 48px;
    height: 48px;
    background: #f4f5f7;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.infobox-arcane-majeur .iam-stellaire-img img {
    max-width: 100%;
    max-height: 100%;
}

/* --- Relations --- */
.infobox-arcane-majeur .iam-relations {
    padding: 14px 20px 18px;
    border-top: 2px solid #f0f1f3;
}

.infobox-arcane-majeur .iam-relations-titre {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #94a3b8;
    margin-bottom: 12px;
}

.infobox-arcane-majeur .iam-rel-group {
    margin-bottom: 12px;
}

.infobox-arcane-majeur .iam-rel-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}

.infobox-arcane-majeur .iam-rel-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.infobox-arcane-majeur .iam-rel-label {
    font-size: 11px;
    font-weight: 600;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.infobox-arcane-majeur .iam-rel-tags {
    padding-left: 14px;
    font-size: 12px;
    line-height: 2;
    color: #374151;
}

/* Masquer les <br /> pour que les arcanes s'affichent en ligne */
.infobox-arcane-majeur .iam-rel-tags br {
    display: none;
}

/* Les liens dans les tags de relations */
.infobox-arcane-majeur .iam-rel-tags a {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    line-height: 1.6;
    text-decoration: none;
    margin: 0 3px 3px 0;
}

/* Conjonction — violet magique */
.infobox-arcane-majeur .iam-rel-conjonction .iam-rel-dot {
    background: #7B2D8E;
}
.infobox-arcane-majeur .iam-rel-conjonction .iam-rel-tags a {
    background: rgba(123, 45, 142, 0.07);
    border: 1px solid rgba(123, 45, 142, 0.18);
    color: #374151;
}
.infobox-arcane-majeur .iam-rel-conjonction .iam-rel-tags a:hover {
    background: rgba(123, 45, 142, 0.15);
    color: #7B2D8E;
}

/* Accord — vert */
.infobox-arcane-majeur .iam-rel-accord .iam-rel-dot {
    background: #22c55e;
}
.infobox-arcane-majeur .iam-rel-accord .iam-rel-tags a {
    background: rgba(34, 197, 94, 0.07);
    border: 1px solid rgba(34, 197, 94, 0.18);
    color: #374151;
}
.infobox-arcane-majeur .iam-rel-accord .iam-rel-tags a:hover {
    background: rgba(34, 197, 94, 0.15);
    color: #16a34a;
}

/* Neutre — gris ardoise */
.infobox-arcane-majeur .iam-rel-neutre .iam-rel-dot {
    background: #94a3b8;
}
.infobox-arcane-majeur .iam-rel-neutre .iam-rel-tags a {
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #374151;
}
.infobox-arcane-majeur .iam-rel-neutre .iam-rel-tags a:hover {
    background: rgba(148, 163, 184, 0.2);
    color: #475569;
}

/* Désaccord — ambre */
.infobox-arcane-majeur .iam-rel-desaccord .iam-rel-dot {
    background: #f59e0b;
}
.infobox-arcane-majeur .iam-rel-desaccord .iam-rel-tags a {
    background: rgba(245, 158, 11, 0.07);
    border: 1px solid rgba(245, 158, 11, 0.18);
    color: #374151;
}
.infobox-arcane-majeur .iam-rel-desaccord .iam-rel-tags a:hover {
    background: rgba(245, 158, 11, 0.15);
    color: #d97706;
}

/* Opposé — rouge */
.infobox-arcane-majeur .iam-rel-oppose .iam-rel-dot {
    background: #ef4444;
}
.infobox-arcane-majeur .iam-rel-oppose .iam-rel-tags a {
    background: rgba(239, 68, 68, 0.07);
    border: 1px solid rgba(239, 68, 68, 0.18);
    color: #374151;
}
.infobox-arcane-majeur .iam-rel-oppose .iam-rel-tags a:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #dc2626;
}

/* --- Responsive : écrans étroits --- */
@media (max-width: 720px) {
    .infobox-arcane-majeur {
        float: none;
        width: 100%;
        max-width: 360px;
        margin: 0 auto 16px;
    }
}

/* ══════════════════════════════════════════════════════
   Arbre de Vie — Modèle:ArbreDeVie — V3
   REMPLACE intégralement le CSS ArbreDeVie précédent
   dans MediaWiki:Common.css
   ══════════════════════════════════════════════════════ */

/* Container */
.arbre-de-vie {
  position: relative;
  margin: 0 auto;
  font-family: sans-serif;
  border: 1.5px solid var(--adv-border-color);
  border-top: none;
  border-radius: 0 0 8px 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Colored overlay on top of background image */
.arbre-de-vie::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: 0 0 8px 8px;
  background: var(--adv-overlay);
  z-index: 0;
  pointer-events: none;
}

/* Background images per world
   IMPORTANT: Ajuster les URLs ci-dessous après upload sur le wiki.
   Pour trouver l'URL exacte : uploader l'image, aller sur la page 
   Fichier:Fond-AdV-Sohar.png et copier l'URL directe de l'image.
   Exemple PlanetHoster: /images/X/XX/Fond-AdV-Sohar.png */
.arbre-de-vie.adv-sohar    { background-image: url('/index.php/Special:Redirect/file/Fond-AdV-Sohar.png'); }
.arbre-de-vie.adv-zakai    { background-image: url('/index.php/Special:Redirect/file/Fond-AdV-Zakai.png'); }
.arbre-de-vie.adv-meborack { background-image: url('/index.php/Special:Redirect/file/Fond-AdV-Meborack.png'); }
.arbre-de-vie.adv-pachad   { background-image: url('/index.php/Special:Redirect/file/Fond-AdV-Pachad.png'); }
.arbre-de-vie.adv-aresh    { background-image: url('/index.php/Special:Redirect/file/Fond-AdV-Aresh.png'); }

/* Title h2 generated by template — kill default margins */
.mw-body-content h2 + .arbre-de-vie {
  margin-top: 0 !important;
}

.mw-parser-output > h2:has(+ .arbre-de-vie) {
  margin: 5px 0 0 0 !important;
  padding-bottom: 2px !important;
}

/* Direct class on the h2 */
.mw-body-content h2.adv-titre {
  margin: 0 0 0 0 !important;
  padding: 0 0 2px 0 !important;
  border-bottom: none !important;
  text-align: center !important;
}

/* Subtitle */
.arbre-de-vie .adv-subtitle {
  font-size: 0.85rem;
  color: var(--adv-text-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
}

/* Sentier (path line between sephiroth) */
.adv-sentier {
  position: absolute;
  height: 0px;
  border-top: 2px solid var(--adv-path-color);
  transform-origin: 0 0;
  z-index: 1;
  pointer-events: none;
}

/* ── Sephirah group ── */
.adv-sephirah-group {
  position: absolute;
  z-index: 1;
}

.adv-sephirah-group:hover {
  z-index: 20;
}

/* ── Sephirah circle ── */
.adv-sephirah {
  position: absolute;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2.2px solid var(--adv-seph-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.25s ease;
  z-index: 10;
}

.adv-sephirah::after {
  content: '';
  position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  border-radius: 50%;
  border: 0.6px solid var(--adv-accent-border);
  opacity: 0.5;
  pointer-events: none;
}

.adv-sephirah-group:hover .adv-sephirah {
  border-width: 2.8px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.12);
}

.adv-sephirah .adv-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--adv-accent);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.adv-sephirah .adv-name-sm {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--adv-accent);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

/* ── Satellite (contrée) ── */
.adv-satellite {
  position: absolute;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1.2px solid var(--adv-sat-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 1px 5px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
  z-index: 2;
  padding: 6px;
  text-align: center;
  overflow: hidden;
}

/* Level 1: group hover — structural highlight */
.adv-sephirah-group:hover .adv-satellite {
  border-color: var(--adv-sat-hover-border);
  border-width: 1.8px;
  box-shadow: 0 3px 14px rgba(0,0,0,0.12);
}

/* Level 2: individual satellite hover — content highlight */
.adv-satellite:hover {
  background: var(--adv-sat-hover-bg) !important;
  border-color: var(--adv-sat-hover-border) !important;
  border-width: 1.8px !important;
  box-shadow: 0 3px 14px rgba(0,0,0,0.12) !important;
}

.adv-satellite:hover .adv-sat-link {
  color: var(--adv-accent) !important;
}

/* Satellite link — covers entire circle */
.adv-sat-link {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11.5px !important;
  font-weight: 400;
  color: #2A2520;
  line-height: 1.05 !important;
  text-decoration: none;
  padding: 6px;
  box-sizing: border-box;
  border-radius: 50%;
  transition: color 0.2s ease;
}

.adv-satellite a {
  color: inherit;
  text-decoration: none;
  display: contents;
}

/* MediaWiki wraps wiki links in <p> tags — override their inherited styles */
.adv-satellite p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.05 !important;
  font-size: 11.5px !important;
  position: static;
  display: contents;
}

.mw-body-content .adv-sat-link,
.mw-body-content .adv-satellite p,
.mw-body-content .adv-satellite p a,
.mw-body-content .adv-satellite a {
  font-size: 11.5px !important;
  line-height: 1.05 !important;
  text-decoration: none;
}

/* ── Connector lines ── */
.adv-connector {
  position: absolute;
  background: var(--adv-connector-color);
  height: 1px;
  transform-origin: 0 0;
  z-index: 0;
  pointer-events: none;
}

.adv-sephirah-group:hover .adv-connector {
  background: var(--adv-sat-hover-border);
  height: 1.5px;
}

/* ── Color themes ── */
.arbre-de-vie.adv-sohar {
  --adv-accent: #4A90B8;
  --adv-accent-soft: #6AAED4;
  --adv-accent-border: #B3D4E8;
  --adv-seph-border: #4A90B8;
  --adv-sat-border: #A8C8DE;
  --adv-sat-hover-border: #5A9EC6;
  --adv-sat-hover-bg: #F0F7FB;
  --adv-path-color: #C5DAE8;
  --adv-connector-color: #D0E2EE;
  --adv-text-muted: #6A8A9E;
  --adv-text-light: #88A4B6;
  --adv-bg-tint: #F6FAFE;
  --adv-overlay: rgba(74, 144, 184, 0.10);
  --adv-border-color: #B3D4E8;
}

.arbre-de-vie.adv-zakai {
  --adv-accent: #3A5080;
  --adv-accent-soft: #5670A0;
  --adv-accent-border: #AAB8D4;
  --adv-seph-border: #3A5080;
  --adv-sat-border: #9AAAC4;
  --adv-sat-hover-border: #4A6090;
  --adv-sat-hover-bg: #EEF2F8;
  --adv-path-color: #BCC8DC;
  --adv-connector-color: #C8D2E4;
  --adv-text-muted: #607088;
  --adv-text-light: #8090A8;
  --adv-bg-tint: #F4F6FA;
  --adv-overlay: rgba(58, 80, 128, 0.10);
  --adv-border-color: #AAB8D4;
}

.arbre-de-vie.adv-meborack {
  --adv-accent: #4A8A5A;
  --adv-accent-soft: #6AAE78;
  --adv-accent-border: #B3D8BC;
  --adv-seph-border: #4A8A5A;
  --adv-sat-border: #A8CCAE;
  --adv-sat-hover-border: #5A9E68;
  --adv-sat-hover-bg: #F0FBF2;
  --adv-path-color: #C5DEC8;
  --adv-connector-color: #D0EED4;
  --adv-text-muted: #6A8E6E;
  --adv-text-light: #88A88C;
  --adv-bg-tint: #F5FBF6;
  --adv-overlay: rgba(74, 138, 90, 0.10);
  --adv-border-color: #B3D8BC;
}

.arbre-de-vie.adv-pachad {
  --adv-accent: #7A5A9E;
  --adv-accent-soft: #9878B8;
  --adv-accent-border: #CCBADE;
  --adv-seph-border: #7A5A9E;
  --adv-sat-border: #BBA8D0;
  --adv-sat-hover-border: #8A6AAE;
  --adv-sat-hover-bg: #F6F0FB;
  --adv-path-color: #D5C5E8;
  --adv-connector-color: #DED0EE;
  --adv-text-muted: #8A6E9E;
  --adv-text-light: #A088B0;
  --adv-bg-tint: #F8F4FC;
  --adv-overlay: rgba(122, 90, 158, 0.10);
  --adv-border-color: #CCBADE;
}

.arbre-de-vie.adv-aresh {
  --adv-accent: #B84A4A;
  --adv-accent-soft: #D46A6A;
  --adv-accent-border: #E8B3B3;
  --adv-seph-border: #B84A4A;
  --adv-sat-border: #DEACAC;
  --adv-sat-hover-border: #C65A5A;
  --adv-sat-hover-bg: #FBF0F0;
  --adv-path-color: #E8C5C5;
  --adv-connector-color: #EED0D0;
  --adv-text-muted: #9E6A6A;
  --adv-text-light: #B08888;
  --adv-bg-tint: #FDF6F6;
  --adv-overlay: rgba(184, 74, 74, 0.10);
  --adv-border-color: #E8B3B3;
}

/* ── Bandeau ── */
.adv-bandeau {
  text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  padding: 14px 0;
  margin: 0 auto 0 auto;
  width: 820px;
  border-radius: 8px 8px 0 0;
  color: #FFFFFF;
}

.adv-bandeau.adv-sohar    { background: linear-gradient(135deg, #4A90B8, #6AAED4); }
.adv-bandeau.adv-zakai    { background: linear-gradient(135deg, #3A5080, #5670A0); }
.adv-bandeau.adv-meborack { background: linear-gradient(135deg, #4A8A5A, #6AAE78); }
.adv-bandeau.adv-pachad   { background: linear-gradient(135deg, #7A5A9E, #9878B8); }
.adv-bandeau.adv-aresh    { background: linear-gradient(135deg, #B84A4A, #D46A6A); }

/* ===========================================================
   BLOC DE CITATION LONGUE
   Alternative au blockquote italique pour les longs passages
   =========================================================== */

body:not(.page-Accueil) .mw-body-content .citation-longue {
  margin: 1.5em 0;
  padding: 1.2em 1.6em;
  background: linear-gradient(135deg, #F8F5FB 0%, #F2EEF6 100%);
  border-left: 4px solid #C49A2A;
  border-right: 1px solid #D0C4DC;
  border-top: 1px solid #D0C4DC;
  border-bottom: 1px solid #D0C4DC;
  border-radius: 0 6px 6px 0;
  font-style: normal;
  color: #3A3530;
  font-size: 0.97em;
  line-height: 1.65;
  position: relative;
}

body:not(.page-Accueil) .mw-body-content .citation-longue::before {
  content: '\275D';
  position: absolute;
  top: -8px;
  left: 10px;
  font-size: 2.5em;
  color: rgba(196, 154, 42, 0.15);
  font-style: normal;
  line-height: 1;
}

/* Espacement généreux entre paragraphes dans les longs blocs */
body:not(.page-Accueil) .mw-body-content .citation-longue p {
  margin: 0.7em 0;
}
body:not(.page-Accueil) .mw-body-content .citation-longue p:first-child {
  margin-top: 0;
}
body:not(.page-Accueil) .mw-body-content .citation-longue p:last-child {
  margin-bottom: 0;
}

/* Filet décoratif en bas */
body:not(.page-Accueil) .mw-body-content .citation-longue::after {
  content: '';
  display: block;
  margin-top: 1em;
  height: 1px;
  background: linear-gradient(90deg, #C49A2A 0%, transparent 80%);
  opacity: 0.3;
}

/* ===========================================================
   BLOCKQUOTE qui respecte les infobox flottantes
   =========================================================== */

.mw-parser-output blockquote {
    overflow: hidden;
}

/* ============================================ */
/* Infobox Métamorphe — Base                    */
/* ============================================ */

.mw-parser-output .infobox-metamorphe {
  float: right;
  margin: 0 0 0.75em 0.75em;
  width: 400px;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(45,27,78,0.25) !important;
}

.mw-parser-output .infobox-metamorphe .infobox_v2 {
  border-collapse: collapse !important;
  width: 100% !important;
  border-spacing: 0 !important;
  table-layout: fixed !important;
}

/* Colonne gauche et droite égales */
.mw-parser-output .infobox-metamorphe .infobox_v2 th {
  width: 50% !important;
  font-weight: 600 !important;
  text-align: left !important;
  white-space: normal !important;
  padding: 4px 8px !important;
  border: none !important;
  border-bottom: 1px solid rgba(0,0,0,0.07) !important;
  font-size: 0.88em !important;
  vertical-align: top !important;
}

.mw-parser-output .infobox-metamorphe .infobox_v2 td {
  width: 50% !important;
  padding: 4px 8px !important;
  border: none !important;
  border-bottom: 1px solid rgba(0,0,0,0.07) !important;
  font-size: 0.88em !important;
  vertical-align: top !important;
}

/* Cellule titre — fond coloré, texte non italique */
.mw-parser-output .infobox-metamorphe .infobox_v2 td.entete.auteur {
  width: 100% !important;
  font-family: 'Cinzel', serif !important;
  font-style: normal !important;
  font-weight: 600 !important;
  text-align: center !important;
  padding: 8px 12px 6px !important;
  text-transform: none !important;
  font-variant: normal !important;
  font-size: 1.0em !important;
  border-bottom: none !important;
  line-height: 1.5 !important;
}

/* Titre en blanc, non italique */
.mw-parser-output .infobox-metamorphe .infobox_v2 td.entete.auteur b,
.mw-parser-output .infobox-metamorphe .infobox_v2 td.entete.auteur strong {
  color: #FFFFFF !important;
  font-style: normal !important;
}

/* Sous-titre dans la même cellule */
.mw-parser-output .infobox-metamorphe .infobox_v2 td.entete.auteur .soustitre-metamorphe {
  display: block !important;
  font-family: 'EB Garamond', serif !important;
  font-style: italic !important;
  font-size: 0.82em !important;
  font-weight: 400 !important;
  margin-top: 2px !important;
}

/* Masquer les <hr> */
.mw-parser-output .infobox-metamorphe .infobox_v2 hr {
  display: none !important;
}

/* Masquer les lignes vides générées par les <hr> */
.mw-parser-output .infobox-metamorphe .infobox_v2 tr:has(> td[colspan="2"] > hr) {
  display: none !important;
}

/* Bandeaux de section — base */
.mw-parser-output .infobox-metamorphe .infobox_v2 td[colspan="2"]:not(.entete) {
  width: 100% !important;
  text-align: center !important;
  font-family: 'Cinzel', serif !important;
  font-size: 0.75em !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  padding: 3px 8px 4px !important;
  background-color: #FFFFFF !important;
  border-top: none !important;
  border-bottom: none !important;
}
.mw-parser-output .infobox-metamorphe .infobox_v2 td[colspan="2"]:not(.entete) b {
  display: inline !important;
  font-style: normal !important;
}

/* Couleur des bandeaux par élément */
.mw-parser-output .metamorphe-pyrim .infobox_v2 td[colspan="2"]:not(.entete) b {
  color: #C0524E !important;
}
.mw-parser-output .metamorphe-eolim .infobox_v2 td[colspan="2"]:not(.entete) b {
  color: #3B7FAD !important;
}
.mw-parser-output .metamorphe-hydrim .infobox_v2 td[colspan="2"]:not(.entete) b {
  color: #3B6FA0 !important;
}
.mw-parser-output .metamorphe-faerim .infobox_v2 td[colspan="2"]:not(.entete) b {
  color: #4A9A6A !important;
}
.mw-parser-output .metamorphe-onirim .infobox_v2 td[colspan="2"]:not(.entete) b {
  color: #6B4E8A !important;
}
.mw-parser-output .metamorphe-neutre .infobox_v2 td[colspan="2"]:not(.entete) b {
  color: #574B6B !important;
}
/* ============================================ */
/* Couleurs par élément                         */
/* ============================================ */

/* ---- Feu / Pyrim ---- */
.mw-parser-output .metamorphe-pyrim .infobox_v2 td.entete.auteur {
  background: linear-gradient(135deg, #8B2A28 0%, #C0524E 100%) !important;
}
.mw-parser-output .metamorphe-pyrim .infobox_v2 td.entete.auteur .soustitre-metamorphe {
  color: #F2D5D3 !important;
}
.mw-parser-output .metamorphe-pyrim .infobox_v2 th {
  background-color: #F2D5D3 !important;
  color: #6A1F1D !important;
}
.mw-parser-output .metamorphe-pyrim .infobox_v2 td:not(.entete) {
  background-color: #FDF0EF !important;
}
.mw-parser-output .metamorphe-pyrim .infobox_v2 td[colspan="2"]:not(.entete) {
  color: #C0524E !important;
}

/* ---- Air / Éolim ---- */
.mw-parser-output .metamorphe-eolim .infobox_v2 td.entete.auteur {
  background: linear-gradient(135deg, #2E6B9A 0%, #5BA4D9 100%) !important;
}
.mw-parser-output .metamorphe-eolim .infobox_v2 td.entete.auteur .soustitre-metamorphe {
  color: #D4E9F7 !important;
}
.mw-parser-output .metamorphe-eolim .infobox_v2 th {
  background-color: #D4E9F7 !important;
  color: #1A3F5A !important;
}
.mw-parser-output .metamorphe-eolim .infobox_v2 td:not(.entete) {
  background-color: #F0F7FD !important;
}
.mw-parser-output .metamorphe-eolim .infobox_v2 td[colspan="2"]:not(.entete) {
  color: #3B7FAD !important;
}

/* ---- Eau / Hydrim ---- */
.mw-parser-output .metamorphe-hydrim .infobox_v2 td.entete.auteur {
  background: linear-gradient(135deg, #1E4A6E 0%, #3B6FA0 100%) !important;
}
.mw-parser-output .metamorphe-hydrim .infobox_v2 td.entete.auteur .soustitre-metamorphe {
  color: #CEDDEF !important;
}
.mw-parser-output .metamorphe-hydrim .infobox_v2 th {
  background-color: #CEDDEF !important;
  color: #1A3550 !important;
}
.mw-parser-output .metamorphe-hydrim .infobox_v2 td:not(.entete) {
  background-color: #EEF5FB !important;
}
.mw-parser-output .metamorphe-hydrim .infobox_v2 td[colspan="2"]:not(.entete) {
  color: #3B6FA0 !important;
}

/* ---- Terre / Faërim ---- */
.mw-parser-output .metamorphe-faerim .infobox_v2 td.entete.auteur {
  background: linear-gradient(135deg, #266044 0%, #4A9A6A 100%) !important;
}
.mw-parser-output .metamorphe-faerim .infobox_v2 td.entete.auteur .soustitre-metamorphe {
  color: #D2EDDA !important;
}
.mw-parser-output .metamorphe-faerim .infobox_v2 th {
  background-color: #D2EDDA !important;
  color: #1A4A2A !important;
}
.mw-parser-output .metamorphe-faerim .infobox_v2 td:not(.entete) {
  background-color: #F0FAF4 !important;
}
.mw-parser-output .metamorphe-faerim .infobox_v2 td[colspan="2"]:not(.entete) {
  color: #4A9A6A !important;
}

/* ---- Lune / Onirim ---- */
.mw-parser-output .metamorphe-onirim .infobox_v2 td.entete.auteur {
  background: linear-gradient(135deg, #3A2458 0%, #6B4E8A 100%) !important;
}
.mw-parser-output .metamorphe-onirim .infobox_v2 td.entete.auteur .soustitre-metamorphe {
  color: #E0D4EE !important;
}
.mw-parser-output .metamorphe-onirim .infobox_v2 th {
  background-color: #E0D4EE !important;
  color: #2D1B4E !important;
}
.mw-parser-output .metamorphe-onirim .infobox_v2 td:not(.entete) {
  background-color: #F7F3FC !important;
}
.mw-parser-output .metamorphe-onirim .infobox_v2 td[colspan="2"]:not(.entete) {
  color: #6B4E8A !important;
}

/* ---- Neutre ---- */
.mw-parser-output .metamorphe-neutre .infobox_v2 td.entete.auteur {
  background: linear-gradient(135deg, #2D1B4E 0%, #574B6B 100%) !important;
}
.mw-parser-output .metamorphe-neutre .infobox_v2 td.entete.auteur .soustitre-metamorphe {
  color: #D0C4DC !important;
}
.mw-parser-output .metamorphe-neutre .infobox_v2 th {
  background-color: #E8E0F0 !important;
  color: #2D1B4E !important;
}
.mw-parser-output .metamorphe-neutre .infobox_v2 td:not(.entete) {
  background-color: #F8F5FC !important;
}
.mw-parser-output .metamorphe-neutre .infobox_v2 td[colspan="2"]:not(.entete) {
  color: #574B6B !important;
}

/* ============================================ */
/* Responsive mobile                            */
/* ============================================ */
@media screen and (max-width: 768px) {
  .mw-parser-output .infobox-metamorphe {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 1em 0 !important;
  }
  .mw-parser-output .infobox-metamorphe .infobox_v2 {
    width: 100% !important;
    max-width: 100% !important;
  }
}