/* 下拉框容器 */
.zcm-mention-popup {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid rgba(0,0,0,0.05);
    min-width: 280px;
    max-width: 360px;
    overflow: hidden;
    font-size: 14px;
    z-index: 99999;
}
.zcm-mention-popup .mention-list {
    list-style: none;
    margin: 0;
    padding: 6px 0;
    max-height: 340px;
    overflow-y: auto;
}
.zcm-mention-popup .mention-item {
    display: flex;
    align-items: center;
    padding: 10px 16px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.zcm-mention-popup .mention-item:last-child {
    border-bottom: none;
}
.zcm-mention-popup .mention-item:hover,
.zcm-mention-popup .mention-item.active {
    background: #f5f7fa;
}
.zcm-mention-popup .mention-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    overflow: hidden;
    flex-shrink: 0;
}
.zcm-mention-popup .mention-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.zcm-mention-popup .mention-info {
    flex: 1;
    min-width: 0;
}
.zcm-mention-popup .mention-name {
    font-weight: 600;
    color: #1e1e1e;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.zcm-mention-popup .mention-meta {
    font-size: 12px;
    color: #888;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 深色模式 */
body.dark-theme .zcm-mention-popup {
    background: #2a2b2e;
    border-color: rgba(255,255,255,0.08);
}
body.dark-theme .zcm-mention-popup .mention-item:hover,
body.dark-theme .zcm-mention-popup .mention-item.active {
    background: #3a3b3e;
}
body.dark-theme .zcm-mention-popup .mention-name {
    color: #e8e8e8;
}
body.dark-theme .zcm-mention-popup .mention-meta {
    color: #a0a0a0;
}
/* 提示框样式 */
.zcm-mention-tip {
    margin: 0 0 10px;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    color: #ff6b6b !important;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 107, 107, 0.25);
    backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
}
body.dark-theme .zcm-mention-tip {
    color: #ff7b7b !important;
    background: rgba(50, 51, 53, 0.7);
    border-color: rgba(255, 123, 123, 0.35);
}
.zcm-mention-tip i {
    margin-right: 6px;
    font-size: 14px;
}
/* 评论中 @ 链接的高亮颜色（类似截图中的蓝色） */
.mention-link {
    color: #3b8cff !important;
    font-weight: 500;
    text-decoration: none;
    margin: 0 2px;
}
.mention-link:hover {
    color: #1a6eff !important;
    text-decoration: underline;
}

/* 深色模式下的链接颜色 */
body.dark-theme .mention-link {
    color: #5c9eff !important;
}
body.dark-theme .mention-link:hover {
    color: #7eb3ff !important;
}