.news-reactions {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    /*
     * Блок занимает оставшееся пространство
     * между собой и кнопками комментариев/репоста.
     */
    flex: 1 1 auto;

    /*
     * Минимально должно помещаться:
     * ❤️ и +
     */
    min-width: 64px;
    max-width: 100%;

    overflow: hidden;
}

.news-reactions__list {
    display: inline-flex;
    align-items: center;
    gap: 4px;

    flex: 1 1 auto;
    min-width: 0;

    overflow: hidden;
}


/*
 * Повышаем специфичность, потому что у тебя есть
 * общее правило .mobile-actions button.
 */
.news-reactions .news-reaction-btn,
.news-reactions .news-reaction-picker-btn {
    display: none;
    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    height: 30px;
    min-width: 30px;
    padding: 0 7px;

    border: 1px solid transparent;
    border-radius: 999px;

    background: rgba(127, 127, 127, 0.11);
    color: inherit;

    font: inherit;
    cursor: pointer;
    white-space: nowrap;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        transform 0.15s ease;
}

.news-reactions
.news-reaction-btn.is-visible,
.news-reactions
.news-reaction-picker-btn {
    display: inline-flex;
}

.news-reaction-btn:hover,
.news-reaction-picker-btn:hover {
    background: rgba(127, 127, 127, 0.2);
}

.news-reaction-btn:active,
.news-reaction-picker-btn:active {
    transform: scale(0.94);
}

.news-reaction-btn.is-selected {
    border-color: rgba(60, 130, 246, 0.65);
    background: rgba(60, 130, 246, 0.14);
}

.news-reaction-btn__emoji {
    font-size: 17px;
    line-height: 1;
}

.news-reaction-btn__count {
    margin-left: 4px;
    font-size: 13px;
    line-height: 1;
    color: #8e8e93;
}


/*
 * Стандартное сердце с нулём:
 *
 * показываем только ❤️, без цифры 0.
 */
.news-reaction-btn[data-count="0"]
.news-reaction-btn__count {
    display: none;
}

.news-reaction-picker-btn {
    font-size: 14px;
    color: #8e8e93;
}

.news-reactions.is-loading {
    opacity: 0.65;
    pointer-events: none;
}


/*
 * Родитель должен разрешать дочернему flex-блоку
 * уменьшаться по ширине.
 */
.mobile-actions .left-actions {
    min-width: 0;
}

.mobile-actions .open-comments-btn,
.mobile-actions .share-btn {
    flex: 0 0 auto;
}


@media (max-width: 640px) {
    .news-reactions {
        min-width: 58px;
        gap: 3px;
    }

    .news-reactions__list {
        gap: 3px;
    }

    .news-reactions
    .news-reaction-btn,
    .news-reactions
    .news-reaction-picker-btn {
        height: 28px;
        min-width: 28px;
        padding: 0 6px;
    }

    .news-reaction-btn__emoji {
        font-size: 16px;
    }

    .news-reaction-btn__count {
        font-size: 12px;
    }
}