.reaction-buttons {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 10px 0;
}

.reaction-button {
    min-width: 52px;
    padding: 5px 10px;
    color: #666;
    background: #fff;
    border: 1px solid #d8d8d8;
    border-radius: 18px;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease;
}

.reaction-button:hover,
.reaction-button:focus {
    color: #b83b3b;
    border-color: #b83b3b;
    outline: 0;
}

.reaction-button.active {
    color: #fff;
    background: #b83b3b;
    border-color: #b83b3b;
}

.reaction-button[disabled] {
    opacity: .6;
}

.reaction-count {
    margin-left: 4px;
    font-weight: 600;
}

.comment-reactions {
    margin-top: 4px;
}

.comment-reactions .reaction-buttons {
    margin: 3px 0 0;
}

.comment-emoji,
.comment-emoji-choice {
    font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif;
}

.comment-content .comment-emoji {
    display: inline-block;
    font-size: 1.2em;
    line-height: 1;
    vertical-align: -.08em;
}

.comment-emoji-picker {
    position: relative;
    display: inline-block;
    margin-top: 6px;
}

.comment-emoji-toggle .comment-emoji {
    margin-right: 3px;
    font-size: 16px;
}

.comment-emoji-panel {
    position: absolute;
    z-index: 1050;
    left: 0;
    bottom: calc(100% + 5px);
    width: 278px;
    padding: 8px;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .18);
}

.comment-emoji-choice {
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 21px;
    line-height: 32px;
    text-align: center;
    background: transparent;
    border: 0;
    border-radius: 4px;
}

.comment-emoji-choice:hover,
.comment-emoji-choice:focus {
    background: #eee;
    outline: 0;
}

@media (max-width: 480px) {
    .comment-emoji-panel {
        width: 244px;
    }
}
