.lwl-stage-nav-v2 {
    position: sticky;
    top: calc(50% - 23px);
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 10px;
    margin: 0;
    pointer-events: none;
}

.lwl-stage-nav-v2__edge {
    display: flex;
    align-items: center;
    pointer-events: none;
}

.lwl-stage-nav-v2__btn {
    --lwl-nav-bg: rgba(18, 20, 28, 0.88);
    --lwl-nav-fg: #f7f2e8;
    --lwl-nav-border: rgba(255, 255, 255, 0.16);
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid var(--lwl-nav-border);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.2), transparent 65%), var(--lwl-nav-bg);
    color: var(--lwl-nav-fg);
    box-shadow: 0 10px 28px rgba(7, 8, 12, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    pointer-events: auto;
    transition: box-shadow 180ms ease, border-color 180ms ease, opacity 180ms ease, background-color 180ms ease;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.lwl-stage-nav-v2__btn:hover,
.lwl-stage-nav-v2__btn:focus-visible {
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow: 0 14px 30px rgba(7, 8, 12, 0.46), 0 0 0 3px rgba(244, 202, 106, 0.18);
    outline: none;
}

.lwl-stage-nav-v2__btn.is-disabled {
    opacity: 0.35;
    cursor: default;
}

.lwl-stage-nav-v2__icon {
    width: 22px;
    height: 22px;
    line-height: 0;
    display: inline-flex;
}

.lwl-stage-nav-v2__icon svg {
    width: 22px;
    height: 22px;
    display: block;
}

body.lwl-stage-nav-v2-enabled .lwl-stage-content-nav {
    display: none !important;
}

/* Stage-only Tutor chrome cleanup (do not affect normal Tutor pages). */
body.lwl-stage-nav-v2-enabled.lwl-embed .tutor-course-topic-single-body .tutor-course-spotlight-wrapper .tutor-course-spotlight-nav,
body.lwl-stage-nav-v2-enabled.lwl-stage-active .tutor-course-topic-single-body .tutor-course-spotlight-wrapper .tutor-course-spotlight-nav {
    display: none !important;
}

body.lwl-stage-nav-v2-enabled.lwl-embed .tutor-course-topic-single-footer,
body.lwl-stage-nav-v2-enabled.lwl-stage-active .tutor-course-topic-single-footer {
    display: none !important;
}

@media (max-width: 1024px) {
    .lwl-stage-nav-v2 {
        padding: 0 8px;
    }

    .lwl-stage-nav-v2__btn {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 640px) {
    .lwl-stage-nav-v2 {
        top: auto;
        bottom: 14px;
        transform: none;
        position: sticky;
    }

    .lwl-stage-nav-v2__btn {
        width: 40px;
        height: 40px;
    }
}
