/**
 * 🚫 SUPPRESSION DES DÉFIS SEULEMENT DU MENU PRINCIPAL
 * 
 * Cache les boutons/liens de défis dans les menus MAIS garde les défis du gameplay
 */

/* 🚫 MASQUAGE DES BOUTONS DÉFIS SEULEMENT DANS LES MENUS */
#home-screen .challenge-button,
#home-screen .challenges-button,
#home-screen [id*="challenge"],
#home-screen [class*="challenge"],
#home-screen [data-challenge],
#home-screen button[onclick*="challenge"],
#home-screen button[onclick*="défi"],
#home-screen .defi-button,
#home-screen .defis-button,
#home-screen [id*="defi"],
#home-screen [class*="defi"],
#home-screen [data-defi],
.main-menu .challenge-button,
.main-menu .challenges-button,
.main-menu [id*="challenge"],
.main-menu [class*="challenge"],
.main-menu [data-challenge],
.main-menu button[onclick*="challenge"],
.main-menu button[onclick*="défi"],
.main-menu .defi-button,
.main-menu .defis-button,
.main-menu [id*="defi"],
.main-menu [class*="defi"],
.main-menu [data-defi],
.navigation .challenge-button,
.navigation .challenges-button,
.menu-container .challenge-button,
.menu-container .challenges-button {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    pointer-events: none !important;
}

/* 🎮 GARDER LES DÉFIS PENDANT LE GAMEPLAY */
#game-screen .challenge-message,
#game-screen .challenge-text,  
#game-screen .challenge-timer,
#game-screen .challenge-progress,
#game-screen .challenge-container,
.game-area .challenge-message,
.game-area .challenge-text,
.game-area .challenge-timer,
.game-area .challenge-progress,
.game-area .challenge-container {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    pointer-events: auto !important;
}

/* 🚫 SUPPRESSION DES LIENS VERS LES DÉFIS SEULEMENT DANS LES MENUS */
#home-screen a[href*="challenge"],
#home-screen a[href*="défi"],
#home-screen button[data-target*="challenge"],
#home-screen button[data-target*="défi"],
.main-menu a[href*="challenge"],
.main-menu a[href*="défi"],
.main-menu button[data-target*="challenge"],
.main-menu button[data-target*="défi"],
.navigation a[href*="challenge"],
.navigation a[href*="défi"] {
    display: none !important;
    pointer-events: none !important;
}

console.log('🚫 CSS de suppression sélective des défis chargé - Gameplay préservé !');