/* ============================================================
   MOBILE-FIRST EXAM UI – COMPLETE REDESIGN
   ============================================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
}

body {
    background: #f0f4f8;
    color: #1a2332;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
}

body.fullscreen {
    overflow: auto;
    height: 100vh;
    background: #f0f4f8;
}

/* ============================================================
   START SCREEN
   ============================================================ */
.start-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a2332;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow-y: auto;
    padding: 20px;
    transition: opacity 0.4s ease;
}

.start-content {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: auto;
}

.start-content h1 {
    color: #1a2332;
    margin-bottom: 8px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.start-content h2 {
    color: #4a6cf7;
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 500;
}

.start-content p {
    color: #6c7a89;
    font-size: 16px;
    margin-bottom: 24px;
    line-height: 1.7;
}

.start-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.start-btn {
    width: 100%;
    max-width: 320px;
    padding: 16px 24px;
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.start-btn.with-timer {
    background: #4a6cf7;
    color: #fff;
}

.start-btn.with-timer:hover {
    background: #3a5de7;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(74, 108, 247, 0.35);
}

.start-btn.without-timer {
    background: #2ecc71;
    color: #fff;
}

.start-btn.without-timer:hover {
    background: #27ae60;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.35);
}

.btn-description {
    font-size: 13px;
    opacity: 0.85;
    font-weight: 400;
}

/* ============================================================
   FULLSCREEN BUTTON
   ============================================================ */
.fullscreen-btn {
    position: fixed;
    top: 16px;
    right: 16px;
    background: rgba(74, 108, 247, 0.92);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    z-index: 1001 !important;
    box-shadow: 0 4px 16px rgba(74, 108, 247, 0.3);
    transition: all 0.25s ease;
    backdrop-filter: blur(4px);
}

.fullscreen-btn:hover {
    background: #3a5de7;
    transform: scale(1.06);
}

.fullscreen-btn:active {
    transform: scale(0.94);
}

/* ============================================================
   TEST HEADER – FIXED, ALWAYS VISIBLE
   ============================================================ */
.test-header {
    background: #1a2332;
    color: #fff;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000 !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    display: none;
    height: 60px;
    position: relative;
}

.question-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.question-number {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.3px;
    opacity: 0.9;
}

.section-name {
    font-size: 13px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.12);
    padding: 2px 12px;
    border-radius: 20px;
    letter-spacing: 0.3px;
}

/* ===== UPDATED: TIMER MOVED TO RIGHT SIDE ===== */
.timer-container {
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 16px;
    border-radius: 20px;
    min-width: 80px;
    padding-right: 4px !important;
    position: absolute;
    right: 70px;       /* 70px from right edge (leaves space for fullscreen button) */
    top: 50%;
    transform: translateY(-50%);
}

.timer-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.timer {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.timer.warning {
    color: #f39c12;
    animation: pulse 1s infinite;
}

.timer.critical {
    color: #e74c3c;
    animation: pulse 0.5s infinite;
}

@keyframes pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.finish-btn {
    background: #f39c12;
    color: #1a2332;
    border: none;
    padding: 8px 18px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
    white-space: nowrap;
}

.finish-btn:hover {
    background: #e67e22;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.4);
}

.finish-btn:active {
    transform: translateY(0);
}

/* ============================================================
   INFO BAR – FIXED, ALWAYS VISIBLE, BELOW HEADER
   ============================================================ */
.info-bar {
    background: #2d3a4a;
    color: #fff;
    padding: 8px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 500;
    position: fixed !important;
    top: 60px;
    left: 0;
    width: 100%;
    z-index: 999 !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
    gap: 4px 8px;
    height: 48px;
    padding-right: 12px !important;
}

.test-title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    flex-shrink: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-info {
    font-size: 13px;
    opacity: 0.85;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    padding-left: 4px;
}

/* ============================================================
   TEST CONTAINER – Push content down to avoid fixed header
   ============================================================ */
.test-container {
    display: none;
    max-width: 480px;
    margin: 0 auto;
    padding: 108px 12px 80px 12px; /* 60px (header) + 48px (info bar) */
    gap: 16px;
    flex-direction: column;
}

body.fullscreen .test-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 108px 10px 80px 10px;
}

/* ============================================================
   LEFT COLUMN – COMPLETELY REMOVED
   ============================================================ */
/* All .left-column related CSS removed */

/* ============================================================
   RIGHT COLUMN – question area
   ============================================================ */
.right-column {
    flex: 1;
    min-width: 0;
    width: 100%;
}

/* ============================================================
   QUESTION AREA
   ============================================================ */
.question-area {
    background: #ffffff;
    border-radius: 20px;
    padding: 24px 20px 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.question-text {
    font-size: 20px;
    line-height: 1.9;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f2f5;
    color: #1a2332;
}

/* ============================================================
   IMAGES
   ============================================================ */
.question-image-container {
    text-align: center;
    margin: 12px 0 16px;
}

.question-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    object-fit: contain;
    background: #f8fafc;
}

.image-placeholder {
    width: 100%;
    height: 180px;
    background: #f8fafc;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9aa8b7;
    font-size: 15px;
    margin: 12px 0 16px;
    border: 2px dashed #dce2ea;
}

.image-placeholder i {
    font-size: 44px;
    margin-bottom: 10px;
    color: #c5ced8;
}

img {
    pointer-events: none;
    user-drag: none;
    -webkit-user-drag: none;
    -webkit-touch-callout: none;
}

/* ============================================================
   AUDIO PLAYER
   ============================================================ */
.audio-player-container {
    background: #f8fafc;
    border-radius: 16px;
    padding: 16px 18px;
    margin: 12px 0 16px;
    border: 1px solid #e8ecf4;
}

.audio-player {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.play-btn {
    background: #4a6cf7;
    color: #fff;
    border: none;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.25s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(74, 108, 247, 0.25);
}

.play-btn:hover:not(:disabled) {
    background: #3a5de7;
    transform: scale(1.04);
}

.play-btn:disabled {
    background: #b0bcc8;
    cursor: not-allowed;
    box-shadow: none;
}

.audio-progress {
    flex: 1;
    min-width: 120px;
}

.progress-bar {
    height: 6px;
    background: #e8ecf4;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 6px;
}

.progress {
    height: 100%;
    background: #4a6cf7;
    width: 0%;
    transition: width 0.1s linear;
    border-radius: 4px;
}

.audio-time {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #6c7a89;
}

.play-count {
    font-size: 13px;
    color: #6c7a89;
    text-align: center;
    padding: 4px 14px;
    background: #e8ecf4;
    border-radius: 20px;
    display: inline-block;
    margin-top: 8px;
    font-weight: 500;
}

.play-count.warning {
    color: #e67e22;
    background: #fdf0e0;
}

.play-count.limit-reached {
    color: #e74c3c;
    background: #fde8e8;
}

/* ============================================================
   OPTIONS
   ============================================================ */
.options-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
}

.option {
    background: #f8fafc;
    border: 2px solid #e8ecf4;
    border-radius: 14px;
    padding: 16px 18px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    min-height: 56px;
    display: flex;
    align-items: center;
    color: #1a2332;
    font-weight: 500;
}

.option:hover {
    background: #eef2f9;
    border-color: #b0bcc8;
}

.option.selected {
    background: #eaf0fe;
    border-color: #4a6cf7;
    box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.15);
}

/* ============================================================
   NAVIGATION CONTROLS
   ============================================================ */
.navigation-controls {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 20px;
}

.nav-btn {
    background: #4a6cf7;
    color: #fff;
    border: none;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    justify-content: center;
    min-height: 50px;
}

.nav-btn:hover {
    background: #3a5de7;
    transform: translateY(-1px);
}

.nav-btn:disabled {
    background: #d0d7e8;
    color: #8a9aa8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ============================================================
   WARNING MESSAGE
   ============================================================ */
.warning-message {
    background: #fef9e7;
    color: #7d6608;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #f9e79f;
    margin: 12px 0;
    display: none;
    font-size: 16px;
    align-items: center;
    gap: 12px;
}

.warning-message i {
    font-size: 20px;
    flex-shrink: 0;
}

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 35, 50, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
    padding: 20px;
}

.modal {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 24px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal h2 {
    margin-bottom: 12px;
    color: #1a2332;
    font-size: 24px;
    font-weight: 700;
}

.modal p {
    margin-bottom: 24px;
    font-size: 17px;
    color: #4a5a6a;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.modal-btn {
    padding: 12px 28px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    min-width: 100px;
}

.confirm-btn {
    background: #2ecc71;
    color: #fff;
}

.confirm-btn:hover {
    background: #27ae60;
    transform: translateY(-1px);
}

.cancel-btn {
    background: #e74c3c;
    color: #fff;
}

.cancel-btn:hover {
    background: #c0392b;
    transform: translateY(-1px);
}

/* ============================================================
   RESULTS / TEST COMPLETE
   ============================================================ */
.test-complete {
    background: #ffffff;
    border-radius: 20px;
    padding: 32px 20px 28px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    display: none;
    max-width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.test-complete h1 {
    color: #2ecc71;
    margin-bottom: 8px;
    font-size: 32px;
    font-weight: 700;
}

.test-complete p {
    font-size: 17px;
    color: #4a5a6a;
    margin-bottom: 12px;
}

/* New "Start New Test" button styling */
#newTestBtn {
    background: #4a6cf7;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(74, 108, 247, 0.3);
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

#newTestBtn:hover {
    background: #3a5de7;
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(74, 108, 247, 0.4);
}

#newTestBtn i {
    font-size: 20px;
}

.score {
    font-size: 48px;
    font-weight: 800;
    color: #1a2332;
    margin: 16px 0 8px;
    letter-spacing: -1px;
}

.pass-status {
    font-size: 22px;
    font-weight: 700;
    margin: 12px 0 20px;
    padding: 12px 24px;
    border-radius: 12px;
    display: inline-block;
}

.pass {
    background: #eafaf1;
    color: #1a7a3a;
    border: 2px solid #2ecc71;
}

.fail {
    background: #fdedec;
    color: #a93226;
    border: 2px solid #e74c3c;
}

/* ============================================================
   RESULTS TABLE
   ============================================================ */
.results-summary {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.results-table {
    min-width: 500px;
    width: 100%;
}

@media (max-width: 480px) {
    .results-table th,
    .results-table td {
        padding: 10px 8px;
        font-size: 13px;
        white-space: nowrap;
    }
}

.answers-review {
    background: #ffffff;
    border-radius: 16px;
    padding: 20px 16px;
    margin: 16px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    border: 1px solid #f0f2f5;
}

.answers-review h3 {
    color: #1a2332;
    margin-bottom: 16px;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 2px solid #f0f2f5;
    padding-bottom: 12px;
}

.answer-item {
    margin-bottom: 16px;
    padding: 16px;
    border-radius: 12px;
    border-left: 4px solid #2ecc71;
    background: #f8fafc;
}

.answer-item.incorrect {
    border-left-color: #e74c3c;
    background: #fdf0ef;
}

.answer-item h4 {
    color: #1a2332;
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 600;
}

.review-image-container {
    text-align: center;
    margin: 8px 0;
}

.review-question-image {
    max-width: 100%;
    max-height: 200px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin: 6px 0;
    object-fit: contain;
}

.answer-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 10px;
}

.answer-detail {
    padding: 12px 14px;
    background: #ffffff;
    border-radius: 10px;
    border: 1px solid #e8ecf4;
}

.answer-detail h5 {
    color: #6c7a89;
    margin-bottom: 4px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.answer-detail p {
    font-size: 16px;
    font-weight: 600;
    color: #1a2332;
}

.correct-answer {
    color: #2ecc71;
}

.user-answer {
    color: #e74c3c;
}

.answer-status {
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 20px;
    display: inline-block;
    margin-top: 8px;
    font-size: 14px;
}

.answer-status.correct {
    background: #eafaf1;
    color: #1a7a3a;
}

.answer-status.incorrect {
    background: #fdedec;
    color: #a93226;
}

/* ============================================================
   RESPONSIVE – mobile-first
   ============================================================ */

/* Small phones (320px - 359px) */
@media (max-width: 359px) {
    .start-content {
        padding: 20px 16px;
    }
    .start-content h1 {
        font-size: 22px;
    }
    .start-content h2 {
        font-size: 16px;
    }
    .start-btn {
        font-size: 16px;
        padding: 14px 18px;
    }
    .test-header {
        padding: 8px 12px;
        height: 50px;
    }
    .question-number {
        font-size: 12px;
    }
    .timer {
        font-size: 17px;
    }
    .finish-btn {
        font-size: 12px;
        padding: 6px 14px;
    }
    .info-bar {
        height: 44px;
        top: 50px;
        padding: 4px 6px;
        gap: 2px 4px;
    }
    .test-title {
        font-size: 11px;
    }
    .user-info {
        font-size: 10px;
    }
    .test-container {
        padding-top: 94px; /* 50px + 44px */
    }
    .question-area {
        padding: 16px 14px;
    }
    .question-text {
        font-size: 17px;
    }
    .option {
        font-size: 15px;
        padding: 12px 14px;
        min-height: 48px;
    }
    .nav-btn {
        font-size: 14px;
        padding: 10px 14px;
        min-height: 42px;
    }
    .score {
        font-size: 36px;
    }
    .test-complete {
        padding: 24px 14px;
    }
}

/* Standard mobile (360px - 430px) */
@media (min-width: 360px) and (max-width: 430px) {
    .test-container {
        padding: 10px 10px 80px 10px;
    }
    .question-area {
        padding: 20px 16px;
    }
    .question-text {
        font-size: 19px;
    }
    .option {
        font-size: 17px;
        padding: 14px 16px;
        min-height: 52px;
    }
    .nav-btn {
        font-size: 15px;
        padding: 12px 16px;
        min-height: 46px;
    }
    .test-header {
        padding: 10px 14px;
        height: 56px;
    }
    .timer {
        font-size: 18px;
    }
    .finish-btn {
        font-size: 13px;
        padding: 6px 16px;
    }
    .info-bar {
        height: 48px;
        top: 56px;
        padding: 6px 10px;
        gap: 4px 6px;
    }
    .test-title {
        font-size: 12px;
    }
    .user-info {
        font-size: 11px;
    }
    .test-container {
        padding-top: 104px; /* 56px + 48px */
    }
}

/* Small tablets (431px - 767px) */
@media (min-width: 431px) and (max-width: 767px) {
    .test-container {
        max-width: 500px;
        padding: 16px 16px 80px 16px;
    }
    .question-area {
        padding: 28px 24px;
    }
    .question-text {
        font-size: 21px;
    }
    .option {
        font-size: 18px;
        padding: 16px 20px;
        min-height: 56px;
    }
    .nav-btn {
        font-size: 16px;
        padding: 14px 20px;
    }
    .test-header {
        height: 60px;
    }
    .info-bar {
        height: 48px;
        top: 60px;
        padding-right: 12px;
    }
    .test-container {
        padding-top: 108px;
    }
}

/* Tablets (768px - 1023px) */
@media (min-width: 768px) and (max-width: 1023px) {
    .test-container {
        max-width: 560px;
        padding: 20px 20px 80px 20px;
    }
    .question-area {
        padding: 32px 28px;
        border-radius: 24px;
    }
    .question-text {
        font-size: 22px;
        line-height: 2;
    }
    .option {
        font-size: 19px;
        padding: 18px 22px;
        min-height: 60px;
        border-radius: 16px;
    }
    .nav-btn {
        font-size: 17px;
        padding: 16px 24px;
        min-height: 54px;
    }
    .test-header {
        height: 64px;
    }
    .info-bar {
        height: 48px;
        top: 64px;
    }
    .test-container {
        padding-top: 112px;
    }
    .timer {
        font-size: 22px;
    }
    .start-content {
        padding: 40px 36px;
        max-width: 480px;
    }
    .start-content h1 {
        font-size: 32px;
    }
}

/* Desktops (1024px - 1439px) */
@media (min-width: 1024px) and (max-width: 1439px) {
    .test-container {
        max-width: 600px;
        padding: 24px 24px 80px 24px;
    }
    .question-area {
        padding: 36px 32px;
        border-radius: 24px;
    }
    .question-text {
        font-size: 23px;
        line-height: 2;
    }
    .option {
        font-size: 20px;
        padding: 20px 24px;
        min-height: 64px;
        border-radius: 16px;
    }
    .nav-btn {
        font-size: 18px;
        padding: 16px 28px;
        min-height: 56px;
    }
    .test-header {
        height: 68px;
    }
    .info-bar {
        height: 48px;
        top: 68px;
    }
    .test-container {
        padding-top: 116px;
    }
    .timer {
        font-size: 24px;
    }
    .finish-btn {
        font-size: 15px;
        padding: 8px 20px;
    }
    .start-content {
        padding: 44px 40px;
        max-width: 500px;
    }
}

/* Large desktops (1440px+) */
@media (min-width: 1440px) {
    .test-container {
        max-width: 640px;
        padding: 28px 28px 80px 28px;
    }
    .question-area {
        padding: 40px 36px;
        border-radius: 28px;
    }
    .question-text {
        font-size: 24px;
        line-height: 2.1;
    }
    .option {
        font-size: 21px;
        padding: 22px 26px;
        min-height: 68px;
        border-radius: 18px;
    }
    .nav-btn {
        font-size: 18px;
        padding: 18px 30px;
        min-height: 58px;
    }
    .test-header {
        height: 72px;
    }
    .info-bar {
        height: 48px;
        top: 72px;
    }
    .test-container {
        padding-top: 120px;
    }
    .timer {
        font-size: 26px;
    }
    .finish-btn {
        font-size: 16px;
        padding: 10px 22px;
    }
    .start-content {
        padding: 48px 44px;
        max-width: 520px;
    }
    .start-content h1 {
        font-size: 36px;
    }
    .score {
        font-size: 56px;
    }
}

/* ============================================================
   FULLSCREEN MODE
   ============================================================ */
body.fullscreen .test-container {
    max-width: 480px;
    margin: 0 auto;
    padding: 108px 10px 80px 10px;
}

body.fullscreen .question-area {
    min-height: 50vh;
    padding: 20px 16px;
}

body.fullscreen .question-text {
    font-size: 20px;
}

body.fullscreen .option {
    font-size: 17px;
    padding: 14px 16px;
    min-height: 52px;
}

body.fullscreen .nav-btn {
    font-size: 15px;
    padding: 12px 16px;
    min-height: 46px;
}

body.fullscreen .test-header {
    padding: 10px 14px;
    height: 56px;
}

body.fullscreen .timer {
    font-size: 18px;
}

body.fullscreen .finish-btn {
    font-size: 13px;
    padding: 6px 16px;
}

body.fullscreen .info-bar {
    height: 48px;
    top: 56px;
    padding: 6px 10px;
}

body.fullscreen .test-title {
    font-size: 12px;
}

body.fullscreen .user-info {
    font-size: 11px;
}

/* ============================================================
   UTILITY – prevent horizontal scroll
   ============================================================ */
html,
body {
    overflow-x: hidden;
    max-width: 100%;
}

/* ============================================================
   END OF CSS
   ============================================================ */