:root{font-family:Inter,"Segoe UI",sans-serif;color:#edf5f5;background:#143340;font-synthesis:none;--gold:#f5ce90;--ink:#143340}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden}button,a{-webkit-tap-highlight-color:transparent}button{font-family:inherit;font-size:12px;font-weight:600;color:inherit;border:1px solid #d6e9ed50;border-radius:7px;background:#173642d9;padding:11px 16px;cursor:pointer;touch-action:manipulation}button:hover{background:#264b58}button:focus-visible,a:focus-visible{outline:2px solid var(--gold);outline-offset:4px}button[aria-pressed=true]{color:var(--ink);background:var(--gold)}[hidden]{display:none!important}main{position:relative;height:100dvh;width:100%;overflow:hidden}#world{display:block;width:100%;height:100%;touch-action:none;outline:none}header{position:absolute;top:max(22px,env(safe-area-inset-top));left:max(25px,env(safe-area-inset-left));right:max(25px,env(safe-area-inset-right));display:flex;align-items:center;justify-content:space-between;pointer-events:none}.brand{color:#163440;display:flex;gap:10px;align-items:center;text-decoration:none;letter-spacing:.12em;font-weight:750;font-size:12px;pointer-events:auto;text-shadow:0 1px 10px #e4f3f9}.brand img{width:43px;height:43px}.brand small{display:block;font-size:9px;letter-spacing:.18em;font-weight:550;margin-top:5px}.header-actions{display:flex;gap:8px;pointer-events:auto}.score{position:absolute;right:28px;top:94px;text-align:right;color:var(--ink);pointer-events:none;text-shadow:0 1px 12px #e6f7ff}.score>span{display:block;font-size:10px;font-weight:750;letter-spacing:.23em}.score strong{display:block;font:64px Georgia,serif;line-height:1.1}.score small{font-size:11px}.location{position:absolute;left:28px;top:100px;pointer-events:none;text-shadow:0 1px 12px #dceff7;color:var(--ink)}.location>span{font-size:10px;letter-spacing:.2em;font-weight:800}.location small{display:block;font-size:12px;margin-top:7px;max-width:230px;line-height:1.5}.reticle{position:absolute;left:50%;top:50%;width:16px;height:16px;border:1px solid #ffffff90;border-radius:50%;transform:translate(-50%,-50%);pointer-events:none;box-shadow:0 0 2px #143340}.reticle i{position:absolute;width:3px;height:3px;top:5px;left:5px;background:#fff;border-radius:50%}body.aiming .reticle{border-color:var(--gold);width:22px;height:22px}body.aiming .reticle i{top:8px;left:8px;background:var(--gold)}.bottom-bar{position:absolute;bottom:max(20px,env(safe-area-inset-bottom));left:27px;right:27px;display:flex;justify-content:space-between;align-items:center;gap:15px}.bottom-bar span{font-size:11px;color:#143340;font-weight:600;text-shadow:0 1px 10px #fff}.bottom-bar button{font-size:10px;padding:8px 12px}.intro{position:absolute;inset:0;display:flex;align-items:center;padding:8vw;background:linear-gradient(90deg,#173641e8,#17364133 70%);z-index:5}.intro>div{max-width:500px}.eyebrow{font-size:10px;letter-spacing:.25em;color:var(--gold);font-weight:600}.intro h1{font:clamp(48px,7vw,100px)/1 Georgia,serif;margin:20px 0}.intro p{font-size:16px;line-height:1.7;color:#d5e5e9}.intro button{display:block;padding:16px 32px;margin:28px 0 19px;color:#153744;background:var(--gold);font-size:14px;border:0}.intro button:disabled{opacity:.6}.intro small{font-size:9px;letter-spacing:.14em;color:#bed3db}.help{position:absolute;right:26px;top:80px;z-index:6;width:min(365px,calc(100% - 32px));background:#143440f5;border:1px solid #a7c5ce50;border-radius:12px;padding:24px;box-shadow:0 12px 50px #102a4160}.help h2{font:26px Georgia;margin:0 0 14px}.help p{font-size:12px;line-height:1.85;color:#c1d9e0}.help kbd{font:10px "Segoe UI",sans-serif;border:1px solid #b3d1db60;border-radius:3px;padding:2px 5px;margin-right:7px;white-space:nowrap}.help button{width:100%;margin-top:10px}.aim-hud{position:absolute;bottom:70px;left:50%;transform:translateX(-50%);width:280px;background:#153743e8;border:1px solid #f5ce9080;border-radius:8px;padding:13px 17px;pointer-events:none}.aim-hud>div:first-child{display:flex;justify-content:space-between;align-items:center;font-size:11px;gap:10px}.aim-hud span{color:var(--gold);font-size:16px}.aim-hud small{font-size:8px;letter-spacing:.12em;color:#b8d5dc}.power-track{height:4px;margin:10px 0 7px;background:#52717a;border-radius:8px;overflow:hidden}.power-track i{display:block;height:100%;width:0;background:var(--gold)}.catch-toast{position:absolute;top:23%;left:50%;transform:translateX(-50%);text-align:center;pointer-events:none;background:#153440e8;padding:18px 28px;border-radius:10px;border:1px solid #e6c58f70;animation:catch-in .25s ease-out}.catch-toast>span{font-size:9px;letter-spacing:.25em;color:var(--gold)}.catch-toast strong{display:block;font:25px Georgia;margin:8px 0}.catch-toast b{color:var(--gold);margin-left:10px}.catch-toast small{font-size:11px;color:#b9d8df}@keyframes catch-in{from{opacity:0;margin-top:10px}to{opacity:1;margin-top:0}}#loading{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);z-index:8;font-size:11px;display:flex;gap:12px;align-items:center;max-width:90%;white-space:nowrap}.spinner{width:18px;height:18px;border:2px solid #e6f1f440;border-top-color:var(--gold);border-radius:50%;animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.mobile-help,.touch-controls{display:none}.touch-controls{position:absolute;inset:0;pointer-events:none}#joystick{position:absolute;left:max(24px,env(safe-area-inset-left));bottom:max(30px,env(safe-area-inset-bottom));width:128px;height:128px;border:1px solid #f2fcff66;background:#14344025;border-radius:50%;pointer-events:auto;touch-action:none;user-select:none}.stick-label{position:absolute;top:17px;left:0;width:100%;text-align:center;font-size:8px;letter-spacing:.17em;color:#143440aa;pointer-events:none}#stick-knob{position:absolute;left:50%;top:50%;width:53px;height:53px;border-radius:50%;background:#193d4bbe;border:1px solid #d9f4ff90;transform:translate(-50%,-50%);pointer-events:none;box-shadow:0 3px 13px #193d4b30}.touch-actions{position:absolute;right:max(24px,env(safe-area-inset-right));bottom:max(27px,env(safe-area-inset-bottom));width:146px;height:140px}.touch-actions button{position:absolute;pointer-events:auto;touch-action:none;user-select:none;border-radius:50%;width:62px;height:62px;padding:6px;font-size:12px}.touch-actions small{display:block;font-size:8px;margin-top:4px}.touch-actions #aim{right:0;bottom:0;width:78px;height:78px;background:#efc78ae8;color:#153440;border-color:#ffebc6}.touch-actions #jump{left:0;top:0}.touch-actions #run-toggle{right:0;top:0;width:52px;height:46px;border-radius:20px;font-size:10px}.touch-actions button:active{transform:scale(.94)}@media(pointer:coarse),(max-width:800px){.touch-controls,.mobile-help{display:block}.desktop-help,.bottom-bar{display:none}header{top:max(14px,env(safe-area-inset-top));left:max(15px,env(safe-area-inset-left));right:max(15px,env(safe-area-inset-right))}.brand{font-size:10px;gap:6px;letter-spacing:.08em}.brand img{width:32px;height:32px}.brand small{font-size:7px}.header-actions{gap:5px}.header-actions button{font-size:10px;padding:8px 10px}.score{right:17px;top:78px}.score strong{font-size:48px}.score small{font-size:9px}.location{top:80px;left:18px}.location small{font-size:10px;max-width:160px}.location>span{font-size:8px}.intro{padding:30px}.intro h1{font-size:60px}.intro p{font-size:14px}.aim-hud{bottom:185px;width:240px}.catch-toast{top:26%;padding:13px 19px;white-space:nowrap}.help{right:16px;top:62px;padding:18px;max-height:calc(100dvh - 80px);overflow:auto}#loading{white-space:normal;width:max-content;text-align:center}}@media(max-height:500px){.location{top:68px}.score{top:66px}.score strong{font-size:38px}.intro{padding:24px 50px}.intro h1{font-size:48px;margin:12px 0}.intro p{margin:10px 0;font-size:12px}.intro button{margin:15px 0;padding:12px 26px}.aim-hud{bottom:25px;width:220px}.catch-toast{top:20%}#joystick{width:112px;height:112px;bottom:20px}.touch-actions{bottom:15px}.help{top:54px}}

/* Expedition overlays share one compact panel on desktop and touch screens. */
.location strong{display:block;margin-top:13px;font-size:12px;font-weight:650;max-width:260px;line-height:1.5}.location #waypoint{color:#294b54;font-size:11px}.panel{position:absolute;z-index:7;right:24px;top:80px;width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 105px);overflow:auto;overscroll-behavior:contain;padding:22px;background:#153743f5;border:1px solid #b7d6dc60;border-radius:13px;box-shadow:0 15px 65px #112e4b55}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.panel-heading button{font-size:24px;line-height:1;padding:4px 11px;background:transparent;border:0}.panel h2{font:29px Georgia;margin:12px 0}.panel h3{font-size:13px;margin:22px 0 10px}.panel p{font-size:12px;line-height:1.65;color:#c2d9dd}.panel a{color:#f2d59e}.destination-tabs{display:flex;gap:8px;margin:12px 0}.destination-tabs button{flex:1}.map-panel{width:min(570px,calc(100% - 32px))}#map-svg{display:block;width:100%;max-height:48dvh;border-radius:8px;background:#365652}.map-place{cursor:pointer}.map-place:focus{outline:none}.map-place:focus circle{stroke:#fff;stroke-width:3}.waypoint-list{display:flex;flex-wrap:wrap;gap:5px;margin:12px 0}.waypoint-list button{padding:7px 9px;font-size:10px}.travel-row{display:flex;gap:12px;align-items:center;justify-content:space-between;font-size:11px;color:#d0e2e5}.travel-row button{white-space:nowrap;background:#f1ce96;color:#153743}.travel-row button:disabled{opacity:.4;cursor:default}#map-sources{margin-top:16px;font-size:11px;color:#aec9d0}#map-sources summary{cursor:pointer}#map-sources p{font-size:10px}.species-list{list-style:none;padding:0;margin:18px 0}.species-list li{padding:11px 0;border-bottom:1px solid #95b6bd35;color:#a2bfc6}.species-list strong{display:block;font-size:13px}.species-list small{display:block;font-size:11px;line-height:1.5;margin-top:4px}.species-list .collected strong{color:var(--gold)}.discovery-list{list-style:none;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:10px;font-size:11px}.panel .source-note{font-size:10px;color:#9dbcc6}.emotes-panel{width:330px}.emote-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.emote-grid button{padding:20px}.emote-grid small{display:block;margin-top:9px;color:var(--gold)}.zoom-controls{position:absolute;right:27px;top:235px;display:flex;flex-direction:column;align-items:center;gap:6px}.zoom-controls button{font-size:22px;width:40px;height:40px;padding:0}.zoom-controls span{font-size:9px;color:#163b46;text-shadow:0 1px 5px white}.catch-toast{z-index:4;max-width:90%;}.catch-toast strong{font-size:22px}.catch-toast small{display:block;max-width:320px;line-height:1.5}.header-actions button{padding:10px 12px}.brand{flex-shrink:0}.score{top:98px}.score small{display:block}.score strong{font-size:55px}
@media(pointer:coarse),(max-width:800px){header{align-items:flex-start}.header-actions{flex-wrap:wrap;justify-content:flex-end;max-width:210px;gap:4px}.header-actions button{padding:9px 10px;min-height:34px}.brand span{max-width:93px;line-height:1.4}.brand small{font-size:6px;letter-spacing:.08em}.score{top:118px}.score strong{font-size:40px}.location{top:112px}.location strong{font-size:10px;max-width:205px;margin-top:9px}.location #waypoint{font-size:10px}.location #activity{max-width:210px}.zoom-controls{top:auto;right:18px;bottom:200px;gap:5px}.zoom-controls button{width:42px;height:42px}.panel{top:93px;right:16px;padding:17px;max-height:calc(100dvh - 110px)}.panel h2{font-size:26px}#map-svg{max-height:38dvh}.waypoint-list button{min-height:35px}.aim-hud{bottom:195px;left:44%;width:235px}.catch-toast{top:30%;white-space:normal;width:max-content}.help{top:93px;max-height:calc(100dvh - 110px)}}
@media(max-height:500px){.brand span{max-width:none}.header-actions{max-width:none;flex-wrap:nowrap}.score{top:70px}.location{top:68px}.location strong{margin-top:6px;max-width:260px}.location #activity{display:none}.panel,.help{top:57px;max-height:calc(100dvh - 70px)}#map-svg{max-height:55dvh}.map-panel{width:520px}.zoom-controls{top:150px;bottom:auto;right:16px}.zoom-controls button{width:34px;height:34px}.aim-hud{left:50%;bottom:22px;width:220px}.catch-toast{top:18%}.score small{font-size:8px}}

.map-zoom{margin:0 0 12px;font-size:10px;padding:8px 12px}

.location #map-credit{font-size:9px;max-width:260px;line-height:1.65;margin-top:12px}.location #map-credit a{color:inherit;pointer-events:auto}@media(max-height:500px){.location #map-credit{font-size:8px;margin-top:7px}}

/* The game owns the visible viewport; controls respect notches independently. */
html,body{position:fixed;inset:0;overscroll-behavior:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
main{position:fixed;left:0;top:0;width:var(--game-width,100vw);height:var(--game-height,100dvh);max-width:none;max-height:none}
main *,main *::before,main *::after{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
canvas,img,button{-webkit-user-drag:none}#world,.touch-controls,#joystick,.touch-actions button{touch-action:none}
.panel,.help{touch-action:pan-y;max-height:calc(var(--game-height,100dvh) - 100px)}
#map-credit a{color:inherit}.location{background:linear-gradient(90deg,#d4e0dcdd,#d4e0dc00);padding:10px 25px 10px 10px;border-radius:6px}.location #map-credit{font-size:8px;line-height:1.5}.brand{text-shadow:0 1px 3px #f4f5df,0 0 10px #fff}.score{text-shadow:0 1px 2px white,0 0 8px white}
@media(max-height:500px){header{top:max(8px,env(safe-area-inset-top));left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right))}.brand small{display:none}.header-actions{max-width:none;flex-wrap:nowrap}.header-actions button{padding:7px 9px}.location{top:57px;padding:5px 10px;max-width:235px}.location strong{margin-top:4px}.location #map-credit{display:none}.score{top:56px;right:max(18px,env(safe-area-inset-right))}.score strong{font-size:32px}.zoom-controls{top:145px;right:max(22px,env(safe-area-inset-right))}.zoom-controls button{width:32px;height:32px}.panel,.help{top:52px;max-height:calc(var(--game-height,100dvh) - 63px)}.intro{padding:18px max(35px,env(safe-area-inset-left))}.intro h1{font-size:44px;margin:8px 0}.intro p{font-size:12px;line-height:1.5}.intro button{margin:12px 0}.touch-actions{right:max(24px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom))}#joystick{bottom:max(14px,env(safe-area-inset-bottom))}}

@media(max-height:500px){.touch-controls,.mobile-help{display:block}.desktop-help,.bottom-bar{display:none}.touch-controls{z-index:2}.zoom-controls{z-index:3}.location{pointer-events:none}.score{pointer-events:none}}

.ski-hud{position:absolute;right:28px;top:96px;text-align:right;color:#143340;text-shadow:0 1px 3px white,0 0 12px white;pointer-events:none}.ski-hud>span{font-size:10px;letter-spacing:.22em;display:block;font-weight:800}.ski-hud strong{font:60px/1.1 Georgia;display:inline-block;margin-right:7px}.ski-hud>b{font-size:12px}.ski-hud small{display:block;font-size:10px;max-width:200px;line-height:1.5}.skiing .score,.skiing .reticle{display:none}.ski-runs{display:grid;grid-template-columns:1fr 1fr;gap:9px}.ski-runs button{text-align:left;padding:14px}.ski-runs small{display:block;color:#a9c5cd;font-weight:400;font-size:10px;margin-top:7px}#ski-equip{background:var(--gold);color:var(--ink)}#ski-toggle{border-color:#f5ce90a0;color:#f5ce90}@media(max-width:800px){.ski-hud{top:123px;right:17px}.ski-hud strong{font-size:40px}.ski-hud small{max-width:140px}}@media(max-height:500px){.ski-hud{top:60px;right:18px}.ski-hud strong{font-size:36px}.ski-hud small{font-size:9px;max-width:160px}.skiing .location strong{display:none}.skiing .location #activity{display:block}.header-actions button{padding:7px 8px}}

.ride-controls{position:absolute;bottom:85px;left:50%;transform:translateX(-50%);z-index:4;max-width:420px;width:max-content;padding:13px 20px;text-align:center;background:#173944ef;border:1px solid #f3cc8570;border-radius:12px;color:#f7e9cc;box-shadow:0 5px 25px #112f4260}.ride-controls strong{display:block;font:20px Georgia}.ride-controls small{display:block;font-size:11px;margin:7px 0 12px}.ride-controls button{min-height:44px;padding:10px 18px;background:#ecc383;color:#183942}.ride-controls>div{display:flex;justify-content:center;gap:10px}.riding .reticle,.riding .score,.riding .touch-actions,.riding #joystick{display:none}#lift-toggle{color:#f4d59f;border-color:#f4d59f88}@media(max-width:800px){.ride-controls{bottom:170px;max-width:calc(100vw - 32px);padding:10px 15px}.riding .ride-controls{bottom:35px}.header-actions button{font-size:10px;padding:7px 8px}}@media(max-height:500px){.ride-controls{bottom:18px;max-width:310px;padding:8px 12px}.ride-controls strong{font-size:16px}.ride-controls small{font-size:10px;margin:4px 0 7px}.ride-controls button{min-height:40px;padding:8px 12px}.riding .ride-controls{bottom:18px}.header-actions button{padding:7px 6px;font-size:10px}.riding .location strong{display:none}}

.trick-cycle{position:absolute;left:50%;bottom:66px;transform:translateX(-50%);z-index:6;min-height:44px;padding:10px 18px;border-color:#dcb875;background:#173944ed;color:#ffdf9d}.ski-hud #air-score{display:block;font-size:12px;letter-spacing:.08em;color:#785114;margin-top:8px}.ski-runs button[aria-pressed="true"]{border-color:#eec67e;background:#34565c}.ride-controls button:disabled{opacity:.5}.ride-controls>div{flex-wrap:wrap}.riding .trick-cycle{display:none}
@media(max-width:800px),(pointer:coarse){.trick-cycle{bottom:calc(180px + env(safe-area-inset-bottom));max-width:180px;font-size:12px;padding:8px 12px}.ski-hud #air-score{margin-top:3px}.ride-controls{max-width:min(90vw,420px)}}
@media(max-height:500px) and (orientation:landscape){.trick-cycle{bottom:calc(22px + env(safe-area-inset-bottom));max-width:170px}.ride-controls{bottom:calc(20px + env(safe-area-inset-bottom))}}

.stream-status{position:fixed;z-index:100;top:85px;left:50%;transform:translateX(-50%);max-width:90vw;padding:12px 16px;border-radius:12px;background:#153641ee;color:#f3ecd9;font-size:13px}.stream-status button{margin-left:12px}.vehicle-controls{position:fixed;z-index:30;left:50%;bottom:105px;transform:translateX(-50%);display:grid;gap:8px;justify-items:center;padding:12px;background:#173944ee;border:1px solid #81999b;border-radius:12px;color:#f6e6c5;min-width:230px}.vehicle-controls small{font-size:12px}.driving .reticle{display:none}@media(max-width:900px){.vehicle-controls{bottom:110px;max-width:45vw;min-width:170px;padding:8px}.vehicle-controls small{font-size:10px}.stream-status{top:54px}}

@media(max-height:500px) and (orientation:landscape){.vehicle-controls{bottom:18px;gap:4px;padding:6px 10px;min-width:190px;max-width:260px}.vehicle-controls small{font-size:9px}}
