/* --- СБРОС ОТСТУПОВ --- */
.elementor-widget-shortcode .elementor-shortcode,
.elementor-shortcode p {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}

/* --- ОСНОВНЫЕ СТИЛИ (ДЕСКТОП) --- */
.live-block {
    background-color: #000000 !important;
    width: 100% !important;
    
    /* ИЗМЕНЕНО: Заменяем 1200px на 100%, чтобы черная панель была на весь широкий экран */
    max-width: 100% !important; 
    
    min-height: auto !important; 
    margin: 0 auto !important; 
    display: flex !important;
    
    /* ИЗМЕНЕНО: Распределяет огромную пустоту большого экрана ПОРОВНУ между всеми 4 элементами */
    justify-content: space-between !important; 
    
    align-items: center !important;
    padding: 0px 0px !important; 
    color: #FFFFFF !important;
    
    flex-wrap: nowrap !important; 
    gap: 20px !important; 
    
    font-family: 'Inter', sans-serif !important;
    box-sizing: border-box !important;
    line-height: normal !important; 
}

.live-block * {
    box-sizing: border-box !important;
}

.status-container, 
.dj-container, 
.stream-link {
    flex-shrink: 0 !important;
}

/* Статус (слева) */
.status-container { display: flex; align-items: center; gap: 15px; }
.blinking-dot {
    width: 19px; height: 19px; background-color: #FF0000;
    border-radius: 50%; animation: blink 2s infinite ease-in-out;
}
@keyframes blink {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}
.status-text {
    font-weight: 700; font-size: 18px; line-height: 22px;
    color: #FF0000; display: flex; flex-direction: column; text-transform: uppercase;
}

/* DJ (центр) */
.dj-container { 
    display: flex; align-items: center; gap: 20px; transition: opacity 0.3s;
}
.dj-image {
    width: 80px; height: 80px; object-fit: cover;
    border-radius: 4px; background-color: #333; display: block;
}
.dj-name { font-weight: 700; font-size: 18px; line-height: 22px; text-transform: uppercase; display: block;}
.dj-time { font-weight: 400; font-size: 18px; line-height: 22px; color: #8E8E8E; display: block;}

/* === БАББЛ (СООБЩЕНИЕ) === */
.message-bubble {
    background-color: #151515 !important; 
    padding: 15px 20px !important; 
    position: relative !important;
    display: flex !important; 
    align-items: center !important; 
    min-height: 78px !important;
    line-height: 1.4 !important; 
    
    /* ИЗМЕНЕНО: Мы УБРАЛИ flex-grow, чтобы баббл больше не воровал пространство у отступов */
    max-width: none !important; 
}
.message-text { font-weight: 400; font-size: 15px; line-height: 18px; color: #C2C2C2; }

/* Стрелка влево */
.message-bubble::before {
    content: ''; position: absolute; left: -14px; top: 50%; transform: translateY(-50%);
    border-style: solid; border-width: 10px 14px 10px 0;
    border-color: transparent #151515 transparent transparent;
}

/* Ссылка (справа) */
.stream-link {
    display: flex; align-items: center; gap: 15px;
    text-decoration: none; transition: opacity 0.3s;
}
.stream-icon img { width: 44px; height: auto; display: block; }
.stream-text {
    font-weight: 400; font-size: 18px; line-height: 22px;
    color: #FFFFFF; display: flex; flex-direction: column; text-transform: uppercase;
}


/* --- МОБИЛЬНАЯ ВЕРСИЯ (АДАПТИВ) --- */
@media (max-width: 768px) {
    .live-block {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: space-between !important;
        padding: 10px 15px !important; 
        gap: 15px 0 !important;
        height: auto !important;
    }
    .stream-link { display: none !important; }
    .status-container {
        width: auto !important;
        margin-right: 10px !important;
        order: 1 !important;
    }
    .blinking-dot { width: 14px !important; height: 14px !important; }
    .status-text { font-size: 15px !important; line-height: 1.1 !important; }

    .dj-container {
        width: auto !important;
        flex-direction: row !important;
        gap: 12px !important;
        order: 2 !important;
    }
    .dj-image { width: 60px !important; height: 60px !important; }
    .dj-info { text-align: left !important; }
    .dj-name { font-size: 15px !important; line-height: 18px !important; margin-bottom: 2px !important; }
    .dj-time { font-size: 13px !important; line-height: 15px !important; }

    .message-bubble {
        order: 3 !important;
        flex-basis: 100% !important;
        width: 100% !important;
        max-width: none !important;
        margin-top: 5px !important;
        padding: 15px !important;
        justify-content: flex-start !important;
        min-height: auto !important;
    }
    .message-text { font-size: 14px !important; line-height: 1.4 !important; width: 100% !important; }

    .message-bubble::before {
        left: 50% !important;
        top: -8px !important;
        transform: translateX(-50%) !important;
        border-width: 0 8px 8px 8px !important;
        border-color: transparent transparent #151515 transparent !important;
    }
}