/* 表情面板样式 */
.expre-panel {
    position: absolute;
    z-index: 9999;
    width: 300px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
    margin-top: 10px;
}

/* 评论框表情面板定位 */
#comment-expre-panel {
    position: absolute;
    left: 0;
    top: 100%;
}

.comment-expre-wrap {
    position: relative;
    margin-bottom: 10px;
}

/* 表情面板头部 */
.expre-header {
    padding: 8px 15px;
    background: #f5f5f5;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    position: relative;
}

.expre-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    color: #666;
}

.expre-close:hover {
    color: #000;
}

/* 表情内容区域 */
.expre-content {
    padding: 10px;
    max-height: 200px;
    overflow-y: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* 表情分类标签 */
.expre-tabs {
    padding: 8px;
    border-top: 1px solid #eee;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.expre-tab {
    padding: 4px 10px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.expre-tab.active {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* 表情图片样式 */
.expre-item {
    transition: all 0.2s;
}

.expre-item:hover {
    transform: scale(1.1);
    border: 1px solid #0073aa;
    border-radius: 3px;
}

/* 表情按钮样式 */
.expre-btn {
    padding: 5px 10px;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
}

.expre-btn:hover {
    background: #e5e5e5;
}

/* 评论框样式 */
.comment-textarea {
    font-family: inherit;
    font-size: 14px;
    line-height: 1.5;
}

/* 编辑器表情按钮位置调整 */
#qt_content_toolbar .qt_expre_button {
    margin-left: 5px;
}
