/* Native screenshot pixels are paired with a non-interactive switch animation. */
.zoom-journey .night-menu-presentation{position:relative;width:min(100%,450px);max-width:100%;pointer-events:none}
.zoom-journey .night-menu-crop,.zoom-journey .night-menu-plane{position:relative;width:100%}
.zoom-journey .night-menu-upper .native-menu{display:block;width:100%;height:auto;max-width:none;max-height:none;filter:none;border-radius:0}
.zoom-journey .night-menu-presentation{filter:var(--native-menu-shadow)}
.zoom-journey .night-menu-disabled-toggle,.zoom-journey .night-menu-volume,.zoom-journey .night-menu-lower,.zoom-journey .night-menu-volume-fill{display:none}
.zoom-journey .night-wind-static{position:relative;width:min(100%,460px);aspect-ratio:912/196;overflow:hidden;border-radius:var(--radius-wind-preview);filter:var(--wind-preview-shadow)}
.zoom-journey .night-wind-static img{position:absolute;left:0;top:0;width:100%;max-width:none;height:auto;transform:translateY(-54.8592%)}

.zoom-journey.js-motion .night-stage.night-presentation-ready{--night-menu-layout:split}
.zoom-journey.js-motion .night-presentation-ready .menu-chapter,
.zoom-journey.js-motion .night-presentation-ready .ambient-chapter{flex-direction:row;align-items:center;justify-content:flex-start;gap:9%}
.zoom-journey.js-motion .night-presentation-ready .night-menu-slot{width:42%;height:var(--night-menu-slot-height,420px);flex:none;display:flex;align-items:center;justify-content:center;padding:0;background:none}
.zoom-journey.js-motion .night-presentation-ready .menu-chapter .night-copy,
.zoom-journey.js-motion .night-presentation-ready .ambient-chapter .night-copy{flex:1;min-width:0}
.zoom-journey.js-motion .night-presentation-ready .night-wind-static{display:none}
.zoom-journey.js-motion .night-presentation-ready>.night-menu-presentation{position:absolute;left:0;top:0;max-width:none;margin:0;z-index:2;will-change:transform,opacity;transform-origin:0 0}
.zoom-journey.js-motion .night-presentation-ready .night-menu-upper,
.zoom-journey.js-motion .night-presentation-ready .night-menu-volume,
.zoom-journey.js-motion .night-presentation-ready .night-menu-lower{position:relative;display:block;overflow:hidden;width:100%}
.zoom-journey.js-motion .night-presentation-ready .night-menu-upper{height:calc(var(--night-menu-width)*714/912)}
.zoom-journey.js-motion .night-presentation-ready .night-menu-volume{height:calc(var(--night-menu-width)*76/912*var(--night-volume-reveal,0));opacity:var(--night-volume-reveal,0)}
.zoom-journey.js-motion .night-presentation-ready .night-menu-lower{height:calc(var(--night-menu-width)*311/912)}
.zoom-journey.js-motion .night-presentation-ready .night-menu-upper .native-menu,
.zoom-journey.js-motion .night-presentation-ready .night-menu-replica{position:absolute;left:0;width:100%;height:auto;max-width:none;max-height:none;border-radius:0;filter:none}
.zoom-journey.js-motion .night-presentation-ready .night-menu-upper .native-menu{top:0}
.zoom-journey.js-motion .night-presentation-ready .night-menu-volume .night-menu-replica{top:calc(var(--night-menu-width)*(-714 - 38*(1 - var(--night-volume-reveal,0)))/912)}
/* Rail geometry and RGB are sampled from both localized native screenshots. */
.zoom-journey.js-motion .night-presentation-ready .night-menu-volume-fill{display:block;position:absolute;z-index:1;left:calc(var(--night-menu-width)*105/912);top:calc(var(--night-menu-width)*(38*var(--night-volume-reveal,0) - 5)/912);width:calc(var(--night-menu-width)*686/912*var(--night-volume-level,.46355685));height:calc(var(--night-menu-width)*12/912);border-radius:var(--radius-pill);background:rgb(6,148,255);pointer-events:none}
.zoom-journey.js-motion .night-presentation-ready .night-menu-lower .night-menu-replica{top:calc(var(--night-menu-width)*-790/912)}
.zoom-journey.js-motion .night-presentation-ready .night-menu-disabled-toggle{display:block;position:absolute;z-index:1;left:calc(var(--night-menu-width)*708/912);top:calc(var(--night-menu-width)*624/912);width:calc(var(--night-menu-width)*162/912);height:calc(var(--night-menu-width)*72/912);overflow:hidden;border-radius:var(--radius-pill)}
.zoom-journey.js-motion .night-presentation-ready .night-menu-disabled-toggle img{position:absolute;left:calc(var(--night-menu-width)*-708/912);top:calc(var(--night-menu-width)*-624/912);width:var(--night-menu-width);max-width:none;height:auto}

@media(max-width:649px){
 .zoom-journey .night-menu-presentation{width:min(100%,300px)}
 .zoom-journey .night-wind-static{width:min(100%,340px)}
 .zoom-journey.js-motion .night-stage.night-presentation-ready{--night-menu-layout:stack}
 .zoom-journey.js-motion .night-presentation-ready .menu-chapter,
 .zoom-journey.js-motion .night-presentation-ready .ambient-chapter{flex-direction:column-reverse;align-items:center;justify-content:center;gap:20px}
 .zoom-journey.js-motion .night-presentation-ready .night-menu-slot{width:100%}
 .zoom-journey.js-motion .night-presentation-ready .menu-chapter .night-copy,
 .zoom-journey.js-motion .night-presentation-ready .ambient-chapter .night-copy{flex:0 0 auto;width:100%}
 .zoom-journey .menu-chapter .night-copy,
 .zoom-journey .ambient-chapter .night-copy{text-align:center}
 .zoom-journey .menu-chapter .body-copy,
 .zoom-journey .ambient-chapter .body-copy{max-width:350px;margin-inline:auto}
 .zoom-journey.js-motion .night-presentation-ready .ambient-chapter .eyebrow{font-size:13px;margin-bottom:12px}
 .zoom-journey.js-motion .night-presentation-ready .ambient-chapter .night-copy h2{font-size:var(--font-ambient-title-size-compact);line-height:var(--font-night-menu-title-leading-mobile)}
 .zoom-journey.js-motion .night-presentation-ready .ambient-chapter .body-copy{font-size:var(--font-ambient-body-size-compact);line-height:var(--font-ambient-body-leading-compact);margin-top:14px}
}
@media(min-width:560px) and (max-height:560px) and (min-aspect-ratio:6/5){
 .zoom-journey.js-motion .night-stage.night-presentation-ready{--night-menu-layout:split}
 .zoom-journey.js-motion .night-presentation-ready .menu-chapter,
 .zoom-journey.js-motion .night-presentation-ready .ambient-chapter{flex-direction:row;align-items:center;gap:7%}
 .zoom-journey.js-motion .night-presentation-ready .night-menu-slot{width:42%}
 .zoom-journey.js-motion .night-presentation-ready .menu-chapter .night-copy,
 .zoom-journey.js-motion .night-presentation-ready .ambient-chapter .night-copy{flex:1;width:auto}
 .zoom-journey .menu-chapter .night-copy,
 .zoom-journey .ambient-chapter .night-copy{text-align:left}
 .zoom-journey .menu-chapter .body-copy,
 .zoom-journey .ambient-chapter .body-copy{margin-inline:0}
}
@media(prefers-reduced-motion:reduce){
 .zoom-journey .night-menu-presentation{will-change:auto}
}

/* The knob travels through the same geometry as the native control instead of crossfading between screenshots. */
.zoom-journey.js-motion .night-presentation-ready .night-menu-disabled-toggle img{visibility:hidden}
.zoom-journey.js-motion .night-presentation-ready .night-menu-toggle-track{position:absolute;inset:0;border-radius:inherit;background:color-mix(in srgb,var(--night-switch-track-off),var(--night-switch-track-on) calc(var(--night-switch-enabled,0)*100%))}
.zoom-journey.js-motion .night-presentation-ready .night-menu-toggle-thumb{position:absolute;left:calc(var(--night-menu-width)*6/912);top:calc(var(--night-menu-width)*6/912);width:calc(var(--night-menu-width)*96/912);height:calc(var(--night-menu-width)*60/912);border-radius:var(--radius-pill);background:color-mix(in srgb,var(--night-switch-thumb-off),var(--night-switch-thumb-on) calc(var(--night-switch-enabled,0)*100%));transform:translateX(calc(var(--night-menu-width)*54/912*var(--night-switch-enabled,0)))}

/* Focus cannot scroll a clipped fullscreen presentation independently of the story. */
.zoom-journey.js-motion .scene-sticky,.zoom-journey.js-motion .night-stage{overflow:clip}

/* Only the visible chapter navigation receives input over the presentation. */
.zoom-journey.js-motion .night-rail:not([inert]){pointer-events:auto}
.zoom-journey .night-rail-item{position:relative;isolation:isolate;appearance:none;border:0;background:transparent;color:inherit;font:inherit;cursor:pointer;min-height:var(--nav-wordmark-target);padding:var(--nav-link-padding);white-space:nowrap;border-radius:var(--radius-pill);transition:color var(--motion-color-duration)}
.zoom-journey .night-rail-item::after{content:"";position:absolute;z-index:-1;inset-inline:0;top:50%;height:var(--nav-link-hover-height);transform:translateY(-50%);border-radius:inherit;background:color-mix(in srgb,#fff,transparent var(--nav-hover-transparency));opacity:0;pointer-events:none;transition:opacity var(--motion-feedback-duration)}
.zoom-journey .night-rail-item:is(:hover,:focus-visible)::after{opacity:1}
.zoom-journey .night-rail-item.is-active{color:#eef2ff}
.zoom-journey .night-rail-item:hover{color:#fff}
.zoom-journey .night-rail-item:focus-visible{outline:2px solid #eef2ff;outline-offset:4px}

/* Icons retain their shape while selected chapters brighten smoothly. */
.zoom-journey .night-rail-item::before{content:none}
.zoom-journey .night-rail-symbol{position:relative;display:inline-block;width:var(--night-rail-icon-size);height:var(--night-rail-icon-size);flex:none}
.zoom-journey .night-rail-symbol::before{content:"";position:absolute;inset:0;background:currentColor;-webkit-mask:var(--night-rail-symbol) center / contain no-repeat;mask:var(--night-rail-symbol) center / contain no-repeat;opacity:.6;transition:opacity var(--motion-feedback-duration) var(--motion-enter-ease);pointer-events:none}
.zoom-journey .night-rail-item:is(.is-active,[aria-current="location"]) .night-rail-symbol::before{opacity:1}
.zoom-journey .night-rail-item:nth-child(1){--night-rail-symbol:var(--sf-symbol-night)}
.zoom-journey .night-rail-item:nth-child(2){--night-rail-symbol:var(--sf-symbol-menu)}
.zoom-journey .night-rail-item:nth-child(3){--night-rail-symbol:var(--sf-symbol-wind)}
/* Pointer activation should not inherit the ring from programmatic focus. */
.zoom-journey .night-rail-item:focus:not(:focus-visible),.zoom-journey .night-rail-item.is-pointer-focus:is(:focus,:focus-visible){outline:none}
@media(prefers-reduced-motion:reduce){.zoom-journey .night-rail-symbol::before{transition:none}}
.reduced-motion .night-rail-symbol::before{transition:none}

/* Keep a complete touch target above the safe area, with copy and preview sharing the remaining height. */
@media(max-width:649px){
 .zoom-journey.js-motion .night-stage{--night-content-top:104px;--night-content-bottom:86px}
 .zoom-journey.js-motion .night-chapter{width:calc(100% - 48px);top:var(--night-content-top);bottom:var(--night-content-bottom);height:auto;padding:0}
 .zoom-journey.js-motion .night-rail{top:auto;bottom:max(18px,calc(env(safe-area-inset-bottom) + 12px));gap:clamp(8px,3vw,16px);max-width:calc(100% - 32px);font-size:13px;z-index:3}
 .zoom-journey .night-rail-item{padding:0 12px;min-height:var(--nav-wordmark-target);gap:7px}
 .zoom-journey.js-motion .stars-chapter{align-items:flex-start;padding-top:clamp(48px,12svh,104px)}
 .zoom-journey.js-motion .stars-chapter .night-copy{width:100%;max-width:350px}
 .zoom-journey.js-motion .night-copy>.eyebrow{font-size:13px;margin-bottom:14px}
 .zoom-journey.js-motion .stars-chapter .body-copy{font-size:16px;line-height:1.55;margin-top:20px}
 .zoom-journey.js-motion .night-presentation-ready .menu-chapter,
 .zoom-journey.js-motion .night-presentation-ready .ambient-chapter{gap:24px}
 .zoom-journey.js-motion .night-presentation-ready .menu-chapter .body-copy,
 .zoom-journey.js-motion .night-presentation-ready .ambient-chapter .body-copy{font-size:14px;line-height:1.5;margin-top:14px;max-width:350px}
}
@media(max-width:360px){
 .zoom-journey.js-motion .night-rail{gap:4px;font-size:12px;max-width:calc(100% - 24px)}
 .zoom-journey .night-rail-item{padding-inline:10px;gap:6px}
}
@media(max-width:649px) and (max-height:700px){
 .zoom-journey.js-motion .stars-chapter{padding-top:clamp(24px,7svh,48px)}
 .zoom-journey.js-motion .night-presentation-ready .menu-chapter,
 .zoom-journey.js-motion .night-presentation-ready .ambient-chapter{gap:18px}
 .zoom-journey.js-motion .night-copy>.eyebrow{margin-bottom:10px}
 .zoom-journey.js-motion .stars-chapter .body-copy{font-size:15px;line-height:1.5;margin-top:16px}
}
