    
        :root {
            --header-height: 64px;
            --transition: 0.3s ease;
            --radius: 10px;

             /* --- MODE CLAIR --- */
            color-scheme: light;             
            --bg: #ffffff;        /*  #F3F4F6    */        
            --surface: #FFFFFF;                
            --text: #1F2937;             
            --muted: #9CA3AF;             
            --border: #E5E7EB;            
            --accent: #7a7a7a;    /*  #1F2937     */           
            --accent-text: #FFFFFF;                     
            --jumbocolor:#111111; 
            --link: #2563EB;
            --linkover: #1D4ED8;
            --danger: #DC2626;
            --success: #059669; 
            --glass: rgba(255, 255, 255, 0.85);           
        }

        /* --- MODE SOMBRE --- */
        :root[data-theme="dark"] {
            color-scheme: dark;        
                --bg: #111111;
                --surface: #191919;
                --text: #f1f1ef;
                --muted: #8f8f8f;
                --border: #2c2c2c;
                --accent: #f1f1ef;
                --accent-text: #111111;                
                --jumbocolor:#111111; 
                --link:#2563EB; 
                --linkover: #1D4ED8;                      
                --danger: #ff6b5e;
                --success: #5fd39b; 
                --glass: rgba(17, 17, 17, 0.85);                         
        }    

        * { 
        box-sizing: border-box; 
        margin: 0; 
        padding: 0; 
        }

        body {
            margin: 0;
            min-height: 100vh;
            padding: calc(var(--header-height)) 20px 40px;
            background: var(--bg);
            color: var(--text);
            font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
            font-size: 1rem;
            line-height: 1.5;
            display: flex;
            justify-content: center;
            align-items: flex-start;
        }
       
        .jumbomain {
            width: 100%;
            max-width: 1024px;
            background: var(--surface);
            color:var(--text);  
            border: 1px solid var(--border);
            border-radius: var(--radius);
            overflow-wrap: break-word;
            padding: 28px;            
            margin-top: 48px;           
        }

        /* text couleur toujour noir (compatibilité fichiers .txt jhat) */
        .jumbotron {
            width: 100%;
            max-width: 1024px;
            background:var(--text); 
            color: var(--jumbocolor);           
            border: 1px solid var(--border);
            border-radius: var(--radius);
            padding: 28px;
            overflow-wrap: break-word;
        }

        .jumbo {
            width: 100%;
            max-width: 1024px;
            background: var(--surface);
            color:var(--text);  
            border: 0px solid var(--border);
            border-radius: var(--radius);
            padding: 28px;
            overflow-wrap: break-word;      
        }

            
        img {
            max-width: 100%;
            height: auto; 
        }
       
        a {
            text-decoration: none; 
            color: var(--link);            
            transition: color 0.3s ease; 
        }

        a:hover {  color: var(--linkover);  }

        .ex1 img {
            width: auto; 
            margin: 0 auto;
            transition: all 0.5s ease;
        }
        
        .ex1 img:hover {  transform: rotate(-9deg);  }

        .page-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 16px;
            margin-bottom: 24px;
        }

        h1 {
            margin: 0 0 4px;
            font-size: 20px;
            font-weight: 600;
            letter-spacing: -0.01em;
        }

        .subtitle {
            margin: 0;
            color: var(--muted);
            font-size: 13px;
        }

        .subtitle code {
            font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
            font-size: 12px;
        }

        .txtmuted {            
            color: var(--muted);
            font-size: 13px;
        }
        
        input[type="text"],
        input[type="url"],
        input[type="email"],
        input[type="password"],
        input[type="search"],
        input[type="number"], 
        textarea,
        select {
        color: var(--text);
        background-color: var(--surface);
        border: 1px solid var(--border);
        border-radius: 8px;        
        padding: 3px 8px;
        line-height: 1.25;
        font: inherit;
        }

        input::placeholder,
        textarea::placeholder {
        color: var(--muted);
        opacity: 1;
        }

        input:focus-visible,
        textarea:focus-visible,
        select:focus-visible {
        outline: 2px solid var(--muted);
        outline-offset: 2px;
        }

        input[type="checkbox"] {
        accent-color: var(--surface);
        width: 1rem;
        height: 1rem;
        vertical-align: middle;
        cursor: pointer;
        }

        .manage-link {
            flex: none;
            color: var(--muted);
            font-size: 13px;
            text-decoration: none;
            border-bottom: 1px solid var(--border);
            white-space: nowrap;
        }

        .manage-link:hover {
            color: var(--text);
            border-color: var(--text);
        }

        .messages {
            display: grid;
            gap: 8px;
            margin-bottom: 20px;
        }

        .message {
            margin: 0;
            padding: 10px 12px;
            border-radius: 8px;
            font-size: 13px;
            border: 1px solid var(--border);
        }

        .message--error {  color: var(--danger);   }
        .message--success {  color: var(--success);  }

        .toolbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            margin-bottom: 20px;
            padding: 10px 14px;
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 8px;
        }
     
        .add-form {
            display: flex;
            gap: 8px;
            margin-bottom: 24px;
        }

        .add-form input[type="url"] {
            flex: 1;
            min-width: 0;
            padding: 10px 12px;
            font: inherit;
            font-size: 14px;
            color: var(--text);
            background: var(--bg);
            border: 1px solid var(--border);
            border-radius: 8px;
            outline: none;
        }

        .add-form input[type="url"]:focus {  border-color: var(--text);  }
        .add-form input[type="url"]::placeholder { color: var(--muted);  }

        button {
            font: inherit;
            cursor: pointer;
            border-radius: 8px;
            border: 1px solid transparent;
            transition: opacity 0.15s ease;
        }

        button:focus-visible {
            outline: 2px solid var(--text);
            outline-offset: 2px;
        }

        .btn-add {
            padding: 10px 18px;
            font-size: 14px;
            font-weight: 500;
            color: var(--surface); 
            background: var(--accent);
            white-space: nowrap;
        }

        .btn-add:hover {  opacity: 0.82;  }

        .btn {
            padding: 6px 12px;
            font: inherit;
            font-size: 13px;
            font-weight: 500;
            color: var(--accent-text);
            background: var(--accent);  
            border: 1px solid transparent;
            border-radius: 6px;
            cursor: pointer;
            transition: opacity 0.15s ease;
        }

        .btn:hover {  opacity: 0.82;  }

        .btn--ghost {
            color: var(--text);
            background: transparent;
            border-color: var(--border);
        }

        .btn--ghost:hover {
            border-color: var(--text);
            opacity: 1;
        }

        .btn:focus-visible {
            outline: 2px solid var(--text);
            outline-offset: 2px;
        }

        .feeds {
            list-style: none;
            margin: 0;
            padding: 0;
            border-top: 1px solid var(--border);
        }

        .feed {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 2px;
            border-bottom: 1px solid var(--border);
        }

        .feed__url {
            flex: 1;
            min-width: 0;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            font-size: 14px;
            color: var(--text);
            text-decoration: none;
        }

        .feed__url:hover {  text-decoration: underline;  }
        
        .btn-delete {
            flex: none;
            width: 30px;
            height: 30px;
            padding: 0;
            display: grid;
            place-items: center;
            font-size: 18px;
            line-height: 1;
            color: var(--muted);
            background: transparent;
        }

        .btn-delete:hover {
            color: var(--danger);
            border-color: var(--border);
        }

        .empty {
            padding: 28px 0;
            text-align: center;
            color: var(--muted);
            font-size: 14px;
            border-bottom: 1px solid var(--border);
        }

        footer {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            margin-top: 16px;
            color: var(--muted);
            font-size: 12px;
        }

        footer a {  color: inherit;  }

        textarea { width:100%; min-height:260px; font-family: ui-monospace, "Cascadia Code", Consolas, monospace; font-size:.85rem; padding:12px; border:1px solid var(--border); border-radius:8px; resize:vertical; }

        table {
           width: auto;
           border-collapse: collapse;           
        }

        td {
            border: 1px solid  var(--muted);  
            padding: 8px;          
            text-align: left;       
        }

        th {
            border: 1px solid var(--muted);   
            padding: 8px;           
            text-align: center;      
        }
        
        .left { float: left; }
        .right { float: right; }      

        .theme-icon {
        display: inline-block;
        width: 24px;
        height: 24px;
        margin-right: 8px;
        transition: transform 0.3s ease;
        }

        .dark .theme-icon {  transform: rotateY(180deg);  }

        .icone {
        width: 24px;
        height: 24px;
        color: #555;
        vertical-align: middle;
        }

 /* --- HEADER (Barre Fixe Haut) --- */
        .admin-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: var(--header-height); 
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 0 24px;
            background: var(--glass);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px); /* Pour Safari */
            border-bottom: 1px solid var(--border);
            z-index: 1000;
           /* box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); */
        }

        /* Logo */
        .brand {
            color: var(--text);
            font-weight: 700;
            font-size: 1.1rem;
            text-decoration: none;
            letter-spacing: -0.02em;
            display: flex;
            align-items: center; 
            gap: 8px;
        }
        
       .brand i {  color: var(--accent); } 
       
        /* Bouton Hamburger (Mobile) */
        .hamburger {
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 8px;
            border-radius: 8px;
            color: var(--text);
            display: block; /* avec none : Visible seulement sur mobile */
        }

        .hamburger span {
            display: block;
            width: 24px;
            height: 2px;
            background: currentColor;
            margin: 6px 0;
            transition: var(--transition);
        }

        .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
        .hamburger.active span:nth-child(2) { opacity: 0; }
        .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

        /* Menu Desktop (Caché sur mobile) */
        
        .desktop-menu {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            gap: 15px; /* Espace entre les liens */
            
            /* FIX PRINCIPAL : Permet le défilement horizontal si le menu est trop large */
            overflow-x: auto; 
            scrollbar-width: none; /* Pour Firefox : cacher la barre */
            -ms-overflow-style: none;  /* Pour IE/Edge : cacher la barre */
            white-space: nowrap; /* Empêche les retours à la ligne */
            padding-bottom: 4px; /* Petit espace visuel pour la barre de scroll */
        }

        /* Cacher la barre de défilement pour Chrome/Safari */
        .desktop-menu::-webkit-scrollbar {  display: none;  }

        .desktop-menu a {
            text-decoration: none;
            color: var(--muted);
            font-size: 1.0rem;
            font-weight: 500;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 6px;
            padding: 8px 12px;
            border-radius: 8px;           
        }

        .desktop-menu a:hover {
            color: var(--text);
            background: var(--bg);       
        }

        .desktop-menu a i { font-size: 1.1rem; }

        /* Force l'absence de bordure pour le focus sur tout le menu */
        .desktop-menu a:focus {
            outline: none !important;
            box-shadow: none !important;
        }   

        .divider {
            width: 1px;
            height: 20px;
            background: var(--border);
            margin: 0 8px;
        }

        /* --- OVERLAY MENU (Mobile) --- */
        .mobile-overlay {
            position: fixed;
            top: 64px;
            left: 0;
            width: 100%;
            height: calc(100vh - 64px);
            background: var(--bg);
            transform: translateX(100%);
            transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
            z-index: 999;
            padding: 24px;
            overflow-y: auto;
        }

        .mobile-overlay.active {  transform: translateX(0);  }

        /* Grille du menu mobile */
        .nav-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            margin-top: 20px;
        }

        .nav-link-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 20px;
            background: var(--surface);
            border: 1px solid var(--border);
            border-radius: 16px;
            text-decoration: none;
            color: var(--text);
            transition: var(--transition);
        }

        .nav-link-item i {
            font-size: 2rem;
            margin-bottom: 8px;
            color: var(--muted);
        }

        .nav-link-item:hover {
            border-color: var(--accent-text); 
            color: var(--accent);         
            transform: translateY(-2px);
        }

        .nav-link-item:hover i {  color: var(--accent-text);   }

        .section-title {
            grid-column: span 2;
            color: var(--muted);
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 0.1em;
            margin: 20px 0 10px 0;
            border-bottom: 1px solid var(--border);
            padding-bottom: 8px;
        }

        @media (max-width: 768px) {
            body {  padding: calc(var(--header-height) + 12px) 12px 30px;  }
            main {  padding: 20px;  }
            .add-form {  flex-direction: column;  }
            .btn-add {  width: 100%; }
            .desktop-menu { display: none; }
            .hamburger { display: block; }
            .nav-grid { grid-template-columns: 1fr; } /* 1 colonne sur petit mobile */
            .section-title { grid-column: span 1; }
        }  
       
        @media (min-width: 769px) {  .nav-grid { grid-template-columns: repeat(4, 1fr); }  } 
     
