/* =============================================
   AI 복습평가 페이지 - aireview.css
   ============================================= */

/* 배경 */
.leveltestreview-body {
    background-color: #FEFFED;
    background-image: url('/assets/images/aireview/background/background_sm.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

@media (min-width: 768px) {
    .leveltestreview-body {
        background-image: url('/assets/images/aireview/background/background_md.jpg');
    }
}
@media (min-width: 992px) {
    .leveltestreview-body {
        background-image: url('/assets/images/aireview/background/background_lg.jpg');
    }
}
@media (min-width: 1200px) {
    .leveltestreview-body {
        background-image: url('/assets/images/aireview/background/background_xl.jpg');
    }
}

/* =============================================
   래퍼 (서브컨테이너 + 타이틀 묶음)
   ============================================= */
.leveltestreview-wrapper {
    max-width: var(--Max-Width, 1500px);
    margin: 0 auto;
    padding: 0 var(--Main-Padding, 30px);
}

/* =============================================
   서브컨테이너 (나가기 / 회원정보)
   ============================================= */
.leveltestreview-subcontainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0px;
    width: 100%;
}

.btn-exit,
.btn-userinfo {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #121212;
    font-size: 14px;
}

.btn-exit:hover,
.btn-userinfo:hover {
    opacity: 0.7;
}

/* =============================================
   타이틀
   ============================================= */
.leveltestreview-body .page-title {
    background-image: url('/assets/images/aireview/Title.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    width: 300px;
    height: 58px;
    margin: 20px auto !important;
}


/* =============================================
   반응형
   ============================================= */

/* 태블릿 */
@media (max-width: 991px) {
    .leveltestreview-subcontainer {
        padding: 20px 20px;
    }

    .leveltestreview-body .page-title {
        width: 220px;
        height: 43px;
    }
}

/* 모바일 */
@media (max-width: 767px) {
    .leveltestreview-subcontainer {
        padding: 15px 15px;
    }

    .btn-exit span,
    .btn-userinfo span {
        display: none; /* 모바일에서 텍스트 숨기고 아이콘만 */
    }

    .leveltestreview-body .page-title {
        width: 180px;
        height: 35px;
        margin: 10px auto !important;
    }
}

/* =============================================
   레벨 탭
   ============================================= */

   /* 레벨 탭 */
.level-tabs {
    display: flex;
    flex-direction: row;
    background: #8640d5;
    border: 2px solid #8640d5;
    border-radius: 50px;
    padding: 2px;
    max-width: 1200px;
    margin: 0 auto 30px;
}

.level-tab {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: none;
    background: #8640d5;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    color: white;
    font-family: 'Jua', sans-serif;
}

.level-tab.active {
    background: white;
    color: #8640d5;
}

.level-name {
    font-size: 18px;
    font-weight: 400; /* Jua는 자체 굵기 */
}

.level-range {
    font-size: 14px;
    margin-top: 0;
}

/* 반응형 */
@media (max-width: 767px) {
    .level-tabs {
        max-width: 100%;
        margin: 0 15px 20px;
    }

    .level-tab {
        padding: 8px 10px;
    }

    .level-name {
        font-size: 13px;
    }

    .level-range {
        font-size: 10px;
    }
}


/* =============================================
   레벨 카드 슬라이더
   ============================================= */

.level-content {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    position: relative;
}

/* 슬라이더 화살표 버튼 */
.slider-btn {
    flex-shrink: 0;
    width: 50px;
    height: 80px;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}

.slider-btn:hover {
    opacity: 0.7;
}

/* 카드 래퍼 - overflow 숨김 */
.level-cards-wrapper {
    flex: 1;
    overflow: hidden;
}

.level-cards {
    display: flex;
    gap: 30px;
    transition: transform 0.3s ease;
}

/* 개별 카드 */
.level-card {
    flex: 1 0 calc(33.333% - 20px);
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    aspect-ratio: 380 / 488;
}

/* 카드 상단 */
.level-card__header {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;
}

.level-card__info {
    flex: 1;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.level-card__subject {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    border: 1px solid #121212;
    border-radius: 50px;
    font-size: 12px;
    color: #121212;
    font-family: 'Noto Sans KR', sans-serif;
    white-space: nowrap;
}

.level-card__title {
    font-family: 'Jua', sans-serif;
    font-size: 40px;
    color: #121212;
    margin: 0;
    white-space: nowrap;
}

.level-card__img {
    flex: 1;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.level-card__img img {
    width: 100%;
    aspect-ratio: 300 / 424;
    object-fit: cover;
}

/* 카드 하단 점수 */
.level-card__scores {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    padding: 0 20px 20px;
}

.score-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.score-item__label {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #121212;
    text-align: center;
    margin: 0;
}

.score-badge {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 50px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-badge img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50px;
}

.score-badge__text {
    position: relative; /* img 위에 올라오게 */
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Jua', sans-serif;
    text-align: center;
    color: white;
}

.score-badge--off .score-badge__text {
    color: #8640d5; /* 시험보기는 보라색 텍스트 */
}

/* 기존 background 색상 제거 */
.score-badge--empty {
    background: transparent;
    border: none;
}



/* =============================================
   푸터
   ============================================= */

.review-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px 0 50px;
}

.footer-btns {
    display: flex;
    gap: 16px;
}

.footer-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 63px;
    background: white;
    border: 1px solid #d9d9d9;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #121212;
    font-family: 'Jua', sans-serif;
    font-size: 18px;
    transition: opacity 0.2s;
}

.footer-btn:hover {
    opacity: 0.7;
    color: #121212;
}

.footer-copy {
    text-align: center;
    font-size: 14px;
    color: #808080;
    font-family: 'Noto Sans KR', sans-serif;
    margin: 0;
}

/* =============================================
   반응형
   ============================================= */

@media (max-width: 991px) {
    .level-card__title {
        font-size: 30px;
    }
    .slider-btn {
        width: 36px;
        height: 60px;
    }
}

@media (max-width: 767px) {
    .level-content {
        gap: 10px;
    }
    .level-cards {
        gap: 16px;
    }
    .level-card {
        flex: 0 0 calc(100% - 0px); /* 모바일에서 1장씩 */
        border-radius: 30px;
    }
    .level-card__title {
        font-size: 24px;
    }
    .score-badge__point {
        font-size: 16px;
    }
    .footer-btns {
        flex-direction: column;
    }
    .slider-btn {
        width: 32px;
        height: 50px;
    }
}

/* =========================================================================
   화면 전환
   ========================================================================= */
.screen {
    display: none;
    min-height: 100vh;
}
.screen.active {
    display: block;
}

/* =========================================================================
   02, 03 공통 - 시험 화면
   ========================================================================= */
.exam-wrapper {
    max-width: 768px;
    margin: 0 auto;
    padding: 0 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 헤더 */
.exam-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

/* 카드 */
.exam-card {
    background: #fff;
    border-radius: 50px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* 타이틀바 */
.exam-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.exam-level-select {
    border: 1px solid #808080;
    border-radius: 20px;
    padding: 0 16px;
    height: 100px;
    width: 200px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: bold;
    font-size: 20px;
    cursor: pointer;
}

.exam-type-title {
    font-family: 'Jua', sans-serif;
    font-size: 40px;
    color: #121212;
    cursor: pointer;
}

.exam-avg-box {
    background: rgba(129, 5, 237, 0.1);
    border-radius: 20px;
    width: 200px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.exam-avg-box p {
    font-size: 14px;
    color: #121212;
    margin: 0;
}

.exam-avg-value {
    font-size: 20px;
    font-weight: bold;
    color: #8105ed !important;
}

/* 페이지 번호 */
.exam-page-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.exam-page-nums {
    display: flex;
    gap: 4px;
    justify-content: center;
    width: 100%;
}

.exam-page-num {
    width: 40px;
    height: 40px;
    border-radius: 50px;
    border: 1px solid #d9d9d9;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    color: #808080;
    cursor: pointer;
    flex: 1;
    max-width: 40px;
}

.exam-page-num.active {
    background: #8105ed;
    color: #fff;
    border-color: #8105ed;
}

.exam-page-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.exam-action-btn {
    background: none;
    border: none;
    color: #808080;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* 문제 목록 */
.exam-questions {
    display: flex;
    gap: 20px;
}

.exam-questions-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* RS 문제 아이템 */
.exam-question-item {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-start;
}

.exam-q-no {
    font-family: 'Jua', sans-serif;
    font-size: 24px;
    color: #8105ed;
    padding: 6px 0;
    flex-shrink: 0;
}

.exam-q-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exam-q-word {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
}

.exam-q-en {
    font-family: 'Jua', sans-serif;
    font-size: 24px;
    color: #121212;
}

.exam-q-kr {
    font-size: 12px;
    color: #808080;
}

.exam-q-hint {
    background: #b3b3b3;
    border-radius: 50px;
    padding: 3px 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.exam-q-hint span {
    font-size: 10px;
    color: #fff;
    font-weight: bold;
}

/* RS 녹음 버튼 */
.exam-q-mic-btn {
    background: rgba(4, 132, 255, 0.1);
    border: none;
    border-radius: 20px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: #0484ff;
    font-size: 12px;
    font-weight: bold;
}

/* RS 점수/다시보기 */
.exam-q-score {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.exam-q-score-val {
    color: #8105ed;
    font-weight: bold;
}

.exam-q-retry {
    color: #808080;
    cursor: pointer;
}

/* LW 입력창 */
.exam-q-input {
    flex: 1;
    background: #f3f3f3;
    border: 1px solid #d9d9d9;
    border-radius: 20px;
    padding: 10px;
    font-size: 14px;
    color: #121212;
    outline: none;
}

.exam-q-input::placeholder {
    color: #b3b3b3;
}

/* LW 문제듣기 버튼 */
.exam-q-listen-btn {
    background: #8105ed;
    border: none;
    border-radius: 50px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

/* 하단 버튼 */
.exam-footer {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exam-footer-nav {
    display: flex;
    gap: 16px;
}

.exam-btn {
    flex: 1;
    padding: 16px;
    border: none;
    border-radius: 20px;
    font-family: 'Jua', sans-serif;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.exam-btn--prev {
    background: #b3b3b3;
}

.exam-btn--next {
    background: #8105ed;
}

.score-badge__point{
    cursor: pointer;
}

.exam-btn-shop {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 20px;
    background: rgba(129, 5, 237, 0.1);
    color: #8105ed;
    font-family: 'Jua', sans-serif;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* 반응형 */
@media (max-width: 600px) {
    .exam-card {
        border-radius: 30px;
        padding: 24px 16px;
    }

    .exam-titlebar {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }

    .exam-level-select,
    .exam-avg-box {
        width: 100%;
        height: 60px;
    }

    .exam-type-title {
        font-size: 28px;
        text-align: center;
    }

    .exam-questions {
        flex-direction: column;
    }
}


/* =========================================================================
   screen-02 (RS) / screen-03 (LW) 전용
========================================================================= */

/* =========================================================================
   screen-02 (RS) / screen-03 (LW) 전용
   기존 aireview.css 맨 아래에 붙여넣기
   ========================================================================= */

   /* =========================================================================
   screen-02 (RS) / screen-03 (LW) 전용
   기존 aireview.css 맨 아래에 붙여넣기
   ========================================================================= */

/* 타이틀바 */
.exam-titlebar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.exam-level-select {
    border: 1px solid #808080;
    border-radius: 20px;
    padding: 0 20px;
    height: 80px;
    min-width: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    flex-shrink: 0;
}
.exam-type-title {
    font-family: 'Jua', sans-serif;
    font-size: 36px;
    color: #121212;
    cursor: pointer;
    flex: 1;
    text-align: center;
}
.exam-avg-box {
    background: rgba(129, 5, 237, 0.1);
    border-radius: 20px;
    min-width: 160px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-shrink: 0;
    padding: 0 16px;
}
.exam-avg-box p { font-size: 13px; color: #121212; margin: 0; }
.exam-avg-value { font-size: 20px; font-weight: bold; color: #8105ed !important; }

/* 페이지 번호 */
.exam-page-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
.exam-page-nums {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
}
.page-num-btn {
    width: 38px;
    height: 38px;
    border-radius: 50px;
    border: 1px solid #d9d9d9;
    background: #fff;
    font-size: 14px;
    font-weight: bold;
    color: #808080;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}
.page-num-btn:hover { border-color: #8105ed; color: #8105ed; }
.page-num-btn.active { background: #8105ed; color: #fff; border-color: #8105ed; }

.exam-page-actions { display: flex; gap: 20px; align-items: center; }
.exam-action-btn {
    background: none;
    border: none;
    color: #808080;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s;
}
.exam-action-btn:hover { color: #8105ed; }

/* ── 문제 목록: 항상 1열 세로 ── */
.exam-questions {
    display: flex;
    flex-direction: column;
}
.exam-questions-col {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* 문제 아이템 */
.exam-question-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}
.exam-question-item:last-child { border-bottom: none; }
#rs-col-left .exam-question-item:last-child,
#lw-col-left .exam-question-item:last-child { border-bottom: 1px solid #f0f0f0; }

.exam-question-body {
    flex: 1;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}
.exam-q-no {
    font-family: 'Jua', sans-serif;
    font-size: 22px;
    color: #8105ed;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
    padding-top: 2px;
}
.exam-q-content {
    flex: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: break-word;
}
.exam-q-en {
    font-family: 'Jua', sans-serif;
    font-size: 18px;
    color: #121212;
    line-height: 1.4;
    word-break: break-word;
}
.exam-q-kr { font-size: 12px; color: #808080; margin-top: 2px; }

/* RS 마이크 버튼 */
.exam-q-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
    align-self: flex-start;
    padding-top: 2px;
}
.visualizer { border-radius: 6px; background: #f5f0ff; }
.btn-rs-start, .btn-rs-stop {
    width: 38px; height: 38px;
    border-radius: 50%; border: none; cursor: pointer; font-size: 14px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: transform 0.15s;
}
.btn-rs-start { background: rgba(4,132,255,0.1); color: #0484ff; }
.btn-rs-start:hover { transform: scale(1.1); }
.btn-rs-stop  { background: rgba(237,5,5,0.1); color: #ed0505; animation: pulse-stop 1s infinite; }
@keyframes pulse-stop { 0%,100%{opacity:1} 50%{opacity:0.4} }

/* RS 결과 */
.exam-q-result {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    align-self: flex-start;
    padding-top: 2px;
}
.rs-score-chart { position: relative; width: 70px; height: 70px; flex-shrink: 0; }
.rs-score-chart canvas { display: block; }
.rs-score-text {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 13px; font-weight: bold; color: #8105ed; white-space: nowrap;
}
.rs-result-info, .lw-result-info {
    display: flex; flex-direction: column; gap: 2px; min-width: 60px;
}
.exam-state-text { font-size: 12px; font-weight: bold; color: #555; margin: 0; }
.exam-date-text  { font-size: 11px; color: #aaa; margin: 0; }

/* LW 전용 */
.lw-answer    { font-family: 'Jua', sans-serif; font-size: 16px; color: #8105ed; margin-bottom: 2px; }
.lw-answer-kr { font-size: 12px; color: #808080; margin-bottom: 6px; }
.lw-audio-box { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.btn-lw-play {
    width: 36px; height: 36px; border-radius: 50%;
    border: none; background: #8105ed; color: #fff;
    font-size: 13px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; flex-shrink: 0; transition: opacity 0.15s;
}
.btn-lw-play:hover { opacity: 0.8; }
.my-answer-input { display: flex; align-items: center; gap: 8px; }
.lw-answer-input {
    flex: 1; background: #f3f3f3; border: 1px solid #d9d9d9;
    border-radius: 20px; padding: 8px 14px; font-size: 13px;
    color: #121212; outline: none; min-width: 0; transition: border 0.15s;
}
.lw-answer-input:not(:disabled):focus { border-color: #8105ed; }
.lw-answer-input:disabled { opacity: 0.6; cursor: not-allowed; }
.lw-answer-input::placeholder { color: #b3b3b3; }
.btn-lw-submit {
    height: 36px; padding: 0 16px;
    background: #8105ed; color: #fff;
    border: none; border-radius: 20px;
    font-size: 13px; font-weight: bold;
    cursor: pointer; white-space: nowrap; flex-shrink: 0; transition: opacity 0.15s;
}
.btn-lw-submit:hover { opacity: 0.85; }
.my-answer-display {
    font-size: 13px; color: #8105ed; font-weight: bold;
    background: rgba(129,5,237,0.08); border-radius: 20px;
    padding: 6px 14px; display: inline-block;
}
.lw-result-badge { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.badge-correct, .badge-wrong, .badge-none {
    display: inline-flex; align-items: center; justify-content: center;
    width: 48px; height: 48px; border-radius: 50%; font-size: 12px; font-weight: bold;
}
.badge-correct { background: rgba(4,180,100,0.1); color: #04b464; border: 1.5px solid #04b464; }
.badge-wrong   { background: rgba(237,5,5,0.08); color: #ed0505;   border: 1.5px solid #ed0505; }
.badge-none    { background: #f5f5f5; color: #b3b3b3; border: 1.5px solid #d9d9d9; font-size: 16px; }

/* 하단 버튼 */
.exam-footer { display: flex; flex-direction: column; gap: 10px; }
.exam-footer-nav { display: flex; gap: 16px; }
.exam-btn {
    flex: 1; padding: 16px; border: none; border-radius: 20px;
    font-family: 'Jua', sans-serif; font-size: 20px; color: #fff;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    gap: 10px; transition: opacity 0.15s;
}
.exam-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.exam-btn--prev { background: #b3b3b3; }
.exam-btn--next { background: #8105ed; }
.exam-btn--prev:not(:disabled):hover,
.exam-btn--next:not(:disabled):hover { opacity: 0.85; }
.exam-btn-shop {
    width: 100%; padding: 16px; border: none; border-radius: 20px;
    background: rgba(129,5,237,0.1); color: #8105ed;
    font-family: 'Jua', sans-serif; font-size: 20px;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    gap: 10px; transition: opacity 0.15s;
}
.exam-btn-shop:hover { opacity: 0.8; }

/* =============================================================================
   반응형 - 레이아웃은 항상 1열, 사이즈/패딩만 조절
   ============================================================================= */

/* 태블릿 (~991px) */
@media (max-width: 991px) {
    .exam-wrapper { max-width: 720px; padding: 0 20px 40px; }
    .exam-card    { border-radius: 30px; padding: 28px 24px; }
    .exam-level-select { height: 60px; font-size: 15px; min-width: 120px; }
    .exam-type-title   { font-size: 26px; }
    .exam-avg-box      { height: 60px; min-width: 120px; }
    .exam-avg-value    { font-size: 17px; }
    .exam-q-en         { font-size: 16px; }
}

/* 모바일 (~767px) */
@media (max-width: 767px) {
    .exam-wrapper { padding: 0 14px 30px; }
    .exam-header  { padding: 14px 0; }
    .exam-header .btn-exit span,
    .exam-header .btn-userinfo span { display: none; }
    .exam-card { border-radius: 24px; padding: 20px 16px; gap: 18px; }
    .exam-titlebar { flex-direction: column; align-items: stretch; gap: 10px; }
    .exam-level-select, .exam-avg-box { width: 100%; height: 54px; min-width: unset; border-radius: 16px; }
    .exam-type-title { font-size: 24px; text-align: center; }
    .exam-question-item { padding: 12px 0; gap: 8px; }
    .exam-q-no  { font-size: 18px; width: 22px; }
    .exam-q-en  { font-size: 15px; }
    .visualizer { display: none; }
    .rs-score-chart { width: 56px; height: 56px; }
    .rs-score-text  { font-size: 11px; }
    .badge-correct, .badge-wrong, .badge-none { width: 40px; height: 40px; font-size: 11px; }
    .my-answer-input { flex-direction: column; align-items: stretch; gap: 6px; }
    .btn-lw-submit   { width: 100%; }
    .page-num-btn  { width: 32px; height: 32px; font-size: 12px; }
    .exam-btn      { font-size: 16px; padding: 12px; }
    .exam-btn-shop { font-size: 16px; padding: 12px; }
    .exam-action-btn   { font-size: 12px; }
    .exam-page-actions { gap: 12px; }
}

/* 와이드 (1400px~) */
@media (min-width: 1400px) {
    .exam-wrapper { max-width: 1400px; padding: 0 40px 60px; }
    .exam-card    { padding: 48px 56px; }
    .exam-q-en    { font-size: 20px; }
}






