/* 1. Базовая рабочая инверсия для основной шапки (текст и бургер) */
#rec2283919121 {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 99999 !important; /* Шапка лежит на слое 99999 */
    mix-blend-mode: difference !important;
    
    isolation: auto !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
    will-change: auto !important;
}

/* 2. Чистим изоляцию внутри основной шапки */
#rec2283919121 .t396__artboard,
#rec2283919121 .t396__carrier,
#rec2283919121 .t396__elem {
    isolation: auto !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: none !important;
}

/* 3. Красим текст и бургер основной шапки в белый */
#rec2283919121 .tn-atom,
#rec2283919121 a {
    color: #ffffff !important;
    background-color: transparent; 
}
#rec2283919121 [data-elem-type="shape"] .tn-atom {
    background-color: #ffffff !important;
}
.t-records_header {
    pointer-events: none !important;
}

/* 4. Наш верхний неприкосновенный слой (Видео + Кнопки) */
.floating-video {
    position: fixed !important;
    z-index: 999999 !important; /* Лежит ВЫШЕ инверсии на слое 999999 */
    mix-blend-mode: normal !important; /* Цвета строго родные */
    pointer-events: none !important; /* Пропускает клики сквозь пустые зоны блока */
}

/* 5. ВОЗВРАЩАЕМ КЛИКИ ДЛЯ КНОПОК */
.floating-video .interact-btn {
    pointer-events: auto !important; /* Кнопки снова кликабельны и работают ховеры! */
}