body {
    line-height: 1.3;
    overflow-y: scroll;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

body::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.home-dashboard {
    margin-bottom: 14px;
    opacity: 0;
    transition: opacity 0.16s ease-out;
}

.home-dashboard.is-ready {
    opacity: 1;
}

.home-next-panel {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
    padding: 12px;
    border: 2px solid rgba(31, 31, 31, 0.9);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.66)),
        color-mix(in srgb, var(--text-section-bg) 28%, white);
    box-shadow: 5px 5px 0 rgba(23, 23, 23, 0.14);
    color: #1f1f1f;
    text-decoration: none;
    transition:
        transform 0.16s ease-out,
        box-shadow 0.16s ease-out,
        background-color 0.16s ease-out;
}

.home-next-panel:hover,
.home-next-panel:focus {
    color: #111111;
    box-shadow: 7px 7px 0 rgba(23, 23, 23, 0.18);
    transform: translate(-1px, -1px);
}

.home-dashboard-preview {
    display: grid;
    width: 96px;
    height: 96px;
    place-items: center;
    border: 1px solid rgba(31, 31, 31, 0.16);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.home-dashboard-preview img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.home-dashboard-copy {
    display: grid;
    min-width: 0;
    gap: 7px;
}

.home-dashboard-kicker {
    color: rgba(31, 31, 31, 0.64);
    font-size: 0.78rem;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.home-next-heading {
    display: flex;
    min-width: 0;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.home-next-lesson {
    color: #1f1f1f;
    font-size: 1.28rem;
    font-weight: 900;
    line-height: 1.18;
    overflow-wrap: anywhere;
}

.home-dashboard-minutes {
    display: inline-flex;
    align-items: center;
    min-height: 26px;
    padding: 5px 8px;
    border-radius: 6px;
    background: rgba(31, 31, 31, 0.08);
    color: rgba(31, 31, 31, 0.7);
    font-size: 0.82rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.home-dashboard-meta {
    min-height: 1.1rem;
    color: rgba(31, 31, 31, 0.68);
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.25;
}

.home-dashboard-progress-track {
    display: block;
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: rgba(31, 31, 31, 0.11);
    overflow: hidden;
}

.home-dashboard-progress-track span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #f9a826, #4ca96a);
    transition: width 0.18s ease;
}

.home-dashboard-action {
    display: grid;
    justify-items: end;
    min-width: 150px;
}

.home-dashboard-action-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 11px 16px;
    border: 2px solid rgba(31, 31, 31, 0.92);
    border-radius: 8px;
    background: #f9a826;
    box-shadow: 4px 4px 0 rgba(31, 31, 31, 0.16);
    color: #1f1f1f;
    font-size: 0.96rem;
    font-weight: 900;
    line-height: 1.1;
    white-space: nowrap;
    transition:
        background-color 0.16s ease-out,
        box-shadow 0.16s ease-out;
}

.home-dashboard-action-label i {
    display: inline-grid;
    width: 22px;
    height: 22px;
    place-items: center;
    border-radius: 50%;
    background: rgba(31, 31, 31, 0.88);
    color: #ffffff;
    font-size: 0.68rem;
    transition: transform 0.16s ease-out;
}

.home-next-panel:hover .home-dashboard-action-label,
.home-next-panel:focus .home-dashboard-action-label {
    background: #ffbf4f;
    box-shadow: 5px 5px 0 rgba(31, 31, 31, 0.2);
}

.home-next-panel:hover .home-dashboard-action-label i,
.home-next-panel:focus .home-dashboard-action-label i {
    transform: translateX(2px);
}

.home-course-map {
    display: grid;
    gap: 10px;
}

.home-course-stage {
    border: 1px solid rgba(31, 31, 31, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.58);
    overflow: hidden;
}

.home-stage-trigger {
    width: 100%;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border: 0;
    background: rgba(54, 54, 54, 0.96);
    color: #ffffff;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.home-stage-trigger:focus-visible,
.home-lesson-link:focus-visible,
.home-resource-row:focus-visible {
    outline: 3px solid rgba(249, 168, 38, 0.76);
    outline-offset: 2px;
}

.home-course-stage.is-current-stage > .home-stage-trigger {
    background:
        linear-gradient(90deg, rgba(249, 168, 38, 0.18), rgba(255, 255, 255, 0)),
        rgba(54, 54, 54, 0.96);
}

.home-course-stage.is-complete > .home-stage-trigger {
    background:
        linear-gradient(90deg, rgba(76, 169, 106, 0.2), rgba(255, 255, 255, 0)),
        rgba(54, 54, 54, 0.96);
}

.home-stage-number {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #f9a826;
    font-size: 0.94rem;
    font-weight: 900;
}

.home-stage-copy {
    display: grid;
    min-width: 0;
    gap: 3px;
}

.home-stage-title {
    font-size: 1rem;
    font-weight: 900;
    line-height: 1.2;
    overflow-wrap: anywhere;
}

.home-stage-progress {
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.8rem;
    font-weight: 850;
}

.home-stage-trigger .fa-chevron-down {
    transition: transform 0.18s ease;
}

.home-course-stage.is-open > .home-stage-trigger .fa-chevron-down {
    transform: rotate(180deg);
}

.home-stage-body {
    display: none;
    padding: 10px;
}

.home-course-stage.is-open > .home-stage-body {
    display: grid;
    gap: 8px;
}

.home-lesson-row,
.home-resource-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border: 1px solid rgba(31, 31, 31, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.78);
}

.home-lesson-row.is-completed {
    border-color: rgba(76, 169, 106, 0.34);
    background: rgba(248, 255, 250, 0.86);
}

.home-lesson-link,
.home-resource-row {
    color: #222222;
    text-decoration: none;
}

.home-lesson-link {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.home-lesson-link:hover,
.home-resource-row:hover {
    color: #111111;
}

.home-lesson-thumb {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid rgba(31, 31, 31, 0.1);
}

.home-lesson-thumb img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.home-lesson-title,
.home-resource-title {
    color: #222222;
    font-size: 0.96rem;
    font-weight: 850;
    line-height: 1.25;
    overflow-wrap: anywhere;
}

.home-lesson-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 6px;
}

.home-lesson-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 24px;
    padding: 4px 7px;
    border-radius: 6px;
    background: rgba(31, 31, 31, 0.07);
    color: rgba(31, 31, 31, 0.72);
    font-size: 0.76rem;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.home-lesson-access.is-free {
    color: #247a3f;
}

.home-lesson-access.is-premium,
.home-lesson-difficulty {
    color: #9a6100;
}

.home-lesson-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
}

.home-lesson-check .filled-check-circle,
.home-lesson-check .empty-check-circle {
    width: 32px;
    height: 32px;
}

.home-status-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.home-resource-row {
    grid-template-columns: 44px minmax(0, 1fr) 18px;
}

.home-resource-row i {
    color: #9a6100;
}

#effect-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1000;
}

.snowflake {
    position: absolute;
    top: -10px;
    color: white;
    font-size: 1rem;
    opacity: 0.8;
    user-select: none;
    animation: fall linear infinite;
}

@keyframes fall {
    0% {
        transform: translateY(-10px) rotate(0deg);
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
    }
}

@media (max-width: 768px) {
    .home-next-panel {
        grid-template-columns: 78px minmax(0, 1fr);
        align-items: start;
    }

    .home-dashboard-preview {
        width: 72px;
        height: 72px;
    }

    .home-dashboard-preview img {
        width: 58px;
        height: 58px;
    }

    .home-dashboard-action {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr);
        justify-items: stretch;
        align-items: center;
        width: 100%;
    }

    .home-dashboard-action-label {
        width: 100%;
    }

    .home-lesson-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .home-lesson-meta {
        justify-content: flex-start;
        padding-left: 54px;
    }
}

@media screen and (max-width: 600px) {
    .hero-body {
        padding-left: 6%;
        padding-right: 6%;
    }

    .home-next-lesson {
        font-size: 1.08rem;
    }

    .home-stage-trigger {
        grid-template-columns: 36px minmax(0, 1fr) 18px;
        gap: 10px;
        padding: 10px;
    }

    .home-stage-number {
        width: 34px;
        height: 34px;
    }
}
