:root{color-scheme:dark;--ivory:#f3edda;--muted:#d0cdbc;--gold:#d9b975;--line:rgba(239,233,209,.3);font-family:Inter,sans-serif;color:var(--ivory);background:#1d3029;font-synthesis:none}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,a,input,select{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button{cursor:pointer;color:inherit;background:none;border:0}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid var(--gold);outline-offset:5px}button:disabled{cursor:wait}[hidden]{display:none!important}#world,#aer-view,.world-vignette{position:fixed;inset:0;width:100%;height:100%;height:100dvh}#aer-view{display:block;touch-action:none}.world-vignette{pointer-events:none;background:linear-gradient(180deg,#0f1b1859,transparent 20%,transparent 72%,#0d1c157a),linear-gradient(90deg,#10201a75,transparent 58%);transition:opacity 1.5s}.aer-header{position:fixed;z-index:10;top:max(32px,env(safe-area-inset-top));left:4vw;right:4vw;display:flex;align-items:flex-start;justify-content:space-between}.aer-wordmark{font-size:13px;letter-spacing:.19em;line-height:1.4;text-shadow:0 1px 8px #18342655}.aer-wordmark span{display:block;font-size:8px;letter-spacing:.23em;margin-top:6px;color:var(--muted)}.aer-header nav{display:flex;align-items:center;gap:26px;font-size:11px;letter-spacing:.05em}.aer-header nav a,.aer-header nav button{padding:8px 0;border-bottom:1px solid transparent;transition:border-color .2s}.aer-header nav a:hover,.aer-header nav button:hover{border-color:var(--gold)}.aer-arrival{position:fixed;z-index:3;top:25%;left:9vw;max-width:690px;transition:opacity .9s,transform 1.2s cubic-bezier(.2,.8,.2,1)}.eyebrow{font-size:9px;letter-spacing:.22em;line-height:1.7;text-transform:uppercase}.aer-arrival .eyebrow{color:var(--gold);margin:0 0 12px}.aer-arrival h1{font:400 clamp(64px,8vw,124px)/.88 'Cormorant Garamond',serif;letter-spacing:.035em;margin:0 0 28px}.aer-arrival h1 span{display:block;font:400 clamp(21px,2.2vw,32px)/1.6 'Cormorant Garamond','Shippori Mincho',serif;letter-spacing:.02em;margin-top:20px}.arrival-description{font-size:12px;line-height:2.1;letter-spacing:.045em;color:var(--muted);max-width:330px}.enter-world{display:flex;gap:38px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--gold);width:240px;padding:18px 0 14px;margin-top:21px;font-size:12px;letter-spacing:.06em;transition:color .25s,width .35s}.enter-world span:last-child{font-size:26px;line-height:1}.enter-world:hover:not(:disabled){width:260px;color:var(--gold)}.enter-world:disabled{opacity:.35}.entry-note{font-size:9px;color:var(--muted);margin-top:13px;letter-spacing:.07em}.fallback-link{font-size:10px;text-decoration:underline;text-underline-offset:5px;margin-top:14px;display:inline-block}.load-state{display:grid;grid-template-columns:1fr auto;gap:10px;width:240px;margin-top:24px;font-size:9px;color:var(--muted);letter-spacing:.07em}.load-state progress{grid-column:1/-1;width:100%;height:1px;border:0;appearance:none;background:#eee3}.load-state progress::-webkit-progress-bar{background:#eee3}.load-state progress::-webkit-progress-value{background:var(--gold)}.load-state progress::-moz-progress-bar{background:var(--gold)}[data-stage=ready] .load-state,[data-stage=ready] .fallback-link{display:none}.world-caption{position:fixed;z-index:2;bottom:34px;left:4vw;right:4vw;display:flex;align-items:center;gap:20px;font-size:8px;letter-spacing:.18em;color:var(--muted)}.world-caption i{height:1px;background:var(--line);flex:1}.journey-ui{opacity:0;pointer-events:none;transition:opacity 1.3s}.journey-ui>*{position:fixed;z-index:5}.location-label{top:120px;left:4vw}.location-label>span{font-size:8px;letter-spacing:.21em;color:var(--gold)}.location-label p{font:400 25px/1.4 'Cormorant Garamond','Shippori Mincho',serif;margin:8px 0;letter-spacing:.04em}.compass{top:123px;right:4vw;display:flex;gap:10px;align-items:center;font-size:9px;letter-spacing:.12em;color:var(--muted)}.compass i{height:10px;width:1px;background:var(--line)}.travel-controls{bottom:max(59px,calc(env(safe-area-inset-bottom) + 35px));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:3px;padding:4px;border:1px solid #e4dfc730;background:#1b302bc4;backdrop-filter:blur(15px);border-radius:2px}.travel-controls button{padding:11px 22px;font-size:10px;letter-spacing:.1em;border:1px solid transparent}.travel-controls button[aria-pressed=true]{border-color:#dac1917a;background:#e5d7b01a;color:var(--gold)}#pause-toggle{bottom:72px;right:4vw;font-size:10px}.journal-toggle{bottom:72px;left:4vw;display:flex;gap:16px;font-size:10px;letter-spacing:.04em}.journal-toggle span:last-child{color:var(--gold);font-size:9px}.control-hint{bottom:12px;left:50%;transform:translateX(-50%);font-size:8px;letter-spacing:.055em;color:var(--muted);white-space:nowrap}.world-notice{left:50%;top:24%;transform:translate(-50%,-5px);font:400 22px 'Cormorant Garamond','Shippori Mincho',serif;letter-spacing:.06em;text-shadow:0 1px 14px #233a2a;opacity:0;transition:opacity .7s,transform .7s;text-align:center;pointer-events:none}.world-notice.show{opacity:1;transform:translate(-50%,0)}#place-action{bottom:140px;left:50%;transform:translateX(-50%);padding:12px 24px;border:1px solid var(--line);background:#233a30bb;backdrop-filter:blur(10px);font-size:11px;letter-spacing:.06em}body[data-stage=exploring] .aer-arrival{opacity:0;transform:translateY(20px);pointer-events:none}body[data-stage=exploring] .journey-ui{opacity:1;pointer-events:auto}body[data-stage=exploring] .world-caption{display:none}body[data-stage=exploring] .world-vignette{opacity:.55}.touch-controls{display:none}dialog{position:fixed;padding:44px 38px 34px;border:1px solid #d2bb8b55;background:linear-gradient(145deg,#23382f,#172b25);color:var(--ivory);box-shadow:0 30px 100px #061c2499;width:min(440px,calc(100vw - 36px));max-height:calc(100dvh - 70px);overflow:auto;border-radius:2px}dialog::backdrop{background:#061c2459;backdrop-filter:blur(8px)}dialog .dialog-close{position:absolute;right:16px;top:10px;font:300 29px Inter;padding:5px 10px;color:var(--muted)}dialog .eyebrow{color:var(--gold);margin:0 0 15px}dialog h2{font:400 34px/1.25 'Cormorant Garamond','Shippori Mincho',serif;margin:0 0 30px}dialog>p:not(.eyebrow){font-size:11px;line-height:2;color:var(--muted)}dialog label{display:block;font-size:11px;margin:22px 0 16px}input[type=range]{width:100%;accent-color:var(--gold)}select{width:100%;padding:12px;background:#1b2d26;color:var(--ivory);border:1px solid var(--line);font-size:11px}.text-button{font-size:11px;display:inline-block;margin-top:27px;border-bottom:1px solid var(--gold);padding:10px 0;text-align:left}.settings-note{margin-top:24px}.locale{display:flex;gap:23px;margin-top:24px;font-size:11px}.locale [aria-current]{color:var(--gold);text-decoration:underline;text-underline-offset:6px}#wind-record{display:flex;list-style:none;padding:0;gap:15px;margin:25px 0}#wind-record li{display:grid;place-items:center;border:1px solid #eee5;color:#eee8;border-radius:50%;width:34px;height:34px;font:italic 15px 'Cormorant Garamond',serif}#wind-record li.found{background:#d5bb711f;border-color:var(--gold);color:var(--gold)}.journal-places{border-top:1px solid var(--line);margin-top:25px}.journal-place{padding:15px 0;border-bottom:1px solid var(--line);display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:11px}.journal-place span{max-width:70%;line-height:1.8}.journal-place button{color:var(--gold);font-size:10px}.skip-link{position:fixed;z-index:99;left:15px;top:-80px;background:#1d3029;padding:14px}.skip-link:focus{top:10px}.no-script{position:fixed;z-index:50;inset:0;background:#1d3029;display:grid;align-content:center;justify-items:center;padding:30px;text-align:center}.no-script a{text-decoration:underline;padding:20px}#world-error{max-width:320px;font-size:12px;line-height:1.8;color:#ffdca6}body[data-stage=error] .load-state{display:none}
@media(max-width:700px){.aer-header{top:max(22px,env(safe-area-inset-top));left:22px;right:22px}.aer-wordmark{font-size:10px;letter-spacing:.12em}.aer-wordmark span{font-size:6px}.aer-header nav{gap:14px;font-size:9px}.aer-header nav button{font-size:9px}.aer-arrival{left:9vw;top:25%;max-width:82vw}.aer-arrival h1{font-size:clamp(52px,12vw,85px);margin-bottom:23px}.aer-arrival h1 span{font-size:24px;margin-top:17px}.aer-arrival .eyebrow{font-size:7px}.arrival-description{font-size:11px;line-height:1.9}.enter-world{margin-top:13px;width:210px}.entry-note{font-size:8px}.world-caption{left:22px;right:22px;bottom:24px;gap:12px;font-size:6px}.location-label{left:22px;top:99px}.location-label p{font-size:20px}.location-label>span{font-size:7px}.compass{top:110px;right:22px;font-size:7px}.travel-controls{bottom:max(35px,calc(env(safe-area-inset-bottom) + 18px));gap:0;padding:3px}.travel-controls button{padding:10px 16px;font-size:9px}.control-hint{bottom:4px;font-size:6px}.journal-toggle{left:22px;bottom:100px;font-size:9px;gap:10px}#pause-toggle{right:22px;bottom:100px;font-size:9px}#place-action{bottom:200px;width:max-content;max-width:85vw;font-size:10px}.world-notice{top:27%;width:80vw;font-size:18px}dialog{padding:40px 27px 28px}dialog h2{font-size:29px}}
@media(pointer:coarse){.touch-controls{display:contents}#joystick{position:fixed;bottom:150px;left:25px;width:86px;height:86px;border:1px solid #eee5;border-radius:50%;background:#17342c44;touch-action:none}#joystick span{position:absolute;left:29px;top:29px;width:26px;height:26px;border-radius:50%;border:1px solid #ddd8;background:#e6d5a733;pointer-events:none}.touch-height{position:fixed;right:25px;bottom:145px;display:grid;gap:12px}.touch-height button{width:42px;height:42px;border:1px solid #eee5;border-radius:50%;font-size:20px;background:#17342c44;touch-action:none}.control-hint{display:none}}
@media(max-height:550px){.aer-arrival{top:22%;left:8vw}.aer-arrival h1{font-size:70px;margin-bottom:12px}.aer-arrival h1 span{font-size:19px;margin-top:9px}.arrival-description{display:none}.aer-arrival .eyebrow{font-size:7px}.enter-world{padding:10px 0;margin-top:8px}.entry-note{margin:9px 0}.location-label{top:85px}.compass{top:90px}.travel-controls{bottom:23px}#joystick{bottom:80px}.touch-height{bottom:75px}.journal-toggle,#pause-toggle{bottom:33px}#place-action{bottom:95px}.control-hint{display:none}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}

/* A readable sheet remains visible until the first finished landscape frame. */
:root{background:#f4f1e9}
body[data-stage=loading],body[data-stage=error]{color-scheme:light;background:#f4f1e9;color:#283e35}
body[data-stage=loading] #world,body[data-stage=loading] .world-vignette,body[data-stage=error] #world,body[data-stage=error] .world-vignette{opacity:0;visibility:hidden}
#world{transition:opacity .65s ease}
body[data-stage=loading] #arrival,body[data-stage=loading] .world-caption,body[data-stage=error] #arrival,body[data-stage=error] .world-caption,body:not([data-stage=exploring]) .journey-ui{visibility:hidden;pointer-events:none}
body:is([data-stage=loading],[data-stage=error]) .aer-header{color:#283e35}
body:is([data-stage=loading],[data-stage=error]) .aer-wordmark{text-shadow:none}
body:is([data-stage=loading],[data-stage=error]) .aer-wordmark span{color:#657567}
body:is([data-stage=loading],[data-stage=error]) :is(#sound-toggle,#settings-toggle){display:none}
.loading-screen{display:grid;place-items:center;padding:110px 8vw 65px;transition:opacity .65s ease,visibility .65s ease;overflow:auto}
.loading-sheet{width:min(1060px,100%);position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;gap:35px}
.loading-copy{position:relative;grid-area:1/1;z-index:1;max-width:400px}.loading-kicker{font-size:10px;letter-spacing:.13em;color:#617268;margin:0 0 21px}.loading-copy h1{font:400 clamp(58px,6.7vw,94px)/1 'Cormorant Garamond',Georgia,serif;letter-spacing:-.025em;margin:0 0 28px}.loading-message{font-size:16px;line-height:1.8;font-weight:500;margin:0 0 9px}.loading-description{font-size:12px;line-height:1.9;color:#657567;margin:0;max-width:32ch}
.loading-contours{grid-area:1/2;width:132%;margin-left:-8%;max-height:470px;overflow:visible;color:#a6b29a;stroke-width:1;opacity:.68}.loading-waterline{color:#7e9e94;opacity:.8}
.loading-copy .load-state{width:100%;margin-top:38px;gap:15px;font-size:11px;letter-spacing:.025em;color:#546859;align-items:end;line-height:1.7}.load-percentage{display:flex;gap:4px;align-items:baseline;color:#283e35;font-variant-numeric:tabular-nums}.load-percentage #load-number{font-size:19px;line-height:1}.load-percentage>span:last-child{font-size:10px}.loading-copy progress{height:2px;background:#d9ddd0}.loading-copy progress::-webkit-progress-bar{background:#d9ddd0}.loading-copy progress::-webkit-progress-value{background:#587568}.loading-copy progress::-moz-progress-bar{background:#587568}
.loading-copy .fallback-link{margin-top:35px;font-size:12px;display:inline-flex;align-items:center;gap:24px;min-height:44px;text-decoration:none;border-bottom:1px solid #869580}.loading-copy .fallback-link:after{content:'↗';font-size:19px}.loading-copy a:focus-visible,body[data-stage=loading] .aer-header a:focus-visible{outline-color:#587568}
body:is([data-stage=ready],[data-stage=exploring]) .loading-screen{opacity:0;visibility:hidden;pointer-events:none}
body[data-stage=error] .loading-message,body[data-stage=error] .loading-description{display:none}.loading-copy #world-error{color:#594b36;max-width:38ch;font-size:14px;line-height:1.9}
.no-script{background:#f4f1e9;color:#283e35;font:14px/1.8 Inter,sans-serif}.no-script h1{font:400 64px/1 'Cormorant Garamond',Georgia,serif;margin:0 0 25px}.no-script p{max-width:40ch;margin:5px 0}.no-script a{font-size:16px}.skip-link{background:#f4f1e9;color:#283e35}
@media(max-width:700px){.loading-screen{padding:110px 26px 40px;align-items:center}.loading-sheet{grid-template-columns:1fr;gap:10px;max-width:390px}.loading-copy{grid-area:2/1;max-width:100%}.loading-contours{grid-area:1/1;width:100%;height:160px;max-height:160px;margin:0;opacity:.62}.loading-kicker{display:none}.loading-copy h1{font-size:64px;margin-bottom:24px}.loading-message{font-size:15px}.loading-description{font-size:12px}.loading-copy .load-state{margin-top:29px}.loading-copy .fallback-link{margin-top:24px}}
@media(max-height:600px){.loading-screen{padding-top:90px;padding-bottom:25px}.loading-sheet{grid-template-columns:1fr 1fr;gap:24px}.loading-copy{grid-area:1/1}.loading-contours{grid-area:1/2;max-height:250px;height:auto}.loading-kicker{display:none}.loading-copy h1{font-size:54px;margin-bottom:16px}.loading-message{font-size:13px;margin-bottom:5px}.loading-description{font-size:11px}.loading-copy .load-state{margin-top:19px;gap:9px}.loading-copy .fallback-link{margin-top:12px;font-size:11px;min-height:36px}}
@media(max-width:420px) and (max-height:650px){.loading-screen{padding-top:96px;align-items:start}.loading-sheet{display:block}.loading-contours{position:absolute;right:-6px;top:-25px;width:130px;height:90px;opacity:.32}.loading-copy h1{font-size:54px;padding-top:18px}.loading-copy{max-width:100%}.loading-description{font-size:11px}}

/* Keep all four movement modes available on narrow screens. */
.travel-controls{max-width:calc(100vw - 36px)}.travel-controls button{padding-inline:18px;white-space:nowrap}
@media(max-width:700px){.travel-controls button{padding-inline:12px;font-size:9px}.travel-controls{max-width:calc(100vw - 30px)}}
@media(max-width:370px){.travel-controls button{padding-inline:9px;font-size:8px;letter-spacing:0}.travel-controls{max-width:calc(100vw - 24px)}}
@media(max-height:400px){.travel-controls button{padding:8px 12px;font-size:9px}.travel-controls{bottom:20px}.journal-toggle,#pause-toggle{bottom:22px;font-size:9px}}
.no-script{overflow:auto}

.no-script h1{font-size:clamp(40px,13vw,64px);max-width:100%;letter-spacing:-.025em}

body:is([data-stage=ready],[data-stage=exploring]){background:#1d3029;color:var(--ivory)}

/* Flight assistance supplements the existing left-hand stick. */
.robot-controls{position:fixed;right:4vw;bottom:145px;z-index:12;width:230px;padding:12px;background:#1b302be8;border:1px solid #e4dfc744;border-radius:4px;color:var(--ivory);backdrop-filter:blur(14px);font:11px/1.45 Inter,sans-serif;box-shadow:0 8px 28px #10201a26;touch-action:manipulation}
.robot-control-head{display:flex;justify-content:space-between;gap:10px;align-items:center;margin-bottom:10px}.robot-control-head strong{font-size:10px;letter-spacing:.03em;font-weight:500}.robot-control-head button{font-size:10px;min-height:34px;border:1px solid var(--line);padding:6px 9px;border-radius:3px;white-space:nowrap}.robot-control-head button[aria-pressed=true]{color:var(--gold);border-color:var(--gold);background:#e5d7b016}
.robot-control-holds{display:grid;grid-template-columns:1fr 1fr;gap:5px}.robot-control-holds button{min-height:42px;padding:8px 5px;border:1px solid #d8d9c94d;border-radius:3px;font-size:11px;background:#f4eddc0b;touch-action:none;user-select:none;-webkit-user-select:none}.robot-control-holds button.held{background:#d9b97538;border-color:var(--gold);color:#fff3cf}.robot-controls button:disabled{cursor:default;opacity:.45}.robot-gyro-controls{display:flex;justify-content:flex-end}.robot-gyro-controls button{min-height:32px;font-size:10px;color:var(--gold);text-decoration:underline;text-underline-offset:4px}.robot-control-status{font-size:9px;line-height:1.6;color:#d0d4c5;margin:9px 0 0;min-height:28px;overflow-wrap:anywhere}
@media(max-width:700px){.robot-controls{right:16px;bottom:150px;width:188px;padding:9px}.robot-control-head{gap:5px;margin-bottom:6px}.robot-control-head strong{font-size:9px}.robot-control-head button{font-size:9px;padding:5px 6px;min-height:32px}.robot-control-holds button{font-size:10px;min-height:40px}.robot-control-status{font-size:8px;line-height:1.5;margin-top:7px}.robot-gyro-controls button{font-size:9px;min-height:30px}}
@media(max-width:350px){.robot-controls{right:13px;width:180px}.robot-control-head strong{font-size:8px}}
@media(max-height:500px) and (orientation:landscape){.robot-controls{right:18px;bottom:80px;width:225px;padding:8px}.robot-control-head{margin-bottom:4px}.robot-control-holds{grid-template-columns:repeat(4,1fr);gap:4px}.robot-control-holds button{min-height:37px;font-size:8px;padding:5px 3px}.robot-control-status{min-height:0;font-size:8px;line-height:1.35;margin-top:6px}.robot-gyro-controls button{min-height:25px;font-size:9px}body[data-mode=robot] .compass{top:77px}body[data-mode=robot] #place-action{display:none}}
@media(max-width:700px) and (max-height:550px){.journal-toggle,#pause-toggle{bottom:64px}#joystick{bottom:88px}}
@media(max-height:350px) and (orientation:landscape){body[data-mode=robot] .location-label{top:76px}}
@media(max-width:700px) and (max-height:550px) and (orientation:portrait){.robot-controls{bottom:108px}}

/* Distinct directions remain visible without hiding the continuous drag control. */
#joystick [data-direction]{display:none}
@media(pointer:coarse){
 #joystick{width:132px;height:132px;border:0;border-radius:0;background:none;left:14px;user-select:none;-webkit-user-select:none}
 #joystick span{left:54px;top:54px;width:24px;height:24px;opacity:.8}
 #joystick [data-direction]{display:grid;place-items:center;position:absolute;width:44px;height:44px;border:1px solid #eee7;border-radius:8px;background:#19392ee8;color:#fff5de;font-size:24px;line-height:1;touch-action:none;padding:0}
 #joystick [data-direction=up]{left:44px;top:0}#joystick [data-direction=down]{left:44px;top:88px}
 #joystick [data-direction=left]{left:0;top:44px}#joystick [data-direction=right]{left:88px;top:44px}
 #joystick [data-direction].held{background:#b4934d;color:#132820;border-color:#ffe6a8}
 .touch-height button{width:44px;height:44px;background:#19392ee8}
 .travel-controls button{font-size:12px;padding-inline:10px;letter-spacing:0;min-height:44px}
 .robot-control-holds button{font-size:12px;min-height:44px}
 .journal-toggle,#pause-toggle{font-size:12px;min-height:44px}
 .journal-toggle{flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;line-height:1.2}#found-count{font-size:11px}
}
@media(pointer:coarse) and (max-width:350px){.robot-controls{width:148px;right:14px}.robot-control-head strong{display:none}.robot-control-head{justify-content:flex-end}.travel-controls button{padding-inline:8px}}
@media(pointer:coarse) and (max-height:550px) and (orientation:landscape){#joystick{bottom:84px}.journal-toggle,#pause-toggle{bottom:22px;min-height:44px}.travel-controls{bottom:20px}}
@media(pointer:coarse) and (max-height:550px) and (orientation:portrait){#joystick,.robot-controls{bottom:136px}.journal-toggle,#pause-toggle{bottom:80px}body[data-mode=robot] .compass{left:22px;right:auto;top:88px}}
@media(pointer:coarse) and (max-height:550px) and (orientation:landscape){.journal-toggle{flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;line-height:1.2}}
