/* =====================================================
   XIXOU BUILDER V91 - CORRECTIONS DÉFINITIVES
   Chargé APRÈS v88-fixes.css - version 91.0
   ===================================================== */


/* =====================================================
   1. CROIX × — DANS LE CADRE (ultra-spécificité)
   
   CAUSE RACINE: Original CSS et v88 positionnent en
   top:-8px right:-8px (HORS du slot). On utilise
   body .xb-slot .xb-remove pour battre tout.
   ===================================================== */

body .xb-slot .xb-remove,
body .xb-wrapper .xb-slot .xb-remove {
    position: absolute !important;
    top: 5px !important;
    right: 5px !important;
    width: 18px !important;
    height: 18px !important;
    background: rgba(200, 30, 30, 0.92) !important;
    color: white !important;
    border-radius: 50% !important;
    border: none !important;
    display: none !important;
    z-index: 60 !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    cursor: pointer !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 18px !important;
    padding: 0 !important;
    text-align: center !important;
    transition: all 0.15s ease !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.7) !important;
}

body .xb-slot.filled:hover .xb-remove,
body .xb-wrapper .xb-slot.filled:hover .xb-remove {
    display: flex !important;
}

body .xb-slot .xb-remove:hover,
body .xb-wrapper .xb-slot .xb-remove:hover {
    background: #ef4444 !important;
    transform: scale(1.15) !important;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.6) !important;
}

/* Dofus slots — ultra-spécificité pour battre builder.css (0,3,0) */
body .xb-dofus-inline .xb-slot-dofus .xb-remove,
body .xb-wrapper .xb-dofus-inline .xb-slot-dofus .xb-remove {
    top: 3px !important;
    right: 3px !important;
    width: 14px !important;
    height: 14px !important;
    font-size: 9px !important;
    line-height: 14px !important;
}

/* Slots en mode split (60px) */
body .xb-split-container.split-active .xb-slot .xb-remove {
    top: 3px !important;
    right: 3px !important;
    width: 16px !important;
    height: 16px !important;
    font-size: 10px !important;
    line-height: 16px !important;
}


/* =====================================================
   2. ICÔNES STATS -5%
   ===================================================== */

.xb-sl-item img {
    width: 19px !important;
    height: 19px !important;
}

.xb-sl-item.xb-sl-compact img {
    width: 17px !important;
    height: 17px !important;
}

.xb-sl-icon-svg {
    width: 19px !important;
    height: 19px !important;
}

.xb-res-icon {
    width: 17px !important;
    height: 17px !important;
}


/* =====================================================
   3. RÉSISTANCES + DIVERS — SCROLL COLONNE GAUCHE
   
   CAUSE RACINE: .xb-split-container a overflow:hidden
   et height:calc(100vh-180px). Le contenu de col-doll 
   (grille+toutes les stats) dépasse → coupé.
   
   FIX: .xb-split-left doit scroller verticalement 
   pour que tout le contenu soit accessible.
   ===================================================== */

/* La colonne gauche du split DOIT SCROLLER */
body .xb-split-container .xb-split-left,
body .xb-split-container.split-active .xb-split-left {
    overflow-y: auto !important;
    overflow-x: hidden !important;
}

/* Le split-main qui contient col-doll */
body .xb-split-container.split-active .xb-split-main {
    overflow: visible !important;
    flex-shrink: 0 !important;
    height: auto !important;
}

/* xb-col-doll — pas de contrainte de hauteur */
body .xb-split-container.split-active .xb-col-doll {
    overflow: visible !important;
    height: auto !important;
    max-height: none !important;
    flex-shrink: 0 !important;
}

/* xb-all-stats — aucune troncature */
body .xb-all-stats,
body .xb-split-container.split-active .xb-col-doll .xb-all-stats {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
}

/* Dernière section (Divers) — padding en bas pour respirer */
body .xb-all-stats .xb-stats-section:last-of-type {
    border-bottom: none !important;
    margin-bottom: 15px !important;
    padding-bottom: 25px !important;
}

/* Classic stats column — mode normal (non split) */
body .xb-col-stats,
body .mode-build .xb-col-stats {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    height: auto !important;
    max-height: none !important;
}

body .xb-stats-body,
body .mode-build .xb-stats-body {
    overflow-y: visible !important;
    overflow-x: visible !important;
    height: auto !important;
    max-height: none !important;
}

/* #xb-stats-secondary doit être entièrement visible */
body #xb-stats-secondary {
    overflow: visible !important;
    max-height: none !important;
    height: auto !important;
    padding-bottom: 20px !important;
}


/* =====================================================
   4. ACCORDION FERMÉ — ÉTANCHE À 100%
   
   CAUSE RACINE: v88 ne met que padding-top:0 au lieu  
   de padding:0. Du padding-bottom résiduel crée un
   espace visible avec les boutons qui dépassent.
   
   FIX: On met TOUT à zéro quand pas .open
   ===================================================== */

body .xb-filters-accordion,
body .xb-filters-accordion:not(.open) {
    max-height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

body .xb-filters-accordion.open {
    max-height: 600px !important;
    overflow: visible !important;
    margin-top: 10px !important;
    padding: 10px 10px !important;
    border-top: 1px solid rgba(212, 175, 55, 0.2) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    visibility: visible !important;
    transition: all 0.3s ease !important;
}

/* Nouvelle ligne filtres divers */
.xb-filters-row.xb-filters-divers {
    margin-top: 4px !important;
    padding-top: 6px !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
}

/* Boutons % résistance — violet */
.xb-split-filter-btn.xb-filter-res-per {
    border-color: rgba(147, 51, 234, 0.4) !important;
    color: #c4b5fd !important;
}

.xb-split-filter-btn.xb-filter-res-per.active {
    background: rgba(147, 51, 234, 0.3) !important;
    border-color: #9333ea !important;
    color: #e9d5ff !important;
}

/* Boutons divers (pods, init, esq) */
.xb-split-filter-btn.xb-filter-divers {
    border-color: rgba(100, 116, 139, 0.4) !important;
    color: #94a3b8 !important;
}

.xb-split-filter-btn.xb-filter-divers.active {
    background: rgba(100, 116, 139, 0.3) !important;
    border-color: #64748b !important;
    color: #e2e8f0 !important;
}

/* Séparateur */
.xb-filter-sep {
    color: rgba(255,255,255,0.15) !important;
    font-size: 1.2rem !important;
    margin: 0 2px !important;
    user-select: none !important;
}


/* =====================================================
   5. TEXTES AGRANDIS — Header split panel
   
   "Fermer", "Filtres", niveau, tri, "Équipé actuellement"
   ===================================================== */

/* Bouton Fermer */
body .xb-split-close-btn {
    padding: 8px 18px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
}

/* Titre slot */
body .xb-split-ency-title h2,
body #xb-split-slot-name {
    font-size: 1.25rem !important;
    font-weight: 800 !important;
}

/* Équipé actuellement */
body .xb-split-current-label {
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
}

body .xb-split-current-item .xb-split-item-name {
    font-size: 1.05rem !important;
    font-weight: 700 !important;
}

body .xb-split-current-item .xb-split-item-level {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
}

/* Recherche + tri + filtres */
body .xb-split-search-input {
    font-size: 1rem !important;
    padding: 8px 14px !important;
}

body .xb-split-sort-select {
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    padding: 8px 12px !important;
}

body .xb-filters-toggle {
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    padding: 8px 16px !important;
}

/* Labels filtres */
body .xb-filter-label {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
}

body .xb-split-lvl-input {
    font-size: 1rem !important;
    font-weight: 700 !important;
}


/* =====================================================
   6. MODAL FM (FORGEMAGIE) — REFONTE COMPLÈTE
   
   Image item header, icônes stats, couleurs, ergonomie
   ===================================================== */

/* Container modal */
body #xb-fm-modal .xb-modal-box,
body #xb-fm-modal.xb-modal-overlay .xb-modal-box {
    max-width: 880px !important;
    width: 95% !important;
    max-height: 92vh !important;
    background: linear-gradient(160deg, #1a1028 0%, #0f0f1a 40%, #0a0f15 100%) !important;
    border: 2px solid rgba(147, 51, 234, 0.5) !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 80px rgba(0,0,0,0.85), 0 0 60px rgba(147, 51, 234, 0.15) !important;
}

/* Header */
body #xb-fm-modal .xb-modal-header {
    padding: 14px 24px !important;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(245, 158, 11, 0.08)) !important;
    border-bottom: 2px solid rgba(147, 51, 234, 0.4) !important;
    border-radius: 14px 14px 0 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

body #xb-fm-modal .xb-fm-header-left {
    display: flex !important;
    align-items: center !important;
    gap: 14px !important;
}

body #xb-fm-modal .xb-fm-header-img {
    width: 52px !important;
    height: 52px !important;
    object-fit: contain !important;
    border-radius: 10px !important;
    background: rgba(0,0,0,0.4) !important;
    border: 2px solid rgba(147, 51, 234, 0.4) !important;
    padding: 4px !important;
}

body #xb-fm-modal .xb-fm-header-info {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

body #xb-fm-modal .xb-fm-header-info h3,
body #xb-fm-modal .xb-modal-header h3 {
    font-size: 1.5rem !important;
    font-weight: 800 !important;
    color: #e9d5ff !important;
    text-shadow: 0 2px 12px rgba(147, 51, 234, 0.5) !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

body #xb-fm-modal .xb-fm-header-level {
    font-size: 0.9rem !important;
    color: #f59e0b !important;
    font-weight: 700 !important;
}

body #xb-fm-modal .xb-modal-close {
    font-size: 1.6rem !important;
    width: 38px !important;
    height: 38px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.08) !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}

body #xb-fm-modal .xb-modal-close:hover {
    background: rgba(239, 68, 68, 0.3) !important;
}

/* Body */
body #xb-fm-modal .xb-modal-body {
    padding: 24px !important;
    overflow-y: auto !important;
    max-height: 65vh !important;
}

/* Section titles */
body #xb-fm-modal .xb-fm-section-title {
    font-size: 1.3rem !important;
    font-weight: 800 !important;
    color: #f59e0b !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2) !important;
}

body #xb-fm-modal .xb-fm-section-info {
    font-size: 1rem !important;
    color: #9ca3af !important;
    margin-bottom: 18px !important;
}

/* Stat rows — avec icônes */
body #xb-fm-modal .xb-fm-stat {
    padding: 10px 14px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    margin-bottom: 5px !important;
    gap: 12px !important;
}

body #xb-fm-modal .xb-fm-stat:hover {
    background: rgba(255, 255, 255, 0.07) !important;
    border-color: rgba(212, 175, 55, 0.25) !important;
}

/* Icône stat FM */
body #xb-fm-modal .xb-fm-stat-icon {
    width: 22px !important;
    height: 22px !important;
    vertical-align: middle !important;
    margin-right: 6px !important;
    flex-shrink: 0 !important;
}

body #xb-fm-modal .xb-fm-stat-name {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
}

body #xb-fm-modal .xb-fm-stat-range {
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    padding: 4px 8px !important;
    background: rgba(0,0,0,0.3) !important;
    border-radius: 4px !important;
    text-align: center !important;
}

/* Input FM */
body #xb-fm-modal .xb-fm-input {
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    width: 80px !important;
    height: 44px !important;
    text-align: center !important;
    background: rgba(0,0,0,0.5) !important;
    border: 2px solid rgba(255,255,255,0.15) !important;
    border-radius: 8px !important;
    color: #fff !important;
}

body #xb-fm-modal .xb-fm-input:focus {
    border-color: #f59e0b !important;
    box-shadow: 0 0 12px rgba(245, 158, 11, 0.3) !important;
    outline: none !important;
}

/* Over/Under diff badges */
body #xb-fm-modal .xb-fm-diff {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    min-width: 44px !important;
    text-align: center !important;
    padding: 4px 8px !important;
    border-radius: 6px !important;
}

body #xb-fm-modal .xb-fm-diff.over {
    background: rgba(245, 158, 11, 0.25) !important;
    color: #f59e0b !important;
    border: 1px solid rgba(245, 158, 11, 0.4) !important;
}

body #xb-fm-modal .xb-fm-diff.under {
    background: rgba(239, 68, 68, 0.2) !important;
    color: #f87171 !important;
    border: 1px solid rgba(239, 68, 68, 0.3) !important;
}

/* OVER tag */
body #xb-fm-modal .xb-fm-over-tag {
    font-size: 0.7rem !important;
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #000 !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-weight: 800 !important;
}

/* Footer */
body #xb-fm-modal .xb-modal-footer {
    padding: 16px 24px !important;
    background: rgba(0,0,0,0.3) !important;
    border-top: 1px solid rgba(147, 51, 234, 0.2) !important;
    border-radius: 0 0 14px 14px !important;
}

body #xb-fm-modal .xb-modal-footer button {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    padding: 12px 28px !important;
    border-radius: 10px !important;
    cursor: pointer !important;
}

body #xb-fm-modal .xb-btn-gold {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    border: 2px solid #f59e0b !important;
    color: #000 !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4) !important;
}

body #xb-fm-modal .xb-btn-gold:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.6) !important;
}

body #xb-fm-modal .xb-btn-secondary {
    background: rgba(255,255,255,0.06) !important;
    border: 2px solid rgba(255,255,255,0.2) !important;
    color: #d1d5db !important;
}


/* =====================================================
   7. EXOMAGIE — SECTION AVEC COULEURS ET STYLE
   ===================================================== */

body #xb-fm-modal .xb-exo-section {
    margin-top: 28px !important;
    padding: 22px !important;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(79, 70, 229, 0.06)) !important;
    border: 2px solid rgba(147, 51, 234, 0.4) !important;
    border-radius: 14px !important;
    position: relative !important;
}

body #xb-fm-modal .xb-exo-section::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent 5%, #9333ea 30%, #7c3aed 70%, transparent 95%) !important;
    border-radius: 14px 14px 0 0 !important;
}

body #xb-fm-modal .xb-exo-title {
    font-size: 1.4rem !important;
    font-weight: 900 !important;
    color: #c084fc !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 14px !important;
    text-shadow: 0 2px 10px rgba(147, 51, 234, 0.4) !important;
}

body #xb-fm-modal .xb-exo-info {
    font-size: 1rem !important;
    color: #c4b5fd !important;
    line-height: 1.7 !important;
    padding: 14px 18px !important;
    background: rgba(0,0,0,0.35) !important;
    border-radius: 10px !important;
    border-left: 4px solid #7c3aed !important;
    margin-bottom: 18px !important;
}

body #xb-fm-modal .xb-exo-info strong {
    color: #e9d5ff !important;
    font-size: 1.05rem !important;
}

body #xb-fm-modal .xb-exo-weight {
    font-size: 1.1rem !important;
    color: #d1d5db !important;
    margin-bottom: 18px !important;
    padding: 12px 16px !important;
    background: rgba(0,0,0,0.25) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(147, 51, 234, 0.2) !important;
}

body #xb-fm-modal .xb-exo-weight strong {
    color: #f59e0b !important;
    font-size: 1.25rem !important;
}

body #xb-fm-modal .xb-exo-group {
    margin-bottom: 18px !important;
}

body #xb-fm-modal .xb-exo-group-label {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #a78bfa !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    margin-bottom: 12px !important;
    padding-bottom: 6px !important;
    border-bottom: 1px solid rgba(147, 51, 234, 0.15) !important;
}

body #xb-fm-modal .xb-exo-btns {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

body #xb-fm-modal .xb-exo-btn {
    padding: 14px 26px !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    border-radius: 10px !important;
    border: 2px solid rgba(147, 51, 234, 0.4) !important;
    background: rgba(147, 51, 234, 0.08) !important;
    color: #d1d5db !important;
    cursor: pointer !important;
    transition: all 0.25s ease !important;
    text-transform: uppercase !important;
    position: relative !important;
}

body #xb-fm-modal .xb-exo-btn:hover {
    background: rgba(147, 51, 234, 0.2) !important;
    border-color: #9333ea !important;
    color: #e9d5ff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(147, 51, 234, 0.3) !important;
}

body #xb-fm-modal .xb-exo-btn.active {
    background: linear-gradient(135deg, #7c3aed, #9333ea) !important;
    border-color: #a855f7 !important;
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.5), inset 0 1px 0 rgba(255,255,255,0.15) !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3) !important;
}

body #xb-fm-modal .xb-exo-btn.active::after {
    content: '✓' !important;
    position: absolute !important;
    top: -7px !important;
    right: -7px !important;
    width: 20px !important;
    height: 20px !important;
    background: #22c55e !important;
    border-radius: 50% !important;
    font-size: 11px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: white !important;
    font-weight: 900 !important;
    border: 2px solid #0f0f1a !important;
}

body #xb-fm-modal .xb-exo-btn.xb-exo-btn-small {
    padding: 10px 18px !important;
    font-size: 1rem !important;
}


/* =====================================================
   8. FM SÉLECTION ÉQUIPEMENT — TEXTES AGRANDIS
   
   Le modale de CHOIX d'item pour la forgemagie
   (#xb-fm-selector-container)
   ===================================================== */

body .xb-fm-selector-overlay {
    z-index: 10001 !important;
}

body .xb-fm-selector {
    max-width: 700px !important;
    width: 95% !important;
    padding: 28px !important;
    background: linear-gradient(160deg, #1a1028, #0f0f1a) !important;
    border: 2px solid rgba(255, 136, 0, 0.5) !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 80px rgba(0,0,0,0.85), 0 0 40px rgba(255, 136, 0, 0.1) !important;
}

body .xb-fm-selector-header {
    margin-bottom: 24px !important;
    padding-bottom: 16px !important;
}

body .xb-fm-selector-header h3 {
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    color: #ff8800 !important;
    text-shadow: 0 2px 12px rgba(255, 136, 0, 0.4) !important;
}

body .xb-fm-selector-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
    gap: 14px !important;
}

body .xb-fm-selector-item {
    padding: 14px !important;
    gap: 14px !important;
    background: rgba(255, 102, 0, 0.08) !important;
    border: 2px solid rgba(255, 102, 0, 0.25) !important;
    border-radius: 12px !important;
    transition: all 0.2s ease !important;
}

body .xb-fm-selector-item:hover {
    background: rgba(255, 102, 0, 0.2) !important;
    border-color: #ff6600 !important;
    box-shadow: 0 4px 20px rgba(255, 102, 0, 0.3) !important;
    transform: translateY(-2px) !important;
}

body .xb-fm-selector-item img {
    width: 56px !important;
    height: 56px !important;
    border-radius: 10px !important;
    background: rgba(0,0,0,0.4) !important;
    padding: 4px !important;
    border: 1px solid rgba(255, 136, 0, 0.3) !important;
}

body .xb-fm-selector-name {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #fff !important;
}

body .xb-fm-selector-level {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #f59e0b !important;
}

body .xb-fm-close {
    font-size: 1.5rem !important;
    width: 36px !important;
    height: 36px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: rgba(255,255,255,0.08) !important;
    border: none !important;
    color: #aaa !important;
    cursor: pointer !important;
}

body .xb-fm-close:hover {
    background: rgba(239, 68, 68, 0.3) !important;
    color: #fff !important;
}


/* =====================================================
   9. HOVER PREVIEW — BADGES +/- AGRANDIS
   ===================================================== */

.xb-sl-diff {
    position: absolute !important;
    top: -14px !important;
    right: -10px !important;
    font-size: 1.1rem !important;
    font-weight: 900 !important;
    padding: 5px 12px !important;
    border-radius: 8px !important;
    z-index: 100 !important;
    white-space: nowrap !important;
    pointer-events: none !important;
    min-width: 36px !important;
    text-align: center !important;
}

.xb-sl-diff.positive {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    color: #fff !important;
    border: 2px solid #4ade80 !important;
    box-shadow: 0 3px 14px rgba(34, 197, 94, 0.7) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}

.xb-sl-diff.negative {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    color: #fff !important;
    border: 2px solid #f87171 !important;
    box-shadow: 0 3px 14px rgba(239, 68, 68, 0.7) !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5) !important;
}


/* =====================================================
   10. BADGE EXO DYNAMIQUE — PA/PM/PO sur le slot
   
   Utilise data-exo-label set par JS dans updateSlot()
   ===================================================== */

body .xb-slot.exo {
    border: 2px dashed #a855f7 !important;
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.5) !important;
    animation: exo-pulse-v91 2s ease-in-out infinite !important;
}

/* Avec data-exo-label (dynamique JS) */
body .xb-slot.exo[data-exo-label]::before {
    content: attr(data-exo-label) !important;
    position: absolute !important;
    top: -11px !important;
    right: -11px !important;
    background: linear-gradient(135deg, #9333ea, #7c3aed) !important;
    color: #fff !important;
    font-size: 0.55rem !important;
    font-weight: 900 !important;
    padding: 3px 5px !important;
    border-radius: 5px !important;
    z-index: 70 !important;
    white-space: nowrap !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5) !important;
    box-shadow: 0 2px 8px rgba(147, 51, 234, 0.5) !important;
    line-height: 1.2 !important;
    letter-spacing: 0.5px !important;
}

/* Fallback sans data-attribute */
body .xb-slot.exo:not([data-exo-label])::before {
    content: 'EXO' !important;
    position: absolute !important;
    top: -11px !important;
    right: -11px !important;
    background: linear-gradient(135deg, #9333ea, #7c3aed) !important;
    color: #fff !important;
    font-size: 0.55rem !important;
    font-weight: 900 !important;
    padding: 3px 5px !important;
    border-radius: 5px !important;
    z-index: 70 !important;
    box-shadow: 0 2px 8px rgba(147, 51, 234, 0.5) !important;
    line-height: 1.2 !important;
}

/* EXO + FM combiné */
body .xb-slot.exo.forged[data-exo-label]::before {
    background: linear-gradient(135deg, #f59e0b, #9333ea) !important;
    font-size: 0.5rem !important;
}

body .xb-slot.exo.forged:not([data-exo-label])::before {
    content: 'EXO+FM' !important;
    background: linear-gradient(135deg, #f59e0b, #9333ea) !important;
    font-size: 0.5rem !important;
}

/* FM seul (sans exo) */
body .xb-slot.forged:not(.exo)::before {
    content: 'FM' !important;
    position: absolute !important;
    top: -9px !important;
    right: -9px !important;
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    color: #fff !important;
    font-size: 0.55rem !important;
    font-weight: 900 !important;
    padding: 3px 5px !important;
    border-radius: 5px !important;
    z-index: 70 !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.5) !important;
    line-height: 1.2 !important;
}

@keyframes exo-pulse-v91 {
    0%, 100% { box-shadow: 0 0 12px rgba(168, 85, 247, 0.5); }
    50% { box-shadow: 0 0 22px rgba(168, 85, 247, 0.8); }
}

body .xb-slot.exo {
    animation-name: exo-pulse-v91 !important;
}


/* =====================================================
   11. SCROLLBAR STYLE — pour la colonne gauche split
   ===================================================== */

.xb-split-left::-webkit-scrollbar {
    width: 6px;
}

.xb-split-left::-webkit-scrollbar-track {
    background: transparent;
}

.xb-split-left::-webkit-scrollbar-thumb {
    background: rgba(212, 175, 55, 0.3);
    border-radius: 3px;
}

.xb-split-left::-webkit-scrollbar-thumb:hover {
    background: rgba(212, 175, 55, 0.5);
}

.xb-split-left {
    scrollbar-width: thin;
    scrollbar-color: rgba(212, 175, 55, 0.3) transparent;
}
