:root {
    --exam-bg: #eff5ff;
    --exam-bg-soft: #f8fbff;
    --exam-surface: rgba(255, 255, 255, 0.86);
    --exam-surface-strong: #ffffff;
    --exam-border: rgba(144, 177, 232, 0.34);
    --exam-border-strong: rgba(92, 138, 220, 0.28);
    --exam-text: #14315f;
    --exam-text-soft: #5f769d;
    --exam-primary: #2f7df6;
    --exam-primary-strong: #1d66d6;
    --exam-primary-soft: #d7e7ff;
    --exam-success: #2c9f68;
    --exam-success-soft: #def7ea;
    --exam-warning: #d45c4f;
    --exam-warning-soft: #fde3df;
    --exam-shadow: 0 24px 70px rgba(78, 119, 191, 0.13);
    --exam-radius: 28px;
    --exam-radius-sm: 18px;
    --exam-max: 1140px;
    --exam-font-body: "Plus Jakarta Sans", sans-serif;
    --exam-font-heading: "Sora", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.exam-page {
    margin: 0;
    min-height: 100vh;
    color: var(--exam-text);
    font-family: var(--exam-font-body);
    background:
        radial-gradient(circle at top left, rgba(144, 191, 255, 0.34), transparent 28%),
        linear-gradient(180deg, #eaf3ff 0%, #f5f9ff 44%, #edf4ff 100%);
}

body.exam-page::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.42), transparent 28%),
        radial-gradient(circle at right top, rgba(101, 162, 255, 0.1), transparent 26%);
}

.exam-page .page-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.exam-page .page-content {
    flex: 1;
}

.exam-page .container {
    width: min(calc(100% - 32px), var(--exam-max));
    margin: 0 auto;
}

.exam-page .breadcrumb {
    padding: 18px 0 0;
}

.exam-page .breadcrumb .container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--exam-text-soft);
    font-size: 0.95rem;
}

.exam-page .breadcrumb a {
    color: var(--exam-text-soft);
    text-decoration: none;
}

.exam-page .breadcrumb a:hover {
    color: var(--exam-primary);
}

.exam-page .footer {
    padding: 30px 0 42px;
}

.exam-page .footer-text {
    margin: 0;
    color: var(--exam-text-soft);
    text-align: center;
    font-size: 0.94rem;
}

.exam-shell,
.exam-home-shell,
.exam-result-shell {
    width: min(calc(100% - 32px), var(--exam-max));
    margin: 18px auto 0;
}

.exam-home-hero,
.exam-panel,
.exam-result-hero,
.exam-card,
.exam-question-card,
.exam-review-panel,
.exam-review-strip,
.exam-summary-card,
.exam-status-card,
.exam-note,
.exam-overlay-card,
.exam-floating-drawer,
.exam-drawer-sheet,
.exam-home-details,
.exam-reward-box {
    border: 1px solid var(--exam-border);
    background: var(--exam-surface);
    backdrop-filter: blur(18px);
    box-shadow: var(--exam-shadow);
}

.exam-home-hero,
.exam-result-hero,
.exam-panel {
    border-radius: 34px;
    padding: 34px;
}

.exam-home-hero,
.exam-result-hero {
    position: relative;
    overflow: hidden;
}

.exam-home-hero::before,
.exam-result-hero::before,
.exam-question-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 180px;
    height: 5px;
    background: linear-gradient(90deg, var(--exam-primary), rgba(47, 125, 246, 0));
}

.exam-eyebrow,
.exam-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--exam-primary-soft);
    color: var(--exam-primary-strong);
    font-weight: 700;
    letter-spacing: 0.02em;
}

.exam-eyebrow {
    margin-bottom: 20px;
}

.exam-title,
.exam-home-title,
.exam-result-title {
    margin: 0;
    font-family: var(--exam-font-heading);
    font-size: clamp(2rem, 5vw, 3.6rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.exam-subtitle,
.exam-home-subtitle,
.exam-result-subtitle {
    margin: 16px 0 0;
    max-width: 720px;
    color: var(--exam-text-soft);
    font-size: 1.06rem;
    line-height: 1.75;
}

.exam-home-grid,
.exam-stats,
.exam-home-cards,
.exam-result-stats {
    display: grid;
    gap: 18px;
}

.exam-home-grid {
    grid-template-columns: 1.2fr 0.8fr;
    margin-top: 28px;
}

.exam-reward-box,
.exam-home-details {
    border-radius: 24px;
    padding: 24px;
}

.exam-reward-box h2,
.exam-home-details summary,
.exam-section-title,
.exam-review-panel h2,
.exam-drawer-head h2 {
    margin: 0;
    font-family: var(--exam-font-heading);
    font-size: 1.1rem;
    letter-spacing: -0.02em;
}

.exam-reward-box p,
.exam-reward-box li,
.exam-home-details li,
.exam-rule-list li,
.exam-note p,
.exam-summary-line,
.exam-review-meta,
.exam-empty-state,
.exam-drawer-subtitle {
    color: var(--exam-text-soft);
    line-height: 1.7;
}

.exam-reward-list,
.exam-rule-list,
.exam-home-details ul {
    margin: 12px 0 0;
    padding-left: 18px;
}

.exam-home-details {
    padding: 0;
    overflow: hidden;
}

.exam-home-details summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
}

.exam-home-details summary::-webkit-details-marker {
    display: none;
}

.exam-home-details[open] summary {
    border-bottom: 1px solid var(--exam-border);
}

.exam-home-details .exam-details-body {
    padding: 0 22px 20px;
}

.exam-home-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 24px;
}

.exam-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    border-radius: 28px;
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.exam-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 34%);
    pointer-events: none;
}

.exam-card:hover {
    transform: translateY(-3px);
    border-color: var(--exam-border-strong);
    box-shadow: 0 26px 70px rgba(71, 110, 178, 0.16);
}

.exam-card-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    font-family: var(--exam-font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--exam-primary-strong);
    background: var(--exam-primary-soft);
}

.exam-card-rank.rank-a {
    background: #ffefc2;
    color: #b77300;
}

.exam-card-rank.rank-b {
    background: #d7e7ff;
    color: #245fbf;
}

.exam-card-rank.rank-c {
    background: #ddf6e8;
    color: #217552;
}

.exam-card-title {
    margin: 0;
    font-family: var(--exam-font-heading);
    font-size: 1.5rem;
    letter-spacing: -0.03em;
}

.exam-card-copy {
    margin: 0;
    color: var(--exam-text-soft);
    line-height: 1.7;
}

.exam-card-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.exam-chip,
.exam-status-pill,
.exam-stat-label,
.exam-review-badge,
.exam-audio-btn,
.exam-drawer-btn,
.exam-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 999px;
    font-weight: 700;
}

.exam-chip,
.exam-status-pill {
    padding: 10px 14px;
    background: var(--exam-primary-soft);
    color: var(--exam-primary-strong);
}

.exam-status-pill.cooldown {
    background: var(--exam-warning-soft);
    color: var(--exam-warning);
}

.exam-rule-note {
    margin-top: 18px;
    padding: 18px 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.62);
    border: 1px solid var(--exam-border);
    color: var(--exam-text-soft);
}

.exam-player-top {
    display: grid;
    gap: 18px;
}

.exam-panel {
    position: relative;
    overflow: hidden;
}

.exam-panel::before {
    content: "";
    position: absolute;
    inset: auto 0 0 auto;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(47, 125, 246, 0.14), transparent 72%);
    transform: translate(22%, 24%);
    pointer-events: none;
}

.exam-topbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.exam-topbar-copy {
    max-width: 660px;
}

.exam-topbar-copy .exam-title {
    font-size: clamp(1.6rem, 3.4vw, 2.5rem);
}

.exam-topbar-copy .exam-subtitle {
    max-width: 560px;
}

.exam-topbar-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.exam-drawer-btn,
.exam-audio-btn,
.exam-action-btn {
    border: 1px solid var(--exam-border);
    background: rgba(255, 255, 255, 0.78);
    color: var(--exam-primary-strong);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.94rem;
    padding: 13px 18px;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.exam-drawer-btn:hover,
.exam-audio-btn:hover,
.exam-action-btn:hover {
    transform: translateY(-1px);
    border-color: var(--exam-border-strong);
}

.exam-audio-btn.is-active {
    background: var(--exam-primary);
    color: #fff;
    border-color: var(--exam-primary);
}

.exam-stats {
    grid-template-columns: repeat(3, minmax(150px, 220px));
    justify-content: flex-start;
    gap: 12px;
    margin-top: 18px;
}

.exam-stat-card {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid var(--exam-border);
}

.exam-stat-label {
    justify-content: flex-start;
    padding: 0;
    background: transparent;
    color: var(--exam-text-soft);
    font-size: 0.92rem;
    margin-bottom: 6px;
}

.exam-stat-value {
    font-family: var(--exam-font-heading);
    font-size: 1.22rem;
    letter-spacing: -0.03em;
}

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

.exam-note {
    margin-top: 12px;
    max-width: 560px;
    border-radius: 18px;
    padding: 12px 16px;
}

.exam-note p {
    margin: 0;
    font-size: 0.94rem;
    line-height: 1.55;
}

.exam-content {
    margin-top: 20px;
}

.exam-question-card {
    position: relative;
    border-radius: 34px;
    padding: 34px;
    overflow: hidden;
}

.exam-question-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 18px;
}

.exam-question-step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: var(--exam-primary-soft);
    color: var(--exam-primary-strong);
    font-weight: 700;
}

.exam-question-text {
    margin: 0;
    font-family: var(--exam-font-heading);
    font-size: clamp(1.25rem, 3vw, 1.8rem);
    line-height: 1.35;
    letter-spacing: -0.03em;
}

.exam-image-slot {
    margin-top: 22px;
}

.exam-question-image {
    display: block;
    width: 100%;
    max-width: 560px;
    height: auto;
    margin: 0 auto;
    border-radius: 22px;
    border: 1px solid var(--exam-border);
    background: #fff;
}

.exam-options {
    display: grid;
    gap: 14px;
    margin-top: 26px;
}

.exam-option {
    width: 100%;
    padding: 18px 20px;
    border-radius: 22px;
    border: 1px solid var(--exam-border);
    background: rgba(255, 255, 255, 0.82);
    color: var(--exam-text);
    text-align: left;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
    font: inherit;
}

.exam-option:hover {
    transform: translateY(-1px);
    border-color: var(--exam-border-strong);
}

.exam-option.is-selected {
    border-color: rgba(47, 125, 246, 0.5);
    background: rgba(221, 236, 255, 0.92);
    box-shadow: 0 12px 30px rgba(84, 129, 202, 0.12);
}

.exam-nav {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
}

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

.exam-action-btn.warning {
    background: #fff3f1;
    color: var(--exam-warning);
    border-color: rgba(212, 92, 79, 0.3);
}

.exam-action-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.exam-overlay {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 25, 57, 0.54);
    backdrop-filter: blur(8px);
    z-index: 50;
}

.exam-overlay.is-hidden {
    display: none;
}

.exam-overlay-card {
    width: min(100%, 560px);
    padding: 32px;
    border-radius: 30px;
    text-align: center;
}

.exam-overlay-card h2 {
    margin: 16px 0 0;
    font-family: var(--exam-font-heading);
    font-size: 1.9rem;
    letter-spacing: -0.03em;
}

.exam-overlay-card p {
    margin: 16px 0 0;
    color: var(--exam-text-soft);
    line-height: 1.7;
}

.exam-overlay-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.exam-drawer-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 31, 66, 0.26);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    z-index: 38;
}

.exam-drawer-backdrop.is-open {
    opacity: 1;
    pointer-events: auto;
}

.exam-floating-drawer,
.exam-drawer-sheet {
    position: fixed;
    z-index: 40;
}

.exam-floating-drawer {
    right: max(18px, calc((100vw - var(--exam-max)) / 2 + 18px));
    bottom: 120px;
    width: min(280px, calc(100vw - 36px));
    border-radius: 26px;
    padding: 22px;
    transform: translateY(18px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.exam-floating-drawer.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.exam-drawer-head {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 14px;
}

.exam-drawer-close {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--exam-border);
    background: rgba(255, 255, 255, 0.92);
    color: var(--exam-text-soft);
    cursor: pointer;
}

.exam-drawer-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.exam-drawer-number {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    border: 1px solid var(--exam-border);
    background: rgba(255, 255, 255, 0.9);
    color: var(--exam-primary-strong);
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.exam-drawer-number:hover {
    transform: translateY(-1px);
}

.exam-drawer-number.is-current {
    background: var(--exam-primary);
    color: #fff;
    border-color: var(--exam-primary);
}

.exam-drawer-number.is-answered {
    border-color: rgba(44, 159, 104, 0.32);
    background: var(--exam-success-soft);
    color: var(--exam-success);
}

.exam-drawer-number.is-current.is-answered {
    background: var(--exam-primary);
    color: #fff;
}

.exam-drawer-sheet {
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px;
    transform: translateY(102%);
    transition: transform 0.18s ease;
}

.exam-drawer-sheet.is-open {
    transform: translateY(0);
}

.exam-drawer-sheet .exam-floating-drawer {
    display: block;
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    box-shadow: var(--exam-shadow);
}

.exam-modal-backdrop {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(10, 25, 57, 0.46);
    backdrop-filter: blur(8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease;
    z-index: 60;
}

.exam-modal-backdrop.show {
    opacity: 1;
    pointer-events: auto;
}

.exam-modal-card {
    width: min(100%, 420px);
    padding: 24px;
    border-radius: 24px;
    border: 1px solid var(--exam-border);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--exam-shadow);
}

.exam-modal-title {
    margin: 0;
    font-family: var(--exam-font-heading);
    font-size: 1.16rem;
    letter-spacing: -0.02em;
}

.exam-modal-message {
    margin: 12px 0 0;
    color: var(--exam-text-soft);
    line-height: 1.65;
}

.exam-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 18px;
}

.exam-modal-btn {
    border: 1px solid var(--exam-border);
    background: rgba(255, 255, 255, 0.88);
    color: var(--exam-primary-strong);
    cursor: pointer;
    font-family: inherit;
    font-size: 0.94rem;
    font-weight: 700;
    padding: 11px 16px;
    border-radius: 999px;
}

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

.exam-result-hero {
    display: grid;
    gap: 18px;
}

.exam-result-top {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
}

.exam-result-rank {
    width: 92px;
    height: 92px;
    border-radius: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--exam-font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--exam-primary-strong);
    background: var(--exam-primary-soft);
    flex: 0 0 auto;
}

.exam-result-rank.rank-a {
    background: #ffefc2;
    color: #b77300;
}

.exam-result-rank.rank-b {
    background: #d7e7ff;
    color: #245fbf;
}

.exam-result-rank.rank-c {
    background: #ddf6e8;
    color: #217552;
}

.exam-result-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.exam-summary-card,
.exam-status-card,
.exam-review-panel,
.exam-review-strip {
    border-radius: 28px;
    padding: 26px;
}

.exam-summary-card h2,
.exam-status-card h2,
.exam-review-strip h2 {
    margin: 0 0 14px;
    font-family: var(--exam-font-heading);
    font-size: 1.18rem;
    letter-spacing: -0.02em;
}

.exam-summary-list {
    display: grid;
    gap: 12px;
}

.exam-summary-line {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.exam-status-pill.result-pass {
    background: var(--exam-success-soft);
    color: var(--exam-success);
}

.exam-status-pill.result-block {
    background: var(--exam-warning-soft);
    color: var(--exam-warning);
}

.exam-review-grid {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 10px;
}

.exam-review-chip {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 14px;
    border: 1px solid var(--exam-border);
    background: rgba(255, 255, 255, 0.9);
    color: var(--exam-primary-strong);
    font-weight: 700;
    cursor: pointer;
}

.exam-review-chip.is-active {
    background: var(--exam-primary);
    color: #fff;
    border-color: var(--exam-primary);
}

.exam-review-chip.is-right {
    background: var(--exam-success-soft);
    color: var(--exam-success);
    border-color: rgba(44, 159, 104, 0.32);
}

.exam-review-chip.is-wrong {
    background: var(--exam-warning-soft);
    color: var(--exam-warning);
    border-color: rgba(212, 92, 79, 0.3);
}

.exam-review-chip.is-empty {
    background: rgba(255, 255, 255, 0.76);
    color: var(--exam-text-soft);
}

.exam-review-chip.is-active.is-right,
.exam-review-chip.is-active.is-wrong,
.exam-review-chip.is-active.is-empty {
    background: var(--exam-primary);
    color: #fff;
    border-color: var(--exam-primary);
}

.exam-review-title {
    margin: 0;
    font-family: var(--exam-font-heading);
    font-size: 1.35rem;
    line-height: 1.4;
    letter-spacing: -0.02em;
}

.exam-review-answer-list {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.exam-review-answer-item {
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid var(--exam-border);
}

.exam-review-answer-item strong {
    display: block;
    margin-bottom: 6px;
}

.exam-result-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.exam-hidden-mobile {
    display: block;
}

@media (max-width: 980px) {
    .exam-home-grid,
    .exam-home-cards,
    .exam-result-stats {
        grid-template-columns: 1fr;
    }

    .exam-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .exam-topbar,
    .exam-result-top,
    .exam-result-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .exam-topbar-actions {
        justify-content: flex-start;
    }

    .exam-review-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .exam-home-hero,
    .exam-result-hero,
    .exam-panel,
    .exam-question-card,
    .exam-summary-card,
    .exam-status-card,
    .exam-review-panel,
    .exam-review-strip,
    .exam-reward-box {
        border-radius: 26px;
        padding: 22px;
    }

    .exam-panel {
        padding: 18px;
    }

    .exam-topbar {
        gap: 14px;
    }

    .exam-topbar-copy .exam-title {
        font-size: 1.2rem;
    }

    .exam-topbar-copy .exam-subtitle {
        margin-top: 8px;
        font-size: 0.92rem;
        line-height: 1.6;
    }

    .exam-badge,
    .exam-eyebrow {
        padding: 9px 14px;
        font-size: 0.86rem;
    }

    .exam-topbar-actions {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .exam-drawer-btn,
    .exam-audio-btn {
        width: 100%;
        min-width: 0;
        padding: 11px 12px;
        font-size: 0.9rem;
    }

    .exam-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        margin-top: 14px;
    }

    .exam-stat-card {
        padding: 12px;
        border-radius: 18px;
    }

    .exam-stat-label {
        font-size: 0.82rem;
        margin-bottom: 6px;
    }

    .exam-stat-value {
        font-size: 1.08rem;
    }

    .exam-note {
        margin-top: 12px;
        padding: 12px 14px;
        border-radius: 16px;
    }

    .exam-note p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .exam-content {
        margin-top: 14px;
    }

    .exam-question-card {
        padding: 20px;
    }

    .exam-question-step {
        padding: 8px 12px;
        font-size: 0.88rem;
    }

    .exam-question-text {
        font-size: 1.08rem;
        line-height: 1.45;
    }

    .exam-options {
        margin-top: 18px;
        gap: 10px;
    }

    .exam-option {
        padding: 14px 15px;
        border-radius: 18px;
        font-size: 0.94rem;
    }

    .exam-overlay-card {
        width: min(100%, 420px);
        padding: 22px;
        border-radius: 24px;
    }

    .exam-overlay-card h2 {
        margin-top: 10px;
        font-size: 1.2rem;
    }

    .exam-overlay-card p {
        margin-top: 10px;
        font-size: 0.95rem;
        line-height: 1.65;
    }

    .exam-overlay-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 18px;
    }

    .exam-modal-card {
        padding: 20px;
        border-radius: 20px;
    }

    .exam-modal-actions {
        flex-direction: column;
    }

    .exam-modal-btn {
        width: 100%;
    }

    .exam-home-cards {
        grid-template-columns: 1fr;
    }

    .exam-nav,
    .exam-result-actions {
        flex-direction: column;
    }

    .exam-action-btn {
        width: 100%;
    }

    .exam-floating-drawer {
        display: none;
    }

    .exam-hidden-mobile {
        display: none;
    }
}

@media (min-width: 769px) {
    .exam-drawer-sheet {
        display: none;
    }
}
