#article-like-box {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 14px 20px 4px 0;
}

.article-like-figure-wrap {
    position: relative;
    width: 90%;
    margin: 15px auto;
}

.article-like-figure-wrap > .article-figure {
    width: 100%;
    margin: 0;
}

#article-like-box.on-figure {
    margin: 10px 0 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
}

#article-like-button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7eb6, #e84393);
    color: #ffffff;
    font-weight: bold;
    padding: 8px 18px;
    cursor: pointer;
    transition: opacity 0.15s ease-in-out, transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-shadow: 0 5px 14px rgba(232, 67, 147, 0.28);
}

#article-like-button::before {
    content: "♡";
    font-size: 1rem;
    line-height: 1;
}

#article-like-button:hover,
#article-like-button:focus {
    opacity: 0.88;
    transform: translateY(-1px);
}

#article-like-button.is-liked,
#article-like-button.is-capped,
#article-like-button:disabled {
    background: #c84f88;
    cursor: default;
    opacity: 1;
}

#article-like-button.is-liked::before,
#article-like-button.is-capped::before,
#article-like-button:disabled::before {
    content: "♥";
}

#article-like-button.is-animating {
    animation: article-like-pop 0.42s ease-out;
}

#article-like-button.is-animating::before {
    animation: article-like-heart-beat 0.42s ease-out;
}

#article-like-count {
    min-width: 2ch;
    font-size: 1.05rem;
    font-weight: bold;
    text-align: right;
}

#article-like-count.is-animating {
    animation: article-like-count-pop 0.42s ease-out;
}

#article-like-count-label {
    color: #666666;
}

#article-like-status {
    color: #666666;
    font-size: 0.88rem;
}

@keyframes article-like-pop {
    0% {
        transform: scale(1);
    }

    35% {
        transform: scale(1.08);
    }

    65% {
        transform: scale(0.96);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes article-like-heart-beat {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1.25);
    }

    60% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes article-like-count-pop {
    0% {
        transform: translateY(0);
    }

    35% {
        transform: translateY(-4px) scale(1.08);
    }

    100% {
        transform: translateY(0) scale(1);
    }
}

@media screen and (max-width: 1000px) {
    #article-like-box {
        justify-content: flex-end;
        margin: 12px 10px 0;
        flex-wrap: wrap;
    }

    #article-like-box.on-figure {
        justify-content: flex-end;
        margin: 10px 0 0;
        padding: 0;
    }
}
