/* ========== 词语辨析模块 ========== */
.words-header-card {
    background: linear-gradient(135deg, #5C6BC0, #3949AB);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    color: white;
    box-shadow: var(--shadow-md);
}
.words-header-card h2 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.words-header-card p { font-size: 12px; opacity: 0.9; }

.words-list { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; }

.words-date-badge {
    background: linear-gradient(135deg, #7986CB, #5C6BC0);
    color: white;
    padding: 10px 16px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.word-group-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 18px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid #5C6BC0;
}

.word-pair-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.word-a, .word-b {
    font-size: 20px;
    font-weight: 700;
    color: #3949AB;
    padding: 6px 14px;
    background: #E8EAF6;
    border-radius: 8px;
}
.word-vs {
    font-size: 13px;
    color: var(--text-light);
    font-weight: 600;
}

.word-reveal-btn {
    width: 100%;
    padding: 10px;
    border: 2px dashed #B39DDB;
    background: transparent;
    border-radius: 12px;
    font-size: 15px;
    cursor: pointer;
    color: #5C6BC0;
    transition: all 0.2s;
}
.word-reveal-btn:hover { background: #EDE7F6; }

.word-meanings {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--border-color);
}
.word-meaning-item {
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 8px;
    padding: 10px 12px;
    background: #F8F9FA;
    border-radius: 8px;
}
.word-tip {
    font-size: 13px;
    color: #E65100;
    background: #FFF3E0;
    padding: 8px 12px;
    border-radius: 8px;
    margin-top: 8px;
    text-align: center;
}

.word-actions {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    justify-content: center;
}
.word-btn {
    flex: 1;
    max-width: 160px;
    padding: 9px 16px;
    border: none;
    border-radius: 18px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}
.word-btn.remember { background: #4CAF50; color: white; }
.word-btn.remember:hover { background: #388E3C; }
.word-btn.forget { background: #FF9800; color: white; }
.word-btn.forget:hover { background: #F57C00; }

.words-footer {
    text-align: center;
    font-size: 12px;
    color: var(--text-light);
    padding: 14px;
    background: #EDE7F6;
    border-radius: var(--radius-md);
}

@media (max-width: 480px) {
    .word-a, .word-b { font-size: 17px; padding: 5px 10px; }
    .word-meaning-item { font-size: 14px; padding: 8px 10px; }
    .word-actions { flex-direction: column; }
    .word-btn { max-width: none; }
}
