    /* ============================================= */
    /* BGO CHART - DESIGN MODERNE 2025 - VERSION CORRIGÉE */
    /* ============================================= */
    
    .bgo-chart-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 30px 20px;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
        background: linear-gradient(135deg, #fafbfc 0%, #f4f6f9 100%);
    }
    
    /* === EN-TÊTE DU CHART === */

    .bgo-chart-title {
        font-size: 36px;
        font-weight: 700;
        margin: 0 0 12px 0;
        color: #ffffff;
        text-transform: capitalize;
        letter-spacing: 0.5px;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
        line-height: 1.3;
    }

    
    .bgo-chart-date {
        font-size: 15px;
        color: rgba(255, 255, 255, 0.85);
        margin: 8px 0 0 0;
        font-weight: 400;
        line-height: 1.6;
        letter-spacing: 0.3px;
        opacity: 0.9;
    }

    
    /* === LISTE DES ITEMS === */
    .bgo-chart-list {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    /* === CARTE CHART (DESKTOP - HORIZONTAL) === */
    .bgo-chart-item {
        position: relative;
        display: grid;
        grid-template-columns: 90px 200px 1fr;
        gap: 25px;
        align-items: center;
        background: #ffffff;
        padding: 20px 30px;
        border-radius: 20px;
        border: 2px solid #e8ecf2;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow: visible;
    }
    
    .bgo-chart-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
        border-color: #8b9dc3;
    }
    
    /* === BADGE DE POSITION (GRAND CHIFFRE ROUGE) === */
    .bgo-chart-position {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 80px;
        height: 80px;
        background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
        border-radius: 18px;
        box-shadow: 0 6px 20px rgba(255, 65, 108, 0.4);
        flex-shrink: 0;
    }
    
    .position-number {
        font-size: 36px;
        font-weight: 900;
        color: #ffffff;
        line-height: 1;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    }
    
    .position-prev {
        display: none;
    }
    
    /* === MINIATURE / IMAGE === */
    /* 4️⃣ CORRECTION: Image par défaut gérée via HTML */
    .bgo-chart-thumbnail {
        width: 180px;
        height: 180px;
        border-radius: 16px;
        overflow: hidden;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        flex-shrink: 0;
        position: relative;
    }
    
    .bgo-chart-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }
    
    .bgo-chart-item:hover .bgo-chart-thumbnail img {
        transform: scale(1.1);
    }
    
    /* === INFORMATIONS (TITRE + MÉTADONNÉES + BOUTONS) === */
    .bgo-chart-info {
        display: flex;
        flex-direction: column;
        gap: 15px;
        min-width: 0;
    }
    
    .bgo-chart-song-title {
        font-size: 26px;
        font-weight: 800;
        margin: 0;
        line-height: 1.3;
        color: #ff416c;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .bgo-chart-song-title a {
        color: #ff416c;
        text-decoration: none;
        transition: color 0.3s ease;
    }
    
    .bgo-chart-song-title a:hover {
        color: #ff4b2b;
        text-shadow: 0 2px 8px rgba(255, 65, 108, 0.3);
    }
    
    /* 1️⃣ Badge "Nouveau" stylé et animé pour nouvelles entrées */
    .bgo-chart-meta .new-icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 12px;
        font-weight: 900;
        padding: 8px 16px;
        border-radius: 20px;
        background: linear-gradient(135deg, #ffd93d 0%, #ffb800 100%);
        color: #1f2937;
        text-transform: uppercase;
        letter-spacing: 1px;
        border: 2px solid #ffa500;
        box-shadow: 0 4px 15px rgba(255, 165, 0, 0.5),
                    inset 0 1px 3px rgba(255, 255, 255, 0.5);
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
        animation: pulse-glow 2s ease-in-out infinite;
    }
    
    /* Effet brillant qui se déplace */
    .bgo-chart-meta .new-icon::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(
            45deg,
            transparent 30%,
            rgba(255, 255, 255, 0.5) 50%,
            transparent 70%
        );
        animation: shine 3s infinite;
    }
    
    /* Effet de texte avec ombre */
    .bgo-chart-meta .new-icon::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 20px;
        padding: 2px;
        background: linear-gradient(135deg, #fff 0%, #ffd93d 100%);
        -webkit-mask: linear-gradient(#fff 0 0) content-box, 
                      linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        opacity: 0.6;
    }
    
    /* Animation de pulsation lumineuse */
    @keyframes pulse-glow {
        0%, 100% {
            box-shadow: 0 4px 15px rgba(255, 165, 0, 0.5),
                        inset 0 1px 3px rgba(255, 255, 255, 0.5);
            transform: scale(1);
        }
        50% {
            box-shadow: 0 6px 25px rgba(255, 165, 0, 0.8),
                        0 0 20px rgba(255, 217, 61, 0.6),
                        inset 0 1px 3px rgba(255, 255, 255, 0.7);
            transform: scale(1.05);
        }
    }
    
    /* Animation de brillance */
    @keyframes shine {
        0% {
            transform: translate(-50%, -50%) rotate(0deg);
        }
        100% {
            transform: translate(150%, 150%) rotate(0deg);
        }
    }
    
    /* Effet hover */
    .bgo-chart-meta .new-icon:hover {
        transform: translateY(-2px) scale(1.08);
        box-shadow: 0 6px 25px rgba(255, 165, 0, 0.8),
                    0 0 25px rgba(255, 217, 61, 0.7),
                    inset 0 1px 3px rgba(255, 255, 255, 0.7);
        border-color: #ff8c00;
    }
    
    
    /* Couronne (peak position) - style amélioré */
    .peak-badge {
        font-size: 20px;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
        margin-left: 5px;
    }
    
    .bgo-chart-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
        font-size: 14px;
        color: #6b7280;
        align-items: center;
    }
    
    .bgo-chart-meta span {
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }
    
    /* 2️⃣ CORRECTION: Bouton "Semaine X" stylisé */
        .bgo-chart-meta .chart-weeks-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            padding: 6px 14px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #ffffff;
            font-size: 12px;
            font-weight: 600;
            border-radius: 50px;
            text-decoration: none;
            border: 2px solid transparent;
            transition: all 0.3s ease;
            box-shadow: 0 3px 12px rgba(102, 126, 234, 0.3);
            white-space: nowrap;
        }

    
    .bgo-chart-meta .chart-weeks-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 18px rgba(102, 126, 234, 0.5);
        border-color: #667eea;
    }
    
    /* 3️⃣ CORRECTION: Bouton Écouter ajouté */
    .bgo-chart-actions {
        display: flex;
        gap: 12px;
        align-items: center;
        margin-top: 5px;
    }
    
    .bgo-chart-listen-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 10px 24px;
        background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
        color: #ffffff !important;
        font-size: 14px;
        font-weight: 700;
        border-radius: 50px;
        text-decoration: none !important;
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(255, 65, 108, 0.4);
        white-space: nowrap;
    }

    
    .bgo-chart-listen-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(255, 65, 108, 0.6);
        color: #ffffff !important;
    }
    
    .bgo-chart-listen-btn::before {
        content: '▶';
        font-size: 13px;
    }
    
    /* === MOUVEMENT (FLÈCHES + CHIFFRE) === */
    .bgo-chart-movement {
        position: absolute;
        top: -15px;
        right: -25px;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
    }


    .bgo-chart-arrow {
        font-size: 32px;
        line-height: 1;
        filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.2));
    }

    .bgo-chart-item.bgo-chart-up .bgo-chart-arrow.up {
        color: #00e676;
    }
    
    .bgo-chart-item.bgo-chart-down .bgo-chart-arrow.down {
        color: #ff6b9d;
    }
    
    .bgo-chart-arrow.same {
        color: #9ca3af;
        font-size: 28px;
    }
    
    /* Bordure latérale colorée selon le mouvement */
    .bgo-chart-item.bgo-chart-up {
        border-left: 6px solid #00e676;
    }
    
    .bgo-chart-item.bgo-chart-down {
        border-left: 6px solid #ff6b9d;
    }
    
    .bgo-chart-item.bgo-chart-new {
        border-left: 6px solid #ffd93d;
        background: linear-gradient(135deg, #ffffff 0%, #fffef5 100%);
    }
    
    .bgo-chart-item.is-peak {
        background: linear-gradient(135deg, #ffffff 0%, #fff5f8 100%);
    }
    

    /* Boutons de mouvement (montée/descente) */
    .movement-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 8px 16px;
        font-size: 14px;
        font-weight: 700;
        border-radius: 50px;
        border: 2px solid transparent;
        transition: all 0.3s ease;
        white-space: nowrap;
        min-width: 60px;
    }
    
    /* Bouton VERT pour montée */
    .movement-btn-up {
        background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
        color: #ffffff;
        box-shadow: 0 4px 15px rgba(56, 239, 125, 0.4);
    }
    
    .movement-btn-up:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 6px 20px rgba(56, 239, 125, 0.6);
    }
    
    /* Bouton ROUGE pour descente */
    .movement-btn-down {
        background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
        color: #ffffff;
        box-shadow: 0 4px 15px rgba(238, 9, 121, 0.4);
    }
    
    .movement-btn-down:hover {
        transform: translateY(-2px) scale(1.05);
        box-shadow: 0 6px 20px rgba(238, 9, 121, 0.6);
    }
    

    /* Bouton Record (Peak Position) */
    .bgo-chart-meta .chart-record-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 6px 14px;
        background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
        color: #ffffff;
        font-size: 12px;
        font-weight: 600;
        border-radius: 50px;
        border: 2px solid transparent;
        transition: all 0.3s ease;
        box-shadow: 0 3px 12px rgba(245, 87, 108, 0.3);
        white-space: nowrap;
    }
    
    .bgo-chart-meta .chart-record-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 18px rgba(245, 87, 108, 0.5);
        border-color: #f5576c;
    }

    
    /* === RESPONSIVE MOBILE (< 768px) === */
    @media (max-width: 768px) {
        .bgo-chart-container {
            padding: 10px 5px;
        }
    
        .bgo-chart-title {
            font-size: 28px;
            margin-bottom: 10px;
        }
    
        .bgo-chart-date {
            font-size: 13px;
        }
    
        .bgo-chart-list {
            gap: 10px;
        }
    
        /* Layout VERTICAL pour mobile */
        .bgo-chart-item {
            grid-template-columns: 1fr;
            grid-template-rows: auto;
            padding: 12px 8px;
            gap: 15px;
            text-align: center;
            position: relative;
        }

    
        /* Badge position en haut à gauche */
        .bgo-chart-position {
            position: absolute;
            top: 15px;
            left: 40px;
            width: 60px;
            height: 60px;
            z-index: 10;
        }
    
        .position-number {
            font-size: 28px;
        }
    
        /* Image centrée */
        .bgo-chart-thumbnail {
            width: 100%;
            max-width: 320px;
            height: 320px;
            margin: 20px auto 0 auto;
            border-radius: 20px;
        }
    
        /* Info centrées */
        .bgo-chart-info {
            text-align: center;
            gap: 12px;
        }
    
        .bgo-chart-song-title {
            font-size: 22px;
            justify-content: center;
        }
    
        .bgo-chart-meta .new-icon {
            font-size: 10px;
            padding: 6px 12px;
            animation: pulse-glow 2.5s ease-in-out infinite;
        }
    
    
        .bgo-chart-meta {
            justify-content: center;
            font-size: 13px;
            gap: 12px;
        }
    
        .bgo-chart-meta .chart-weeks-btn {
            font-size: 13px;
            padding: 7px 16px;
        }
    
        /* Boutons centrés */
        .bgo-chart-actions {
            justify-content: center;
            flex-wrap: wrap;
        }
    
        .bgo-chart-listen-btn {
            padding: 11px 24px;
            font-size: 14px;
        }
    
        /* Mouvement repositionné en haut à droite */
        .bgo-chart-movement {
            top: -12px;
            right: -20px;
        }
    
        .bgo-chart-arrow {
            font-size: 28px;
        }
    }
    
    /* === RESPONSIVE TRÈS PETIT MOBILE (< 480px) === */
    @media (max-width: 480px) {
        .bgo-chart-container {
            padding: 5px 3px;
        }
    
        .bgo-chart-header {
            padding: 20px 15px;
            margin-bottom: 20px;
        }
    
        .bgo-chart-title {
            font-size: 24px;
        }
    
        .bgo-chart-item {
            padding: 10px 6px;
            border-radius: 16px;
        }
    
        .bgo-chart-position {
            width: 50px;
            height: 50px;
            top: 12px;
            left: 12px;
        }
    
        .position-number {
            font-size: 24px;
        }
    
        .bgo-chart-thumbnail {
            height: 280px;
            margin-top: 37px;
        }
    
        .bgo-chart-song-title {
            font-size: 20px;
        }
    
        .bgo-chart-meta {
            font-size: 12px;
            gap: 10px;
        }
    
        .bgo-chart-meta .chart-weeks-btn {
            font-size: 12px;
            padding: 6px 14px;
        }
    
        .bgo-chart-listen-btn {
            padding: 10px 20px;
            font-size: 13px;
        }

        .bgo-chart-arrow {
            font-size: 24px;
        }
    }
    

    /* Responsive boutons sur tablette */
    @media (max-width: 768px) {
        .chart-weeks-btn {
            padding: 5px 12px !important;
            font-size: 11px !important;
        }
        
        .bgo-chart-listen-btn {
            padding: 8px 20px !important;
            font-size: 13px !important;
        }
        
        .chart-record-btn {
            padding: 5px 12px !important;
            font-size: 11px !important;
        }
        
        .movement-btn {
            padding: 6px 12px !important;
            font-size: 12px !important;
            min-width: 50px !important;
        }
        
    }  
    
    @media (max-width: 480px) {
        .bgo-chart-movement {
            position: static;
            transform: none;
            margin-top: 10px;
            margin-left: auto;
            margin-right: auto;
            width: fit-content;
        }
    }


    /* Responsive boutons sur mobile */
    @media (max-width: 480px) {
        .bgo-chart-meta {
            flex-wrap: wrap;
            gap: 6px !important;
        }
        
        .chart-weeks-btn {
            padding: 4px 10px !important;
            font-size: 10px !important;
        }
        
        .bgo-chart-listen-btn {
            padding: 7px 16px !important;
            font-size: 12px !important;
        }
        
        .chart-record-btn {
            padding: 4px 10px !important;
            font-size: 10px !important;
        }
        
        .movement-btn {
            padding: 5px 10px !important;
            font-size: 11px !important;
            min-width: 45px !important;
        }
    }

    
    /* === MESSAGE VIDE === */
    .bgo-chart-empty {
        text-align: center;
        padding: 60px 20px;
        background: #ffffff;
        border-radius: 20px;
        border: 2px dashed #d1d5db;
    }
    
    .bgo-chart-empty p {
        font-size: 18px;
        color: #6b7280;
        margin: 0;
    }
    
/* === EN-TÊTE CHART - STYLES ULTRA SPÉCIFIQUES === */
/* Ne touche AUCUN autre élément du site */

.bgo-chart-container .bgo-chart-header .bgo-chart-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.bgo-chart-container .bgo-chart-header .bgo-chart-period,
.bgo-chart-container .bgo-chart-header .bgo-chart-update {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.bgo-chart-container .bgo-chart-header .meta-label {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

.bgo-chart-container .bgo-chart-header .meta-value {
    color: #ffffff;
    font-weight: 600;
}

.bgo-chart-container .bgo-chart-header .meta-badge {
    display: inline-block;
    padding: 3px 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    margin-left: 5px;
}


/* Bloc AdSense intégré au Top 50 */
.bgo-chart-adsense {
    width: 100%;
    margin: 10px 0 20px 0;
    padding: 10px 0;
    text-align: center;
    display: block;
    clear: both;
}

/* AdSense doit s’adapter dans la largeur du container */
.bgo-chart-adsense ins,
.bgo-chart-adsense iframe {
    max-width: 100% !important;
    height: auto;
}






        /* Styles pour le bouton de partage sur les images du chart */
        .bgo-chart-thumbnail {
            position: relative;
        }
        
        /* Style DESKTOP (hover) */
        .bgo-share-btn {
            position: absolute;
            top: 10px;
            right: 10px;
            background: rgba(0, 0, 0, 0.7);
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            opacity: 0;
            transition: all 0.3s ease;
            z-index: 10;
            padding: 0;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        }
        
        .bgo-chart-thumbnail:hover .bgo-share-btn {
            opacity: 1;
            transform: scale(1.1);
        }
        
        .bgo-share-btn:hover {
            background: rgba(255, 215, 0, 0.9);
            transform: scale(1.2) !important;
            border-color: rgba(255, 215, 0, 1);
        }
        
        .bgo-share-btn svg {
            color: white;
        }
        
        .bgo-share-btn:hover svg {
            color: #1a1a2e;
        }
        
        .bgo-share-btn:active {
            transform: scale(0.95) !important;
        }
        
        /* MOBILE - ULTRA VISIBLE ET ACCESSIBLE */
        @media (max-width: 768px) {
            .bgo-share-btn {
                /* TOUJOURS VISIBLE */
                opacity: 1 !important;
                display: flex !important;
                
                /* PLUS GRAND - facile à toucher */
                width: 50px;
                height: 50px;
                
                /* DORÉ ÉCLATANT - impossible à manquer */
                background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
                
                /* BORDURE BLANCHE ÉPAISSE */
                border: 3px solid white;
                box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 
                            0 0 0 1px rgba(255, 215, 0, 0.5);
                
                /* POSITION optimisée */
                top: 5px;
                right: 5px;
            }
            
            .bgo-share-btn svg {
                color: #1a1a2e;
                width: 24px;
                height: 24px;
                filter: drop-shadow(0 1px 2px rgba(255,255,255,0.5));
            }
            
            /* Feedback visuel au tap */
            .bgo-share-btn:active {
                background: linear-gradient(135deg, #FFA500 0%, #FFD700 100%);
                transform: scale(0.92) !important;
                box-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
            }
            
            /* Animation PULSE continue */
            @keyframes mobilePulse {
                0%, 100% { 
                    transform: scale(1);
                    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6), 
                                0 0 0 1px rgba(255, 215, 0, 0.5);
                }
                50% { 
                    transform: scale(1.08);
                    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.8), 
                                0 0 0 3px rgba(255, 215, 0, 0.6);
                }
            }
            
            .bgo-share-btn {
                animation: mobilePulse 2.5s ease-in-out infinite;
            }
            
            /* Arrêter l'animation pendant le tap */
            .bgo-share-btn:active {
                animation: none !important;
            }
        }
        
        /* TABLETTE - intermédiaire */
        @media (min-width: 769px) and (max-width: 1024px) {
            .bgo-share-btn {
                opacity: 0.8;
                width: 42px;
                height: 42px;
            }
            
            .bgo-chart-thumbnail:hover .bgo-share-btn {
                opacity: 1;
            }
        } 


/* ========================================
   GOOGLE ADSENSE - OPTIMISÉ POUR RESPONSIVE
   ======================================== */

/* Container principal AdSense - Occupe tout l'espace */
.bgo-chart-adsense-container {
    width: 100%;
    max-width: 100%;
    margin: 30px 0;
    padding: 0;
    background: transparent;
    border: none;
    overflow: visible !important;
    box-sizing: border-box;
    text-align: center;
    display: block;
    clear: both;
}

/* Protection des éléments AdSense (ins, iframe) - PLEINE LARGEUR */
.bgo-chart-adsense-container ins,
.bgo-chart-adsense-container iframe,
.bgo-chart-adsense-container ins > ins,
.bgo-chart-adsense-container .adsbygoogle {
    max-width: 100% !important;
    width: 100% !important;
    min-width: 100% !important;
    height: auto !important;
    min-height: 50px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    overflow: visible !important;
}

/* S'assurer que l'AdSense occupe tout l'espace du container parent */
.bgo-chart-adsense-container ins[data-ad-status="filled"],
.bgo-chart-adsense-container ins[data-ad-status="unfilled"] {
    width: 100% !important;
    min-width: 100% !important;
}

/* Forcer la visibilité et le dimensionnement */
.bgo-chart-adsense-container > * {
    width: 100% !important;
    max-width: 100% !important;
}

/* Responsive - Mobile (< 768px) */
@media (max-width: 768px) {
    .bgo-chart-adsense-container {
        margin: 20px 0;
        padding: 0;
    }
    
    .bgo-chart-adsense-container ins,
    .bgo-chart-adsense-container iframe {
        min-height: 50px !important;
    }
}

/* Responsive - Tablette (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .bgo-chart-adsense-container {
        margin: 25px 0;
        padding: 0;
    }
    
    .bgo-chart-adsense-container ins,
    .bgo-chart-adsense-container iframe {
        min-height: 90px !important;
    }
}

/* Desktop (> 1024px) */
@media (min-width: 1024px) {
    .bgo-chart-adsense-container {
        margin: 30px 0;
        padding: 0;
    }
    
    .bgo-chart-adsense-container ins,
    .bgo-chart-adsense-container iframe {
        min-height: 90px !important;
    }
}



/* ========================================================================
   CSS POUR HEADER - SANS LES BADGES
   ======================================================================== */

/* === EN-TÊTE DU CHART - DESIGN MODERNE === */
.bgo-chart-container {
overflow: visible !important;
}

.bgo-chart-header {
position: relative;
text-align: center;
margin-bottom: 50px;
margin-top: 30px;
padding: 60px 30px 35px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 20px;
box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
overflow: visible !important;
}

/* Motif de fond musical avec CSS */
.bgo-chart-header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-image: 
  repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px),
  repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,0.03) 10px, rgba(255,255,255,0.03) 20px);
border-radius: 20px;
pointer-events: none;
z-index: 0;
}

/* Titre principal */
.bgo-chart-title {
font-size: 36px;
font-weight: 700;
margin: 0 0 12px 0;
color: #ffffff;
text-transform: capitalize;
letter-spacing: 0.5px;
text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
line-height: 1.3;
position: relative;
z-index: 1;
}

/* Dates et informations */
.bgo-chart-date {
font-size: 15px;
color: rgba(255, 255, 255, 0.9);
margin: 8px 0 0 0;
font-weight: 400;
line-height: 1.6;
letter-spacing: 0.3px;
position: relative;
z-index: 1;
}

/* Container pour les métadonnées du header */
.bgo-chart-container .bgo-chart-header .bgo-chart-meta {
display: flex;
flex-direction: column;
align-items: center;
gap: 8px;
margin-top: 15px;
position: relative;
z-index: 1;
}

.bgo-chart-container .bgo-chart-header .bgo-chart-period,
.bgo-chart-container .bgo-chart-header .bgo-chart-update {
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
line-height: 1.4;
color: rgba(255, 255, 255, 0.9);
}

.bgo-chart-container .bgo-chart-header .meta-label {
color: rgba(255, 255, 255, 0.75);
font-weight: 500;
}

.bgo-chart-container .bgo-chart-header .meta-value {
color: #ffffff;
font-weight: 600;
}

.bgo-chart-container .bgo-chart-header .meta-badge {
display: inline-block;
padding: 3px 10px;
background: rgba(255, 255, 255, 0.2);
border-radius: 12px;
font-size: 12px;
font-weight: 600;
color: #ffffff;
margin-left: 5px;
}

/* Container de statut */
.bgo-chart-status {
display: flex;
justify-content: center;
align-items: center;
margin: 0;
padding: 0;
position: relative;
z-index: 1;
}

/* === RESPONSIVE TABLETTE (< 1024px) === */
@media (max-width: 1024px) {
.bgo-chart-header {
padding: 55px 25px 30px;
margin-top: 25px;
}

.bgo-chart-title {
font-size: 32px;
}

.bgo-chart-date {
font-size: 14px;
}
}

/* === RESPONSIVE MOBILE (< 768px) === */
@media (max-width: 768px) {
.bgo-chart-header {
margin-bottom: 30px;
margin-top: 25px;
padding: 50px 20px 25px;
border-radius: 16px;
}

.bgo-chart-title {
font-size: 26px;
margin-bottom: 10px;
}

.bgo-chart-date {
font-size: 13px;
}

.bgo-chart-container .bgo-chart-header .bgo-chart-meta {
gap: 6px;
}

.bgo-chart-container .bgo-chart-header .bgo-chart-period,
.bgo-chart-container .bgo-chart-header .bgo-chart-update {
font-size: 13px;
}
}

/* === RESPONSIVE TRÈS PETIT MOBILE (< 480px) === */
@media (max-width: 480px) {
.bgo-chart-header {
padding: 45px 15px 20px;
border-radius: 14px;
margin-bottom: 20px;
margin-top: 22px;
}

.bgo-chart-title {
font-size: 22px;
line-height: 1.2;
}

.bgo-chart-date {
font-size: 12px;
}

.bgo-chart-container .bgo-chart-header .bgo-chart-meta {
gap: 5px;
margin-top: 10px;
}

.bgo-chart-container .bgo-chart-header .bgo-chart-period,
.bgo-chart-container .bgo-chart-header .bgo-chart-update {
font-size: 12px;
flex-direction: column;
gap: 4px;
}

.bgo-chart-container .bgo-chart-header .meta-badge {
font-size: 11px;
padding: 2px 8px;
}
}

/* === RESPONSIVE EXTRA PETIT (< 360px) === */
@media (max-width: 360px) {
.bgo-chart-header {
padding: 40px 10px 18px;
margin-top: 20px;
}

.bgo-chart-title {
font-size: 20px;
}

.bgo-chart-date {
font-size: 11px;
}
}

/* ========================================================================
   CSS BADGES - RESPECTE LE CONTENU DYNAMIQUE PHP
   ======================================================================== */

/* Force overflow visible UNIQUEMENT pour le header et le wrapper (pas pour TOUS les éléments) */
.bgo-chart-container,
body .bgo-chart-container {
    overflow: visible !important;
}

.bgo-chart-header-wrapper,
.bgo-chart-header,
body .bgo-chart-header-wrapper,
body .bgo-chart-header {
    overflow: visible !important;
}

/* EXCEPTION CRITIQUE : Préserver overflow: hidden pour les thumbnails */
.bgo-chart-thumbnail,
.bgo-chart-thumbnail img {
    overflow: hidden !important;
}

.bgo-chart-thumbnail {
    border-radius: 16px !important;
}


/* Badge OFFICIAL LIST - Positionné au-dessus du header */
.bgo-badge-official {
    position: absolute !important;
    top: -20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white !important;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
    border: 3px solid white;
    animation: pulse-official 2.5s ease-in-out infinite;
    z-index: 9999 !important;
    white-space: nowrap;
}

/* Icône checkmark avant le texte - RESPECTE LE CONTENU PHP */
.bgo-badge-official::before {
    content: '✓';
    font-size: 14px;
    font-weight: 900;
    margin-right: 3px;
}

/* Badge VALIDATION - Positionné au-dessus du header */
.bgo-badge-validation {
    position: absolute !important;
    top: -20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: #1a1a2e !important;
    padding: 8px 18px;
    border-radius: 25px;
    font-weight: 800;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
    border: 3px solid white;
    animation: pulse-validation 2.5s ease-in-out infinite;
    z-index: 9999 !important;
    white-space: nowrap;
}

/* Icône horloge avant le texte - RESPECTE LE CONTENU PHP */
.bgo-badge-validation::before {
    content: '⏳';
    font-size: 14px;
    margin-right: 3px;
}

/* Animations des badges */
@keyframes pulse-official {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 6px 20px rgba(40, 167, 69, 0.5);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 8px 30px rgba(40, 167, 69, 0.7);
    }
}

@keyframes pulse-validation {
    0%, 100% {
        transform: translateX(-50%) scale(1);
        box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
    }
    50% {
        transform: translateX(-50%) scale(1.05);
        box-shadow: 0 8px 30px rgba(255, 193, 7, 0.7);
    }
}

/* === RÈGLES DE VISIBILITÉ DES BADGES === */
.bgo-chart-header .bgo-badge-official ~ .bgo-badge-validation {
    display: none !important;
}

.bgo-chart-header .bgo-badge-validation:only-of-type {
    display: inline-flex !important;
}

/* === RESPONSIVE BADGES === */

/* Tablette (< 1024px) */
@media (max-width: 1024px) {
    .bgo-badge-official,
    .bgo-badge-validation {
        font-size: 11px !important;
        padding: 7px 16px !important;
        top: -18px !important;
    }
    
    .bgo-badge-official::before,
    .bgo-badge-validation::before {
        font-size: 13px;
    }
}

/* Mobile (< 768px) */
@media (max-width: 768px) {
    .bgo-badge-official,
    .bgo-badge-validation {
        font-size: 10px !important;
        padding: 6px 14px !important;
        top: -17px !important;
        border: 2px solid white;
        letter-spacing: 0.6px;
    }
    
    .bgo-badge-official::before,
    .bgo-badge-validation::before {
        font-size: 12px;
    }
}

/* Très petit mobile (< 480px) */
@media (max-width: 480px) {
    .bgo-badge-official,
    .bgo-badge-validation {
        font-size: 9px !important;
        padding: 5px 12px !important;
        top: -16px !important;
        letter-spacing: 0.5px;
    }
    
    .bgo-badge-official::before,
    .bgo-badge-validation::before {
        font-size: 11px;
    }
}

/* Extra petit (< 360px) */
@media (max-width: 360px) {
    .bgo-badge-official,
    .bgo-badge-validation {
        font-size: 8px !important;
        padding: 4px 10px !important;
        top: -15px !important;
        letter-spacing: 0.4px;
    }
    
    .bgo-badge-official::before,
    .bgo-badge-validation::before {
        font-size: 10px;
    }
}
