/* ============================================
 * quiz.css - 기출문제 CBT 시험 화면 스타일
 * ============================================
 * 이 파일을 고치면 영향받는 곳:
 *   → quiz.html (유일한 소비자)
 *
 * 이 파일이 의존하는 곳:
 *   ← css/common.css (CSS 변수: --header-bg, --action-color, --sub-action-color,
 *      --card-bg, --page-bg, --text-color)
 * ============================================ */

/* ===== 과목 선택 화면 ===== */
.select-screen {
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px;
}
.select-screen h1 {
    text-align: center;
    font-size: 28px;
    color: var(--header-bg);
    margin-bottom: 8px;
}
.select-screen .subtitle {
    text-align: center;
    color: #888;
    margin-bottom: 30px;
    font-size: 15px;
}

/* 컬럼 뷰 */
.quiz-column-view {
    display: flex;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    min-height: 460px;
}
.quiz-column {
    border-right: 1px solid #e5e7eb;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.quiz-column:last-child { border-right: none; }
.quiz-col-subjects { width: 260px; flex-shrink: 0; }
.quiz-col-years { flex: 1; min-width: 240px; }

.quiz-col-header {
    background: #f8f9fa;
    padding: 12px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #666;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.quiz-col-body {
    flex: 1;
    overflow-y: auto;
}
.quiz-col-item {
    display: flex;
    align-items: center;
    padding: 14px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    gap: 10px;
    transition: background 0.15s;
    font-size: 15px;
}
.quiz-col-item:hover { background: #f8f9fa; }
.quiz-col-item.active { background: var(--card-bg); }
.quiz-col-item .folder-icon { font-size: 20px; flex-shrink: 0; }
.quiz-col-item .item-name { flex: 1; font-weight: 500; }
.quiz-col-item .item-count { font-size: 12px; color: #999; margin-right: 4px; }
.quiz-col-item .arrow { color: #ccc; font-size: 12px; flex-shrink: 0; }

/* 연도 카드 (2번째 컬럼 내부) */
.year-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
    padding: 20px;
}
.year-card {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}
.year-card:hover {
    border-color: var(--action-color);
    background: var(--card-bg);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.year-card .year-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 4px;
}
.year-card .year-qcount {
    font-size: 13px;
    color: #999;
}
.year-card .year-attempt-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
}
.year-card .year-attempt-count {
    font-size: 12px;
    color: var(--action-color);
    font-weight: 600;
}
.year-card .year-log-btn {
    font-size: 11px;
    padding: 1px 7px;
    border: 1.5px solid var(--action-color);
    border-radius: 6px;
    background: transparent;
    color: var(--action-color);
    cursor: pointer;
    font-weight: 600;
    line-height: 1.4;
}
.year-card .year-log-btn:hover {
    background: var(--action-color);
    color: #fff;
}
.year-log-list {
    margin-top: 8px;
    text-align: left;
    font-size: 12px;
    border-top: 1px solid #e5e7eb;
    padding-top: 6px;
}
.year-log-item {
    display: flex;
    justify-content: space-between;
    padding: 3px 4px;
    color: var(--text-color);
    border-radius: 4px;
}
.year-log-item:nth-child(even) {
    background: rgba(0,0,0,0.03);
}
.year-log-item .log-round {
    color: #888;
    font-weight: 500;
}
.year-log-item .log-score {
    font-weight: 700;
}
.year-log-item .log-score.passed { color: var(--action-color); }
.year-log-item .log-score.failed { color: #e74c3c; }

.quiz-col-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #bbb;
    font-size: 14px;
    padding: 40px 20px;
    text-align: center;
}
.quiz-col-empty .icon { font-size: 36px; margin-bottom: 8px; }

.quiz-mobile-back-btn {
    display: none;
    align-items: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--action-color);
    font-size: 13px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 500;
    padding: 0;
}

/* ===== CBT 시험 화면 ===== */
.exam-screen { display: none; }

.exam-top-bar {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}
.exam-info {
    font-size: 15px;
    font-weight: 600;
    color: var(--header-bg);
}
.exam-info span {
    color: var(--action-color);
}
.exam-timer {
    font-size: 14px;
    color: #666;
    font-variant-numeric: tabular-nums;
}
.mode-toggle {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid #d0d0d0;
    cursor: pointer;
    color: #888;
    white-space: nowrap;
    transition: all 0.2s;
    user-select: none;
}
.mode-toggle:hover { border-color: var(--action-color); color: var(--action-color); }
.mode-toggle.active { background: var(--action-color); color: #fff; border-color: var(--action-color); }

/* 문제 번호 네비게이션 */
.q-nav {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 10px 20px;
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 6px;
    justify-items: center;
}
.q-nav-btn {
    width: 38px;
    height: 38px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
}
.q-nav-btn:hover { border-color: var(--action-color); color: var(--action-color); }
.q-nav-btn.current {
    background: var(--action-color);
    border-color: var(--action-color);
    color: #fff;
}
.q-nav-btn.answered {
    background: var(--card-bg);
    border-color: var(--sub-action-color);
    color: var(--action-color);
}
.q-nav-btn.answered.current {
    background: var(--action-color);
    color: #fff;
}

/* 문제 영역 */
.question-area {
    max-width: 800px;
    margin: 24px auto;
    padding: 0 20px;
}
.question-card {
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid #e5e7eb;
}
.question-number {
    display: inline-block;
    background: var(--action-color);
    color: #fff;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
}
.question-text {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
    white-space: pre-wrap;
}
.bogi-box {
    display: block;
    border: 1.5px solid #9ca3af;
    border-radius: 6px;
    padding: 12px 16px;
    margin: 10px 0;
    background: #f9fafb;
    white-space: pre-wrap;
}
.bogi-box .bogi-label {
    font-weight: 700;
    margin-bottom: 4px;
    display: block;
}
.multi-answer-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}
.question-image {
    margin: 16px 0;
    text-align: center;
}
.question-image img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* 보기 */
.choices {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}
.choice-btn {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: all 0.15s;
    text-align: left;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
}
.choice-btn:hover {
    border-color: var(--sub-action-color);
    background: #f8faff;
}
.choice-btn.selected {
    border-color: var(--action-color);
    background: var(--card-bg);
}
.choice-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #999;
    flex-shrink: 0;
    transition: all 0.15s;
}
.choice-btn.selected .choice-num {
    background: var(--action-color);
    border-color: var(--action-color);
    color: #fff;
}
.choice-text { flex: 1; padding-top: 3px; }

/* 이전/다음 버튼 */
.question-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    gap: 12px;
}
.q-move-btn {
    padding: 12px 28px;
    border: 2px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: var(--text-color);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.q-move-btn:hover { border-color: var(--action-color); color: var(--action-color); }
.q-move-btn:disabled { opacity: 0.4; cursor: default; }

.submit-btn {
    padding: 14px 40px;
    border: none;
    border-radius: 8px;
    background: var(--action-color);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.15s;
    font-family: inherit;
}
.submit-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* ===== 결과 화면 ===== */
.result-screen { display: none; }

.result-card {
    max-width: 700px;
    margin: 40px auto;
    padding: 0 20px;
}
.score-box {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin-bottom: 24px;
}
.score-title {
    font-size: 18px;
    color: #888;
    margin-bottom: 8px;
}
.score-number {
    font-size: 72px;
    font-weight: 700;
    color: var(--action-color);
    line-height: 1;
}
.score-number small {
    font-size: 28px;
    color: #999;
    font-weight: 500;
}
.score-detail {
    margin-top: 16px;
    font-size: 16px;
    color: #666;
}
.score-pass {
    margin-top: 12px;
    font-size: 20px;
    font-weight: 700;
}
.score-pass.pass { color: #16a34a; }
.score-pass.fail { color: #dc2626; }

.result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin: 24px 0;
}
.result-btn {
    padding: 12px 28px;
    border: 2px solid var(--action-color);
    border-radius: 8px;
    background: #fff;
    color: var(--action-color);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s;
}
.result-btn.primary {
    background: var(--action-color);
    color: #fff;
}
.result-btn:hover { opacity: 0.85; }

/* 문제 리뷰 */
/* ===== 상단 정답표 ===== */
.answer-table-wrap {
    margin-top: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.answer-table {
    width: 100%;
    min-width: 580px;
    border-collapse: collapse;
    font-size: 13px;
    text-align: center;
}
.answer-table th, .answer-table td {
    border: 1px solid #c5cfe0;
    padding: 6px 4px;
    white-space: nowrap;
}
.answer-table thead th {
    background: #1B2A4A;
    color: #fff;
    font-weight: 700;
}
.answer-table thead th.at-label { min-width: 56px; }
.answer-table tbody td.at-label {
    background: #eef3fa;
    font-weight: 700;
    color: #1B2A4A;
}
.answer-table tbody td.at-wrong {
    background: #fee2e2;
    color: #dc2626;
    font-weight: 700;
}
.answer-table tbody td.at-correct-cell {
    color: #333;
}

/* ===== 게시판 아코디언 리뷰 ===== */
.review-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 20px;
    border-top: 2px solid #1B2A4A;
}
.review-item {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    cursor: pointer;
    transition: background 0.15s;
    padding: 0;
    border-radius: 0;
    border-left: none;
}
.review-item:hover { background: #f9fafb; }
.review-item .ri-row {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    gap: 16px;
}
.review-item .ri-arrow {
    font-size: 12px;
    color: #999;
    transition: transform 0.2s;
    flex-shrink: 0;
    width: 16px;
    text-align: center;
}
.review-item.open .ri-arrow { transform: rotate(90deg); }
.review-item .ri-num {
    font-weight: 700;
    font-size: 15px;
    min-width: 40px;
}
.review-item .ri-ox {
    font-size: 18px;
    font-weight: 800;
    min-width: 24px;
    text-align: center;
}
.review-item .ri-ox.correct { color: #16a34a; }
.review-item .ri-ox.wrong { color: #dc2626; }

/* 상세 리뷰 (토글) */
.review-detail {
    display: none;
    padding: 16px 20px 20px 48px;
    border-top: 1px solid #f0f0f0;
    background: #fafafa;
}
.review-detail.open { display: block; }
.review-detail .rd-question {
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-wrap;
    margin-bottom: 12px;
}
.review-detail .rd-image { margin: 10px 0; text-align: center; }
.review-detail .rd-image img { max-width: 100%; max-height: 300px; border-radius: 6px; }
.review-detail .rd-choice {
    padding: 8px 12px;
    margin: 4px 0;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.5;
}
.review-detail .rd-choice.is-answer { background: #dcfce7; }
.review-detail .rd-choice.is-wrong { background: #fee2e2; }

/* ===== 채점 오버레이 ===== */
.scoring-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.85);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.scoring-overlay.active { display: flex; }
.scoring-text {
    font-family: 'Gowun Dodum', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--header-bg);
    margin-bottom: 20px;
    letter-spacing: 4px;
}
.scoring-track {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
}
.scoring-chars {
    position: absolute;
    top: 0;
    display: flex;
    gap: 10px;
    height: 120px;
    animation: walkAcross 3s linear forwards;
}
.scoring-chars > div { width: 100px; height: 120px; }
@keyframes walkAcross {
    0% { left: -340px; }
    100% { left: 100%; }
}

/* ===== 시험 시작 확인 화면 ===== */
.confirm-screen {
    display: none;
    max-width: 480px;
    margin: 100px auto;
    padding: 0 20px;
    text-align: center;
}
.confirm-card {
    background: #fff;
    border-radius: 16px;
    padding: 48px 36px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #e5e7eb;
}
.confirm-subject {
    font-size: 26px;
    font-weight: 700;
    color: var(--header-bg);
    margin-bottom: 4px;
}
.confirm-year {
    font-size: 20px;
    color: #666;
    margin-bottom: 32px;
}
.confirm-question {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 28px;
    font-weight: 500;
}
.confirm-btns {
    display: flex;
    justify-content: center;
    gap: 16px;
}
.confirm-btns button {
    padding: 12px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    border: 2px solid transparent;
    transition: all 0.2s;
}
.confirm-yes {
    background: var(--action-color);
    color: #fff;
}
.confirm-yes:hover { opacity: 0.85; }
.confirm-no {
    background: #fff;
    color: #666;
    border-color: #ddd;
}
.confirm-no:hover { background: #f5f5f5; }

/* ===== 비로그인 안내 모달 ===== */
.guest-modal-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}
.guest-modal-overlay.active { display: flex; }
.guest-modal {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.guest-modal-icon { font-size: 40px; margin-bottom: 16px; }
.guest-modal-title { font-size: 18px; font-weight: 700; margin-bottom: 12px; color: var(--text-color); }
.guest-modal-desc { font-size: 14px; color: #666; line-height: 1.7; margin-bottom: 24px; }
.guest-modal-desc strong { color: var(--action-color); }
.guest-modal-btns { display: flex; flex-direction: column; gap: 10px; }
.guest-modal-btn {
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    border: 2px solid transparent;
    transition: all 0.2s;
}
.guest-modal-btn.login {
    background: var(--action-color);
    color: #fff;
}
.guest-modal-btn.login:hover { opacity: 0.85; }
.guest-modal-btn.guest {
    background: #fff;
    color: #555;
    border-color: #ddd;
}
.guest-modal-btn.guest:hover { background: #f5f5f5; }

/* ===== 시험 준비중 게이지 바 ===== */
.scoring-gauge-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 400px;
}
.scoring-gauge-track {
    width: 100%;
    height: 28px;
    background: #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    margin-top: 16px;
    position: relative;
}
.scoring-gauge-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--action-color), var(--sub-action-color));
    border-radius: 14px;
    transition: width 0.3s ease;
}
.scoring-gauge-percent {
    font-size: 32px;
    font-weight: 700;
    color: var(--header-bg);
    margin-top: 16px;
    letter-spacing: 2px;
}

/* ===== 준비중 꿀팁 자막 ===== */
.prep-tip {
    margin-top: 24px;
    font-size: 14px;
    color: #555;
    text-align: center;
    max-width: 420px;
    line-height: 1.6;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.4s ease;
}
.prep-tip.fade-out { opacity: 0; }
.prep-tip-icon { margin-right: 6px; font-size: 15px; }

/* ===== 시험 중 이탈 확인 모달 ===== */
.nav-guard-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    z-index: 300;
    justify-content: center;
    align-items: center;
}
.nav-guard-overlay.active { display: flex; }
.nav-guard-box {
    background: #fff;
    border-radius: 14px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    overflow: hidden;
    text-align: center;
}
.nav-guard-header {
    background: #dc3545;
    color: #fff;
    padding: 16px 20px;
    font-size: 16px;
    font-weight: 700;
}
.nav-guard-body {
    padding: 24px 20px 20px;
    font-size: 14px;
    color: #333;
    line-height: 1.7;
}
.nav-guard-dest {
    display: inline-block;
    background: #f0f0f0;
    padding: 2px 10px;
    border-radius: 6px;
    font-weight: 700;
    color: #2D5FA0;
}
.nav-guard-warn {
    margin-top: 8px;
    font-size: 12px;
    color: #991b1b;
    font-weight: 600;
}
.nav-guard-btns {
    display: flex;
    gap: 10px;
    padding: 0 20px 20px;
    justify-content: center;
}
.nav-guard-btns button {
    flex: 1;
    padding: 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}
.nav-guard-btns .btn-cancel {
    background: #e5e7eb;
    color: #333;
}
.nav-guard-btns .btn-cancel:hover { background: #d1d5db; }
.nav-guard-btns .btn-leave {
    background: #dc3545;
    color: #fff;
}
.nav-guard-btns .btn-leave:hover { background: #b02a37; }

/* ===== 반응형 (퀴즈 전용) ===== */
@media (max-width: 600px) {
    .select-screen h1 { font-size: 22px; }
    .quiz-column-view { flex-direction: column; min-height: auto; }
    .quiz-col-subjects, .quiz-col-years { width: 100%; border-right: none; border-bottom: 1px solid #e5e7eb; }
    .quiz-col-years { display: none; }
    .quiz-col-years.mobile-show { display: flex; }
    .quiz-mobile-back-btn { display: inline-flex !important; }
    .year-card-grid { grid-template-columns: 1fr 1fr; }
    .question-card { padding: 20px; }
    .question-text { font-size: 15px; }
    .choice-btn { padding: 12px 14px; font-size: 14px; }
    .q-nav { padding: 10px 10px; gap: 4px; }
    .q-nav-btn { width: 100%; height: 34px; font-size: 13px; }
    .score-number { font-size: 56px; }
}

/* ===== 나이트 모드 (퀴즈 전용) ===== */
body.night-mode .subject-card,
body.night-mode .question-card,
body.night-mode .result-card,
body.night-mode .choice-btn,
body.night-mode .year-btn { background: #1E1E1E; color: #E0E0E0; border-color: #444; }
body.night-mode .choice-btn:hover { background: #2A2A2A; border-color: #666; }
body.night-mode .subject-card:hover { background: #2A2A2A; }
body.night-mode .subject-count { color: #aaa; }
body.night-mode .subtitle { color: #999; }
body.night-mode .select-screen h1 { color: #E0E0E0; }
body.night-mode .q-nav-btn { border-color: #555; color: #ccc; }
body.night-mode .result-label { color: #aaa; }
body.night-mode .answer-table thead th { background: #222; }
body.night-mode .answer-table th, body.night-mode .answer-table td { border-color: #444; color: #ccc; }
body.night-mode .answer-table tbody td.at-label { background: #2A2A2A; color: #ddd; }
body.night-mode .answer-table tbody td.at-wrong { background: #3a1515; color: #f87171; }
body.night-mode .review-list { border-top-color: #555; }
body.night-mode .review-item { background: #1E1E1E; border-bottom-color: #333; }
body.night-mode .review-item:hover { background: #252525; }
body.night-mode .review-item .ri-arrow { color: #777; }
body.night-mode .review-detail { background: #181818; border-top-color: #333; }
body.night-mode .review-detail .rd-choice { color: #ccc; }
body.night-mode .review-detail .rd-choice.is-answer { background: #0d3318; }
body.night-mode .review-detail .rd-choice.is-wrong { background: #3a1515; }
body.night-mode .scoring-overlay { background: rgba(18,18,18,0.9); }
body.night-mode .scoring-text { color: #E0E0E0; }
body.night-mode .confirm-card { background: #1E1E1E; border-color: #333; }
body.night-mode .confirm-subject { color: #E0E0E0; }
body.night-mode .confirm-year { color: #aaa; }
body.night-mode .confirm-question { color: #ccc; }
body.night-mode .confirm-no { background: #2A2A2A; border-color: #444; color: #aaa; }
body.night-mode .guest-modal { background: #1E1E1E; }
body.night-mode .guest-modal-title { color: #E0E0E0; }
body.night-mode .guest-modal-desc { color: #aaa; }
body.night-mode .guest-modal-btn.guest { background: #2A2A2A; border-color: #444; color: #aaa; }
body.night-mode .scoring-gauge-track { background: #333; }
body.night-mode .scoring-gauge-percent { color: #E0E0E0; }
body.night-mode .prep-tip { color: #aaa; }
body.night-mode .nav-guard-box { background: #1E1E1E; }
body.night-mode .nav-guard-body { color: #E0E0E0; }
body.night-mode .nav-guard-dest { background: #333; color: #7BAAF7; }
body.night-mode .nav-guard-btns .btn-cancel { background: #333; color: #E0E0E0; }
