:root{color-scheme:dark;--paper:#f3f1e8;--muted:#a8b6b8;--accent:#95cbb3;--line:rgba(235,244,238,.18);--warn:#ff705c;font-family:"Avenir Next",Avenir,"Trebuchet MS",sans-serif;font-synthesis:none}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;background:#101c22;color:var(--paper);overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:wait;opacity:.5}button:focus-visible,a:focus-visible{outline:2px solid var(--accent);outline-offset:6px}button{color:inherit}a{color:inherit;text-decoration:none}[hidden]{display:none!important}
.mountain-backdrop{position:fixed;inset:0;background:radial-gradient(ellipse at 66% 5%,#69838b 0,#253e48 38%,#0b1b22 80%)}.mountain-backdrop svg{height:100%;width:100%;opacity:.75}.mountain-backdrop:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(9,23,29,.66),rgba(9,23,29,.18)),linear-gradient(0deg,#0d1d25 0,transparent 70%)}
#ride-host{position:fixed;inset:0}#ride-host iframe{width:100%;height:100%;border:0;display:block}body.has-ride .mountain-backdrop{display:none}.menu{position:fixed;inset:0;z-index:5;padding:clamp(22px,3.7vw,64px) clamp(24px,5.4vw,92px) 23px;background:rgba(13,27,34,.57);backdrop-filter:blur(18px) saturate(.8);-webkit-backdrop-filter:blur(18px) saturate(.8);display:flex;flex-direction:column;overflow:auto;transition:opacity .45s ease,visibility .45s}.menu:focus{outline:0}.masthead{display:flex;flex-wrap:wrap;align-items:center;gap:18px 30px;min-height:42px;flex-shrink:0}.wordmark{font-family:"Avenir Next Condensed","Arial Narrow",sans-serif;font-size:27px;font-weight:750;letter-spacing:.18em;display:grid;grid-template-columns:37px auto;align-items:center;column-gap:9px;line-height:1}.wordmark svg{grid-row:span 2;width:32px;height:28px;fill:none;stroke:currentColor;stroke-width:1.7}.wordmark span{font-family:"Avenir Next",sans-serif;font-size:7px;letter-spacing:.3em;margin-top:7px}.text-button{border:0;border-bottom:1px solid var(--line);padding:10px 0;background:none;font-size:12px;letter-spacing:.03em;white-space:nowrap}.text-button span{margin-inline-start:13px;color:var(--accent)}
.eyebrow{font-size:10px;font-weight:650;letter-spacing:.19em;color:var(--muted);line-height:1.4}.course-layout{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:clamp(40px,7vw,140px);align-items:center;flex:1;padding:clamp(24px,4vh,62px) 0 32px;min-height:360px}.course-story>.eyebrow{display:flex;gap:20px;align-items:center;margin:0 0 29px}.chapter{font-variant-numeric:tabular-nums;color:var(--accent);font-size:10px;letter-spacing:.09em}.trail-rating{display:flex;align-items:center;gap:10px;color:var(--accent);font-size:11px;font-weight:550;letter-spacing:.08em}.trail-rating>span:last-child{color:var(--muted);font-size:8px;letter-spacing:.13em}.rating-rule{width:24px;height:1px;background:var(--line);margin:0 4px}.trail-symbol{display:inline-block;width:9px;height:9px;background:currentColor;flex-shrink:0}.trail-symbol.circle{border-radius:50%}.trail-symbol.diamond{transform:rotate(45deg);width:8px;height:8px}
h1{font-family:"DIN Condensed","Avenir Next Condensed",Impact,"Arial Narrow",sans-serif;text-transform:uppercase;font-stretch:condensed;font-weight:700;font-size:clamp(66px,7.5vw,126px);letter-spacing:-.025em;line-height:.88;margin:20px 0 24px;max-width:810px;text-wrap:balance}h1 .name-line{display:block}.description{max-width:405px;font-size:13px;line-height:1.8;color:#c6d0d0;margin:0 0 25px}.primary-button{border:1px solid transparent;background:var(--accent);color:#10262c;min-height:52px;min-width:218px;padding:14px 22px;display:flex;align-items:center;justify-content:space-between;gap:35px;font-size:12px;font-weight:750;letter-spacing:.04em;transition:background .18s,transform .18s}.primary-button:hover{background:var(--paper);transform:translateY(-2px)}.primary-button>span:last-child{font-size:22px;font-weight:400}
.course-details{align-self:center;color:var(--accent);padding-top:50px;max-width:460px}.detail-heading{display:flex;justify-content:space-between;align-items:center;font-size:10px;letter-spacing:.13em}.detail-heading .eyebrow{font-size:9px}.course-details svg{display:block;width:100%;height:auto;margin:17px 0 0;overflow:visible}.profile-grid{stroke:var(--line);stroke-width:1;stroke-dasharray:2 6;fill:none}.profile-line{stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}.course-details circle{fill:var(--accent)}.profile-labels{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.15em;color:var(--muted);margin-top:-4px}.stats{margin:28px 0 0;border-top:1px solid var(--line);display:grid;grid-template-columns:1.15fr 1.3fr .7fr .6fr;gap:12px;padding-top:20px;color:var(--paper)}.stats dt{font-size:9px;color:var(--muted);white-space:nowrap;margin-bottom:7px}.stats dd{font-size:25px;margin:0;font-family:"DIN Alternate","Avenir Next",sans-serif;font-variant-numeric:tabular-nums;letter-spacing:-.04em;white-space:nowrap}.stats small{font-size:11px;color:var(--muted);margin-inline-start:5px;letter-spacing:0}.line-note{font-family:Baskerville,Georgia,serif;font-style:italic;font-size:19px;font-weight:400;color:#c3d0d0;margin:27px 0 0}
.course-list{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line);border-bottom:1px solid var(--line);flex-shrink:0}.course-option{position:relative;text-align:start;border:0;border-inline-end:1px solid var(--line);background:transparent;padding:23px 24px 22px;color:var(--muted);display:grid;grid-template-columns:22px 1fr auto;column-gap:10px;align-items:center;transition:background .2s}.course-option:nth-child(3n+1){padding-inline-start:0}.course-option:nth-child(3n){border-inline-end:0;padding-inline-end:0}.course-option:nth-child(n+4){border-top:1px solid var(--line)}.course-option:before{content:"";position:absolute;top:-1px;left:0;right:0;height:2px;background:transparent;transition:background .2s}.course-option[aria-current=true]{color:var(--paper);background:linear-gradient(180deg,rgba(255,255,255,.03),transparent)}.course-option[aria-current=true]:before{background:var(--accent)}.course-option:hover{background:rgba(255,255,255,.05)}.option-number{font-size:10px;align-self:start;padding-top:3px;font-variant-numeric:tabular-nums;color:var(--accent)}.option-name{font-family:"DIN Condensed","Avenir Next Condensed",Impact,sans-serif;text-transform:uppercase;letter-spacing:.035em;font-size:clamp(19px,2vw,26px);line-height:1.05}.option-meta{grid-column:2;margin-top:8px;font-size:9px;letter-spacing:.04em;color:var(--muted)}.course-option>.trail-symbol{color:var(--trail-accent);margin-inline-start:14px}.menu-footer{display:flex;justify-content:space-between;gap:16px;margin-top:20px;color:var(--muted);font-size:9px;letter-spacing:.025em;flex-shrink:0}.menu-footer kbd{font-family:inherit;border:1px solid var(--line);padding:2px 5px;margin-inline-end:3px;color:#d9e2e1;font-size:9px}.footer-separator{opacity:.35;margin:0 10px}
.results{display:flex;align-items:center;gap:30px;margin-top:27px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:15px 0}.results>div:first-child{margin-inline-end:auto}.results .eyebrow{font-size:8px;display:block;margin-bottom:5px}.results p{margin:0;font-size:12px}.results strong{font-family:"DIN Alternate","Avenir Next",sans-serif;font-size:28px;font-weight:500;font-variant-numeric:tabular-nums;line-height:1;white-space:nowrap}.results #result-note{color:var(--accent);max-width:150px;line-height:1.5;font-size:10px}.results:not([hidden])+.course-layout{padding-top:25px}.results:not([hidden])+.course-layout h1{font-size:clamp(60px,6.5vw,106px)}.results:not([hidden])+.course-layout .course-story>.eyebrow{margin-bottom:18px}
.fps{position:fixed;left:20px;top:9px;z-index:3;font:600 11px/1.4 "Avenir Next",sans-serif;font-variant-numeric:tabular-nums;letter-spacing:.08em;color:rgba(255,255,255,.62);text-shadow:0 1px 4px rgba(0,0,0,.55);background:rgba(12,25,31,.22);padding:6px 9px;pointer-events:none}.loading{position:fixed;inset:0;z-index:6;display:flex;align-items:center;justify-content:center;flex-direction:column;padding:35px;background:rgba(12,25,32,.78);backdrop-filter:blur(20px)}.loading h2{font-family:"DIN Condensed","Avenir Next Condensed",Impact,sans-serif;font-size:clamp(48px,7vw,100px);line-height:.95;text-transform:uppercase;text-align:center;max-width:780px;margin:30px 0 45px}.loading-track{height:2px;width:min(480px,90vw);background:var(--line)}#loading-fill{height:100%;width:0;background:var(--accent);transition:width .15s}#loading-text{color:var(--muted);font-size:12px;margin:20px 0 30px;text-align:center}.error{font-size:12px;color:#f1bea8;line-height:1.6;max-width:560px;white-space:pre-wrap}.no-script{position:fixed;z-index:10;inset:40%;color:white}#replay-banner{position:fixed;bottom:25px;left:50%;transform:translateX(-50%);z-index:3;display:flex;align-items:center;gap:10px;white-space:nowrap;color:#fff;background:rgba(13,27,34,.6);backdrop-filter:blur(8px);padding:12px 17px;font-size:9px;letter-spacing:.14em}#replay-banner>span:last-child{font-size:10px;letter-spacing:0;opacity:.7;margin-inline-start:12px}.replay-dot{width:5px;height:5px;background:var(--accent);border-radius:50%;animation:breathe 2.5s ease-in-out infinite}@keyframes breathe{50%{opacity:.35}}
body[data-phase=riding] .menu,body[data-phase=replay] .menu{opacity:0;visibility:hidden;pointer-events:none}body[data-phase=loading] .menu{visibility:hidden}body[data-phase=replay] #ride-host{pointer-events:none}
@media(min-width:1700px){.menu{padding-top:60px;padding-bottom:35px}.course-layout{gap:10vw}.course-story>.eyebrow{margin-bottom:38px}h1{font-size:145px}.description{font-size:15px;max-width:450px}.course-option{padding-top:30px;padding-bottom:29px}.option-name{font-size:34px}.stats dd{font-size:32px}.course-details{max-width:550px}}
@media(max-width:1000px){.menu{padding:28px 35px 20px}.course-layout{gap:35px;grid-template-columns:minmax(0,1.1fr) minmax(245px,.8fr)}h1{font-size:76px}.description{font-size:12px}.course-option{padding:20px 15px}.option-name{font-size:23px}.stats{gap:8px}.stats dd{font-size:22px}.stats dt{font-size:8px}.course-details{padding-top:24px}.menu-footer{font-size:8px}}
@media(max-width:720px){html,body{overflow:auto}.menu{padding:24px 25px 18px;min-height:100svh;height:100%;}.masthead{justify-content:space-between}.wordmark{font-size:23px}.course-layout{grid-template-columns:1fr;gap:30px;padding:30px 0;min-height:auto;flex:initial}.course-story>.eyebrow{margin-bottom:21px}h1{font-size:clamp(68px,16vw,100px);max-width:600px;margin:20px 0}.description{max-width:460px;margin-bottom:21px}.course-details{padding:0;max-width:none}.detail-heading{font-size:9px}.course-details svg{height:95px;margin-top:13px;preserveAspectRatio:none}.stats{grid-template-columns:repeat(4,1fr);margin-top:18px;padding-top:15px}.stats dd{font-size:25px}.line-note{display:none}.course-list{grid-template-columns:1fr}.course-option,.course-option:first-child,.course-option:last-child{padding:18px 0;border-inline-end:0;border-bottom:1px solid var(--line);grid-template-columns:23px 1fr auto}.course-option:last-child{border-bottom:0}.option-name{font-size:26px}.option-meta{margin-top:5px}.course-option[aria-current=true]:before{width:2px;height:auto;top:0;bottom:0;inset-inline-start:-12px;inset-inline-end:auto}.menu-footer{flex-direction:column;gap:15px;line-height:1.5;margin-top:19px}.results{gap:18px;flex-wrap:wrap;margin-top:24px}.results>div:first-child{width:100%;margin:0}.results #result-note{margin-inline-start:auto}.results:not([hidden])+.course-layout h1{font-size:clamp(65px,15vw,95px)}.primary-button{min-height:49px;width:100%}#replay-banner{font-size:8px;gap:7px;width:max-content;max-width:95vw;flex-wrap:wrap;justify-content:center}#replay-banner>span:last-child{width:100%;text-align:center;margin:0}.fps{left:12px;top:9px}}
@media(max-height:730px) and (min-width:721px){.menu{padding-top:22px;padding-bottom:16px}.course-layout{padding:22px 0;min-height:300px}.course-story>.eyebrow{margin-bottom:15px}h1{font-size:clamp(64px,7.5vw,95px);margin:15px 0 17px}.description{margin-bottom:19px}.course-option{padding-top:16px;padding-bottom:16px}.course-details{padding-top:20px}.course-details svg{height:125px}.stats{margin-top:17px;padding-top:16px}.line-note{margin-top:16px}.results{margin-top:17px;padding:12px 0}.results:not([hidden])+.course-layout h1{font-size:70px}.menu-footer{margin-top:16px}}
@media(prefers-reduced-motion:reduce){*,*:before{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

/* Keep the illustrated mountain crisp until a real ride supplies the backdrop. */
body:not(.has-ride) .menu{background:linear-gradient(90deg,rgba(8,21,28,.32),rgba(8,21,28,.12));backdrop-filter:none;-webkit-backdrop-filter:none}
body:not(.has-ride) .mountain-backdrop svg{opacity:1}
body:not(.has-ride) .mountain-backdrop:after{background:linear-gradient(90deg,rgba(9,23,29,.42),rgba(9,23,29,.06)),linear-gradient(0deg,#0d1d25 0,transparent 65%)}

@media(min-width:721px){.course-option{padding-top:16px;padding-bottom:16px}.course-layout{min-height:320px}.line-note{font:11px/1.7 "Avenir Next",sans-serif;letter-spacing:.02em}.course-details{padding-top:26px}}
@media(max-width:720px){.course-option:nth-child(n){padding:18px 0;border-top:0;border-inline-end:0}.course-option:not(:last-child){border-bottom:1px solid var(--line)}}

/* Player-facing copy stays legible at every viewport size. */
:root{--muted:#c2cecf}
.wordmark span{font-size:12px;letter-spacing:.12em}
.eyebrow,.chapter,.trail-rating>span:last-child,.detail-heading,.detail-heading .eyebrow,.profile-labels,.stats dt,.stats small,.option-number,.option-meta,.menu-footer,.menu-footer kbd,.results .eyebrow,.results #result-note{font-size:14px}
.eyebrow,.detail-heading,.profile-labels{letter-spacing:.1em}
.trail-rating,.text-button,.primary-button,.results p,#loading-text,.error{font-size:16px}
.description{font-size:17px;line-height:1.65;max-width:480px}
.option-meta{line-height:1.5;letter-spacing:0}
.line-note{font:15px/1.65 "Avenir Next",sans-serif;letter-spacing:0}
.fps{font-size:16px}.results #result-note{max-width:190px}.results #result-note.missed{color:var(--warn);font-weight:700}
.course-layout{flex:1 0 auto}.course-story,.course-details{min-width:0}
.course-story>.eyebrow,.trail-rating{flex-wrap:wrap}
.menu-footer{align-items:center;gap:24px;line-height:1.7}
.footer-help{display:flex;flex:1;min-width:0;flex-wrap:wrap;gap:10px 24px;align-items:center;justify-content:space-between}
.footer-separator{margin:0 6px}
.studio-logo{display:block;width:140px;height:auto;flex:none;opacity:.3;pointer-events:none;user-select:none}
.ride-watermark{display:none;position:fixed;left:50%;transform:translateX(-50%);width:126px;bottom:max(4px,env(safe-area-inset-bottom));z-index:4}
body[data-phase=riding] .ride-watermark,body[data-phase=replay] .ride-watermark{display:block}
#replay-banner{font-size:14px;bottom:100px;max-width:calc(100vw - 40px);white-space:normal;flex-wrap:wrap;justify-content:center;text-align:center}
#replay-banner>span:last-child{font-size:14px;opacity:1}
@media(max-width:1000px){.course-option{column-gap:8px}.course-option>.trail-symbol{margin-inline-start:4px}.option-name{font-size:23px}.course-layout{gap:28px}.stats{grid-template-columns:1fr 1.2fr .8fr .6fr;gap:8px}.stats dt{white-space:normal;line-height:1.35;min-height:38px}}
@media(max-width:720px){.masthead{gap:18px;flex-wrap:wrap}.course-layout{flex:initial}.menu-footer{flex-direction:row;align-items:flex-end;flex-wrap:wrap}.footer-help{flex-basis:100%;justify-content:flex-start}.menu-footer .studio-logo{margin-inline-start:auto}.ride-watermark{width:108px}.studio-logo{width:120px}.line-note{display:block;font-size:15px}#replay-banner{bottom:90px}.stats dt{min-height:0}}
@media(max-width:480px){.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px}.course-story>.eyebrow{gap:10px 16px}.trail-rating{gap:8px}.trail-rating>span:last-child{letter-spacing:.04em}.description{font-size:17px}.primary-button{font-size:16px}}
@media(max-height:730px) and (min-width:721px){h1{font-size:72px}.course-layout{padding:18px 0}.course-story>.eyebrow{margin-bottom:12px}.description{margin-bottom:16px}.menu-footer{margin-top:14px}}

.controller-status{flex-basis:100%;font-size:14px;line-height:1.6;color:var(--muted)}
.usb-connect{font-size:14px;padding:2px 0;color:var(--paper);white-space:normal;text-align:start;cursor:pointer}
/* The controls guide: its masthead button, the modal panel and the glyphs. */
.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.key{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;min-width:2.2em;height:2.2em;padding:0 .5em;border:1px solid rgba(243,241,232,.55);border-bottom-width:3px;border-radius:.38em;background:rgba(243,241,232,.08);color:var(--paper);font:650 .8em/1 "Avenir Next",Avenir,sans-serif;letter-spacing:.01em;white-space:nowrap}
.pad-chip{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;width:1.95em;height:1.95em;border:1.5px solid rgba(243,241,232,.8);border-radius:50%;color:var(--paper);font:700 .8em/1 "Avenir Next",Avenir,sans-serif}
.guide-open{display:inline-flex;align-items:center;gap:12px}
.text-button .guide-open-keys{display:inline-flex;align-items:center;gap:6px;margin:0;color:var(--paper);font-size:15px}
.text-button .pad-chip{margin:0;color:var(--paper)}
.guide-open:hover .key,.guide-open:focus-visible .key{border-color:var(--accent)}
.guide-open:disabled{cursor:not-allowed;opacity:.4}

.guide{--gutter:clamp(16px,3vw,48px);box-sizing:border-box;width:min(76em,calc(100vw - 2*var(--gutter)));max-width:none;max-height:calc(100dvh - 2*var(--gutter));margin:auto;padding:0;border:0;background:transparent;color:var(--paper);overflow:hidden;font-size:clamp(14px,min(calc(5px + .78vw),calc(4px + 1.6vh)),28px);line-height:1.45}
.guide[open]{display:flex;flex-direction:column;animation:guide-in .22s ease-out}
.guide::backdrop{background:rgba(6,15,20,.6);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px)}
.guide[open]::backdrop{animation:guide-fade .22s ease-out}
@keyframes guide-in{from{opacity:0;transform:translateY(12px)}}
@keyframes guide-fade{from{opacity:0}}
@media(prefers-reduced-motion:reduce){.guide[open],.guide[open]::backdrop{animation:none}}
.guide-card{position:relative;min-height:0;overflow:auto;padding:1.5em 2em 1.3em;border:1px solid var(--line);background:linear-gradient(180deg,rgba(25,43,51,.97),rgba(13,27,34,.97));box-shadow:0 28px 80px rgba(0,0,0,.45)}
.guide-card:before{content:"";position:absolute;inset:0 0 auto;height:3px;background:var(--accent)}

.guide-head{display:flex;align-items:flex-end;gap:.8em 2.4em;padding-bottom:1em;border-bottom:1px solid var(--line)}
.guide .guide-title .eyebrow{margin:0 0 .35em;font-size:.78em;letter-spacing:.16em;color:var(--accent)}
.guide h2{margin:0;font-family:"DIN Condensed","Avenir Next Condensed",Impact,"Arial Narrow",sans-serif;font-size:3em;font-weight:700;line-height:.9;letter-spacing:-.01em;text-transform:uppercase}
.guide .guide-close{display:inline-flex;align-items:center;gap:.8em;margin-inline-start:auto;padding:.4em 0;font-size:1em}
.guide .guide-close .guide-open-keys{gap:.4em;font-size:.82em}

.guide-groups{--row:minmax(0,1fr) 5.2em 6.6em;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-areas:"ride camera menus" "air run menus";align-content:start;gap:1.3em 2.6em;padding-top:1.2em}
.guide-group[data-group=ride]{grid-area:ride}.guide-group[data-group=air]{grid-area:air}.guide-group[data-group=camera]{grid-area:camera}.guide-group[data-group=run]{grid-area:run}.guide-side{grid-area:menus}
.guide-group[data-group=air] .guide-col,.guide-group[data-group=run] .guide-col{visibility:hidden}
.guide-group-head,.guide-row{display:grid;grid-template-columns:var(--row);column-gap:.8em;align-items:center}
.guide-group-head{align-items:end;padding-bottom:.45em;border-bottom:1px solid var(--line)}
.guide h3{margin:0;font-size:.8em;font-weight:650;letter-spacing:.16em;text-transform:uppercase;color:var(--accent)}
.guide-col{font-size:.68em;letter-spacing:.1em;text-transform:uppercase;color:var(--muted)}
.guide dl{margin:0}
.guide-row{min-height:2.75em;padding:.38em 0;border-bottom:1px solid rgba(235,244,238,.08)}
.guide dt,.guide dd{min-width:0;margin:0}
.guide-action{display:block;font-weight:600}
.guide-detail{display:inline-block;font-weight:400;color:var(--muted);font-size:.88em}
.guide-note{display:block;margin-top:.1em;color:var(--muted);font-size:.76em;line-height:1.35}
.glyphs{display:flex;flex-wrap:wrap;align-items:center;gap:.3em .35em}
.glyph-run{display:inline-flex;align-items:center;gap:.28em;white-space:nowrap}
.sep{color:var(--muted);font-size:.8em;opacity:.7}
.or{margin-inline-end:.15em;color:var(--muted);font-size:.72em}

.guide .key{font-size:.78em}
.key-wide{padding:0 .6em}
.key-cluster{display:inline-grid;grid-template-columns:repeat(3,auto);gap:2px}
.key-cluster .key-up{grid-area:1/2}.key-cluster .key-left{grid-area:2/1}.key-cluster .key-down{grid-area:2/2}.key-cluster .key-right{grid-area:2/3}
.guide .key-mini{min-width:1.75em;height:1.55em;padding:0;border-bottom-width:2px;font-size:.62em}
.guide .key-mouse{min-width:0;padding:0;border:0;background:none}
.key-mouse svg{width:2.2em;height:2.2em}
.key-mouse rect,.key-mouse path{fill:none;stroke:var(--paper);stroke-width:1.6;stroke-linecap:round}
.pad{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;color:var(--paper);font:700 .78em/1 "Avenir Next",Avenir,sans-serif}
.pad svg{display:block;width:2.4em;height:2.4em;overflow:visible}
.pad-button,.pad-bumper,.pad-trigger,.pad-small{border:1.5px solid rgba(243,241,232,.8);background:rgba(243,241,232,.07)}
.pad-button{width:2.2em;height:2.2em;border-radius:50%}
.pad-bumper{min-width:2.7em;height:1.9em;padding:0 .4em;border-radius:.95em .95em .3em .3em}
.pad-trigger{min-width:2.5em;height:2.35em;padding:0 .4em;border-radius:1.2em 1.2em .35em .35em}
.pad-small{height:1.85em;padding:0 .6em;border-radius:1em;font-weight:650;font-size:.7em}
.pad-dpad path{fill:rgba(243,241,232,.1);stroke:rgba(243,241,232,.55);stroke-width:1}
.pad-dpad path.on{fill:var(--paper);stroke:var(--paper)}
.pad-dpad path.hub{fill:rgba(243,241,232,.1);stroke:none}
.pad-stick .ring{fill:rgba(243,241,232,.07);stroke:rgba(243,241,232,.8);stroke-width:1.5}
.pad-stick path{fill:rgba(243,241,232,.2)}.pad-stick path.on{fill:var(--paper)}
.pad-stick text{fill:var(--paper);font:700 8.5px "Avenir Next",Avenir,sans-serif}

.guide-side{display:flex;flex-direction:column;gap:1.2em;min-height:0}
.guide-map{display:flex;flex:1 1 0;flex-direction:column;justify-content:flex-end;gap:.5em;min-height:0;margin:0;contain:size}
.guide-map figcaption{color:var(--muted);font-size:.68em;letter-spacing:.1em;text-transform:uppercase;text-align:center}
.guide-map svg{display:block;flex:0 1 11em;width:100%;min-height:0}
.guide-map .body{fill:rgba(243,241,232,.035);stroke:rgba(243,241,232,.28);stroke-width:1.2}
.guide-map .part{fill:rgba(243,241,232,.07);stroke:rgba(243,241,232,.7);stroke-width:1.3}
.guide-map .part.inner{fill:none;stroke:rgba(243,241,232,.3)}
.guide-map text{fill:var(--paper);font-family:"Avenir Next",Avenir,sans-serif;font-weight:700;text-anchor:middle}

.guide-notes{display:flex;flex-wrap:wrap;gap:.35em 2.2em;margin:1.1em 0 0;padding:.9em 0 0;border-top:1px solid var(--line);list-style:none;color:var(--muted);font-size:.8em}
.guide-notes li:before{content:"";display:inline-block;width:.38em;height:.38em;margin-inline-end:.6em;border-radius:50%;background:var(--accent);vertical-align:.12em}

@media(max-height:760px){.guide-card{padding:1.1em 1.6em 1em}.guide-head{padding-bottom:.7em}.guide h2{font-size:2.5em}.guide-groups{padding-top:.9em;row-gap:1em}.guide-notes{margin-top:.8em;padding-top:.6em}}
@media(max-width:1199px){.guide-groups{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"ride camera" "air menus" "run menus"}.guide-group[data-group=menus] .guide-col{visibility:hidden}.guide-map{display:none}}
@media(max-width:720px){.guide-groups{grid-template-columns:minmax(0,1fr);grid-template-areas:"ride" "air" "camera" "run" "menus"}.guide-card{padding:1.2em 1.1em}.guide h2{font-size:2.4em}}

/* The demo scoreboard: the post panel after a clean finish and the menu's top runs. */
.post-run{flex-shrink:0;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:12px 48px;align-items:start;border-bottom:1px solid var(--line);padding:18px 0}
.post-run-entry{display:flex;flex-wrap:wrap;align-items:center;gap:14px 24px}.post-run-entry>.eyebrow{flex-basis:100%}
.initials{display:flex;gap:10px}
.initial{width:58px;height:68px;padding:0;border:1px solid var(--line);background:rgba(255,255,255,.05);color:var(--paper);font:700 42px/1 "DIN Condensed","Avenir Next Condensed",Impact,sans-serif;text-align:center}
.initial[aria-current=true]{border-color:var(--accent);box-shadow:inset 0 -3px 0 var(--accent)}
.post-run-actions{display:flex;align-items:center;gap:20px}.post-run-submit{min-width:150px;min-height:48px;gap:20px}
.post-run-help{flex-basis:100%;margin:0;color:var(--muted);font-size:14px}.post-run-help kbd{font-family:inherit;border:1px solid var(--line);padding:1px 5px;font-size:13px}
.post-run-email-toggle{font-size:14px;white-space:normal;text-align:start;padding:4px 0}
.post-run-email{flex-basis:100%;display:grid;gap:10px;max-width:520px}
.post-run-field{display:grid;gap:6px;font-size:14px;color:var(--muted)}
.post-run-field input{font:inherit;font-size:16px;color:var(--paper);background:rgba(255,255,255,.06);border:1px solid var(--line);padding:10px 12px}
.post-run-field input:focus-visible,.post-run-age input:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
.post-run-sentence{margin:0;font-size:14px;color:var(--paper)}.post-run-sentence a{color:var(--accent);text-decoration:underline}
.post-run-age{display:flex;gap:10px;align-items:center;font-size:14px}
.post-run-status{grid-column:1;margin:0;min-height:1.5em;font-size:14px;color:var(--accent)}
.post-run-status.warn{font-size:20px;font-weight:700;color:var(--warn)}
.post-run-result{grid-column:2;grid-row:1/span 2}.post-run-rank{margin:0 0 10px;font-size:16px}
.post-run:has(#post-run-entry[hidden]) .post-run-result{grid-column:1/-1;grid-row:auto;max-width:720px}
.score-board{list-style:none;margin:0;padding:0;font-variant-numeric:tabular-nums}
.score-board li{display:grid;grid-template-columns:2.4em 3.4em 1fr auto;gap:10px;padding:5px 0;border-bottom:1px solid var(--line);font-size:14px;color:var(--paper)}
.score-board li.mine{color:var(--accent);font-weight:700}.score-board .board-score{color:var(--muted)}.score-board li.empty{display:block;color:var(--muted)}
.menu-board{margin-top:22px}.menu-board .score-board{margin-top:10px}#menu-board-note{color:var(--muted)}
@media(max-width:720px){.post-run{grid-template-columns:1fr}.post-run-result{grid-column:1;grid-row:auto}.initial{width:52px;height:60px;font-size:36px}}
/* PHONE-2: a touch screen lays a clear text field over the slots, so a tap opens the keyboard. Its 16 px text keeps iOS from zooming in. */
.initials{position:relative}.initials-type,.help-touch{display:none}
body.touch-ui .initials-type{display:block;position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;border:0;opacity:0;font-size:16px}
body.touch-ui .help-keys{display:none}body.touch-ui .help-touch{display:inline}
/* TOUCH-1: with the phone controls drawn, the FPS readout sits beside their Menu button, or under it on a portrait phone, where the clock takes the middle of the top row. */
body.touch-ui .fps{left:86px;top:9px}
@media (max-width:600px){body.touch-ui .fps{left:6px;top:48px;font-size:13px}}
/* SITE-1: the top nav that every page shares. */
.site-nav{display:flex;align-items:center;gap:22px}
.site-nav a{padding:8px 0;border-bottom:1px solid transparent;color:var(--muted);font-size:14px;letter-spacing:.1em;text-transform:uppercase}
.site-nav a:hover,.site-nav a:focus-visible{color:var(--paper)}
.site-nav a[aria-current=page]{color:var(--paper);border-bottom-color:var(--accent)}
@media(max-width:720px){.site-nav{order:3;flex-basis:100%;gap:20px}}
@media(max-width:720px){.site-nav:has([data-lounge]:not([hidden])){flex-wrap:wrap;row-gap:6px}}
@media(max-width:440px){.site-nav:has([data-lounge]:not([hidden])){gap:12px}.site-nav:has([data-lounge]:not([hidden])) a{font-size:13px;letter-spacing:.04em}}
/* PWA-1: the install button, with its steps under it. */
.app-install{position:relative}
.app-install[hidden],.app-install-note[hidden]{display:none}
.app-install-note{position:absolute;top:calc(100% + 10px);inset-inline-end:0;z-index:7;width:max-content;max-width:min(340px,80vw);padding:12px 15px;border:1px solid var(--line);background:linear-gradient(180deg,rgba(25,43,51,.98),rgba(13,27,34,.98));box-shadow:0 18px 50px rgba(0,0,0,.45);color:var(--paper);font-size:13px;line-height:1.55;white-space:normal}
.app-install-note b{font-weight:650;color:var(--accent)}
.share-icon{width:1.15em;height:1.15em;vertical-align:-.2em;fill:none;stroke:var(--accent);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
/* Every 8 s a band of light runs through the label, and a sparkle twinkles at its end. Hover, focus and open steps stop both. */
.text-button .install-label{position:relative;display:inline-block;margin:0;color:inherit}
.text-button .install-glint{position:absolute;inset:0;margin:0;color:transparent;background:linear-gradient(105deg,transparent 38%,rgba(255,240,196,.9) 45%,#fff 50%,rgba(255,240,196,.9) 55%,transparent 62%) 100% 0/250% 100% no-repeat;-webkit-background-clip:text;background-clip:text;filter:drop-shadow(0 0 2px #fff) drop-shadow(0 0 8px rgba(255,248,220,.85));pointer-events:none;animation:install-glint 8s ease-in-out 1.2s infinite}
.install-label::after{content:"";position:absolute;top:-8px;inset-inline-end:-10px;width:13px;height:13px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M12 0C12.9 7.6 16.4 11.1 24 12 16.4 12.9 12.9 16.4 12 24 11.1 16.4 7.6 12.9 0 12 7.6 11.1 11.1 7.6 12 0Z'/%3E%3C/svg%3E") center/contain no-repeat;filter:drop-shadow(0 0 3px rgba(255,255,255,.9));opacity:0;transform:scale(0);pointer-events:none;animation:install-twinkle 8s ease-out 1.2s infinite}
@keyframes install-glint{0%{background-position:100% 0}13%,100%{background-position:0 0}}
@keyframes install-twinkle{0%,10%{opacity:0;transform:scale(0) rotate(0)}14%{opacity:1;transform:scale(1) rotate(45deg)}20%,100%{opacity:0;transform:scale(0) rotate(90deg)}}
.text-button:is(:hover,:focus-visible,[aria-expanded="true"]) .install-glint,.text-button:is(:hover,:focus-visible,[aria-expanded="true"]) .install-label::after{animation:none}
@media(prefers-reduced-motion:reduce){.text-button .install-glint,.install-label::after{animation:none!important}}
/* A phone gives the install button a row under the nav. */
@media(max-width:720px){.app-install,.installed-reward{order:4}.app-install-note{inset-inline-end:auto;inset-inline-start:0}}
/* PWA-2: the slot for the installed players' reward sits in the button's place, and takes no room while empty. */
.installed-reward[hidden],.installed-reward:empty{display:none}
/* PLAY-1: the menu's main call to action. --play is SITE-2a's saturated CTA cyan, which accounts.css keeps to itself because it loads only with accounts on. The button sits outside the centred hero, and its course line keeps one line's height, so enabling it moves nothing. */
:root{--play:#13b9cf}
.play-button{display:flex;flex-shrink:0;align-self:flex-start;align-items:center;gap:16px;width:min(100%,420px);min-height:64px;margin:clamp(20px,3vh,36px) 0 0;padding:10px 26px 10px 20px;padding-inline:20px 26px;border:0;border-radius:4px;background:var(--play);color:#02232a;text-align:start;box-shadow:inset 0 0 0 1px rgba(255,255,255,.22),0 14px 34px -16px rgba(19,185,207,.9);transition:background .15s ease}
.play-button:hover:not(:disabled){background:#5fe3f3}
.play-button:focus-visible{outline:2px solid var(--paper);outline-offset:4px}
.play-button:disabled{opacity:.55}
.play-glyph{flex:none;width:30px;height:30px;fill:currentColor}
.play-text{display:flex;flex-direction:column;min-width:0}
.play-label{font:700 34px/1 "DIN Condensed","Avenir Next Condensed",Impact,"Arial Narrow",sans-serif;letter-spacing:.06em}
.play-course{height:20px;margin-top:3px;overflow:hidden;font-size:15px;font-weight:650;line-height:20px;letter-spacing:.03em;white-space:nowrap;text-overflow:ellipsis}
@media(max-width:720px){.play-button{width:100%;min-height:68px;margin-top:24px}}
@media(max-height:730px) and (min-width:721px){.play-button{min-height:56px;margin-top:14px;padding-top:6px;padding-bottom:6px}.play-label{font-size:30px}}

/* Optional first-ride guidance never gates Play or opens automatically. */
.first-ride{flex-shrink:0;width:min(100%,620px);margin-top:10px;color:var(--muted);font-size:14px;line-height:1.65}
.first-ride summary{width:fit-content;min-height:44px;padding:10px 4px;cursor:pointer;color:var(--paper);font-size:12px;font-weight:650;letter-spacing:.12em}
.first-ride summary::marker{color:var(--accent)}
.first-ride summary:focus-visible,.first-ride a:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.first-ride-tips{padding:2px 0 14px 16px;padding-inline:16px 0;border-inline-start:2px solid var(--accent)}
.first-ride-tips p{margin:0 0 12px}.first-ride-tips strong{color:var(--paper)}
.first-ride-tips a{display:inline-block;min-height:44px;padding:10px 0;color:var(--accent);text-decoration:underline;text-underline-offset:4px}
.first-ride-touch{display:none}body.touch-ui .first-ride-touch{display:block}body.touch-ui .first-ride-keys{display:none}

/* Flag cues beside native language names, with a native select fallback. */
.masthead>.language-picker{margin-inline-start:auto}
.language-picker{display:inline-flex;align-items:center;flex:none;color:var(--muted)}
#language-fallback{display:inline-flex;align-items:center;gap:6px}
.language-globe{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.3}
#language-trigger{display:flex;align-items:center;gap:12px;min-height:44px;padding:8px 12px;border:1px solid var(--line);border-radius:4px;background:rgba(9,23,29,.55);color:var(--paper);font-size:14px}
#language-trigger:hover{border-color:var(--accent)}
#language-current{display:flex;align-items:center;gap:10px}
.language-chevron{color:var(--accent);font-size:20px;line-height:1}
.language-flag{display:block;flex:none;width:32px;height:24px;border-radius:2px;box-shadow:0 0 0 1px rgba(255,255,255,.16)}
.language-menu{width:min(720px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:24px;margin:auto;border:1px solid var(--line);border-top:3px solid var(--accent);border-radius:6px;background:#122730;color:var(--paper);box-shadow:0 28px 80px rgba(0,0,0,.55);overflow:auto}
.language-menu::backdrop{background:rgba(6,15,20,.7);backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px)}
.language-menu-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px;padding-bottom:16px;border-bottom:1px solid var(--line)}
.language-menu h2{margin:0;font-size:26px;line-height:1.2;font-weight:600}
.language-menu-head .text-button{min-height:44px;padding:8px 4px;font-size:14px}
.language-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.language-choice{display:flex;align-items:center;gap:12px;min-height:64px;min-width:0;padding:12px;border:1px solid var(--line);border-radius:4px;background:rgba(255,255,255,.025);text-align:start;font-size:14px;line-height:1.35}
.language-choice bdi{overflow-wrap:anywhere}
.language-choice:hover,.language-choice:focus-visible{background:rgba(149,203,179,.12);border-color:var(--accent)}
.language-choice:focus-visible{outline-offset:2px}
.language-choice[aria-pressed=true]{border-color:var(--accent);background:rgba(149,203,179,.12)}
.language-check{margin-inline-start:auto;color:var(--accent);opacity:0}
.language-choice[aria-pressed=true] .language-check{opacity:1}
@media(max-width:600px){.language-menu{padding:16px}.language-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.language-choice{gap:9px;padding:10px;font-size:13px}.language-choice .language-flag{width:28px;height:21px}.language-check{font-size:12px}}
@media(max-width:350px){.language-choices{grid-template-columns:1fr}}
.language-picker select{font:inherit;font-size:max(12px,1em);letter-spacing:0;color:var(--paper);background:transparent;border:0;border-bottom:1px solid var(--line);padding:4px 2px;cursor:pointer}
.language-picker select:focus-visible{outline:2px solid var(--accent);outline-offset:2px}
.language-picker option{color:var(--paper);background:#101c22}

/* I18N-1: right to left, the page mirrors. The course profile, the key and
   button glyphs, the controller drawing, the initials and signed numbers keep
   their left-to-right order. Decorative arrows turn to point the reading way. */
[dir=rtl] :is(.profile-labels,.glyphs,.key-cluster,.guide-map,.guide-open-keys,.initials){direction:ltr}
[dir=rtl] #chapter{direction:ltr;unicode-bidi:isolate}
[dir=rtl] :is(.text-button,.primary-button:not(.card-watch),.cta)>span[aria-hidden=true]:not(.guide-open-keys),[dir=rtl] .product-go{display:inline-block;transform:scaleX(-1)}
/* Joined scripts break apart under letter spacing; the Latin wordmark keeps its own. */
:lang(ar) body *:not(.wordmark,.wordmark *){letter-spacing:0!important}
/* Camera choices are available while paused, with native keyboard/touch inputs. */
.camera-settings{max-width:560px;margin:16px auto 28px;padding:20px;border:1px solid #78919c66;border-radius:12px;background:#172830e6;color:#f3f1e8;display:grid;grid-template-columns:1fr auto;gap:8px 16px}
.camera-settings-title{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:16px}
.camera-settings h2{margin:0;font-size:22px}.camera-settings label{align-self:center}
.camera-settings input[type=range]{grid-column:1/-1;width:100%;min-height:48px;accent-color:#e4b77c;cursor:pointer}
.camera-settings select,.camera-settings button{min-height:48px;font:inherit}
.camera-settings select{padding:8px 12px;border:1px solid #78919c;border-radius:6px;background:#172830;color:#f3f1e8}
.camera-settings output{font-size:13px;align-self:center}.camera-range-labels{grid-column:1/-1;display:flex;justify-content:space-between;font-size:12px;margin-top:-8px}
.camera-settings p{grid-column:1/-1;margin:0;color:#bccbd1;font-size:13px}
.camera-settings :focus-visible{outline:3px solid #e4b77c;outline-offset:3px}
/* MUSIC-4: the pause menu's Music panel, its developer song picker and the song note over the ride. */
.music-settings{width:100%;grid-template-columns:minmax(0,1fr) auto}.music-settings output{justify-self:end}.music-settings select{grid-column:1/-1;width:100%;min-width:0}
.music-settings .music-now{font-size:13px;color:#bccbd1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:60%}
.music-dev-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.music-dev-actions [role=status]{font-size:13px;color:#bccbd1}
.music-toast{position:fixed;top:max(14px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);z-index:4;max-width:calc(100vw - 32px);padding:10px 16px;border:1px solid #78919c66;border-radius:8px;background:#172830e6;color:#f3f1e8;font:600 14px/1.3 "Avenir Next",sans-serif;letter-spacing:.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;box-shadow:0 8px 24px #0006}
/* RULES-1: the course ratings under the difficulty word. */
.course-ratings{display:grid;grid-template-columns:repeat(3,max-content);gap:6px 26px;margin:14px 0 0}.course-ratings>div{display:grid;gap:5px}.course-ratings dt{font-size:10px;font-weight:650;letter-spacing:.16em;text-transform:uppercase;color:var(--muted)}.course-ratings dd{margin:0;display:flex;align-items:center;gap:8px}.rating-pips{display:flex;gap:2px}.rating-pips i{display:block;width:6px;height:11px;background:var(--line)}.rating-pips i.on{background:var(--accent)}.rating-value{font-size:12px;font-variant-numeric:tabular-nums;color:var(--paper)}
@media(max-width:480px){.course-ratings{gap:6px 16px}.rating-pips i{width:5px}}
/* AUTOPLAY-1: the finish screen's count to the next stage, its buttons and the bar that runs down. */
.next-stage{position:relative;display:flex;flex-wrap:wrap;align-items:center;gap:8px 28px;padding:14px 0 16px;border-bottom:1px solid var(--line)}
.next-stage[hidden]{display:none}
.next-stage-copy{margin-inline-end:auto;min-width:0}
.next-stage .eyebrow{display:block;margin-bottom:4px;color:var(--accent);font-weight:750}
.next-stage-copy p{margin:0;font-size:22px;font-weight:700;line-height:1.3;font-variant-numeric:tabular-nums}
.next-stage-actions{display:flex;gap:8px 24px}
.next-stage .text-button{min-height:44px;color:var(--paper);cursor:pointer}
.next-stage .text-button:is(:hover,:focus-visible){border-bottom-color:var(--accent)}
.next-stage-track{position:absolute;inset-inline:0;bottom:-1px;height:3px;overflow:hidden}
.next-stage-fill{height:100%;background:var(--accent);transform-origin:left center}
.next-stage.paused :is(.next-stage-copy p,.next-stage-fill){opacity:.5}
body.ride-behind[data-phase=loading] .menu{visibility:visible}
body.ride-behind .mountain-backdrop{z-index:4}
.warm-start{flex-shrink:0;margin:8px 0 4px;padding:12px 18px 14px;border:1px solid var(--line);border-radius:10px;background:rgba(9,16,22,.74);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);overflow:hidden}[dir=rtl] .next-stage-fill{transform-origin:right center}
@media(max-width:720px){.next-stage{padding:12px 0 14px}.next-stage-copy{flex-basis:100%}.next-stage-copy p{font-size:19px}}
/* GHOST-1: the finish menu's place and ghost times. */
.result-ghosts{font-size:14px;line-height:1.5}.result-ghosts p{margin:0;font-weight:700}.result-ghosts ul{margin:2px 0 0;padding:0;list-style:none;font-variant-numeric:tabular-nums}
