/* ============================================================
 * 考试三页样式（exam/index.html + exam/start.html + exam/result.html）
 * 依赖：theme.css → base.css → components.css → layout.css → 本文件
 * JS 契约类名（exam/main.js + exam/start.js + result 内嵌脚本，勿改）：
 *   .timer-value(.warning/.danger) / .timer-text(.warning) / .exam-item
 *   .option-item(.selected) / .question-btn / .badge-single|multiple|judge|indefinite
 *   .score-circle(.passed/.failed) / .pass-badge(.passed/.failed) / .score-number(.passed/.failed)
 *   #submitModal/#timeUpModal/#examSelectionModal 由 JS 操作 style.display
 *   .display-none（exam/index.html 弹窗隐藏类）
 * ============================================================ */

/* ============================================================
 * 考试列表页（exam/index.html）
 * ============================================================ */
.exam-container {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    padding: var(--sp-8);
    margin-bottom: var(--sp-5);
}

.exam-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--sp-8);
    padding-bottom: var(--sp-5);
    border-bottom: 1px solid var(--border-light);
}

.exam-title h2 {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: var(--sp-2);
}

.exam-title p {
    color: var(--text-secondary);
    font-size: var(--fs-md);
}

/* 计时卡（.warning/.danger 为 JS 状态类） */
.exam-timer {
    text-align: center;
    background: var(--gray-50);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--sp-4);
    min-width: 150px;
}

.timer-label {
    font-size: var(--fs-xs);
    color: var(--text-muted);
    margin-bottom: 5px;
}

.timer-value {
    font-family: var(--font-num);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-semibold);
    color: var(--primary);
}

.timer-value.warning {
    color: var(--warning);
}

.timer-value.danger {
    color: var(--danger);
}

/* 信息统计条 */
.exam-info {
    background: var(--gray-50);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--sp-5);
    margin-bottom: var(--sp-8);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--sp-5);
}

.info-item {
    text-align: center;
}

.info-number {
    font-family: var(--font-num);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-semibold);
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 5px;
}

.info-label {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

/* 主操作 */
.exam-actions {
    display: flex;
    justify-content: center;
    gap: var(--sp-5);
    margin-top: var(--sp-8);
}

.action-btn {
    padding: 15px 30px;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--fs-lg);
    font-weight: var(--fw-medium);
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--sp-2);
    transition: background-color var(--t-base) var(--ease),
                box-shadow var(--t-base) var(--ease);
}

.start-btn {
    background: var(--primary);
    color: #fff;
}

.start-btn:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-primary);
}

.history-btn {
    background: var(--gray-100);
    color: var(--text-secondary);
}

.history-btn:hover {
    background: var(--gray-200);
}

.exam-list {
    margin-top: var(--sp-8);
}

.exam-content {
    display: flex;
    gap: var(--sp-5);
}

.exam-main {
    flex: 1;
    min-width: 0;
}

.exam-aside {
    width: var(--right-panel-w);
    flex-shrink: 0;
}

/* 考试卡片 */
.exam-item {
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    background: var(--bg-card);
    padding: var(--sp-5);
    margin-bottom: var(--sp-4);
    transition: border-color var(--t-base) var(--ease),
                box-shadow var(--t-base) var(--ease),
                transform var(--t-base) var(--ease);
}

.exam-item:hover {
    border-color: var(--primary-tint-border);
    box-shadow: var(--shadow-sm);
    transform: translateY(-1px);
}

.exam-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--sp-3);
}

.exam-name {
    font-size: var(--fs-xl);
    font-weight: var(--fw-medium);
    color: var(--text-primary);
}

.exam-status {
    padding: 3px var(--sp-2);
    border-radius: var(--radius-sm);
    font-size: var(--fs-xs);
    font-weight: var(--fw-medium);
}

.status-available {
    background: var(--success-light);
    color: var(--success);
}

.status-completed {
    background: var(--gray-100);
    color: var(--text-secondary);
}

.exam-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--sp-4);
    margin-bottom: var(--sp-4);
}

.detail-item {
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}

.detail-item strong {
    color: var(--text-primary);
}

.exam-actions-item {
    display: flex;
    gap: var(--sp-2);
}

.exam-btn {
    padding: 8px var(--sp-4);
    border: none;
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    cursor: pointer;
    text-decoration: none;
    transition: background-color var(--t-base) var(--ease),
                box-shadow var(--t-base) var(--ease);
}

.take-exam-btn {
    background: var(--primary);
    color: #fff;
}

.take-exam-btn:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-primary);
}

.view-result-btn {
    background: var(--gray-100);
    color: var(--text-secondary);
}

.view-result-btn:hover {
    background: var(--gray-200);
}

.loading {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

.loading i {
    font-size: var(--fs-2xl);
    margin-bottom: 10px;
}

/* ============================================================
 * 考试选择弹窗（exam/index.html；.display-none 由页面/JS 控制）
 * ============================================================ */
.display-none {
    display: none !important;
}

.category-empty {
    color: var(--text-muted);
    font-size: var(--fs-xs);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(16, 24, 40, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: var(--z-modal);
    padding: var(--sp-4);
}

.modal-content {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-header {
    padding: var(--sp-6) var(--sp-6) var(--sp-4);
    border-bottom: 1px solid var(--border-light);
    position: relative;
}

.modal-header h3 {
    margin: 0 0 var(--sp-2) 0;
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.modal-subtitle {
    margin: 0;
    font-size: var(--fs-sm);
    color: var(--text-secondary);
}

.modal-close {
    position: absolute;
    top: var(--sp-5);
    right: var(--sp-5);
    background: none;
    border: none;
    font-size: var(--fs-2xl);
    color: var(--text-muted);
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color var(--t-base) var(--ease),
                color var(--t-base) var(--ease);
}

.modal-close:hover {
    background: var(--gray-100);
    color: var(--text-secondary);
}

.modal-body {
    padding: var(--sp-5) var(--sp-6);
    flex: 1;
    overflow-y: auto;
}

.modal-footer {
    padding: var(--sp-4) var(--sp-6) var(--sp-6);
    border-top: 1px solid var(--border-light);
    text-align: center;
}

/* 考试类型分组 + 科目胶囊 */
.exam-types-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-4);
}

.exam-type-item {
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: var(--sp-3);
    background: var(--bg-card);
}

.exam-type-name {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: var(--sp-2);
}

.category-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
}

.category-item {
    padding: 6px 10px;
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-pill);
    font-size: var(--fs-xs);
    cursor: pointer;
    background: var(--bg-card);
    color: var(--text-secondary);
    transition: border-color var(--t-fast) var(--ease),
                background-color var(--t-fast) var(--ease),
                color var(--t-fast) var(--ease);
}

.category-item:hover {
    border-color: var(--primary-tint-border);
    background: var(--primary-tint-bg);
}

.category-item.selected {
    border-color: var(--primary-tint-border);
    background: var(--primary-tint-bg-strong);
    color: var(--primary-tint-text);
}

.confirm-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    padding: var(--sp-3) var(--sp-8);
    font-size: var(--fs-lg);
    font-weight: var(--fw-medium);
    cursor: pointer;
    transition: background-color var(--t-base) var(--ease),
                box-shadow var(--t-base) var(--ease);
}

.confirm-btn:hover:not(:disabled) {
    background: var(--primary-hover);
    box-shadow: var(--shadow-primary);
}

.confirm-btn:disabled {
    background: var(--gray-200);
    color: var(--gray-400);
    cursor: not-allowed;
}

/* ============================================================
 * 考试答题页（exam/start.html）
 * ============================================================ */
.exam-start-container {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    padding: 0;
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-bottom: var(--sp-5);
    min-height: calc(100vh - 200px);
}

.exam-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: var(--sp-6);
    min-width: 0;
}

/* 顶部信息栏 + 计时 */
.exam-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--sp-5);
}

.exam-name-display {
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.exam-timer-display {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    background: var(--warning-light);
    border: 1px solid #fde68a;
    border-radius: var(--radius-md);
    padding: 10px var(--sp-5);
}

.timer-icon {
    font-size: var(--fs-2xl);
}

.timer-text {
    font-family: var(--font-num);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-semibold);
    color: #d97706;
    line-height: 1.2;
}

.timer-text.warning {
    color: var(--danger);
}

.exam-timer-display .timer-label {
    margin-bottom: 0;
}

/* 题目区 */
.question-section {
    background: var(--gray-50);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--sp-6);
    margin-bottom: var(--sp-5);
}

.question-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--sp-5);
}

/* 题型徽标（实色分类，JS 按 type 换类） */
.question-type-badge {
    padding: 3px var(--sp-3);
    border-radius: var(--radius-sm);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    margin-right: var(--sp-4);
    color: #fff;
    background: var(--primary);
}

.badge-single     { background: var(--primary); }
.badge-multiple   { background: var(--success); }
.badge-judge      { background: var(--warning); }
.badge-indefinite { background: #7c5cd6; }

.question-number {
    font-size: var(--fs-md);
    color: var(--text-muted);
}

.question-content {
    font-size: var(--fs-lg);
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: var(--sp-6);
}

.question-title {
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: var(--sp-4);
    line-height: 1.6;
}

.question-text {
    font-size: var(--fs-lg);
    line-height: 1.8;
    color: var(--text-primary);
}

/* 选项（含复选框形态，.selected 为 JS 类） */
.options-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--sp-3);
    margin-bottom: var(--sp-5);
}

.option-item {
    display: flex;
    align-items: center;
    padding: var(--sp-4) var(--sp-5);
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-md);
    cursor: pointer;
    background: var(--bg-card);
    transition: border-color var(--t-base) var(--ease),
                background-color var(--t-base) var(--ease);
}

.option-item:hover {
    border-color: var(--primary-tint-border);
    background: var(--primary-tint-bg);
}

.option-item.selected {
    border-color: var(--primary);
    background: var(--primary-tint-bg);
}

.option-label {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gray-200);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: var(--fw-semibold);
    margin-right: var(--sp-4);
    flex-shrink: 0;
    transition: background-color var(--t-base) var(--ease),
                color var(--t-base) var(--ease);
}

.option-item.selected .option-label {
    background: var(--primary);
    color: #fff;
}

.option-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.5;
}

.option-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color var(--t-fast) var(--ease),
                border-color var(--t-fast) var(--ease);
}

.option-item.selected .option-checkbox {
    background: var(--primary);
    border-color: var(--primary);
}

/* 底部导航 */
.navigation-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--sp-5) 0 0;
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.question-counter {
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-family: var(--font-num);
}

.nav-btn {
    padding: 10px var(--sp-5);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--fs-md);
    font-weight: var(--fw-medium);
    cursor: pointer;
    transition: background-color var(--t-base) var(--ease),
                box-shadow var(--t-base) var(--ease);
}

.nav-btn.prev {
    background: var(--gray-100);
    color: var(--text-secondary);
}

.nav-btn.prev:hover:not(:disabled) {
    background: var(--gray-200);
}

.nav-btn.prev:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.nav-btn.next {
    background: var(--primary);
    color: #fff;
}

.nav-btn.next:hover:not(:disabled) {
    background: var(--primary-hover);
    box-shadow: var(--shadow-primary);
}

.nav-btn.next:disabled {
    background: var(--gray-200);
    color: var(--gray-400);
    cursor: not-allowed;
}

/* 右侧答题卡 */
.exam-sidebar {
    width: 300px;
    background: var(--gray-50);
    border-left: 1px solid var(--border-light);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: var(--sp-5);
    flex-shrink: 0;
}

.answer-card-title {
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: var(--sp-4);
}

.answer-stats {
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    font-size: var(--fs-xs);
    color: var(--text-secondary);
    margin-bottom: var(--sp-4);
    padding-bottom: var(--sp-4);
    border-bottom: 1px solid var(--border-light);
}

.stat-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 4px;
    vertical-align: -1px;
}

.stat-dot.answered   { background: var(--success); }
.stat-dot.unanswered { background: var(--gray-300); }
.stat-dot.current    { background: var(--primary); }

.question-grid {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    margin-bottom: var(--sp-5);
}

.question-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    color: var(--text-secondary);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    cursor: pointer;
    transition: border-color var(--t-fast) var(--ease),
                background-color var(--t-fast) var(--ease),
                color var(--t-fast) var(--ease);
}

.question-btn:hover {
    border-color: var(--primary-tint-border);
    color: var(--primary);
}

.question-btn.answered {
    border-color: var(--success);
    background: var(--success);
    color: #fff;
}

.question-btn.current {
    border-color: var(--primary);
    background: var(--primary);
    color: #fff;
}

.submit-btn {
    width: 100%;
    padding: var(--sp-3);
    background: var(--danger);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--fs-md);
    font-weight: var(--fw-medium);
    cursor: pointer;
    transition: background-color var(--t-base) var(--ease),
                box-shadow var(--t-base) var(--ease);
}

.submit-btn:hover {
    background: var(--danger-hover);
}

/* 交卷/时间到弹窗（style.display 由 JS 控制） */
.modal-dialog {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 400px;
    max-width: 90%;
    overflow: hidden;
}

.modal-dialog-header {
    padding: var(--sp-5) var(--sp-6);
    border-bottom: 1px solid var(--border-light);
}

.modal-dialog-header h3 {
    margin: 0;
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
}

.modal-dialog-body {
    padding: var(--sp-6);
    color: var(--text-secondary);
    line-height: var(--lh-base);
}

.modal-dialog-body strong {
    color: var(--primary);
    font-family: var(--font-num);
}

.unanswered-warning {
    color: var(--danger);
    font-weight: var(--fw-medium);
}

.modal-dialog-footer {
    display: flex;
    justify-content: flex-end;
    gap: var(--sp-3);
    padding: var(--sp-4) var(--sp-6) var(--sp-5);
    border-top: 1px solid var(--border-light);
}

.modal-btn {
    padding: 10px var(--sp-5);
    border: none;
    border-radius: var(--radius-md);
    font-size: var(--fs-md);
    font-weight: var(--fw-medium);
    cursor: pointer;
    transition: background-color var(--t-base) var(--ease),
                box-shadow var(--t-base) var(--ease);
}

.modal-btn.cancel {
    background: var(--gray-100);
    color: var(--text-secondary);
}

.modal-btn.cancel:hover {
    background: var(--gray-200);
}

.modal-btn.confirm {
    background: var(--primary);
    color: #fff;
}

.modal-btn.confirm:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-primary);
}

/* 响应式 */
@media (max-width: 768px) {
    .exam-content {
        flex-direction: column;
    }

    .exam-aside {
        width: 100%;
    }

    .exam-start-container {
        flex-direction: column;
    }

    .exam-sidebar {
        width: 100%;
        border-left: none;
        border-top: 1px solid var(--border-light);
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    }
}

/* ============================================================
 * 考试结果页（exam/result.html）
 * .passed/.failed 为内嵌脚本切换的状态类
 * ============================================================ */
.result-container {
    max-width: 1000px;
    margin: 0 auto;
}

.result-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xs);
    padding: var(--sp-8);
    margin-bottom: var(--sp-5);
}

.result-header {
    text-align: center;
    margin-bottom: var(--sp-6);
    padding-bottom: var(--sp-5);
    border-bottom: 1px solid var(--border-light);
}

.result-title {
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: var(--text-primary);
    margin: 0 0 var(--sp-2);
}

.result-subtitle {
    color: var(--text-secondary);
    font-size: var(--fs-md);
    margin: 0;
}

/* 分数英雄区 */
.score-hero {
    text-align: center;
    padding: var(--sp-8) var(--sp-5);
    margin-bottom: var(--sp-8);
    border-radius: var(--radius-lg);
    background: var(--gray-50);
    border: 1px solid var(--border-light);
    position: relative;
}

.score-circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto var(--sp-4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 6px solid var(--border-light);
    background: var(--bg-card);
}

.score-circle.passed {
    border-color: var(--success);
}

.score-circle.failed {
    border-color: var(--danger);
}

.score-number {
    font-family: var(--font-num);
    font-size: 42px;
    font-weight: var(--fw-semibold);
    line-height: 1.1;
}

.score-number.passed {
    color: var(--success);
}

.score-number.failed {
    color: var(--danger);
}

.score-label {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.pass-badge {
    display: inline-block;
    padding: 6px var(--sp-5);
    border-radius: var(--radius-pill);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    margin-top: var(--sp-2);
}

.pass-badge.passed {
    background: var(--success-light);
    color: var(--success);
}

.pass-badge.failed {
    background: var(--danger-light);
    color: var(--danger);
}

.score-hero .time-spent {
    margin-top: var(--sp-2);
    color: var(--text-muted);
    font-size: var(--fs-sm);
}

/* 统计卡 */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: var(--sp-4);
    margin-bottom: var(--sp-8);
}

.stat-card {
    background: var(--gray-50);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--sp-5);
    text-align: center;
}

.stat-value {
    font-family: var(--font-num);
    font-size: var(--fs-2xl);
    font-weight: var(--fw-semibold);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-label {
    font-size: var(--fs-sm);
    color: var(--text-muted);
}

.stat-card.correct .stat-value { color: var(--success); }
.stat-card.wrong .stat-value   { color: var(--danger); }
.stat-card.pass .stat-value    { color: var(--primary); }
.stat-card.time .stat-value    { color: #7c5cd6; }

/* 题目回顾 */
.review-title {
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    color: var(--text-primary);
    margin-bottom: var(--sp-5);
    padding-bottom: var(--sp-3);
    border-bottom: 1px solid var(--border-light);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--sp-4);
}

.review-answers {
    margin-bottom: var(--sp-8);
}

.review-item {
    display: flex;
    gap: var(--sp-3);
    padding: var(--sp-4);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    margin-bottom: var(--sp-3);
    background: var(--bg-card);
}

.review-index {
    font-family: var(--font-num);
    font-weight: var(--fw-semibold);
    color: var(--text-muted);
    flex-shrink: 0;
}

.review-question {
    flex: 1;
    min-width: 0;
}

.review-status {
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
    flex-shrink: 0;
}

.review-status.correct {
    color: var(--success);
}

.review-status.wrong {
    color: var(--danger);
}

/* 结果页操作按钮 */
.action-buttons {
    display: flex;
    gap: var(--sp-3);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: var(--sp-8);
    padding-top: var(--sp-8);
    border-top: 1px solid var(--border-light);
}

.result-container .action-btn {
    padding: var(--sp-3) var(--sp-6);
}

.result-container .action-btn.secondary {
    background: var(--gray-100);
    color: var(--text-secondary);
}

.result-container .action-btn.secondary:hover {
    background: var(--gray-200);
}

.result-container .action-btn.success {
    background: var(--success);
    color: #fff;
}

.result-container .action-btn.success:hover {
    background: var(--success-hover);
}

.result-container .action-btn.primary {
    background: var(--primary);
    color: #fff;
}

.result-container .action-btn.primary:hover {
    background: var(--primary-hover);
    box-shadow: var(--shadow-primary);
}
