        /* Reset et base */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        }

        :root {
            --primary: #10b981;
            --primary-dark: #059669;
            --gray-100: #f3f4f6;
            --gray-200: #e5e7eb;
            --gray-300: #d1d5db;
            --gray-400: #9ca3af;
            --gray-500: #6b7280;
            --gray-600: #4b5563;
            --white: #ffffff;
            --black: #000000;
        }

        body {
            background-color: var(--gray-100);
            overflow-x: auto;
        }

        .container {
            width: 288px; /* Largeur initiale par défaut (2 × 144px) */
            min-height: 100vh;
            transition: width 0.3s ease;
            flex-shrink: 0; /* Empêche le conteneur de rétrécir */
        }

        /* Header */
        .header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 1rem;
        }

        .logo {
            display: flex;
            align-items: center;
        }

        .logo-circle {
            width: 2.5rem;
            height: 2.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white);
            font-weight: bold;
        }

        .logo-text {
            margin-left: 0.5rem;
            font-weight: bold;
            font-size: 1.25rem;
            color: #003c64;
        }

        /* Search */
        .search-bar {
            position: relative;
            margin: 12px; 
        }

        .search-input {
            width: 100%;
            padding: 0.75rem 1rem;
            border-radius: 0.5rem;
            border: 1px solid var(--gray-200);
            background-color: var(--white);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            outline: none;
            transition: border 0.2s ease, box-shadow 0.2s ease;
        }

        .search-input:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
        }

        .search-button {
            position: absolute;
            right: 0.5rem;
            top: 0.5rem;
            background-color: var(--primary);
            color: var(--white);
            padding: 0.25rem;
            border-radius: 0.5rem;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Quality selection */
        .quality-select {
            width: 278px;  
            border-radius: 12px;
            padding: 0.5rem;
            border: 1px solid var(--gray-200);
            background-color: var(--white);
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            margin-left: 12px;
            margin-right: 12px;
            outline: none;
        }

        .quality-select:focus {
            border-color: var(--primary);
            box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
        }

        /* Video container */
        .video-container {
            position: relative;
            background-color: var(--gray-200);
            border-radius: 0.5rem;
            overflow: hidden;
            margin-bottom: 1rem;
        }

        .play-button {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .play-button-circle {
            width: 4rem;
            height: 4rem;
            background-color: rgba(255, 255, 255, 0.75);
            border-radius: 9999px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .play-icon {
            color: var(--primary);
            width: 2rem;
            height: 2rem;
            margin-left: 0.25rem; /* Pour centrer visuellement */
        }

        .audio-player {
            position: absolute;
            inset: 0;
            display: flex;
            align-items: center;
            padding: 0 1rem;
        }

        .audio-play {
            width: 2.5rem;
            height: 2.5rem;
            background-color: rgba(255, 255, 255, 0.75);
            border-radius: 9999px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 1rem;
        }

        .audio-icon {
            color: var(--primary);
            width: 1.25rem;
            height: 1.25rem;
            margin-left: 0.125rem; /* Pour centrer visuellement */
        }

        .progress-bar {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.6), transparent);
            padding: 1rem;
        }

        .progress-track {
            height: 0.5rem;
            width: 75%;
            background-color: var(--gray-300);
            border-radius: 9999px;
        }

        .audio-progress-track {
            height: 0.5rem;
            width: 100%;
            background-color: var(--gray-300);
            border-radius: 9999px;
            flex: 1;
        }

        .audio-progress-fill {
            height: 100%;
            width: 33%;
            background-color: var(--primary);
            border-radius: 9999px;
        }

        /* Video Info */
        .video-info {
            background-color: var(--white);
            padding: 1rem;
            border-radius: 0.5rem;
            margin-bottom: 1.5rem;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        }

        .skeleton-title {
            height: 1.5rem;
            width: 75%;
            background-color: var(--gray-200);
            border-radius: 9999px;
            margin-bottom: 0.5rem;
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        .channel-info {
            display: flex;
            align-items: center;
            margin-bottom: 0.75rem;
        }

        .channel-avatar {
            width: 2rem;
            height: 2rem;
            background-color: var(--gray-200);
            border-radius: 9999px;
            margin-right: 0.5rem;
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        .channel-name {
            height: 1rem;
            width: 50%;
            background-color: var(--gray-200);
            border-radius: 9999px;
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        .description {
            margin-bottom: 0.75rem;
        }

        .description-line {
            height: 0.75rem;
            width: 100%;
            background-color: var(--gray-200);
            border-radius: 9999px;
            margin-bottom: 0.5rem;
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        .description-line:nth-child(2) {
            width: 83%;
        }

        .description-line:nth-child(3) {
            width: 66%;
        }

        .video-date {
            height: 0.75rem;
            width: 25%;
            background-color: var(--gray-200);
            border-radius: 9999px;
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        /* Action buttons */
        .action-buttons {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.5rem;
            margin-bottom: 1rem;
        }

        .action-button {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 0.5rem;
            background-color: var(--white);
            border-radius: 0.5rem;
            border: none;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            cursor: pointer;
        }

        .action-icon {
            color: var(--gray-600);
            margin-bottom: 0.25rem;
        }

        .icon-tip {
            color: var(--primary);
        }

        .action-label {
            font-size: 0.75rem;
            color: var(--gray-600);
        }

        /* Navigation tabs */
        .nav-tabs {
            border-top: 1px solid var(--gray-200);
            padding-top: 0.75rem;
            margin: 12px;
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 0.5rem;
        }

        .nav-tab {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 0.5rem;
            background-color: var(--white);
            border-radius: 0.5rem;
            border: none;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            cursor: pointer;
        }

        .nav-tab.active {
            background-color: rgba(16, 185, 129, 0.1);
        }

        .nav-icon {
            color: var(--gray-600);
            margin-bottom: 0.25rem;
        }

        .nav-label {
            font-size: 0.75rem;
            color: var(--gray-600);
        }

        /* Tab content */
        .tab-content {
            margin-top: 1rem;
        }

        .tab-pane {
            display: none;
        }

        .tab-pane.active {
            display: block;
        }

        .saved-item, .tip-item, .vote-item {
            display: flex;
            background-color: var(--white);
            padding: 0.5rem;
            border-radius: 0.5rem;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            margin-bottom: 0.75rem;
        }

        .item-thumbnail {
            width: 6rem;
            height: 4rem;
            background-color: var(--gray-200);
            border-radius: 0.375rem;
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        .item-info {
            margin-left: 0.5rem;
            flex: 1;
        }

        .item-title {
            height: 1rem;
            width: 75%;
            background-color: var(--gray-200);
            border-radius: 9999px;
            margin-bottom: 0.25rem;
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        .item-subtitle {
            height: 0.75rem;
            background-color: var(--gray-200);
            border-radius: 9999px;
            margin-bottom: 0.25rem;
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        .item-subtitle-half {
            width: 50%;
        }

        .item-subtitle-third {
            width: 33%;
        }

        .item-subtitle-quarter {
            width: 25%;
        }

        .vote-info {
            display: flex;
            align-items: center;
            margin-top: 0.25rem;
        }

        .vote-circle {
            width: 1.25rem;
            height: 1.25rem;
            background-color: var(--gray-200);
            border-radius: 9999px;
            margin-right: 0.5rem;
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        .about-content {
            background-color: var(--white);
            padding: 1rem;
            border-radius: 0.5rem;
            box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        .about-title {
            height: 1.5rem;
            width: 50%;
            background-color: var(--gray-200);
            border-radius: 9999px;
            margin-bottom: 0.75rem;
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        .about-line {
            height: 0.75rem;
            width: 100%;
            background-color: var(--gray-200);
            border-radius: 9999px;
            margin-bottom: 0.5rem;
            animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
        }

        .about-line:nth-child(4) {
            width: 80%;
        }

        .about-line:last-child {
            width: 75%;
        }

        /* Animation */
        @keyframes pulse {
            0%, 100% {
                opacity: 1;
            }
            50% {
                opacity: 0.5;
            }
        }

        /* Responsive */
        @media (max-width: 640px) {
            .action-label, .nav-label {
                display: none;
            }
        }

