/**
 * Nearby ads / unread count badge on mobile site rail + overlay menu (≤1023.98).
 * Does not touch custom.css / mobile-sidebar.css / PC ≥1024 site header.
 */
@media (max-width: 1023.98px) {
    .cotinder-mnav--site .cotinder-mnav__icon-wrap,
    .cotinder-mnav--cabinet .cotinder-mnav__icon-wrap {
        position: relative !important;
        overflow: visible !important;
    }

    .cotinder-mnav--site .cotinder-mnav__link,
    .cotinder-mnav--cabinet .cotinder-mnav__link {
        overflow: visible !important;
        position: relative !important;
    }

    .cotinder-mnav--site .cotinder-mnav__badge,
    .cotinder-mnav--cabinet .cotinder-mnav__badge {
        position: absolute !important;
        top: -5px !important;
        right: -7px !important;
        min-width: 16px !important;
        height: 16px !important;
        padding: 0 4px !important;
        border-radius: 999px !important;
        background: #fd7728 !important;
        color: #fff !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        line-height: 16px !important;
        text-align: center !important;
        box-sizing: border-box !important;
        z-index: 5 !important;
        pointer-events: none !important;
        display: inline-block !important;
    }

    .cotinder-mnav--site .cotinder-mnav__badge.is-empty,
    .cotinder-mnav--site .cotinder-mnav__badge[hidden],
    .cotinder-mnav--cabinet .cotinder-mnav__badge.is-empty,
    .cotinder-mnav--cabinet .cotinder-mnav__badge[hidden] {
        display: none !important;
    }
}

@media (max-width: 1023.98px) {
    #cotinder-mobmenu .cotinder-mobmenu__icon-wrap {
        position: relative !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex: 0 0 22px !important;
        width: 22px !important;
        height: 22px !important;
        overflow: visible !important;
    }

    #cotinder-mobmenu .cotinder-mobmenu__icon-wrap .cotinder-mobmenu__icon {
        flex: 0 0 22px !important;
        width: 22px !important;
        height: 22px !important;
    }

    #cotinder-mobmenu .cotinder-mnav__badge {
        position: absolute !important;
        top: -6px !important;
        right: -8px !important;
        min-width: 16px !important;
        height: 16px !important;
        padding: 0 4px !important;
        border-radius: 999px !important;
        background: #fd7728 !important;
        color: #fff !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        line-height: 16px !important;
        text-align: center !important;
        box-sizing: border-box !important;
        z-index: 5 !important;
        pointer-events: none !important;
        display: inline-block !important;
    }

    #cotinder-mobmenu .cotinder-mnav__badge.is-empty,
    #cotinder-mobmenu .cotinder-mnav__badge[hidden] {
        display: none !important;
    }
}
