.guide_slider {
    --guide-navy: #081126;
    --guide-navy-soft: #111c34;
    --guide-gold: #d3aa55;
    --guide-gold-light: #f0cf82;
    --guide-text: #0c2446;
    --guide-muted: #738096;
    --guide-range-progress: 0%;
    color: var(--guide-text);
}

.guide_slider_header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 16px;
}

.guide_slider_eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #b48a38;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
}

.guide_slider_title {
    margin: 0;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.35;
    word-break: keep-all;
}

.guide_expand_button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid #d7dce5;
    border-radius: 6px;
    background: #fff;
    color: #172743;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}

.guide_expand_button:hover,
.guide_expand_button:focus-visible {
    border-color: var(--guide-gold);
    background: #fffaf0;
    color: #8b651e;
}

.guide_stage {
    position: relative;
    overflow: visible;
    margin-right: 0;
    margin-left: 0;
    border: 1px solid rgba(11, 25, 50, .12);
    background: var(--guide-navy);
    box-shadow: 0 18px 44px rgba(12, 24, 46, .15);
    outline: none;
    touch-action: pan-y pinch-zoom;
    user-select: none;
    -webkit-user-select: none;
}

.guide_stage:focus-visible {
    box-shadow: 0 0 0 3px rgba(211, 170, 85, .4), 0 18px 44px rgba(12, 24, 46, .15);
}

.guide_slide_button {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: var(--guide-navy);
    cursor: e-resize;
    line-height: 0;
}

.guide_slide_button:focus {
    outline: none;
}

.guide_slide_button img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    background: var(--guide-navy);
    object-fit: contain;
    opacity: 1;
    transition: opacity .16s ease;
    -webkit-user-drag: none;
}

.guide_slide_button img.is_loading {
    opacity: .35;
}

.guide_click_cue {
    position: absolute;
    right: 18px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 11px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 999px;
    background: rgba(4, 10, 24, .68);
    color: rgba(255, 255, 255, .8);
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
    transition: opacity .2s ease;
}

.guide_nav_button {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 50%;
    background: rgba(5, 12, 29, .7);
    color: #fff;
    font-size: 31px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
    transition: background-color .2s ease, border-color .2s ease, opacity .2s ease;
    backdrop-filter: blur(4px);
}

.guide_nav_button:hover,
.guide_nav_button:focus-visible {
    border-color: var(--guide-gold-light);
    background: rgba(174, 128, 40, .88);
    outline: none;
}

.guide_nav_button:disabled {
    opacity: 0;
    pointer-events: none;
}

.guide_nav_prev {
    left: -20px;
}

.guide_nav_next {
    right: -20px;
}

.guide_slider_footer {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    grid-template-areas:
        "number range"
        "number hint";
    column-gap: 20px;
    align-items: center;
    padding: 20px 3px 0;
}

.guide_slide_number {
    grid-area: number;
    display: flex;
    align-items: baseline;
    gap: 5px;
    color: #8e99ab;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}

.guide_slide_current {
    color: var(--guide-gold);
    font-size: 27px;
    font-weight: 800;
    line-height: 1;
}

.guide_range_wrap {
    position: relative;
    grid-area: range;
    padding: 3px 0 18px;
}

.guide_range {
    display: block;
    width: 100%;
    height: 24px;
    margin: 0;
    background: transparent;
    cursor: ew-resize;
    appearance: none;
    -webkit-appearance: none;
}

.guide_range:focus {
    outline: none;
}

.guide_range::-webkit-slider-runnable-track {
    height: 5px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--guide-gold) 0, var(--guide-gold) var(--guide-range-progress), #dfe3ea var(--guide-range-progress), #dfe3ea 100%);
}

.guide_range::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    margin-top: -6.5px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--guide-gold);
    box-shadow: 0 1px 7px rgba(14, 28, 51, .28);
    appearance: none;
    -webkit-appearance: none;
}

.guide_range::-moz-range-track {
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: #dfe3ea;
}

.guide_range::-moz-range-progress {
    height: 5px;
    border-radius: 999px;
    background: var(--guide-gold);
}

.guide_range::-moz-range-thumb {
    width: 13px;
    height: 13px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--guide-gold);
    box-shadow: 0 1px 7px rgba(14, 28, 51, .28);
}

.guide_range:focus-visible::-webkit-slider-thumb {
    box-shadow: 0 0 0 4px rgba(211, 170, 85, .25);
}

.guide_range_marks {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 14px;
    color: #99a3b2;
    font-size: 10px;
    line-height: 1;
    pointer-events: none;
}

.guide_range_marks span {
    position: absolute;
    transform: translateX(-50%);
}

.guide_range_marks span:first-child {
    transform: none;
}

.guide_range_marks span:last-child {
    transform: translateX(-100%);
}

.guide_slider_hint {
    grid-area: hint;
    margin: 2px 0 0;
    color: var(--guide-muted);
    font-size: 12px;
    line-height: 1.5;
}

.guide_chapter_nav a.is_current {
    background: #fffaf0;
}

.guide_chapter_nav a.is_current::after {
    opacity: 1;
}

@media (max-width: 760px) {
    .guide_stage {
        margin-right: 0;
        margin-left: 0;
    }

    .guide_slider_header {
        align-items: center;
        gap: 12px;
        margin-bottom: 12px;
    }

    .guide_slider_eyebrow {
        font-size: 10px;
    }

    .guide_slider_title {
        font-size: 18px;
    }

    .guide_expand_button {
        min-height: 38px;
        padding: 0 12px;
        font-size: 13px;
    }

    .guide_nav_button {
        width: 36px;
        height: 36px;
        font-size: 25px;
    }

    .guide_nav_prev {
        left: -8px;
    }

    .guide_nav_next {
        right: -8px;
    }

    .guide_click_cue {
        right: 8px;
        bottom: 8px;
        padding: 6px 8px;
        font-size: 10px;
    }

    .guide_slider_footer {
        grid-template-columns: 54px minmax(0, 1fr);
        column-gap: 12px;
        padding-top: 14px;
    }

    .guide_slide_current {
        font-size: 22px;
    }

    .guide_slide_number {
        font-size: 12px;
    }

    .guide_slider_hint {
        font-size: 11px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .guide_slide_button img,
    .guide_expand_button,
    .guide_nav_button {
        transition: none;
    }
}
