        /* === LOGIN WIN95 STYLE === */
        #loginScreen {
            font-family: 'W95FA', 'MS Sans Serif', Arial, sans-serif;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: #008080;
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 99999;
            transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
        }

        #loginScreen.transition-modern {
            background: #0b0d17;
        }

        #loginScreen.hidden {
            opacity: 0;
            pointer-events: none;
        }

        .login-box {
            background: #c0c0c0;
            border: 2px solid;
            border-color: #ffffff #000000 #000000 #ffffff;
            padding: 20px;
            width: 400px;
            box-shadow: 4px 4px 0 rgba(0,0,0,0.5);
            transition: all 0.6s cubic-bezier(0.5, 0, 0, 1);
        }

        #loginScreen.transition-modern .login-box {
            background: linear-gradient(135deg, rgba(255,255,255,0.05), rgba(255,255,255,0.01));
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 24px;
            backdrop-filter: blur(20px);
            box-shadow: 0 20px 60px rgba(0, 243, 255, 0.2);
            transform: scale(1.1);
        }

        .login-header {
            text-align: center;
            margin-bottom: 20px;
            transition: all 0.5s ease;
        }

        #loginScreen.transition-modern .login-header h1 {
            background: linear-gradient(135deg, #fff, #00f3ff, #bc13fe);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            font-size: 28px;
        }

        #loginScreen.transition-modern .login-header p {
            color: #8892b0;
        }

        .login-header h1 {
            color: #000080;
            font-size: 24px;
            margin-bottom: 5px;
            transition: all 0.5s ease;
        }

        .login-header p {
            font-size: 11px;
            color: #666;
            transition: all 0.5s ease;
        }

        .login-icon {
            width: 80px;
            height: 80px;
            margin: 0 auto 15px;
            background: #c0c0c0;
            border: 2px solid;
            border-color: #808080 #ffffff #ffffff #808080;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.5s ease;
        }

        #loginScreen.transition-modern .login-icon {
            background: transparent;
            border: 2px solid rgba(0, 243, 255, 0.3);
            border-radius: 50%;
            box-shadow: 0 0 30px rgba(0, 243, 255, 0.2);
        }

        #loginScreen.transition-modern {
        background: #0b0d17;
        /* On force la police sur le conteneur et ses enfants */
        font-family: 'Outfit', sans-serif !important; 
     }

        /* On s'assure que les titres et boutons héritent bien ou changent aussi */
        #loginScreen.transition-modern h1,
        #loginScreen.transition-modern p,
        #loginScreen.transition-modern button,
        #loginScreen.transition-modern .user-info strong,
        #loginScreen.transition-modern .user-info span {
        font-family: 'Outfit', sans-serif !important;
        letter-spacing: 0.5px; /* Petit bonus esthétique pour le moderne */
}

        .login-icon img {
            width: 64px;
            height: 64px;
            object-fit: contain;
            transition: all 0.5s ease;
        }

        #loginScreen.transition-modern .login-icon img {
            filter: drop-shadow(0 0 10px rgba(0, 243, 255, 0.5));
        }

        .user-select {
            background: white;
            border: 2px solid;
            border-color: #808080 #ffffff #ffffff #808080;
            padding: 15px;
            margin-bottom: 15px;
            transition: all 0.5s ease;
        }

        #loginScreen.transition-modern .user-select {
            background: rgba(255,255,255,0.03);
            border: 1px solid rgba(255,255,255,0.08);
            border-radius: 15px;
        }

        .user-option {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 8px;
            cursor: pointer;
            border: 2px solid transparent;
            margin-bottom: 8px;
            transition: all 0.3s ease;
        }

        .user-option:hover {
            background: #000080;
            color: white;
            border-color: #ffffff;
        }

        #loginScreen.transition-modern .user-option:hover {
            background: rgba(0, 243, 255, 0.1);
            border-color: rgba(0, 243, 255, 0.3);
            border-radius: 10px;
        }

        .user-option.selected {
            background: #000080;
            color: white;
            border-color: #ffffff;
        }

        #loginScreen.transition-modern .user-option.selected {
            background: rgba(0, 243, 255, 0.15);
            border-color: rgba(0, 243, 255, 0.5);
            border-radius: 10px;
            box-shadow: 0 0 20px rgba(0, 243, 255, 0.2);
        }

        #loginScreen.transition-modern .user-option:not(.selected) .user-info strong,
        #loginScreen.transition-modern .user-option:not(.selected) .user-info span {
            color: #e0e6ed;
        }

        .user-option img {
            width: 32px;
            height: 32px;
        }

        .user-info {
            flex: 1;
        }

        .user-info strong {
            display: block;
            font-size: 12px;
        }

        .user-info span {
            font-size: 10px;
            color: inherit;
        }

        #loginScreen.transition-modern .user-info span {
            color: #8892b0;
        }

        .login-buttons {
            display: flex;
            gap: 10px;
            justify-content: flex-end;
            transition: all 0.5s ease;
        }

        .login-button {
            padding: 6px 20px;
            background: #c0c0c0;
            border: 2px solid;
            border-color: #ffffff #000000 #000000 #ffffff;
            font-size: 11px;
            font-weight: bold;
            cursor: pointer;
            font-family: 'MS Sans Serif', Arial, sans-serif;
            transition: all 0.3s ease;
        }

        .login-button:active {
            border-color: #000000 #ffffff #ffffff #000000;
        }

        .login-button.primary {
            min-width: 80px;
        }

        #loginScreen.transition-modern .login-button {
            background: rgba(255,255,255,0.05);
            border: 2px solid rgba(255,255,255,0.08);
            border-radius: 50px;
            color: #e0e6ed;
            backdrop-filter: blur(10px);
            padding: 10px 30px;
        }

        #loginScreen.transition-modern .login-button.primary {
            background: linear-gradient(135deg, #00f3ff, #bc13fe);
            border: none;
            color: #000;
        }

        #loginScreen.transition-modern .login-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
        }

        .login-footer {
            text-align: center;
            margin-top: 15px;
            font-size: 10px;
            color: #666;
            transition: all 0.5s ease;
        }

        #loginScreen.transition-modern .login-footer {
            color: #8892b0;
        }

        .login-footer a {
            color: #000080;
            text-decoration: none;
        }

        #loginScreen.transition-modern .login-footer a {
            color: #00f3ff;
        }

        .login-footer a:hover {
            text-decoration: underline;
        }

        /* Canvas étoilé (caché par défaut) */
        #space-canvas {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            opacity: 0;
            transition: opacity 0.8s ease;
            pointer-events: none;
        }

        #loginScreen.transition-modern #space-canvas {
            opacity: 1;
        }