Aller au contenu

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

aucun résumé des modifications
Aucun résumé des modifications
Aucun résumé des modifications
 
(27 versions intermédiaires par le même utilisateur non affichées)
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 !important;
     color: #fff !important;
}
}
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 !important;
     color: #fff !important;
}
}
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 !important;
     color: #fff !important;
}
}
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 !important;
     color: #fff !important;
}
}
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 !important;
     color: #fff !important;
}
}
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%);
}
}
.mw-body-content .FichePNJNL.fiche-pnj-selenim .entete-pnj,
.mw-body-content .FichePNJNL.fiche-pnj-selenim .entete-pnj,
Ligne 189 : 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 !important;
     color: #fff !important;
}
}
Ligne 198 : 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 !important;
     color: #fff !important;
}
}
Ligne 207 : 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 !important;
     color: #fff !important;
}
}
Ligne 216 : 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 !important;
     color: #fff !important;
}
}
Ligne 225 : 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 !important;
     color: #fff !important;
}
}
Ligne 234 : 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 !important;
     color: #fff !important;
}
}
Ligne 243 : 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 !important;
     color: #fff !important;
}
}
Ligne 252 : 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 !important;
     color: #fff !important;
}
}
Ligne 270 : Ligne 270 :
/* ============================================= */
/* ============================================= */
/* FichePNJNL — Nouvelles classes de couleurs    */
/* FichePNJNL — Nouvelles classes de couleurs    */
/* À ajouter dans MediaWiki:Common.css          */
/* ============================================= */
/* ============================================= */


/* --- 1. Ka-Soleil (Nephilim exceptionnel, ex: Khnoum) --- */
/* --- 1. Ka-Soleil (Nephilim exceptionnel, ex: Khnoum) --- */
.mw-body-content .FichePNJNL.fiche-pnj-soleil .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-soleil .entete-pnj {
     background: linear-gradient(135deg, #C49A2A 0%, #F5D76E 40%, #DAA520 60%, #C49A2A 100%) !important;
     background: linear-gradient(135deg, #8B5A00 0%, #C49A2A 40%, #E8C84A 70%, #F5DC80 100%) !important;
}
}
.mw-body-content .FichePNJNL.fiche-pnj-soleil .bandeau-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-soleil .bandeau-pnj {
Ligne 299 : Ligne 298 :
}
}


/* --- 3. Autre créature (nouveau : crème/sable, remplace l'ancien gris) --- */
/* --- 3. Autre créature (crème/sable) --- */
.mw-body-content .FichePNJNL.fiche-pnj-autre .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-autre .entete-pnj {
     background: linear-gradient(135deg, #B5A68C 0%, #C9BC9E 50%, #B5A68C 100%) !important;
     background: linear-gradient(135deg, #B5A68C 0%, #C9BC9E 50%, #B5A68C 100%) !important;
Ligne 314 : Ligne 313 :
/* --- 4. Animal (ocre) --- */
/* --- 4. Animal (ocre) --- */
.mw-body-content .FichePNJNL.fiche-pnj-animal .entete-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-animal .entete-pnj {
     background: #B8883B !important;
     background: linear-gradient(135deg, #7A5520 0%, #B8883B 60%, #D0A860 100%) !important;
}
}
.mw-body-content .FichePNJNL.fiche-pnj-animal .bandeau-pnj {
.mw-body-content .FichePNJNL.fiche-pnj-animal .bandeau-pnj {
Ligne 1 183 : 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 339 : 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 484 : 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 629 : 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 774 : 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 144 : Ligne 2 143 :
}
}


/* ============================================================
/* ===========================================================
   INFOBOX EFFETMAGIQUE — Style épuré
   STYLE TABLEAU QUÊTE ÉSOTÉRIQUE (NL)
   Inspiré de l'infobox Arcane Majeur
   =========================================================== */
  À ajouter dans MediaWiki:Common.css
.neph_table_NL_quete_eso {
  ============================================================ */
  border-collapse: separate !important;
 
  border-spacing: 0 !important;
/* --- Conteneur principal --- */
  background: #ffffff !important;
.infobox-effetmagique {
  color: #2A2520 !important;
    float: right;
  font-family: 'Source Sans 3', 'Segoe UI', sans-serif;
    width: 320px;
  font-size: 16px !important;
    margin: 0 0 12px 16px;
  font-weight: 500;
    padding: 0;
  line-height: 1.4;
    background: #ffffff;
  border: none !important;
    border: 1px solid #d0c4dc;
  width: 100% !important;
    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 */
/* --- Cellules générales --- */
.infobox-effetmagique p {
.neph_table_NL_quete_eso th,
    margin: 0;
.neph_table_NL_quete_eso td {
    padding: 0;
  border: 1px solid #c8c0d0 !important;
  padding: 4px 7px !important;
  vertical-align: middle !important;
  background: #ffffff !important;
  color: #2A2520 !important;
}
}


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


.infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"] {
/* --- En-têtes (th) --- */
    background: linear-gradient(135deg, #1e1535 0%, #3a2d60 60%, #4a3a80 100%) !important;
.neph_table_NL_quete_eso th {
    padding: 16px 20px !important;
  background: #2D1B4E !important;
    text-align: center;
  color: #D0C4DC !important;
    font-size: 20px !important;
  font-family: 'Cinzel', serif;
    font-weight: 700;
  font-weight: 600;
    line-height: 1.3;
  font-size: 0.85em;
    text-transform: none !important;
  letter-spacing: 0.04em;
    font-variant: normal !important;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-family: 'EB Garamond', 'Lora', Georgia, serif !important;
  border-color: #1E0F38 !important;
  border-bottom: 2px solid #33302A !important;
}
}


/* Texte blanc dans l'en-tête */
/* --- Largeurs des colonnes --- */
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"],
.neph_table_NL_quete_eso th:first-child {
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"] b,
  width: 8%;
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 {
.neph_table_NL_quete_eso th:nth-child(2),
    color: #ffffff !important;
.neph_table_NL_quete_eso th:nth-child(3) {
  width: 46%;
}
}


/* --- Image --- */
/* --- Première colonne (Degré) --- */
.infobox-effetmagique .infobox_v2 td[style*="text-align:center"] img {
.neph_table_NL_quete_eso td:first-child {
    border-radius: 6px;
  text-align: center !important;
    margin: 4px 0;
  font-weight: bold !important;
  background: #574B6B !important;
  color: #D0C4DC !important;
}
}


/* --- Bandeau de section (Identité, Sources) --- */
/* --- Caption --- */
.infobox-effetmagique .infobox_v2 td[colspan="2"][style*="background-color: #E8E8E8"] {
.neph_table_NL_quete_eso caption {
    background-color: #f8fafc !important;
  font-weight: bold;
    border-top: 2px solid #f0f1f3 !important;
  font-size: 1.1em;
    border-bottom: 1px solid #e2e5ea !important;
  padding: 8px;
    padding: 8px 20px !important;
  font-family: 'Cinzel', serif;
    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) ---
/* --- Ligne séparatrice colspan --- */
  Ciblés via les classes infobox-sc-* définies dans les sous-modèles */
.neph_table_NL_quete_eso th[colspan] {
 
  text-align: center;
/* --- 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;
  INFOBOX EFFETMAGIQUE — Style épuré
    font-size: 13px !important;
  Inspiré de l'infobox Arcane Majeur
    color: #1e293b !important;
  À ajouter dans MediaWiki:Common.css
    vertical-align: top;
  ============================================================ */
    border-bottom: 1px solid #f1f5f9 !important;
}


/* Liens dans les valeurs */
/* --- Conteneur principal --- */
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td a:not(.new):not(.external) {
.infobox-effetmagique {
     color: #1e293b !important;
    float: right;
     border-bottom: none !important;
    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;
}
}
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td a:not(.new):not(.external):hover {
 
     color: #6366f1 !important;
/* Reset des marges parasites insérées par MediaWiki */
.infobox-effetmagique p {
    margin: 0;
     padding: 0;
}
}


/* --- Responsive : pleine largeur en mobile --- */
/* Reset de la table infobox_v2 interne */
@media screen and (max-width: 768px) {
.infobox-effetmagique .infobox_v2 {
 
    border: none !important;
    .mw-parser-output .infobox-effetmagique {
    background: transparent !important;
        float: none !important;
    box-shadow: none !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 0 1em 0 !important;
    }
}
}


/* Bandeau édition dans Infobox Effetmagique — forcer texte clair */
.infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"] {
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="574B6B"],
    background: linear-gradient(135deg, #1e1535 0%, #3a2d60 60%, #4a3a80 100%) !important;
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="574B6B"] span,
    padding: 16px 20px !important;
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="6B4548"],
    text-align: center;
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="6B4548"] span,
    font-size: 20px !important;
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="4A5568"],
    font-weight: 700;
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="4A5568"] span,
     line-height: 1.3;
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;
     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"],
/* INFOBOX EFFETMAGIQUE — Dégradés en-tête     */
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 tr:first-child > td[colspan="2"] b,
/* par science occulte                          */
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;
/* --- 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é */
/* --- Image --- */
.infobox-sc-kabbale {
.infobox-effetmagique .infobox_v2 td[style*="text-align:center"] img {
  background: linear-gradient(135deg, #3A3A4A 0%, #6A6A80 30%, #9898B0 50%, #6A6A80 70%, #3A3A4A 100%) !important;
    border-radius: 6px;
  color: #F0F0F8 !important;
    margin: 4px 0;
 
}
}


/* Alchimie — Rouge métallique */
/* --- Bandeau de section (Identité, Sources) --- */
.infobox-sc-alchimie {
.infobox-effetmagique .infobox_v2 td[colspan="2"][style*="background-color: #E8E8E8"] {
  background: linear-gradient(135deg, #3A0A0A 0%, #6A1A1A 30%, #982828 50%, #6A1A1A 70%, #3A0A0A 100%) !important;
    background-color: #f8fafc !important;
  color: #F8D8D8 !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;
}
}


/* Qiyas — Or classique */
/* --- Bandeaux d'édition (en-têtes colorés NL, N4, NR, N2, N1) ---
.infobox-sc-qiyas {
  Ciblés via les classes infobox-sc-* définies dans les sous-modèles */
  background: linear-gradient(135deg, #B8860B 0%, #DAA520 30%, #F0D060 50%, #DAA520 70%, #B8860B 100%) !important;
  color: #2A1F0A !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;
}
}


/* --- Selenim --- */
.infobox-effetmagique .infobox_v2 td {
 
    padding: 5px 20px !important;
/* Nécromancie — Noir / violet sombre */
    font-size: 13px !important;
.infobox-sc-necromancie {
    color: #1e293b !important;
  background: linear-gradient(135deg, #1A1020 0%, #2A1840 30%, #402860 50%, #2A1840 70%, #1A1020 100%) !important;
    vertical-align: top;
  color: #D0C0E0 !important;
    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;
}
}


/* Kabbale noire — Noir / gris métallique */
/* --- Responsive : pleine largeur en mobile --- */
.infobox-sc-kabbale-noire {
@media screen and (max-width: 768px) {
  background: linear-gradient(135deg, #0E0E0E 0%, #2A2A30 30%, #484850 50%, #2A2A30 70%, #0E0E0E 100%) !important;
  color: #C8C8D0 !important;


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


/* --- Ar-Kaïm --- */
/* Bandeau édition dans Infobox Effetmagique — forcer texte clair */
 
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="574B6B"],
/* Talents — Turquoise métallique */
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="574B6B"] span,
.infobox-sc-talents {
body:not(.page-Accueil) .mw-body-content .infobox-effetmagique .infobox_v2 td[style*="6B4548"],
  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 td[style*="6B4548"] span,
  color: #D0F4F4 !important;
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;
}
}


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


/* Mandalas Mauve / gris argent */
/* ============================================ */
.infobox-sc-mandalas {
/* INFOBOX EFFETMAGIQUE Dégradés en-tête      */
  background: linear-gradient(135deg, #3A2848 0%, #6A5080 30%, #8878A0 50%, #6A5080 70%, #3A2848 100%) !important;
/* par science occulte                          */
  color: #E8E0F0 !important;
/* ============================================ */
 
/* --- 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;
}
}


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


}
}


/* --- Sources : texte réduit --- */
/* Alchimie — Rouge métallique */
.infobox-effetmagique .infobox_v2 th.infobox-src,
.infobox-sc-alchimie {
.infobox-effetmagique .infobox_v2 td.infobox-src {
  background: linear-gradient(135deg, #3A0A0A 0%, #6A1A1A 30%, #982828 50%, #6A1A1A 70%, #3A0A0A 100%) !important;
    font-size: 11px !important;
  color: #F8D8D8 !important;
    padding: 8px 12px !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;


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


/* Cadre de base */
/* --- Selenim --- */
.def-cadre {
 
    border-left: 4px solid #999;
/* Nécromancie — Noir / violet sombre */
    padding: .8em 1.2em;
.infobox-sc-necromancie {
    margin: .5em 0;
  background: linear-gradient(135deg, #1A1020 0%, #2A1840 30%, #402860 50%, #2A1840 70%, #1A1020 100%) !important;
    background: #fafafa;
  color: #D0C0E0 !important;
    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 */
/* Kabbale noire — Noir / gris métallique */
.def-texte {
.infobox-sc-kabbale-noire {
    font-size: .95em;
  background: linear-gradient(135deg, #0E0E0E 0%, #2A2A30 30%, #484850 50%, #2A2A30 70%, #0E0E0E 100%) !important;
    line-height: 1.55;
  color: #C8C8D0 !important;
}


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


/* --- Nephilim Légende (5e) — Pourpre --- */
/* --- Ar-Kaïm --- */
.def-nl {
 
    border-left-color: #574B6B;
/* 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;
 
}
}
.def-badge-nl {
 
    background-color: #7B6D92;
/* --- 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;
 
}
}


/* --- Nephilim Anniversaire (4e) Bordeaux --- */
/* Dons Mauve / doré */
.def-n4 {
.infobox-sc-dons {
    border-left-color: #6B4548;
  background: linear-gradient(135deg, #3A2040 0%, #6A4060 30%, #A07040 50%, #6A4060 70%, #3A2040 100%) !important;
}
  color: #F0E0D0 !important;
.def-badge-n4 {
 
    background-color: #8E6568;
}
}


/* --- Nephilim Révélation (3e) — Bleu nuit --- */
/* --- Sources : texte réduit --- */
.def-nr {
.infobox-effetmagique .infobox_v2 th.infobox-src,
    border-left-color: #4A5568;
.infobox-effetmagique .infobox_v2 td.infobox-src {
}
     font-size: 11px !important;
.def-badge-nr {
    padding: 8px 12px !important;
     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 {
  Modèle {{Définition}} — Cadres de définition
    border-left-color: #6B5D4F;
  Style A+C : filet latéral + badge d'édition
}
  ============================================ */
.def-badge-n1 {
    background-color: #8E7E6E;
}


/* --- Contenu natif du wiki — Ambre/Parchemin --- */
/* Cadre de base */
.def-wiki {
.def-cadre {
     border-left-color: #A08050;
     border-left: 4px solid #999;
}
    padding: .8em 1.2em;
.def-badge-wiki {
    margin: .5em 0;
     background-color: #B89860;
     background: #fafafa;
    border-radius: 0 3px 3px 0;
    overflow: hidden;
}
}


/* Micro-titre "Définition" */
/* Badge d'édition */
.def-type-label {
.def-badge {
     display: block;
     display: inline-block;
     font-family: 'Cinzel', serif;
     font-family: 'Cinzel', serif;
     font-size: .55em;
     font-size: .7em;
     font-weight: 600;
     font-weight: 600;
     letter-spacing: .15em;
     letter-spacing: .06em;
     text-transform: uppercase;
     text-transform: uppercase;
     color: #aaa;
    padding: .15em .55em;
     margin-bottom: .25em;
    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 */
  INFOBOX SUPPLÉMENTS — Styles par édition
.def-source {
  À ajouter dans MediaWiki:Common.css
    margin-top: .5em;
  ============================================ */
    font-size: .82em;
    color: #888;
    font-style: italic;
}


/* --- Structure commune --- */
/* --- Nephilim Légende (5e) — Pourpre --- */
.infobox-supplement {
.def-nl {
    background: #fff;
     border-left-color: #574B6B;
     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;
}
}
 
.def-badge-nl {
.infobox-supplement table {
     background-color: #7B6D92;
     width: 100%;
    border-collapse: collapse;
}
}


.infobox-supplement-badge {
/* --- Nephilim Anniversaire (4e) — Bordeaux --- */
     font-family: 'Cinzel', serif;
.def-n4 {
    font-size: 0.65em;
     border-left-color: #6B4548;
    letter-spacing: 0.15em;
}
    text-transform: uppercase;
.def-badge-n4 {
     text-align: center;
     background-color: #8E6568;
    padding: 3px 8px;
    color: rgba(255,255,255,0.82) !important;
}
}


.infobox-supplement-title {
/* --- Nephilim Révélation (3e) — Bleu nuit --- */
    font-family: 'Cinzel', serif;
.def-nr {
    font-size: 1.05em;
     border-left-color: #4A5568;
     font-weight: 700;
    text-align: center;
    padding: 10px 12px;
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
}
 
.def-badge-nr {
/* Force blanc sur titre même à travers les balises wiki bold/italic */
     background-color: #6B7A8E;
.infobox-supplement-title b,
.infobox-supplement-title i,
.infobox-supplement-title a {
     color: #fff !important;
}
}


.infobox-supplement-cover {
/* --- Nephilim 2e édition — Olive --- */
     text-align: center;
.def-n2 {
    padding: 12px;
     border-left-color: #727a68;
}
}
 
.def-badge-n2 {
.infobox-supplement-cover img {
     background-color: #8E9680;
     border-radius: 2px;
    border: 1px solid rgba(0,0,0,0.08);
}
}


.infobox-supplement-legend {
/* --- Nephilim 1ère édition — Brun chaud --- */
     text-align: center;
.def-n1 {
    font-style: italic;
     border-left-color: #6B5D4F;
     font-size: 0.82em;
}
    color: #888;
.def-badge-n1 {
    padding: 0 12px 8px;
     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;
  INFOBOX SUPPLÉMENTS — Styles par édition
     padding: 4px 10px;
  À ajouter dans MediaWiki:Common.css
    font-weight: 600;
  ============================================ */
     font-size: 16px;
 
     vertical-align: top;
/* --- 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;
}
}


.infobox-supplement-data {
.infobox-supplement-title {
     padding: 4px 10px;
     font-family: 'Cinzel', serif;
     font-size: 16px;
     font-size: 1.05em;
     vertical-align: top;
    font-weight: 700;
     color: #444;
     text-align: center;
     background: #fff;
     padding: 10px 12px;
     border-bottom: 1px solid #EDEDED;
     color: #fff !important;
     text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
}


/* --- NL — 5e édition (Légende) — Pourpre --- */
/* Force blanc sur titre même à travers les balises wiki bold/italic */
.infobox-supplement-nl {
.infobox-supplement-title b,
     border: 1px solid #C4BAD0;
.infobox-supplement-title i,
.infobox-supplement-title a {
     color: #fff !important;
}
}
.infobox-supplement-nl .infobox-supplement-badge {
 
     background: #483D5C;
.infobox-supplement-cover {
    text-align: center;
     padding: 12px;
}
}
.infobox-supplement-nl .infobox-supplement-title {
 
     background: linear-gradient(135deg, #574B6B, #7B6E91);
.infobox-supplement-cover img {
    border-radius: 2px;
     border: 1px solid rgba(0,0,0,0.08);
}
}
.infobox-supplement-nl .infobox-supplement-cover {
 
     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-legend {
 
     background: #E3DEE8;
.infobox-supplement-sep {
}
     height: 1px;
.infobox-supplement-nl .infobox-supplement-sep {
     padding: 0;
     background: #C4BAD0;
    line-height: 0;
}
    font-size: 0;
.infobox-supplement-nl .infobox-supplement-section {
    background: #7B6E91;
}
.infobox-supplement-nl .infobox-supplement-label {
    color: #574B6B;
}
}


/* --- N4 — 4e édition (Anniversaire) — Bordeaux --- */
.infobox-supplement-section {
.infobox-supplement-n4 {
    font-family: 'Cinzel', serif;
     border: 1px solid #D0C0BD;
    font-size: 0.68em;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 4px 10px;
     color: #fff !important;
}
}
.infobox-supplement-n4 .infobox-supplement-badge {
 
     background: #5B3538;
.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-n4 .infobox-supplement-title {
 
     background: linear-gradient(135deg, #6B4548, #8B6568);
.infobox-supplement-data {
    padding: 4px 10px;
    font-size: 16px;
    vertical-align: top;
    color: #444;
     background: #fff;
    border-bottom: 1px solid #EDEDED;
}
}
.infobox-supplement-n4 .infobox-supplement-cover {
 
     background: #E8DDD8;
/* --- NL — 5e édition (Légende) — Pourpre --- */
.infobox-supplement-nl {
     border: 1px solid #C4BAD0;
}
}
.infobox-supplement-n4 .infobox-supplement-legend {
.infobox-supplement-nl .infobox-supplement-badge {
     background: #E8DDD8;
    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 {
.infobox-supplement-n4 .infobox-supplement-sep {
Ligne 2 772 : 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 811 : 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 4 232 : Ligne 4 311 :
}
}


/* ============================================ */
/* ===========================================================
/* Infobox Métamorphe — Couleurs par Ka-élément */
  BLOCKQUOTE qui respecte les infobox flottantes
/* ============================================ */
  =========================================================== */


/* --- Structure de base commune --- */
.mw-parser-output blockquote {
.infobox-metamorphe .infobox_v2 {
    overflow: hidden;
   background-color: #F8F6FB;
}
   border: 1px solid #574B6B;
 
   border-radius: 4px;
/* ============================================ */
   font-size: 0.88em;
/* Infobox Métamorphe — Base                    */
   width: 100%;
/* ============================================ */
 
.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;
}
}


.infobox-metamorphe .infobox_v2 th {
/* Masquer les <hr> */
   font-weight: bold;
.mw-parser-output .infobox-metamorphe .infobox_v2 hr {
  padding: 3px 6px;
   display: none !important;
  border-top: 1px solid #D8D0E8;
  vertical-align: top;
  white-space: nowrap;
}
}


.infobox-metamorphe .infobox_v2 td {
/* Masquer les lignes vides générées par les <hr> */
   color: #2A2520;
.mw-parser-output .infobox-metamorphe .infobox_v2 tr:has(> td[colspan="2"] > hr) {
  padding: 3px 6px;
   display: none !important;
  border-top: 1px solid #E0D8EC;
  vertical-align: top;
}
}


/* Sous-titres internes (Portrait chinois, Métamorphoses, Sources) */
/* Bandeaux de section — base */
.infobox-metamorphe .infobox_v2 td[colspan="2"] b {
.mw-parser-output .infobox-metamorphe .infobox_v2 td[colspan="2"]:not(.entete) {
   display: block;
   width: 100% !important;
   text-align: center;
   text-align: center !important;
   padding: 2px 0;
  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;
}
}


/* Séparateurs dorés */
/* Couleur des bandeaux par élément */
.infobox-metamorphe .infobox_v2 hr {
.mw-parser-output .metamorphe-pyrim .infobox_v2 td[colspan="2"]:not(.entete) b {
   border: none;
   color: #C0524E !important;
   border-top: 1px solid #C49A2A;
}
   margin: 2px 0;
.mw-parser-output .metamorphe-eolim .infobox_v2 td[colspan="2"]:not(.entete) b {
   opacity: 0.5;
   color: #3B7FAD !important;
}
}
 
.mw-parser-output .metamorphe-hydrim .infobox_v2 td[colspan="2"]:not(.entete) b {
/* Texte blanc sur entête — anti-héritage */
  color: #3B6FA0 !important;
.infobox-metamorphe .infobox_v2 .entete.auteur b,
}
.infobox-metamorphe .infobox_v2 .entete.auteur strong,
.mw-parser-output .metamorphe-faerim .infobox_v2 td[colspan="2"]:not(.entete) b {
.infobox-metamorphe .infobox_v2 .entete.auteur span,
   color: #4A9A6A !important;
.infobox-metamorphe .infobox_v2 .entete.auteur i {
}
   color: #FFFFFF !important;
.mw-parser-output .metamorphe-onirim .infobox_v2 td[colspan="2"]:not(.entete) b {
}
   color: #6B4E8A !important;
 
}
/* Forcer casse naturelle sur le titre */
.mw-parser-output .metamorphe-neutre .infobox_v2 td[colspan="2"]:not(.entete) b {
.infobox-metamorphe .infobox_v2 .entete.auteur {
  color: #574B6B !important;
   text-transform: none !important;
}
   font-variant: normal !important;
/* ============================================ */
   text-align: center;
/* Couleurs par élément                        */
   padding: 6px 10px;
/* ============================================ */
}
 
 
/* ---- Feu / Pyrim ---- */
/* ---- Feu / Pyrim (#C0524E) ---- */
.mw-parser-output .metamorphe-pyrim .infobox_v2 td.entete.auteur {
.metamorphe-pyrim .entete.auteur {
  background: linear-gradient(135deg, #8B2A28 0%, #C0524E 100%) !important;
   background-color: #C0524E !important;
}
   color: #FFFFFF !important;
.mw-parser-output .metamorphe-pyrim .infobox_v2 td.entete.auteur .soustitre-metamorphe {
}
  color: #F2D5D3 !important;
.metamorphe-pyrim .infobox_v2 th {
}
   background-color: #F2D5D3;
.mw-parser-output .metamorphe-pyrim .infobox_v2 th {
   color: #5A1A18 !important;
  background-color: #F2D5D3 !important;
}
  color: #6A1F1D !important;
.metamorphe-pyrim .infobox_v2 td[colspan="2"] b {
}
   color: #C0524E !important;
.mw-parser-output .metamorphe-pyrim .infobox_v2 td:not(.entete) {
}
  background-color: #FDF0EF !important;
 
}
/* ---- Air / Éolim (#5BA4D9) ---- */
.mw-parser-output .metamorphe-pyrim .infobox_v2 td[colspan="2"]:not(.entete) {
.metamorphe-eolim .entete.auteur {
  color: #C0524E !important;
   background-color: #5BA4D9 !important;
}
   color: #FFFFFF !important;
 
}
/* ---- Air / Éolim ---- */
.metamorphe-eolim .infobox_v2 th {
.mw-parser-output .metamorphe-eolim .infobox_v2 td.entete.auteur {
   background-color: #D4E9F7;
  background: linear-gradient(135deg, #2E6B9A 0%, #5BA4D9 100%) !important;
   color: #1A3F5A !important;
}
}
.mw-parser-output .metamorphe-eolim .infobox_v2 td.entete.auteur .soustitre-metamorphe {
.metamorphe-eolim .infobox_v2 td[colspan="2"] b {
  color: #D4E9F7 !important;
   color: #3B7FAD !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;
}
}


/* ---- Eau / Hydrim (#3B6FA0) ---- */
/* ---- Neutre ---- */
.metamorphe-hydrim .entete.auteur {
.mw-parser-output .metamorphe-neutre .infobox_v2 td.entete.auteur {
   background-color: #3B6FA0 !important;
   background: linear-gradient(135deg, #2D1B4E 0%, #574B6B 100%) !important;
  color: #FFFFFF !important;
}
}
.metamorphe-hydrim .infobox_v2 th {
.mw-parser-output .metamorphe-neutre .infobox_v2 td.entete.auteur .soustitre-metamorphe {
  background-color: #CEDDEF;
   color: #D0C4DC !important;
   color: #1A3550 !important;
}
}
.metamorphe-hydrim .infobox_v2 td[colspan="2"] b {
.mw-parser-output .metamorphe-neutre .infobox_v2 th {
  color: #3B6FA0 !important;
   background-color: #E8E0F0 !important;
}
 
/* ---- Terre / Faërim (#4A9A6A) ---- */
.metamorphe-faerim .entete.auteur {
  background-color: #4A9A6A !important;
  color: #FFFFFF !important;
}
.metamorphe-faerim .infobox_v2 th {
   background-color: #D2EDDA;
  color: #1A4A2A !important;
}
.metamorphe-faerim .infobox_v2 td[colspan="2"] b {
  color: #4A9A6A !important;
}
 
/* ---- Lune / Onirim (#6B4E8A) ---- */
.metamorphe-onirim .entete.auteur {
  background-color: #6B4E8A !important;
  color: #FFFFFF !important;
}
.metamorphe-onirim .infobox_v2 th {
  background-color: #E0D4EE;
   color: #2D1B4E !important;
   color: #2D1B4E !important;
}
}
.metamorphe-onirim .infobox_v2 td[colspan="2"] b {
.mw-parser-output .metamorphe-neutre .infobox_v2 td:not(.entete) {
  color: #6B4E8A !important;
   background-color: #F8F5FC !important;
}
 
/* ---- Neutre / Ka indéfini (violet wiki par défaut) ---- */
.metamorphe-neutre .entete.auteur {
  background: linear-gradient(135deg, #2D1B4E 0%, #574B6B 60%, #7A6890 100%) !important;
  color: #F0EAF8 !important;
}
.metamorphe-neutre .infobox_v2 th {
   background-color: #E8E0F0;
  color: #2D1B4E !important;
}
}
.metamorphe-neutre .infobox_v2 td[colspan="2"] b {
.mw-parser-output .metamorphe-neutre .infobox_v2 td[colspan="2"]:not(.entete) {
   color: #574B6B !important;
   color: #574B6B !important;
}
}


/* ============================================ */
/* ============================================ */
/* Infobox Métamorphe — Responsive mobile       */
/* Responsive mobile                           */
/* ============================================ */
/* ============================================ */
@media screen and (max-width: 768px) {
@media screen and (max-width: 768px) {