        /* ===== VARIABLES CSS ===== */
        :root {
            --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            
            --color-red: #ef4444;
            --color-red-light: #fecaca;
            --color-orange: #f97316;
            --color-orange-light: #fed7aa;
            --color-yellow: #eab308;
            --color-yellow-light: #fef08a;
            --color-green: #22c55e;
            --color-green-light: #bbf7d0;
            --color-blue: #3b82f6;
            --color-blue-light: #bfdbfe;
            --color-purple: #8b5cf6;
            --color-purple-light: #ddd6fe;
            
            --accent-color: #6366f1;
            --accent-color-light: #e0e7ff;
            --accent-color-dark: #4338ca;
            
            --transition-fast: 0.2s ease;
            --transition-normal: 0.3s ease;
            
            --radius-sm: 8px;
            --radius-md: 12px;
            --radius-lg: 16px;
            --radius-xl: 24px;
            
            --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
            --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1);
            --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1);
            --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1);
        }
        
        /* ===== THÈME CLAIR ===== */
        [data-theme="light"], 
        [data-theme="auto"] {
            --bg-primary: #f8fafc;
            --bg-secondary: #ffffff;
            --bg-tertiary: #f1f5f9;
            --text-primary: #0f172a;
            --text-secondary: #475569;
            --text-muted: #94a3b8;
            --border-color: #e2e8f0;
            --hover-bg: #f1f5f9;
        }
        
        /* ===== THÈME SOMBRE ===== */
        [data-theme="dark"] {
            --bg-primary: #0f172a;
            --bg-secondary: #1e293b;
            --bg-tertiary: #334155;
            --text-primary: #f8fafc;
            --text-secondary: #cbd5e1;
            --text-muted: #64748b;
            --border-color: #334155;
            --hover-bg: #334155;
        }
        
        @media (prefers-color-scheme: dark) {
            [data-theme="auto"] {
                --bg-primary: #0f172a;
                --bg-secondary: #1e293b;
                --bg-tertiary: #334155;
                --text-primary: #f8fafc;
                --text-secondary: #cbd5e1;
                --text-muted: #64748b;
                --border-color: #334155;
                --hover-bg: #334155;
            }
        }
        
        /* ===== ANIMATIONS ===== */
        @keyframes rainbow {
            0% { background-position: 0% 50%; }
            50% { background-position: 100% 50%; }
            100% { background-position: 0% 50%; }
        }
        
        @keyframes rainbowBorder {
            0% { border-color: #ff2400; }
            14% { border-color: #e81d1d; }
            28% { border-color: #e8b71d; }
            42% { border-color: #1de840; }
            57% { border-color: #1ddde8; }
            71% { border-color: #2b1de8; }
            85% { border-color: #dd00f3; }
            100% { border-color: #ff2400; }
        }
        
        @keyframes slideIn {
            from { opacity: 0; transform: translateX(-20px); }
            to { opacity: 1; transform: translateX(0); }
        }
        
        @keyframes bounce {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }
        
        @keyframes slideUp {
            from { opacity: 0; transform: translateY(100%); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        @keyframes slideDown {
            from { opacity: 1; transform: translateY(0); }
            to { opacity: 0; transform: translateY(100%); }
        }
        
        @keyframes pulse {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.6; }
        }
        
        .rainbow-text {
            background: linear-gradient(124deg, #ff2400, #e81d1d, #e8b71d, #e3e81d, #1de840, #1ddde8, #2b1de8, #dd00f3);
            background-size: 400% 400%;
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            animation: rainbow 3s ease infinite;
        }
        
        /* ===== RESET & BASE ===== */
        *, *::before, *::after {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        html { scroll-behavior: smooth; }
        
        body {
            font-family: var(--font-family);
            background-color: var(--bg-primary);
            color: var(--text-primary);
            min-height: 100vh;
            transition: background-color var(--transition-normal), color var(--transition-normal);
            line-height: 1.6;
        }
        
        .container {
            max-width: 800px;
            margin: 0 auto;
            padding: 20px;
        }
        
        /* ===== HEADER ===== */
        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 0;
            margin-bottom: 30px;
            border-bottom: 1px solid var(--border-color);
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .logo-icon {
            width: 45px;
            height: 45px;
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            transition: transform var(--transition-fast);
            cursor: pointer;
            user-select: none;
        }
        
        .logo-icon:hover {
            transform: scale(1.05);
        }
        
        .logo-icon.easter-egg {
            animation: bounce 0.5s ease;
        }
        
        .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            pointer-events: none;
        }
        
        .logo-light { display: block; }
        .logo-dark { display: none; }
        .logo-easter { display: none; }
        
        [data-theme="dark"] .logo-light { display: none; }
        [data-theme="dark"] .logo-dark { display: block; }
        
        @media (prefers-color-scheme: dark) {
            [data-theme="auto"] .logo-light { display: none; }
            [data-theme="auto"] .logo-dark { display: block; }
        }
        
        .logo-icon.easter-egg .logo-light,
        .logo-icon.easter-egg .logo-dark { display: none !important; }
        .logo-icon.easter-egg .logo-easter { display: block !important; }
        
        .logo h1 {
            font-size: 1.8rem;
            font-weight: 800;
            background: linear-gradient(135deg, var(--accent-color), var(--accent-color-dark));
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
        
        /* ===== THEME TOGGLE ===== */
        .theme-toggle {
            width: 44px;
            height: 44px;
            border: 2px solid var(--border-color);
            background: var(--bg-secondary);
            border-radius: var(--radius-md);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            transition: all var(--transition-fast);
            position: relative;
        }
        
        .theme-toggle:hover {
            border-color: var(--accent-color);
            background: var(--hover-bg);
            transform: scale(1.05);
        }
        
        .theme-toggle:active { transform: scale(0.95); }
        
        .theme-toggle .theme-icon { transition: transform var(--transition-fast); }
        .theme-toggle:hover .theme-icon { transform: rotate(20deg); }
        
        .theme-toggle-tooltip {
            position: absolute;
            bottom: -35px;
            left: 50%;
            transform: translateX(-50%);
            background: var(--bg-tertiary);
            color: var(--text-secondary);
            padding: 4px 10px;
            border-radius: var(--radius-sm);
            font-size: 0.75rem;
            font-weight: 500;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all var(--transition-fast);
            pointer-events: none;
        }
        
        .theme-toggle:hover .theme-toggle-tooltip {
            opacity: 1;
            visibility: visible;
        }
        
        /* ===== MOYENNE CARD ===== */
        .moyenne-card {
            background: var(--bg-secondary);
            border-radius: var(--radius-xl);
            padding: 40px;
            text-align: center;
            margin-bottom: 30px;
            border: 3px solid var(--accent-color);
            box-shadow: var(--shadow-lg);
            transition: all var(--transition-normal);
            position: relative;
            overflow: hidden;
        }
        
        .moyenne-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 4px;
            background: var(--accent-color);
            transition: background var(--transition-normal);
        }
        
        .moyenne-card.rainbow-mode {
            animation: rainbowBorder 3s ease infinite;
        }
        
        .moyenne-card.rainbow-mode::before {
            background: linear-gradient(90deg, #ff2400, #e81d1d, #e8b71d, #e3e81d, #1de840, #1ddde8, #2b1de8, #dd00f3);
            background-size: 200% 100%;
            animation: rainbow 2s ease infinite;
        }
        
        .moyenne-label {
            font-size: 1rem;
            color: var(--text-secondary);
            text-transform: uppercase;
            letter-spacing: 2px;
            margin-bottom: 10px;
            font-weight: 600;
        }
        
        .moyenne-value {
            font-size: 5rem;
            font-weight: 900;
            color: var(--accent-color);
            line-height: 1;
            transition: color var(--transition-normal);
        }
        
        .moyenne-sur {
            font-size: 1.5rem;
            color: var(--text-muted);
            margin-top: 5px;
        }
        
        .moyenne-status {
            margin-top: 20px;
            padding: 10px 20px;
            background: var(--accent-color-light);
            color: var(--accent-color-dark);
            border-radius: var(--radius-lg);
            display: inline-block;
            font-weight: 600;
            transition: all var(--transition-normal);
        }
        
        /* ===== INPUT SECTION ===== */
        .input-section {
            background: var(--bg-secondary);
            border-radius: var(--radius-xl);
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: var(--shadow-md);
        }
        
        .input-section h2 {
            font-size: 1.3rem;
            margin-bottom: 20px;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .input-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
            gap: 15px;
            margin-bottom: 20px;
        }
        
        .input-group {
            display: flex;
            flex-direction: column;
            gap: 6px;
        }
        
        .input-group label {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--text-secondary);
        }
        
        .input-group input {
            padding: 14px 16px;
            border: 2px solid var(--border-color);
            border-radius: var(--radius-md);
            font-size: 1rem;
            font-family: var(--font-family);
            background: var(--bg-primary);
            color: var(--text-primary);
            transition: all var(--transition-fast);
            font-weight: 500;
        }
        
        .input-group input:focus {
            outline: none;
            border-color: var(--accent-color);
            box-shadow: 0 0 0 4px var(--accent-color-light);
        }
        
        .input-group input::placeholder { color: var(--text-muted); }
        
        /* ===== BUTTONS ===== */
        .btn {
            padding: 14px 24px;
            border: none;
            border-radius: var(--radius-md);
            font-size: 0.95rem;
            font-family: var(--font-family);
            font-weight: 600;
            cursor: pointer;
            transition: all var(--transition-fast);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }
        
        .btn-primary {
            background: var(--accent-color);
            color: white;
            flex: 1;
        }
        
        .btn-primary:hover {
            background: var(--accent-color-dark);
            transform: translateY(-2px);
            box-shadow: var(--shadow-md);
        }
        
        .btn-secondary {
            background: var(--bg-tertiary);
            color: var(--text-primary);
        }
        
        .btn-secondary:hover {
            background: var(--hover-bg);
            transform: translateY(-2px);
        }
        
        .btn-danger {
            background: var(--color-red);
            color: white;
        }
        
        .btn-danger:hover {
            background: #dc2626;
            transform: translateY(-2px);
        }
        
        .btn:active { transform: translateY(0); }
        
        .btn-row {
            display: flex;
            gap: 10px;
            flex-wrap: wrap;
        }
        
        /* ===== NOTES SECTION ===== */
        .notes-section {
            background: var(--bg-secondary);
            border-radius: var(--radius-xl);
            padding: 30px;
            margin-bottom: 30px;
            box-shadow: var(--shadow-md);
        }
        
        .notes-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 10px;
        }
        
        .notes-header h2 {
            font-size: 1.3rem;
            color: var(--text-primary);
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .notes-count {
            background: var(--accent-color);
            color: white;
            padding: 4px 12px;
            border-radius: 50px;
            font-size: 0.85rem;
            font-weight: 600;
        }
        
        .notes-list {
            display: flex;
            flex-direction: column;
            gap: 10px;
        }
        
        .note-item {
            display: flex;
            align-items: center;
            padding: 16px 20px;
            background: var(--bg-primary);
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            gap: 15px;
            animation: slideIn 0.3s ease;
            transition: all var(--transition-fast);
        }
        
        .note-item:hover {
            border-color: var(--accent-color);
            box-shadow: var(--shadow-sm);
        }
        
        .note-value {
            font-size: 1.3rem;
            font-weight: 700;
            color: var(--accent-color);
            min-width: 80px;
        }
        
        .note-details {
            flex: 1;
            display: flex;
            gap: 20px;
            color: var(--text-secondary);
            font-size: 0.9rem;
        }
        
        .note-details span {
            display: flex;
            align-items: center;
            gap: 5px;
        }
        
        .note-sur20 {
            background: var(--accent-color-light);
            color: var(--accent-color-dark);
            padding: 6px 12px;
            border-radius: var(--radius-sm);
            font-weight: 600;
            font-size: 0.9rem;
        }
        
        .btn-delete {
            width: 36px;
            height: 36px;
            padding: 0;
            border-radius: 50%;
            background: transparent;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all var(--transition-fast);
        }
        
        .btn-delete:hover {
            background: var(--color-red-light);
            color: var(--color-red);
        }
        
        .empty-state {
            text-align: center;
            padding: 40px 20px;
            color: var(--text-muted);
        }
        
        .empty-state-icon {
            font-size: 3rem;
            margin-bottom: 15px;
        }
        
        /* ===== ACTION BUTTONS ===== */
        .actions-section {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 15px;
            margin-bottom: 30px;
        }
        
        .action-btn {
            padding: 20px;
            border-radius: var(--radius-lg);
            border: 2px solid var(--border-color);
            background: var(--bg-secondary);
            cursor: pointer;
            transition: all var(--transition-fast);
            display: flex;
            align-items: center;
            gap: 15px;
            font-family: var(--font-family);
        }
        
        .action-btn:hover {
            border-color: var(--accent-color);
            transform: translateY(-3px);
            box-shadow: var(--shadow-lg);
        }
        
        .action-btn-icon {
            width: 50px;
            height: 50px;
            min-width: 50px;
            min-height: 50px;
            aspect-ratio: 1 / 1;
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            flex-shrink: 0;
            overflow: hidden;
        }
        
        .action-btn-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            padding: 8px;
        }
        
        .action-btn-share .action-btn-icon { background: linear-gradient(135deg, #667eea, #764ba2); }
        .action-btn-ecole .action-btn-icon { background: linear-gradient(135deg, #11998e, #38ef7d); }
        .action-btn-clear .action-btn-icon { background: linear-gradient(135deg, #eb3349, #f45c43); }
        
        .action-btn-content h3 {
            font-size: 1rem;
            color: var(--text-primary);
            margin-bottom: 4px;
        }
        
        .action-btn-content p {
            font-size: 0.8rem;
            color: var(--text-muted);
        }
        
        /* ===== MODAL ===== */
        .modal-overlay {
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.6);
            backdrop-filter: blur(4px);
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            opacity: 0;
            visibility: hidden;
            transition: all var(--transition-normal);
            padding: 20px;
        }
        
        .modal-overlay.active {
            opacity: 1;
            visibility: visible;
        }
        
        .modal {
            background: var(--bg-secondary);
            border-radius: var(--radius-xl);
            padding: 40px;
            max-width: 450px;
            width: 100%;
            text-align: center;
            transform: scale(0.9);
            transition: transform var(--transition-normal);
            box-shadow: var(--shadow-xl);
        }
        
        .modal-overlay.active .modal { transform: scale(1); }
        
        .modal-icon {
            font-size: 4rem;
            margin-bottom: 20px;
        }
        
        .modal h2 {
            font-size: 1.5rem;
            margin-bottom: 15px;
            color: var(--text-primary);
        }
        
        .modal p {
            color: var(--text-secondary);
            margin-bottom: 25px;
            line-height: 1.7;
        }
        
        .modal-buttons {
            display: flex;
            gap: 10px;
            justify-content: center;
        }
        
        .modal-buttons .btn { flex: 1; }
        
        /* ===== AUDIO PLAYER (Easter Egg) ===== */
        .audio-player {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%) translateY(150%);
            background: var(--bg-secondary);
            border: 2px solid var(--border-color);
            border-radius: var(--radius-xl);
            padding: 20px 25px;
            box-shadow: var(--shadow-xl);
            z-index: 999;
            width: calc(100% - 40px);
            max-width: 400px;
            opacity: 0;
            visibility: hidden;
            transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
        }
        
        .audio-player.active {
            transform: translateX(-50%) translateY(0);
            opacity: 1;
            visibility: visible;
        }
        
        .audio-player.closing {
            animation: slideDown 0.3s ease forwards;
        }
        
        .audio-player-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 15px;
        }
        
        .audio-player-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, var(--accent-color), var(--accent-color-dark));
            border-radius: var(--radius-md);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            flex-shrink: 0;
        }
        
        .audio-player-icon.playing {
            animation: pulse 1s ease infinite;
        }
        
        .audio-player-info {
            flex: 1;
            min-width: 0;
        }
        
        .audio-player-title {
            font-size: 1rem;
            font-weight: 700;
            color: var(--text-primary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .audio-player-subtitle {
            font-size: 0.8rem;
            color: var(--text-muted);
            margin-top: 2px;
        }
        
        .audio-player-close {
            width: 32px;
            height: 32px;
            border: none;
            background: var(--bg-tertiary);
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-muted);
            font-size: 1rem;
            transition: all var(--transition-fast);
            flex-shrink: 0;
        }
        
        .audio-player-close:hover {
            background: var(--color-red-light);
            color: var(--color-red);
        }
        
        .audio-player-progress {
            margin-bottom: 15px;
        }
        
        .audio-player-bar {
            width: 100%;
            height: 8px;
            background: var(--bg-tertiary);
            border-radius: 4px;
            cursor: pointer;
            overflow: hidden;
            position: relative;
        }
        
        .audio-player-bar:hover {
            height: 10px;
        }
        
        .audio-player-bar-fill {
            height: 100%;
            background: linear-gradient(90deg, var(--accent-color), var(--accent-color-dark));
            border-radius: 4px;
            width: 0%;
            transition: width 0.1s linear;
            position: relative;
        }
        
        .audio-player-bar-fill::after {
            content: '';
            position: absolute;
            right: -6px;
            top: 50%;
            transform: translateY(-50%);
            width: 12px;
            height: 12px;
            background: white;
            border-radius: 50%;
            box-shadow: 0 2px 4px rgba(0,0,0,0.2);
            opacity: 0;
            transition: opacity var(--transition-fast);
        }
        
        .audio-player-bar:hover .audio-player-bar-fill::after {
            opacity: 1;
        }
        
        .audio-player-time {
            display: flex;
            justify-content: space-between;
            font-size: 0.75rem;
            color: var(--text-muted);
            margin-top: 6px;
            font-variant-numeric: tabular-nums;
        }
        
        .audio-player-controls {
            display: flex;
            justify-content: center;
            gap: 10px;
        }
        
        .audio-player-btn {
            width: 50px;
            height: 50px;
            border: none;
            background: var(--accent-color);
            color: white;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
            transition: all var(--transition-fast);
        }
        
        .audio-player-btn:hover {
            background: var(--accent-color-dark);
            transform: scale(1.1);
        }
        
        .audio-player-btn:active {
            transform: scale(0.95);
        }
        
        /* ===== SHARE CARD ===== */
        .share-card {
            position: fixed;
            left: -9999px;
            top: -9999px;
            width: 600px;
            padding: 50px;
            border-radius: 24px;
            text-align: center;
            font-family: 'Inter', sans-serif;
        }
        
        .share-card-light {
            background: linear-gradient(135deg, #f8fafc, #e2e8f0);
            color: #0f172a;
        }
        
        .share-card-dark {
            background: linear-gradient(135deg, #1e293b, #0f172a);
            color: #f8fafc;
        }
        
        .share-card-header {
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 30px;
            opacity: 0.8;
        }
        
        .share-card-moyenne {
            font-size: 8rem;
            font-weight: 900;
            line-height: 1;
            margin-bottom: 10px;
        }
        
        .share-card-moyenne .rainbow-char {
            display: inline;
            font-weight: 900;
        }
        
        .share-card-sur {
            font-size: 2rem;
            opacity: 0.6;
            margin-bottom: 30px;
        }
        
        .share-card-status {
            display: inline-block;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            font-size: 1.2rem;
        }
        
        .share-card-footer {
            margin-top: 40px;
            font-size: 1rem;
            opacity: 0.5;
        }
        
        /* ===== FOOTER ===== */
        footer {
            text-align: center;
            padding: 30px;
            color: var(--text-muted);
            font-size: 0.9rem;
            border-top: 1px solid var(--border-color);
        }
		
		.footer-content {
    display: inline-flex;
    align-items: center;
    gap: 10px;
        }
        
        .footer-version {
            display: inline-block;
            background: var(--bg-tertiary);
            padding: 3px 10px;
            border-radius: 50px;
            font-size: 0.75rem;
            font-weight: 600;
            color: var(--text-secondary);
        }
        
		.footer-github {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: var(--bg-tertiary);
            transition: all var(--transition-fast);
        }
        
        .footer-github:hover {
            background: var(--hover-bg);
            transform: scale(1.1);
        }
        
        .footer-github img {
            width: 18px;
            height: 18px;
            opacity: 0.7;
            transition: opacity var(--transition-fast);
        }
        
        .footer-github:hover img {
            opacity: 1;
        }
        
        /* Invert GitHub logo in dark mode */
        [data-theme="dark"] .footer-github img {
            filter: invert(1);
        }
        
        @media (prefers-color-scheme: dark) {
            [data-theme="auto"] .footer-github img {
                filter: invert(1);
            }
        }
		
        /* ===== TOAST ===== */
        .toast {
            position: fixed;
            bottom: 30px;
            left: 50%;
            transform: translateX(-50%) translateY(100px);
            background: var(--bg-secondary);
            color: var(--text-primary);
            padding: 16px 24px;
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-xl);
            border: 1px solid var(--border-color);
            z-index: 1001;
            opacity: 0;
            transition: all var(--transition-normal);
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 500;
        }
        
        .toast.show {
            opacity: 1;
            transform: translateX(-50%) translateY(0);
        }
        
        /* Adjust toast position when player is visible */
        .audio-player.active ~ .toast.show,
        body:has(.audio-player.active) .toast.show {
            bottom: 140px;
        }
        
        .toast-success { border-left: 4px solid var(--color-green); }
        .toast-error { border-left: 4px solid var(--color-red); }
        
        /* ===== RESPONSIVE ===== */
        @media (max-width: 600px) {
            .container { padding: 15px; }
            .moyenne-card { padding: 30px 20px; }
            .moyenne-value { font-size: 4rem; }
            .input-grid { grid-template-columns: 1fr 1fr; }
            .input-grid .input-group:nth-child(3) { grid-column: span 2; }
            .note-details { flex-direction: column; gap: 5px; }
            .actions-section { grid-template-columns: 1fr; }
            
            .audio-player {
                bottom: 10px;
                width: calc(100% - 20px);
                padding: 15px 20px;
            }
        }
