body.reader-v2 {
    overflow-x: hidden;
    --reader-body-font-size: 15px;
    --reader-control-font-size: 13px;
    --reader-note-font-size: 14px;
}

body.reader-v2 > .page,
body.reader-v2 > .noise,
body.reader-v2 > .orb,
body.reader-v2 > .grid-mesh,
body.reader-v2 > #particleCanvas,
body.reader-v2 > #confettiCanvas,
body.reader-v2 > .scroll-progress-container {
    display: none !important;
}

body.reader-v2 #rpgFloatingHud,
body.reader-v2 #rpgProfilPanel {
    display: none !important;
}

.lesson-reader {
    min-height: 100vh;
    min-height: 100dvh;
    color: var(--dark);
    background: var(--bg-page);
}

.reader-header {
    position: sticky;
    top: 3px;
    z-index: 50;
    min-height: 68px;
    padding: max(10px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) 10px max(16px, env(safe-area-inset-left));
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 15px;
    border-bottom: 1px solid var(--border);
    background: var(--white);
    background: color-mix(in srgb, var(--white) 88%, transparent);
    backdrop-filter: blur(20px);
}

.reader-page-progress {
    position: fixed;
    inset: 0 0 auto;
    z-index: 80;
    height: 3px;
    background: color-mix(in srgb, var(--border) 70%, transparent);
}

.reader-page-progress i {
    display: block;
    width: var(--value, 0%);
    height: 100%;
    background: linear-gradient(90deg, var(--green), var(--blue), #8b5cf6);
    transition: width 0.12s linear;
}

.reader-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--dark);
    text-decoration: none;
    font-weight: 900;
}

.reader-brand img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.reader-header-progress {
    min-width: 0;
    max-width: 640px;
    width: 100%;
    justify-self: center;
}

.reader-header-progress div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.reader-progress-bar {
    height: 7px;
    overflow: hidden;
    border-radius: 99px;
    background: var(--border);
}

.reader-progress-bar i {
    display: block;
    width: var(--value);
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--green), var(--blue));
}

.reader-actions {
    display: flex;
    gap: 7px;
}

.reader-font-controls {
    display: flex;
    gap: 5px;
    padding-right: 7px;
    margin-right: 1px;
    border-right: 1px solid var(--border);
}

.reader-icon-btn {
    min-width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 13px;
    color: var(--dark);
    background: var(--item-bg);
    cursor: pointer;
}

.reader-icon-btn.active {
    color: #fff;
    border-color: transparent;
    background: var(--blue);
}

.reader-icon-btn:disabled {
    cursor: not-allowed;
    opacity: 0.38;
}

.reader-layout {
    width: min(1440px, 100%);
    min-height: calc(100dvh - 68px);
    margin: auto;
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
}

.reader-sidebar {
    position: sticky;
    top: 71px;
    height: calc(100dvh - 71px);
    overflow-y: auto;
    padding: 18px 14px max(20px, env(safe-area-inset-bottom));
    border-right: 1px solid var(--border);
    background: var(--white);
    background: color-mix(in srgb, var(--white) 68%, transparent);
}

.reader-search {
    display: grid;
    gap: 6px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 850;
}

.reader-search input {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid var(--border);
    border-radius: 13px;
    outline: 0;
    color: var(--dark);
    background: var(--item-bg);
    font: inherit;
}

.reader-search input:focus {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(79, 140, 255, 0.12);
}

.reader-search-empty {
    margin-top: 12px;
    padding: 14px;
    border: 1px dashed var(--border);
    border-radius: 14px;
    color: var(--muted);
    text-align: center;
    font-size: 11px;
    font-weight: 750;
}

.reader-lesson-link[hidden],
.reader-chapter[hidden],
.reader-search-empty[hidden] {
    display: none !important;
}

.reader-track-card {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.reader-track-card strong {
    display: block;
    margin: 5px 0;
    font-size: 17px;
}

.reader-track-card p {
    color: var(--muted);
    font-size: 11px;
}

.reader-chapters {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.reader-chapter {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 15px;
    background: var(--white);
}

.reader-chapter-toggle {
    width: 100%;
    padding: 12px;
    border: 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
    text-align: left;
    color: var(--dark);
    background: var(--item-bg);
    cursor: pointer;
}

.reader-chapter-toggle strong {
    font-size: 12px;
}

.reader-chapter-toggle small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
}

.reader-lesson-list {
    display: none;
    padding: 6px;
}

.reader-chapter.open .reader-lesson-list {
    display: grid;
}

.reader-lesson-link {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    padding: 9px;
    border-radius: 10px;
    color: var(--dark);
    text-decoration: none;
    font-size: 11px;
    font-weight: 750;
}

.reader-lesson-link:hover,
.reader-lesson-link.active {
    background: rgba(79, 140, 255, 0.1);
}

.reader-lesson-link.locked {
    pointer-events: none;
    opacity: 0.48;
}

.reader-lesson-dot {
    width: 23px;
    height: 23px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--border);
    font-size: 9px;
}

.reader-lesson-dot.completed,
.reader-lesson-dot.mastered {
    color: #fff;
    background: var(--green-dark);
}

.reader-main {
    min-width: 0;
    padding: 26px clamp(20px, 5vw, 72px) 120px;
}

.reader-content {
    max-width: 900px;
    margin: 0 auto;
}

.reader-content .lesson-section p,
.reader-content .lesson-section li,
.reader-content .outcome-card,
.reader-content .practice-check,
.reader-content .checkpoint-option {
    font-size: var(--reader-body-font-size);
}

.reader-content .lesson-section p,
.reader-content .lesson-section li {
    line-height: 1.75;
}

.reader-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 800;
}

.reader-hero {
    padding: 28px 0 24px;
    border-bottom: 1px solid var(--border);
}

.reader-hero h1 {
    max-width: 760px;
    margin: 10px 0 12px;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.02;
    letter-spacing: -0.055em;
}

.reader-hero p {
    max-width: 760px;
    color: var(--muted);
    line-height: 1.7;
}

.reader-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 17px;
}

.reader-meta span {
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 99px;
    background: var(--white);
    font-size: 10px;
    font-weight: 850;
}

.reader-on-page {
    position: sticky;
    top: 84px;
    z-index: 20;
    margin: 18px 0 2px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 7px;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: color-mix(in srgb, var(--white) 92%, transparent);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-soft);
    scrollbar-width: none;
}

.reader-on-page::-webkit-scrollbar {
    display: none;
}

.reader-on-page strong,
.reader-on-page a {
    flex: 0 0 auto;
    padding: 7px 10px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 850;
}

.reader-on-page strong {
    color: var(--muted);
}

.reader-on-page a {
    color: var(--dark);
    text-decoration: none;
    background: var(--item-bg);
}

.reader-on-page a:hover,
.reader-on-page a.active {
    color: #fff;
    background: var(--blue);
}

.lesson-section {
    scroll-margin-top: 145px;
}

.lesson-section {
    padding: 28px 0;
    border-bottom: 1px solid var(--border);
}

.lesson-section h2 {
    margin-bottom: 13px;
    font-size: clamp(22px, 3vw, 32px);
    letter-spacing: -0.035em;
}

.lesson-section h3 {
    margin: 20px 0 8px;
    font-size: 18px;
}

.lesson-section p,
.lesson-section li {
    color: var(--muted);
    line-height: 1.75;
}

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

.outcome-card {
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: var(--white);
    font-size: 12px;
    line-height: 1.55;
    font-weight: 700;
}

.lesson-code {
    overflow: hidden;
    margin-top: 14px;
    border-radius: 18px;
    background: #091420;
    box-shadow: var(--shadow);
}

.lesson-code-head {
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    color: #9eb2c9;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 10px;
    font-weight: 800;
}

.lesson-code pre {
    overflow-x: auto;
    padding: 18px;
    color: #d8e6f3;
    font: 13px/1.7 Consolas, monospace;
    white-space: pre;
}

.practice-card,
.checkpoint-card,
.capstone-card {
    margin-top: 14px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.practice-deliverables {
    margin: 13px 0 0 20px;
}

.practice-check {
    margin-top: 16px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 800;
}

.practice-check input {
    width: 20px;
    height: 20px;
    accent-color: var(--green-dark);
}

.hint-box {
    display: none;
    margin-top: 12px;
    padding: 12px;
    border-radius: 13px;
    color: var(--dark);
    background: rgba(255, 209, 102, 0.16);
    font-size: 12px;
}

.hint-box.show {
    display: block;
}

.checkpoint-options {
    display: grid;
    gap: 8px;
    margin-top: 15px;
}

.checkpoint-option {
    padding: 13px;
    border: 1px solid var(--border);
    border-radius: 13px;
    text-align: left;
    color: var(--dark);
    background: var(--item-bg);
    cursor: pointer;
}

.checkpoint-option:hover:not(:disabled) {
    border-color: var(--blue);
}

.checkpoint-option.correct {
    border-color: var(--green-dark);
    background: rgba(50, 214, 107, 0.12);
}

.checkpoint-option.wrong {
    border-color: #ff6472;
    background: rgba(255, 100, 114, 0.1);
}

.checkpoint-feedback {
    min-height: 20px;
    margin-top: 12px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.6;
}

.checkpoint-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: 12px;
}

.checkpoint-footer .checkpoint-feedback {
    margin-top: 0;
}

.checkpoint-retry {
    flex: 0 0 auto;
}

.reader-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-end;
}

.reader-section-heading h2 {
    margin-bottom: 0;
}

.reader-note-status {
    color: var(--green-dark);
    font-size: 10px;
    font-weight: 850;
}

.reader-note-status.saving {
    color: var(--orange);
}

.reader-notes-card {
    margin-top: 14px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    box-shadow: var(--shadow-soft);
}

.reader-notes-card textarea {
    width: 100%;
    min-height: 190px;
    padding: 18px;
    resize: vertical;
    border: 0;
    outline: 0;
    color: var(--dark);
    background: transparent;
    font: var(--reader-note-font-size)/1.75 Inter, sans-serif;
}

.reader-notes-card textarea:focus {
    box-shadow: inset 0 0 0 2px var(--blue);
}

.reader-notes-footer {
    padding: 10px 12px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    border-top: 1px solid var(--border);
    color: var(--muted);
    background: var(--item-bg);
    font-size: 10px;
    font-weight: 750;
}

.reader-notes-footer .btn {
    min-height: 34px;
    padding: 6px 10px;
    font-size: 10px;
}

.reader-sidebar-backdrop {
    display: none;
    position: fixed;
    inset: 71px 0 0;
    z-index: 55;
    border: 0;
    background: rgba(7, 16, 30, 0.42);
    backdrop-filter: blur(3px);
}

.reader-content .lesson-section p,
.reader-content .lesson-section li {
    font-size: var(--reader-body-font-size);
}

.reader-content .outcome-card,
.reader-content .practice-check,
.reader-content .checkpoint-option {
    font-size: var(--reader-control-font-size);
}

.reader-completion {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    margin-top: 28px;
    padding: 20px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(50, 214, 107, 0.1), rgba(79, 140, 255, 0.1));
}

.reader-completion p {
    color: var(--muted);
    font-size: 12px;
}

.reader-footer-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
}

.reader-nav-link {
    min-width: 0;
    padding: 15px;
    border: 1px solid var(--border);
    border-radius: 16px;
    color: var(--dark);
    background: var(--white);
    text-decoration: none;
}

.reader-nav-link.next {
    text-align: right;
}

.reader-nav-link.disabled {
    pointer-events: none;
    opacity: 0.45;
}

.reader-nav-link small {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
}

.reader-mobile-menu {
    display: none;
}

body.reader-focus .reader-sidebar,
body.reader-focus .reader-brand span {
    display: none;
}

body.reader-focus .reader-layout {
    grid-template-columns: 1fr;
}

body.reader-focus .reader-main {
    padding-inline: clamp(20px, 8vw, 140px);
}

body.reader-focus .reader-mobile-menu,
body.reader-focus .reader-sidebar-backdrop {
    display: none !important;
}

/* Smooth reader motion: transform and opacity only */
.lesson-reader {
    --reader-motion-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.lesson-reader:not(.reader-motion-ready) .reader-header,
.lesson-reader:not(.reader-motion-ready) .reader-breadcrumb,
.lesson-reader:not(.reader-motion-ready) .reader-hero,
.lesson-reader:not(.reader-motion-ready) .reader-on-page {
    opacity: 0;
}

.lesson-reader.reader-motion-ready .reader-header {
    animation: reader-header-in 0.58s var(--reader-motion-ease) both;
}

.lesson-reader.reader-motion-ready .reader-breadcrumb,
.lesson-reader.reader-motion-ready .reader-hero,
.lesson-reader.reader-motion-ready .reader-on-page {
    animation: reader-content-in 0.7s var(--reader-motion-ease) both;
}

.lesson-reader.reader-motion-ready .reader-hero {
    animation-delay: 70ms;
}

.lesson-reader.reader-motion-ready .reader-on-page {
    animation-delay: 130ms;
}

.lesson-section,
.reader-completion,
.reader-footer-nav {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
}

.lesson-section.reader-motion-visible,
.reader-completion.reader-motion-visible,
.reader-footer-nav.reader-motion-visible {
    animation: reader-section-in 0.7s var(--reader-motion-ease) both;
    animation-delay: min(calc(var(--motion-index, 0) * 18ms), 120ms);
}

.reader-icon-btn,
.reader-on-page a,
.reader-lesson-link,
.reader-chapter-toggle,
.outcome-card,
.practice-card,
.checkpoint-card,
.capstone-card,
.checkpoint-option,
.reader-nav-link,
.reader-notes-card,
.reader-completion,
.lesson-code {
    transition:
        transform 0.26s var(--reader-motion-ease),
        box-shadow 0.28s ease,
        border-color 0.22s ease,
        background-color 0.22s ease,
        color 0.22s ease,
        opacity 0.22s ease;
}

.reader-icon-btn:hover:not(:disabled),
.reader-on-page a:hover {
    transform: translate3d(0, -2px, 0) scale(1.035);
}

.reader-icon-btn:active:not(:disabled),
.reader-on-page a:active,
.checkpoint-option:active:not(:disabled) {
    transform: scale(0.94);
    transition-duration: 90ms;
}

.reader-lesson-link:hover {
    transform: translate3d(4px, 0, 0);
}

.reader-chapter-toggle > span:last-child {
    transition: transform 0.35s var(--reader-motion-ease);
}

.reader-chapter.open .reader-chapter-toggle > span:last-child {
    transform: rotate(180deg);
}

.reader-chapter.open .reader-lesson-list {
    animation: reader-list-expand 0.38s var(--reader-motion-ease) both;
    transform-origin: top;
}

.outcome-card:hover,
.practice-card:hover,
.checkpoint-card:hover,
.capstone-card:hover,
.reader-notes-card:focus-within,
.reader-nav-link:hover {
    transform: translate3d(0, -5px, 0);
    border-color: color-mix(in srgb, var(--blue) 42%, var(--border));
    box-shadow: 0 18px 42px rgba(7, 16, 30, 0.1);
}

.outcome-card {
    position: relative;
    overflow: hidden;
}

.outcome-card::after {
    content: "";
    position: absolute;
    inset: auto -20% -55% 35%;
    height: 90px;
    border-radius: 50%;
    opacity: 0;
    background: radial-gradient(circle, rgba(79, 140, 255, 0.18), transparent 68%);
    transform: scale(0.6);
    transition: opacity 0.3s ease, transform 0.5s var(--reader-motion-ease);
    pointer-events: none;
}

.outcome-card:hover::after {
    opacity: 1;
    transform: scale(1);
}

.checkpoint-option:hover:not(:disabled) {
    transform: translate3d(4px, 0, 0);
    box-shadow: 0 8px 22px rgba(79, 140, 255, 0.1);
}

.checkpoint-option.correct {
    animation: reader-correct 0.55s var(--reader-motion-ease) both;
}

.checkpoint-option.wrong {
    animation: reader-wrong 0.38s ease both;
}

.hint-box.show {
    animation: reader-hint-in 0.42s var(--reader-motion-ease) both;
}

.reader-progress-bar i,
.reader-page-progress i {
    transition: width 0.55s var(--reader-motion-ease);
}

.reader-note-status.saving {
    animation: reader-status-pulse 1s ease-in-out infinite;
}

.reader-sidebar-backdrop.show {
    animation: reader-backdrop-in 0.25s ease both;
}

.reader-sidebar.open .reader-track-card,
.reader-sidebar.open .reader-search,
.reader-sidebar.open .reader-chapter {
    animation: reader-sidebar-item 0.45s var(--reader-motion-ease) both;
}

.reader-sidebar.open .reader-search {
    animation-delay: 45ms;
}

.reader-sidebar.open .reader-chapter:nth-child(2) {
    animation-delay: 75ms;
}

.reader-sidebar.open .reader-chapter:nth-child(3) {
    animation-delay: 105ms;
}

.reader-sidebar.open .reader-chapter:nth-child(4) {
    animation-delay: 135ms;
}

@keyframes reader-header-in {
    from { opacity: 0; transform: translate3d(0, -14px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes reader-sidebar-in {
    from { opacity: 0; transform: translate3d(-18px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes reader-content-in {
    from { opacity: 0; transform: translate3d(0, 22px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes reader-section-in {
    from { opacity: 0; transform: translate3d(0, 24px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@keyframes reader-list-expand {
    from { opacity: 0; transform: translate3d(0, -7px, 0) scaleY(0.96); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scaleY(1); }
}

@keyframes reader-correct {
    0% { transform: scale(1); }
    45% { transform: scale(1.018); }
    100% { transform: scale(1); }
}

@keyframes reader-wrong {
    0%, 100% { transform: translate3d(0, 0, 0); }
    30% { transform: translate3d(-5px, 0, 0); }
    65% { transform: translate3d(5px, 0, 0); }
}

@keyframes reader-hint-in {
    from { opacity: 0; transform: translate3d(0, -8px, 0) scale(0.985); }
    to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes reader-status-pulse {
    50% { opacity: 0.48; }
}

@keyframes reader-backdrop-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes reader-sidebar-item {
    from { opacity: 0; transform: translate3d(-12px, 0, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
}

@media (min-width: 861px) {
    .lesson-reader:not(.reader-motion-ready) .reader-sidebar {
        opacity: 0;
    }

    .lesson-reader.reader-motion-ready .reader-sidebar {
        animation: reader-sidebar-in 0.68s var(--reader-motion-ease) both;
    }
}

@media (max-width: 860px) {
    .reader-header {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .reader-brand span {
        display: none;
    }

    .reader-mobile-menu {
        display: inline-grid;
    }

    .reader-layout {
        grid-template-columns: 1fr;
    }

    .reader-sidebar {
        position: fixed;
        inset: 71px auto 0 0;
        z-index: 60;
        width: min(330px, calc(100% - 36px));
        height: auto;
        transform: translateX(-105%);
        transition: transform 0.22s ease;
        box-shadow: 24px 0 60px rgba(7, 16, 30, 0.2);
    }

    .reader-sidebar.open {
        transform: translateX(0);
    }

    .reader-sidebar-backdrop.show {
        display: block;
    }

    body.reader-menu-open {
        overflow: hidden;
    }

    .reader-main {
        padding: 20px 16px 100px;
    }

    .outcome-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .reader-header {
        gap: 7px;
        padding-inline: 9px;
    }

    .reader-brand img {
        width: 36px;
        height: 36px;
    }

    .reader-header-progress div span:first-child {
        display: none;
    }

    .reader-font-controls {
        display: none;
    }

    .reader-icon-btn {
        min-width: 38px;
        width: 38px;
        height: 38px;
    }

    .reader-hero {
        padding-top: 20px;
    }

    .reader-hero h1 {
        font-size: clamp(30px, 10vw, 42px);
    }

    .reader-completion {
        grid-template-columns: 1fr;
    }

    .reader-completion .btn {
        width: 100%;
    }

    .reader-footer-nav {
        grid-template-columns: 1fr;
    }

    .reader-nav-link.next {
        text-align: left;
    }

    .reader-on-page {
        top: 77px;
        margin-inline: -4px;
    }

    .reader-section-heading,
    .checkpoint-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lesson-reader *,
    .lesson-reader *::before,
    .lesson-reader *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .lesson-section,
    .reader-completion,
    .reader-footer-nav {
        opacity: 1;
        transform: none;
    }
}
