/* Растим: минималистичная кнопка лайка без подложки вокруг блока. */
.rastim-likes,
.rastim-likes * {
    box-sizing: border-box;
}
.rastim-likes {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin: 28px 0 24px;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    text-align: center;
    font-family: inherit;
}
.rastim-likes-question {
    color: #5a6464;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}
.rastim-like-line {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 9px;
}
.rastim-likes .rastim-like-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    margin: 0;
    border: 1px solid #dce2d9;
    border-radius: 50%;
    background: #f5f7f3;
    color: #78324d;
    box-shadow: none;
    appearance: none;
    cursor: pointer;
    line-height: 1;
    transition: background .2s ease, border-color .2s ease,
                color .2s ease, transform .2s ease;
}
.rastim-likes .rastim-like-btn:hover {
    background: #f3e8ed;
    border-color: #d5aabb;
    color: #78324d;
    transform: translateY(-1px);
}
.rastim-likes .rastim-like-btn:focus-visible {
    outline: 3px solid #6ca4c4;
    outline-offset: 3px;
}
.rastim-likes .rastim-like-btn:disabled {
    cursor: wait;
    opacity: .7;
}
.rastim-likes .rastim-like-btn[aria-pressed="true"] {
    background: #78324d;
    border-color: #78324d;
    color: #fff;
}
.rastim-likes .rastim-like-btn[aria-pressed="true"]:hover {
    background: #652840;
    border-color: #652840;
    color: #fff;
}
.rastim-like-heart {
    display: block;
    width: 21px;
    height: 21px;
    flex: none;
}
.rastim-like-btn[aria-pressed="true"] .rastim-like-heart path {
    fill: currentColor;
}
.rastim-like-btn.rastim-like-pop .rastim-like-heart {
    animation: rastim-like-pop .3s ease;
}
.rastim-like-label {
    color: #505e61;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 400;
}
.rastim-like-count {
    display: inline-block;
    min-width: 18px;
    padding: 2px 7px;
    border: 1px solid #e2e5e2;
    border-radius: 999px;
    background: #f9faf8;
    color: #78324d;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    line-height: 1.4;
}
.rastim-like-msg {
    color: #7e4057;
    font-size: 12px;
    line-height: 1.5;
}
.rastim-like-msg:empty {
    display: none;
}
@keyframes rastim-like-pop {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.3); }
    100% { transform: scale(1); }
}
@media (max-width: 480px) {
    .rastim-likes { gap: 9px; margin: 22px 0; }
    .rastim-likes-question { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
    .rastim-likes .rastim-like-btn,
    .rastim-like-heart {
        transition: none;
        animation: none !important;
    }
}
