/* Вынесено из catalog.php. Правьте здесь — страница подключает этот файл. */
/* ===== Чекбокс "Показывать только подтвержденные" (моб.) =====
   Правило label:has(#verifiedOnlyCheckbox){display:table} выше по файлу (с id в селекторе) ломало флекс:
   квадратик садился на базовую линию текста и "плавал". Перебиваем селектором с двумя id. */
@media (max-width: 992px) {
    #catalogAjaxWrap label.tbl-verified-label:has(#verifiedOnlyCheckbox) {
        display: inline-flex !important; align-items: center !important; justify-content: center;
        gap: 5px !important; margin: 0 !important; line-height: 1 !important; box-sizing: border-box;
    }
    #catalogAjaxWrap label.tbl-verified-label #verifiedOnlyCheckbox {
        position: static !important; display: block !important; flex-shrink: 0;
        margin: 0 !important; padding: 0 !important; vertical-align: middle; align-self: center !important;
        width: 12px !important; height: 12px !important; min-width: 12px !important;
    }
    #catalogAjaxWrap .tbl-search-wrap { align-items: stretch !important; }
    /* оптическая поправка: строчные буквы визуально сидят выше центра квадратика */
    #catalogAjaxWrap .tbl-verified-text { display: block; line-height: 1; position: relative; top: .18em; white-space: nowrap; }
    #catalogAjaxWrap .tbl-search-wrap > .tbl-search-input,
    #catalogAjaxWrap .tbl-search-wrap > .tbl-verified-label { margin-top: 0 !important; margin-bottom: 0 !important; }
}

/* ===== Цвета тарифов владельца — 1 в 1 как в account.css ===== */
/* Business — золото */
.ch-wrapper.tariff-business-yellow .avatar-wrap.verified .ch-avatar { border-color: #eab308 !important; }
.ch-wrapper.tariff-business-yellow .avatar-wrap.verified .avatar-badge { background-color: #eab308 !important; }
.ch-wrapper.tariff-business-yellow .ch-user { color: #905a0c !important; }
/* Premium — фиолет */
.ch-wrapper.tariff-premium-purple .avatar-wrap.verified .ch-avatar { border-color: #a855f7 !important; }
.ch-wrapper.tariff-premium-purple .avatar-wrap.verified .avatar-badge { background-color: #a855f7 !important; }
.ch-wrapper.tariff-premium-purple .ch-user { color: #7e22ce !important; }
/* Закреп в ТОПе — приоритет выше тарифа: рамка и галочка всегда зелёные */
.ch-wrapper.js-channel-row.js-top-ch-card .avatar-wrap.verified .ch-avatar { border-color: #4cf667 !important; }
.ch-wrapper.js-channel-row.js-top-ch-card .avatar-wrap.verified .avatar-badge { background-color: #33e649 !important; }

/* Название канала — настоящая ссылка (её видит Google), выглядит как раньше */
.ch-title .ch-title-link { color: inherit; text-decoration: none; font: inherit; }
.ch-title .ch-title-link:hover { text-decoration: none; }

/* сводка по категории */
.catalog-seo-box .catalog-seo-stats { margin-bottom: 8px; }
.catalog-seo-box .catalog-seo-stats a { color: #67e8f9; font-weight: 600; text-decoration: none; border-bottom: 1px solid rgba(103, 232, 249, .35); }
.catalog-seo-box .catalog-seo-stats a:hover { border-bottom-color: #67e8f9; }
