       .live-container {
            width: 100%;
            background: var(--blanc);
            box-shadow: var(--shadow-hover);
            display: flex;
            overflow: hidden;
            position: relative;
        }

        .video-section {
            flex: 1.4;
            background: var(--blanc);
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .video-player {
            background: linear-gradient(45deg, #1a1a1a 0%, #2a2a2a 100%);
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .video-container {
            position: relative;
            width: 100%;
            padding-bottom: 56.25%; /* ratio 16:9 */
            height: 0;
            overflow: hidden;
        }

        .video-container iframe {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border: 0;
        }

        .video-placeholder {
            text-align: center;
            color: rgba(255,255,255,0.8);
        }

        .video-placeholder svg {
            width: 80px;
            height: 80px;
            fill: var(--jaune-orange);
            margin-bottom: 20px;
            opacity: 0.8;
        }

        .video-placeholder p {
            font-size: 1.2rem;
            letter-spacing: 1px;
            text-transform: uppercase;
            color: var(--gris-border);
        }

        .live-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            background: var(--rouge);
            color: white;
            padding: 6px 16px;
            border-radius: 30px;
            font-size: 0.9rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 1px;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 4px 15px rgba(225, 6, 0, 0.3);
            animation: pulse 1.5s infinite;
        }

        .live-badge::before {
            content: '';
            width: 10px;
            height: 10px;
            background: white;
            border-radius: 50%;
            display: inline-block;
        }

        @keyframes pulse {
            0% { opacity: 1; }
            50% { opacity: 0.9; transform: scale(1.02); }
            100% { opacity: 1; }
        }

        .video-info {
            padding: 16px 24px;
            min-height: 120px;
            background: var(--blanc);
            border-top: 1px solid var(--gris-border);
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .article-share a {
        font-size: 24px;
        color: #666;
        margin: 0 0.2rem;
        transition: var(--transition);
        }

        .article-share a:hover {
         color: var(--bleu);
        }

        .video-title h4 {
         color: var(--bleu);
         font-size: 1rem;
         font-weight: 600;
        }

        .video-title p {
         color: var(--noir-texte);
         font-size: 0.9rem;
         opacity: 0.7;
        }

        .viewer-count {
            background: var(--gris-pale);
            padding: 8px 16px;
            border-radius: 50px;
            display: flex;
            align-items: center;
            gap: 8px;
            color: var(--bleu);
            font-weight: 500;
        }

        #active-views{
            font-size: 12px;
        }

        /* Section chat droite */
        .chat-section {
            flex: 0.8;
            background: var(--blanc);
            border-left: 1px solid var(--gris-border);
            display: flex;
            flex-direction: column;
        }

        .chat-header {
            padding: 20px 24px;
            border-bottom: 1px solid var(--gris-border);
            background: var(--gris-pale);
        }

        .chat-header h3 {
            color: var(--bleu);
            font-size: 1.3rem;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .chat-header h3::after {
            content: '';
            width: 8px;
            height: 8px;
            background: #22c55e;
            border-radius: 50%;
            display: inline-block;
        }

        .chat-messages {
            flex: 1;
            overflow-y: auto;
            padding: 20px;
            display: flex;
            flex-direction: column;
            gap: 16px;
            background: var(--blanc);
            max-height: 562px;
            overflow-y: scroll;
        }

        .message {
            display: flex;
            gap: 12px;
            animation: slideIn 0.3s ease;
        }

        @keyframes slideIn {
            from {
                opacity: 0;
                transform: translateX(20px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .message-avatar {
            width: 36px;
            height: 36px;
            background: var(--jaune-orange);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--bleu);
            font-weight: 600;
            font-size: 1rem;
            text-transform: uppercase;
            flex-shrink: 0;
        }

        .message-content {
            flex: 1;
        }

        .message-header {
            display: flex;
            align-items: baseline;
            gap: 8px;
            margin-bottom: 4px;
        }

        .message-author {
            color: var(--bleu);
            font-weight: 600;
            font-size: 0.95rem;
        }

        .message-time {
            color: var(--noir-texte);
            font-size: 0.75rem;
            opacity: 0.5;
        }

        .message-text {
            color: var(--noir-texte);
            font-size: 0.95rem;
            line-height: 1.4;
            word-wrap: break-word;
        }

        .smiley-box{
         display: flex; 
        }

        .smiley-box-2{ 
         border-left: solid 2px var(--gris-border);
         border-right: solid 2px var(--gris-border);
         border-top: solid 2px var(--gris-border);
         border-top-left-radius: 35px;
         border-top-right-radius: 35px;
         gap: 25px;
         padding: 5px 25px 5px 25px;
         background: var(--blanc);
        }

        .smiley-sz{
         width: 30px;
         height: 30px;
         cursor: pointer;
        }

        .message-text .smiley-sz{
         vertical-align: middle;
         margin: 2px;
         width: 25px;
         height: 25px;
        }

        .flags-svg-c{
         width: 20px;
        }

        .chat-input-area {
            position: fixed;
            width: 100%;
            bottom: 0;
            border-top: 2px solid var(--gris-border);
            background: var(--gris-pale);
            padding: 8px;
        }

        .chat-input.empty::before {
        content: attr(aria-placeholder);
        color: #777;
        position: absolute;
        left: 25px;
        top: 70px;
        pointer-events: none;
        user-select: none;
        }

        .chat-input:focus {
        border-color: var(--bleu);
        background: var(--gris-pale);
        outline: none;
        }

        #editable-comment img.smiley-inserted {
        pointer-events: none;
        user-select: none;
        }

        .input-wrapper {
            display: flex;
            gap: 12px;
            margin-bottom: 12px;
        }

        .chat-input {
            flex: 1;
            padding: 10px;
            border: 2px solid var(--gris-border);
            border-top-right-radius: 50px;
            border-bottom-left-radius: 50px;
            border-bottom-right-radius: 50px;
            font-size: 0.95rem;
            transition: var(--transition);
            background: var(--blanc);
        }

        .chat-input:focus {
            outline: none;
            border-color: var(--jaune-orange);
            box-shadow: 0 0 0 3px rgba(250, 207, 15, 0.2);
            background: var(--blanc);
        }

        .send-btn {
            background: var(--bleu-gradient);
            border: none;
            border-radius: 50px;
            padding: 0 24px;
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 8px;
            border: 2px solid var(--bleu);
        }

        .send-btn:hover {
            background: transparent;
            color: var(--bleu);
            transform: translateY(-2px);
            box-shadow: var(--shadow-hover);
        }

        .chat-tools {
            display: flex;
            gap: 15px;
            justify-content: flex-end;
        }

        .tool-btn {
            background: transparent;
            border: none;
            color: var(--bleu);
            font-size: 0.9rem;
            cursor: pointer;
            padding: 5px 10px;
            border-radius: 20px;
            transition: var(--transition);
            display: flex;
            align-items: center;
            gap: 5px;
            opacity: 0.7;
        }

        .tool-btn:hover {
            opacity: 1;
            background: rgba(10, 44, 117, 0.05);
        }

        /* Message système */
        .system-message {
            background: var(--gris-pale);
            padding: 8px 16px;
            border-radius: 20px;
            text-align: center;
            color: var(--bleu);
            font-size: 0.85rem;
            border: 1px solid var(--gris-border);
            margin: 10px 0;
        }

        /* Scrollbar personnalisée */
        .chat-messages::-webkit-scrollbar {
            width: 6px;
        }

        .chat-messages::-webkit-scrollbar-track {
            background: var(--gris-pale);
        }

        .chat-messages::-webkit-scrollbar-thumb {
            background: var(--bleu-gradient);
            border-radius: 10px;
            opacity: 0.5;
        }

        .chat-messages::-webkit-scrollbar-thumb:hover {
            background: var(--jaune-orange);
        }

        @media (max-width: 975px) {
            .live-container {
                flex-direction: column;
                height: auto;
                min-height: 90vh;
            }
            
            .chat-section {
                border-left: none;
                border-top: 2px solid var(--gris-border);
            }

            .chat-messages {
              max-height: 250px;
            }

            .video-section {
             flex: none;
             width: 100%;
           }

        }