.kuehn-comment-reactions {
    margin-top: var(--space-compact, 16px);
}

.kuehn-comment-like-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 7px 10px;
    border: 1px solid var(--kuehn-site-border, #e9e9ec);
    border-radius: var(--radius-pill, 999px);
    background: var(--kuehn-site-surface, #fff);
    color: var(--kuehn-site-muted, #6c7075);
    font: inherit;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.kuehn-comment-like-btn:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--kuehn-accent, #8b6f5a) 55%, #ffffff);
    background: color-mix(in srgb, var(--kuehn-accent, #8b6f5a) 8%, #ffffff);
    color: var(--kuehn-site-text, #1c2024);
}

.kuehn-comment-like-btn:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--kuehn-accent, #8b6f5a) 40%, #ffffff);
    outline-offset: 2px;
}

.kuehn-comment-like-btn.is-liked {
    border-color: #d86b58;
    background: #fff3ef;
    color: #b24938;
}

.kuehn-comment-like-btn[data-busy="true"] {
    opacity: 0.7;
    pointer-events: none;
}

.kuehn-comment-like-btn__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
}

.kuehn-comment-like-btn__icon svg {
    width: 16px;
    height: 16px;
}

.kuehn-comment-like-btn.is-liked .kuehn-comment-like-btn__icon svg {
    fill: currentColor;
}

.kuehn-comment-like-btn__count {
    min-width: 1.6ch;
    text-align: center;
}

.kuehn-comment-like-btn.is-animating .kuehn-comment-like-btn__icon {
    animation: kuehnCommentLikePop 0.28s ease;
}

@keyframes kuehnCommentLikePop {
    0% { transform: scale(1); }
    40% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

[data-site-theme-resolved="dark"] .kuehn-comment-like-btn,
.chapter-reader[data-theme="dark"] .kuehn-comment-like-btn {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.74);
}

[data-site-theme-resolved="dark"] .kuehn-comment-like-btn:hover,
.chapter-reader[data-theme="dark"] .kuehn-comment-like-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.24);
    color: #ffffff;
}

[data-site-theme-resolved="dark"] .kuehn-comment-like-btn.is-liked,
.chapter-reader[data-theme="dark"] .kuehn-comment-like-btn.is-liked {
    background: rgba(216, 107, 88, 0.15);
    border-color: rgba(216, 107, 88, 0.52);
    color: #ffb2a4;
}

@media (max-width: 640px) {
    .kuehn-comment-like-btn {
        padding: 6px 9px;
    }
}
