/* ===== 词汇诊断模块 ===== */
#tab-vocab {
    padding: 20px;
    background: #f8f9fa;
    min-height: 100%;
}

.vocab-header {
    margin-bottom: 20px;
}

.vocab-header-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.vocab-header-sub {
    font-size: 13px;
    color: #999;
}

/* 空状态 - 未诊断 */
.vocab-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.vocab-empty-state-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    background: #f0f0f5;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    color: #bbb;
}

.vocab-empty-state-text {
    font-size: 15px;
    font-weight: 600;
    color: #444;
    margin-bottom: 6px;
}

.vocab-empty-state-sub {
    font-size: 13px;
    color: #999;
}

/* 统计卡片行 */
.vocab-stats-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.vocab-stat-card {
    background: #1E1B3A;
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.vocab-stat-card-num {
    font-size: 28px;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.vocab-stat-card-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

/* Section */
.vocab-section {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
}

.vocab-section-title {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.vocab-section-title .badge {
    display: none;
}

/* 维度标签 - 灰底药丸 */
.dimension-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.dimension-tag {
    padding: 5px 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    background: #f0f0f5;
    color: #666;
    border: none;
}

.dimension-tag:hover {
    background: #e8e8ef;
}

.dimension-tag.active {
    background: #6C5CE7;
    color: white;
}

/* 单词卡片 */
.word-card {
    background: #fafafa;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 8px;
    border-left: 2px solid #6C5CE7;
}

.word-card:last-child {
    margin-bottom: 0;
}

.word-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.word-text {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
}

.word-phonetic {
    font-size: 12px;
    color: #999;
    margin-left: 6px;
}

.word-speak-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: none;
    background: #f0f0f5;
    color: #6C5CE7;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
}

.word-speak-btn:hover {
    background: #e0e0ef;
}

.word-speak-btn:active {
    background: #d0d0df;
}

.word-meaning {
    font-size: 13px;
    color: #555;
    margin-bottom: 6px;
}

.word-example {
    font-size: 12px;
    color: #777;
    font-style: italic;
    line-height: 1.5;
}

.word-example-cn {
    font-size: 11px;
    color: #999;
    margin-top: 3px;
}

.word-source {
    font-size: 11px;
    color: #aaa;
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px dashed #e8e8e8;
}

.word-source span {
    background: #f0f0f5;
    padding: 2px 6px;
    border-radius: 4px;
}

/* 旧版兼容 */
.vocab-empty {
    text-align: center;
    padding: 40px 20px;
    color: #888;
}

.vocab-empty-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.vocab-empty-text {
    font-size: 13px;
    line-height: 1.6;
    color: #999;
}

.vocab-loading {
    text-align: center;
    padding: 60px 20px;
}

/* 移除旧样式 */
.vocab-hero,
.vocab-hero::before,
.vocab-bai-link,
.vocab-stats,
.vocab-stat-item,
.vocab-stat-num,
.vocab-stat-label,
.dimension-tag.weak {
    display: none;
}
