

.detail-comment-fix-bottom textarea {
    flex: 0 0 60%;
}

.detail-comment-fix-bottom .comment-emoji-btn {
    font-size: 2rem;
    align-self: center;
    flex: 0 0 9%;
    text-align: center;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0 6px;
    line-height: 1;
    /* opacity: 0.7; */
}
.comment-emoji-btn:hover { opacity: 1; }

@media screen and (min-width: 520px) {
    .detail-comment-fix-bottom textarea {
        flex: 0 0 74%;
    }
}

.comment-emoji-panel {
    position: absolute;
    bottom: 61px;
    left: 8px;
    right: 8px;
    width: auto;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    z-index: 999;
    overflow: hidden;
}

.comment-emoji-tabs {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #eee;
    overflow-x: auto;
}
.comment-emoji-tab {
    padding: 6px 12px;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    color: #666;
    border-bottom: 2px solid transparent;
}
.comment-emoji-tab.active {
    color: #f45;
    border-bottom-color: #f45;
}

.comment-emoji-grid {
    display: flex;
    flex-wrap: wrap;
    padding: 6px;
    max-height: 180px;
    overflow-y: auto;
}
.comment-emoji-item {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 4px;
    transition: background .15s;
}
.comment-emoji-item:hover { background: #f5f5f5; }
.comment-emoji-item img { height: 100px; object-fit: contain; }

img.comment-emoji {
    height: 100px;
    vertical-align: middle;
    display: inline;
    margin: 0 6px;
}
