/**评论表情支持**/

/**表情选区**/
/* Webkit 浏览器（Chrome、Safari、Edge）的滚动条样式 */
.emoji-container::-webkit-scrollbar {
    height: 10px;
    /* 滚动条高度 */
    width: 3px;
}

.emoji-container::-webkit-scrollbar-track {
    background: #f6f6f6;
    /* 滚动条轨道背景 */
    border-radius: 5px;
}

.emoji-container::-webkit-scrollbar-thumb {
    background: #e6e6e6;
    /* 滚动条滑块颜色 */
    border-radius: 5px;
}

.emoji-container::-webkit-scrollbar-thumb:hover {
    background: #dedede;
    /* 鼠标悬停时滑块颜色 */
}


.emoji-picker {
    position: relative;
    border: 1px solid #ccc;
    background: #fff;
    padding: 10px;
    margin-top: 5px;
    z-index: 1000;
    display: flex;
    transition: height 2s ease-in-out;
}

.dark .emoji-picker {
    border: 1px solid #f8f7f7;
    background: #838080;
}

.emoji-categories {
    position: sticky;
    display: flex;
    justify-content: flex-start;
    margin-bottom: 5px;
    border-bottom: 1px solid #ededed;
    padding-bottom: 10px;
}

.emoji-category {
    cursor: pointer;
    border: none;
    background: none;
    font-size: 12px;
    margin-right: 5px;
    color: #333;
}

.emoji-category.active {
    background: #ffae00;
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 2px;
    font-weight: bold;
}

.emoji-container {
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
    height: 5.5rem;
    /* background: #f7f7f7; */
}

.emoji-container img {
    width: 32px;
    height: 32px;
    margin: 5px;
    cursor: pointer;
}

.emoji-container .emoji {
    height: 32px;
    margin: 5px;
    cursor: pointer;
}


.kaomoji {
    padding: 5px;
    font-size: 14px;
    cursor: pointer;
    width: 80px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ffffff;
    margin: 3px;
    text-align: center;
}