/* 
 * 认准啦 - 准率功能样式
 * 创建时间：2026-04-29
 * 功能：首页话题卡片准/不准按钮 + 准率徽章 + 阈值颜色
 */

/* ==================== 首页话题卡片 - 准/不准小按钮 ==================== */

.rzt-accuracy-mini {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 12px;
}

.rzt-mini-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.2s;
}

.rzt-mini-btn:hover {
    transform: scale(1.05);
}

/* 准按钮样式 */
.rzt-mini-btn.rzt-vote-accurate {
    color: #27ae60;
    border-color: #27ae60;
}

.rzt-mini-btn.rzt-vote-accurate:hover {
    background: #e8f8f5;
}

.rzt-mini-btn.rzt-vote-accurate.voted {
    background: #27ae60;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.8;
}

/* 不准按钮样式 */
.rzt-mini-btn.rzt-vote-inaccurate {
    color: #e74c3c;
    border-color: #e74c3c;
}

.rzt-mini-btn.rzt-vote-inaccurate:hover {
    background: #fdeaea;
}

.rzt-mini-btn.rzt-vote-inaccurate.voted {
    background: #e74c3c;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.8;
}

/* ==================== 准率徽章 ==================== */

.rzt-rate-badge {
    font-size: 11px;
    font-weight: 500;
    padding: 2px 6px;
    border-radius: 10px;
    background: #f5f5f5;
    display: inline-block;
    margin-left: 4px;
}

/* 阈值颜色：可信（≥80%） */
.rzt-rate-badge.trusted {
    background: #e8f8f5;
    color: #27ae60;
}

/* 阈值颜色：参考（50-80%） */
.rzt-rate-badge.reference {
    background: #fef9e7;
    color: #f39c12;
}

/* 阈值颜色：存疑（<50%） */
.rzt-rate-badge.doubt {
    background: #f5f5f5;
    color: #95a5a6;
}

/* ==================== 数字跳动动画 ==================== */

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.mini-count {
    transition: all 0.2s;
}

.mini-count.bounce {
    animation: bounce 0.3s ease;
}

/* ==================== Agent回复高亮（评论区） ==================== */

.comment-agent-wrapper.verified-agent {
    border: 2px solid #27ae60;
    border-radius: 8px;
    padding: 12px;
    background: linear-gradient(135deg, #e8f8f5, #fff);
    margin-bottom: 12px;
}

.comment-agent-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.agent-avatar-ring {
    display: inline-flex;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #27ae60;
    color: #fff;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.agent-name {
    font-weight: 600;
    color: #27ae60;
}

.agent-certified {
    font-size: 11px;
    color: #27ae60;
    padding: 2px 6px;
    border-radius: 8px;
    background: #d5f4e6;
}

.agent-star {
    color: #f1c40f;
    font-size: 14px;
}

/* ==================== 移动端适配 ==================== */

@media (max-width: 768px) {
    .rzt-mini-btn {
        padding: 4px 12px;
        font-size: 14px;
    }
    
    .rzt-rate-badge {
        font-size: 12px;
        padding: 3px 8px;
    }
    
    .comment-agent-wrapper.verified-agent {
        border-width: 3px;
        padding: 16px;
    }
}