/* Small, actual controls replace the former non-interactive journey labels. */
.journey-v3__rail button{position:relative;appearance:none;border:0;border-bottom:1px solid transparent;background:transparent;color:#ffded4bd;font:inherit;letter-spacing:inherit;padding:.55rem .35rem;cursor:pointer;white-space:nowrap;transition:color .2s ease,border-color .2s ease}
.journey-v3__rail button:hover,.journey-v3__rail button[aria-current="step"]{color:#fff2eb;border-bottom-color:#ff968b}
.journey-v3__rail button:focus-visible{outline:2px solid #fff1dc;outline-offset:4px}
.journey-v3__rail i{pointer-events:none}
@media(max-width:800px){.journey-v3--motion .journey-v3__rail{gap:.6rem}.journey-v3__rail button{min-height:44px;padding:.7rem .5rem}}
@media(prefers-reduced-motion:reduce){.journey-v3__rail button{transition:none}}
html.user-reduce-motion .journey-v3__rail button{transition:none}
/* Chapter rail takes its cue from the red light of the B poster. */
.journey-v3--motion .journey-v3__rail{align-items:center;gap:.35rem;padding:.35rem .55rem;background:linear-gradient(95deg,#150a0ce8,#240b0be8);border:1px solid #d5767059;box-shadow:0 14px 35px #0008}
.journey-v3__rail button{min-height:44px;min-width:5.2rem;color:#e4b8ae;padding:.55rem .7rem}
.journey-v3__rail button::before{display:inline-block;margin-right:.42rem;color:#c8746c;font-size:.67em;letter-spacing:.04em}
.journey-v3__rail button:nth-of-type(1)::before{content:'01'}
.journey-v3__rail button:nth-of-type(2)::before{content:'02'}
.journey-v3__rail button:nth-of-type(3)::before{content:'03'}
.journey-v3__rail button[aria-current="step"]{background:#c43b322e;color:#fff5ed;border-bottom-color:#ff968b}
.journey-v3--motion .journey-has-swipe{touch-action:pan-y pinch-zoom}
@media(max-width:800px){
 .journey-v3--motion .journey-v3__rail{left:1.25rem;right:1.25rem!important;bottom:1.2rem!important;gap:0;justify-content:space-between}
 .journey-v3__rail button{flex:1;min-width:0;padding:.7rem .25rem}
 .journey-v3--motion .journey-has-swipe .journey-v3__rail::before{content:'左右滑动或点选章节';position:absolute;left:.15rem;bottom:calc(100% + .55rem);color:#ffe0d5;font-size:.7rem;letter-spacing:.08em;text-shadow:0 2px 8px #000}
 .journey-v3--motion .journey-v3__copy{padding-bottom:clamp(8.5rem,18vh,11rem)}
}
