/* --- CSS ЗАМЕНА КОПИРАЙТА (FIXED) --- */

/* 1. Настройка родительского блока */
div.d-flex:has(a[href*="easydonate"]) {
    position: relative !important;
    display: flex !important;
    align-items: center !important; /* Центрируем всё по вертикали */
    min-height: 32px !important;    /* Минимальная высота под картинку */
}

/* 2. УНИЧТОЖЕНИЕ старых элементов внутри */
/* Мы берем ссылку (лого) и параграф (текст) внутри этого блока */
/* и превращаем их в невидимую точку 0x0 пикселей */
div.d-flex:has(a[href*="easydonate"]) > a,
div.d-flex:has(a[href*="easydonate"]) > p {
    font-size: 0 !important;      /* Скрываем текст */
    line-height: 0 !important;
    width: 0 !important;          /* Убираем ширину */
    height: 0 !important;         /* Убираем высоту */
    min-width: 0 !important;
    min-height: 0 !important;
    padding: 0 !important;        /* Убираем отступы */
    margin: 0 !important;
    border: none !important;
    overflow: hidden !important;
    position: absolute !important; /* Выкидываем из потока, чтобы не мешали */
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 3. Создаем НОВОЕ содержимое */
div.d-flex:has(a[href*="easydonate"])::before {
    /* Текст */
    content: "Все права принадлежат EclipseDevelopment" !important;
    
    /* Восстанавливаем шрифт */
    font-size: 14px !important; 
    color: #ffffff !important; /* Белый цвет текста */
    font-family: inherit !important; /* Шрифт как на всем сайте */
    font-weight: 500 !important;

    /* Картинка */
    background-image: url('https://i.yapx.ru/crYPa.png?quality=95&as=32x32,48x48,72x72,108x108,160x160,240x240,360x360,480x480,512x512&from=bu&cs=512x0') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: left center !important;

    /* Размеры и отступы */
    height: 32px !important;       /* Высота картинки */
    padding-left: 42px !important; /* Отступ слева для текста (чтобы не налез на картинку) */
    
    /* Выравнивание */
    display: flex !important;
    align-items: center !important; /* Текст строго по центру картинки */
    white-space: nowrap !important;
}