@font-face{font-family:Schibsted Grotesk;font-style:normal;font-weight:400 900;font-display:swap;src:url(/fonts/schibsted-grotesk.woff2) format("woff2")}@font-face{font-family:Spline Sans Mono;font-style:normal;font-weight:400 600;font-display:swap;src:url(/fonts/spline-sans-mono.woff2) format("woff2")}:root{--abyss:#06161f;--hull:#0c2733;--foam:#f3f8f6;--mist:#a9bfc4;--signal:#ffd84d;--glass:rgb(8 26 36/.72);--fill:rgb(243 248 246/.08);--line:rgb(243 248 246/.14);--sans:"Schibsted Grotesk",system-ui,sans-serif;--mono:"Spline Sans Mono",ui-monospace,monospace;--radius:16px;--radius-large:24px;--edge:16px;--bottom:calc(var(--edge) + env(safe-area-inset-bottom,0px));--ease:cubic-bezier(.2,.7,.2,1);font-family:var(--sans);font-size:15px;line-height:1.5;color:var(--foam);background:var(--abyss);font-synthesis:none;-webkit-font-smoothing:antialiased}*{box-sizing:border-box}body{margin:0;overflow:hidden;overscroll-behavior:none}h1,h2,p,dl,dd{margin:0}button,input{font:inherit}button{cursor:pointer;color:inherit;border:0;background:none;padding:0;transition:background .18s,transform .18s,opacity .18s}button:active:not(:disabled){transform:scale(.97)}button:disabled{cursor:default}button,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}:focus-visible{outline:2px solid var(--signal);outline-offset:3px}svg{width:20px;height:20px;flex-shrink:0}.hidden{display:none!important}.readout{font-family:var(--mono);font-variant-numeric:tabular-nums;font-size:12px;letter-spacing:.04em;color:var(--mist)}.label{display:flex;align-items:center;gap:6px;font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.08em;text-transform:uppercase;color:var(--mist)}.label svg{width:14px;height:14px}.caption{font-size:13px;color:var(--mist)}kbd{font-family:var(--mono);font-size:12px;font-weight:500;padding:3px 7px;border-radius:6px;background:var(--fill);color:var(--foam);white-space:nowrap}.icon-button,.world-label,.waypoint,.mission-hud,.hint,.rov-tools>button,.stick,.touch-actions button,.touch-depth button,.station-panel,#toast{background:var(--glass);border:1px solid var(--line);-webkit-backdrop-filter:blur(22px) saturate(1.5);backdrop-filter:blur(22px) saturate(1.5)}.icon-button{width:44px;height:44px;display:grid;place-items:center;border-radius:50%}@media(hover:hover){.icon-button:hover{background:#081a24e6}}.primary-button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:52px;padding:0 20px;border-radius:14px;background:var(--signal);color:var(--abyss);font-size:16px;font-weight:700}@media(hover:hover){.primary-button:hover{background:#ffe27a}}.quiet-button{display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;font-size:15px;font-weight:600;color:var(--mist)}@media(hover:hover){.quiet-button:hover{color:var(--foam)}}.quiet-button svg{width:16px;height:16px}.progress-track{height:4px;border-radius:2px;background:var(--fill);overflow:hidden}.progress-track i{display:block;height:100%;width:0;background:var(--signal);transition:width .12s}#world{position:fixed;inset:0;display:block;width:100%;height:100%;outline:none}.scrim{position:fixed;inset:0;pointer-events:none;background:linear-gradient(to top,rgb(6 22 31/.88),rgb(6 22 31/.4) 42%,transparent 68%),linear-gradient(to bottom,rgb(6 22 31/.55),transparent 20%);transition:opacity .5s}.playing .scrim{opacity:0}#travel-wash{position:fixed;inset:0;z-index:40;pointer-events:none;background:var(--abyss);opacity:0;transition:opacity .2s}#travel-wash.active{opacity:1}.mark{display:grid;place-items:center;width:44px;height:44px;margin-left:-10px}.mark svg{width:22px;height:auto;fill:var(--signal)}.masthead{position:fixed;inset:0 0 auto;z-index:20;display:flex;align-items:center;justify-content:space-between;padding:calc(var(--edge) - 4px + env(safe-area-inset-top,0px)) var(--edge) 0;transition:opacity .4s,visibility .4s}.masthead nav{display:flex;align-items:center;gap:2px}.link{display:flex;align-items:center;gap:4px;min-height:44px;padding:0 8px;font-size:15px;font-weight:600}@media(hover:hover){.link:hover{color:var(--signal)}}.link svg{width:16px;height:16px}.playing .masthead{opacity:0;visibility:hidden}.intro{position:fixed;left:var(--edge);right:var(--edge);bottom:calc(var(--bottom) + 16px);z-index:5;transition:opacity .4s,transform .6s var(--ease)}.playing .intro{opacity:0;transform:translateY(24px);pointer-events:none}.intro h1{font-size:clamp(56px,18vw,136px);font-weight:800;line-height:.88;letter-spacing:-.05em}.intro p{max-width:34ch;margin:20px 0 24px;font-size:17px;line-height:1.45;color:#f3f8f6db}.world-label{position:fixed;left:0;top:0;z-index:3;display:flex;align-items:center;gap:8px;min-height:40px;padding:0 14px;border-radius:20px;font-size:14px;font-weight:600;white-space:nowrap;will-change:transform}.world-label i{width:9px;height:9px;border-radius:50%;background:var(--station)}@media(hover:hover){.world-label:hover{background:#081a24e6}}.playing #world-labels{display:none}.hud-top{position:fixed;z-index:6;top:calc(var(--edge) + env(safe-area-inset-top,0px));left:var(--edge);display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:min(320px,calc(100vw - var(--edge)*3 - 104px))}.waypoint{display:flex;align-items:center;gap:8px;max-width:100%;height:40px;padding:0 14px 0 10px;border-radius:20px;font-size:14px}.waypoint strong{font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.waypoint>span:last-child{font-family:var(--mono);font-size:13px;color:var(--mist);white-space:nowrap}#waypoint-arrow{display:grid;color:var(--signal);transition:transform .1s linear}#waypoint-arrow svg{width:18px;height:18px;fill:currentColor}.mission-hud{width:100%;padding:4px 10px 12px 16px;border-radius:var(--radius)}.mission-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.mission-hud h2{font-size:16px;font-weight:700;line-height:1.25}.mission-hud .quiet-button{min-width:44px;font-size:14px}.mission-hud p{font-size:14px;line-height:1.4;color:var(--mist);margin:2px 0 10px}.mission-hud .readout{display:block;margin-top:8px}#countdown{position:fixed;inset:0;z-index:8;display:grid;place-items:start center;padding-top:14dvh;pointer-events:none;font-size:clamp(96px,30vw,200px);font-weight:900;letter-spacing:-.05em;text-shadow:0 8px 40px rgb(6 22 31/.6)}.hint,.action-prompt,.rov-tools{position:fixed;left:50%;transform:translate(-50%);bottom:calc(var(--bottom) + 8px);z-index:6}.hint{padding:10px 16px;border-radius:20px;font-size:14px;font-weight:500;white-space:nowrap;pointer-events:none}.action-prompt button{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 18px;border-radius:24px;background:var(--signal);color:var(--abyss);font-size:16px;font-weight:700;white-space:nowrap;box-shadow:0 8px 28px #06161f59}.action-prompt kbd{background:#06161f24;color:var(--abyss)}.rov-tools{display:flex;gap:8px;white-space:nowrap}.rov-tools>button{display:flex;align-items:center;gap:8px;min-height:48px;padding:0 18px;border-radius:24px;font-size:15px;font-weight:600}#scan-button{background:var(--signal);color:var(--abyss);border-color:transparent}.telemetry{display:grid;margin:4px 0 0 4px;grid-template-columns:auto 1fr;align-items:baseline;justify-content:start;column-gap:8px;pointer-events:none;text-shadow:0 2px 12px rgb(6 22 31/.7)}#speed{font-size:30px;font-weight:500;line-height:1;letter-spacing:-.02em;color:var(--foam)}#speed-unit{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.08em;color:#f3f8f6cc}.boost-track{grid-column:1/-1;width:120px;height:4px;margin-top:8px;border-radius:2px;background:#06161f73;overflow:hidden}.boost-track i{display:block;height:100%;background:var(--signal);transition:width .1s}.boosting .boost-track{box-shadow:0 0 14px var(--signal)}.chart-shell{position:fixed;z-index:12;top:calc(var(--edge) + env(safe-area-inset-top,0px));right:var(--edge);width:104px;height:104px;transition:width .3s var(--ease),height .3s var(--ease)}body:not(.playing) .chart-shell{display:none}.chart-face{position:absolute;inset:0;display:flex;flex-direction:column;overflow:hidden;border-radius:20px;border:1px solid var(--line);background:#0b2a36;box-shadow:0 10px 30px #06161f59}.chart-map{position:relative;aspect-ratio:1}#minimap{display:block;width:100%;height:100%}.chart-header,.chart-tools{display:none}.chart-header{flex-direction:column;justify-content:center;height:64px;padding:0 64px 0 16px;font-size:16px;line-height:1.3}.chart-nodes{position:absolute;inset:0;pointer-events:none}.chart-node{position:absolute;transform:translate(-50%,-50%);width:44px;height:44px;display:grid;place-items:center}.chart-node:active:not(:disabled){transform:translate(-50%,-50%)}.chart-node i{display:grid;place-items:center;width:9px;height:9px;border-radius:50%;background:var(--station);color:var(--abyss);font:600 0/1 var(--mono);box-shadow:0 0 0 2px #0b2a36;transition:width .3s,height .3s}.chart-node span{position:absolute;left:50%;top:calc(50% + 16px);transform:translate(-50%);font-size:12px;font-weight:600;white-space:nowrap;opacity:0;text-shadow:0 1px 6px #0b2a36}.chart-node.completed i{background:var(--foam)}.chart-node:focus-visible{outline:none}.chart-node:focus-visible i{outline:2px solid var(--signal);outline-offset:3px}.chart-tools{justify-content:center;align-items:center;gap:8px;height:64px}.chart-tools button{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;background:#06161fb3;border:1px solid var(--line)}.chart-toggle{position:absolute;inset:0;display:grid;place-items:end;padding:8px;border-radius:20px}.chart-toggle svg{width:16px;height:16px;opacity:.75}.chart-shell.expanded{--size:min(480px,calc(100vw - var(--edge)*2),calc(100dvh - var(--edge)*2 - 128px));width:var(--size);height:calc(var(--size) + 128px)}.expanded .chart-nodes{pointer-events:auto}.expanded .chart-node i{width:26px;height:26px;font-size:11px}.expanded .chart-node span{opacity:1}.expanded :is(.chart-header,.chart-tools){display:flex}.expanded .chart-toggle{inset:10px 10px auto auto;width:44px;height:44px;padding:0;place-items:center;border-radius:50%;background:#06161fb3;border:1px solid var(--line)}.map-open .hud-top,.map-open .touch-controls{opacity:.2;pointer-events:none}.touch-controls{display:none}.stick{position:absolute;left:0;bottom:0;width:136px;height:136px;display:grid;place-items:center;border-radius:50%;pointer-events:auto;touch-action:none}.stick i{width:52px;height:52px;border-radius:50%;background:var(--foam);box-shadow:0 4px 16px #06161f66;pointer-events:none}.touch-actions{position:absolute;right:0;bottom:0;display:flex;align-items:flex-end;gap:12px;pointer-events:auto}.touch-actions button,.touch-depth button{width:68px;height:68px;border-radius:50%;font-family:var(--mono);font-size:12px;font-weight:600;letter-spacing:.06em;text-transform:uppercase;user-select:none;-webkit-user-select:none;touch-action:none}.touch-actions .boost{width:84px;height:84px;background:var(--signal);color:var(--abyss);border-color:transparent}.touch-actions button:active{transform:scale(.92)}.touch-depth{position:absolute;right:0;bottom:100px;display:flex;gap:12px;pointer-events:auto}.underwater .touch-actions [data-key=Space]{display:none}.station-panel{position:fixed;z-index:25;inset:auto 0 0;max-height:70dvh;overflow:auto;overscroll-behavior:contain;padding:20px var(--edge) 0;border-radius:var(--radius-large) var(--radius-large) 0 0;border-bottom:0;background:#081a24db;animation:sheet-in .28s var(--ease)}.panel-close,.modal-close{position:absolute;right:12px;top:12px;z-index:5}.station-head{display:flex;align-items:center;gap:12px;padding-right:48px}.station-head>i{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:50%;background:var(--station);color:var(--abyss);font:600 13px/1 var(--mono)}.station-head div{display:flex;flex-direction:column;min-width:0}.station-head strong{font-size:16px;font-weight:700;line-height:1.25}.station-head span{font-size:13px;color:var(--mist);text-wrap:balance}.station-panel h2,dialog h2{font-size:28px;font-weight:800;line-height:1.05;letter-spacing:-.03em}.station-panel h2{margin:18px 0 10px}.station-panel>p{font-size:15px;line-height:1.55;color:#f3f8f6e0}.station-panel>.caption{margin-top:8px;color:var(--mist);font-size:13px}.activity{display:flex;flex-direction:column;gap:2px;margin:18px 0 12px;padding:14px 16px;border-radius:var(--radius);background:var(--fill)}.activity strong{font-size:16px;font-weight:700;margin-top:4px}.activity>span:last-child{font-size:14px;color:var(--mist)}.station-panel:after{content:"";display:block;height:calc(var(--bottom) + 4px)}.station-panel .quiet-button{width:100%;margin-top:4px}body:has(.station-panel:not(.hidden)) .hud-top{opacity:0;pointer-events:none}@media(max-width:759px){body:has(.station-panel:not(.hidden)) :is(.touch-controls,.chart-shell,.hud-top){opacity:0;pointer-events:none}}dialog{width:100vw;max-width:100vw;max-height:90dvh;margin:auto 0 0;padding:0;overflow:auto;overscroll-behavior:contain;border:1px solid var(--line);border-bottom:0;border-radius:var(--radius-large) var(--radius-large) 0 0;background:var(--hull);color:var(--foam);box-shadow:0 -20px 80px #06161f80}dialog::backdrop{background:#06161f8c;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}dialog[open]{animation:sheet-in .28s var(--ease)}#modal-content>div{position:relative;display:flex;flex-direction:column;gap:16px;padding:24px var(--edge) calc(var(--bottom) + 8px)}dialog h2{padding-right:48px}dialog p{color:var(--mist)}.notes-grid{display:grid;gap:8px}.notes-grid article{display:flex;flex-direction:column;gap:10px;padding:16px;border-radius:var(--radius);background:var(--fill)}.notes-grid .station-head{padding-right:0}.notes-grid p{font-size:14px;line-height:1.5;color:#f3f8f6cc}.notes-grid .quiet-button{justify-content:flex-start;margin:auto 0 -8px;color:var(--foam)}.help-controls>div{display:grid;grid-template-columns:96px 1fr;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.help-controls dd{font-size:15px;color:#f3f8f6e0}.game-status{display:flex;align-items:center;justify-content:space-between;min-height:44px}.signal-board{display:grid;grid-template-columns:1fr 1fr;gap:12px}.signal-pad{display:grid;place-items:end start;aspect-ratio:1.5;padding:12px;border-radius:var(--radius);background:color-mix(in srgb,var(--pad) 46%,var(--hull));transition:background .1s,box-shadow .1s,transform .1s}.pad-0{--pad:#ff9f1c}.pad-1{--pad:#ff5d73}.pad-2{--pad:#7bd88f}.pad-3{--pad:#5cc8ff}@media(hover:hover){.signal-pad.lit,.signal-pad:hover:not(:disabled){background:var(--pad);box-shadow:0 0 36px color-mix(in srgb,var(--pad) 60%,transparent)}}.signal-pad kbd{background:#06161f4d}.routing-board{display:grid;grid-template-columns:1fr 1fr;gap:12px}.routing-board>div{display:flex;flex-direction:column;gap:8px}.route-node{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:52px;padding:0 14px;border-radius:12px;background:var(--fill);border:2px solid transparent;font-size:15px;font-weight:600;text-align:left}.route-node i{flex-shrink:0;width:10px;height:10px;border-radius:50%;border:2px solid var(--mist)}.route-node.selected{border-color:var(--signal)}.route-node.connected{background:#7bd88f29;color:#7bd88f}.route-node.connected i{background:#7bd88f;border-color:#7bd88f}.motor-dashboard{display:grid;gap:20px}.motor-dial{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;height:180px}.motor-dial svg{position:absolute;width:180px;height:180px;transform:rotate(-90deg);fill:none;stroke-width:8}.motor-dial circle:first-child{stroke:var(--fill)}#efficiency-arc{stroke:var(--signal);stroke-dasharray:427;stroke-dashoffset:250;stroke-linecap:round;transition:stroke-dashoffset .1s}#efficiency{font-size:56px;font-weight:500;line-height:1;color:var(--foam)}.motor-sliders{display:grid;gap:8px}.motor-sliders label>span{display:flex;justify-content:space-between;align-items:baseline;font-size:15px;font-weight:600}.motor-sliders output{font-size:13px}input[type=range]{width:100%;height:44px;margin:0;accent-color:var(--signal);cursor:pointer}.completion{align-items:center;text-align:center}.completion h2{padding:0}.completion-stamp{display:grid;place-items:center;width:72px;height:72px;border-radius:50%;background:var(--station);color:var(--abyss)}.completion-stamp svg{width:32px;height:32px;stroke-width:2.4}.completion-dots{display:flex;justify-content:center;gap:8px}.completion-dots i{width:10px;height:10px;border-radius:50%;background:var(--fill)}.completion-dots i.on{background:var(--station)}.completion .quiet-button{width:100%;margin-top:-12px}#toast{position:fixed;z-index:50;left:50%;top:34dvh;transform:translate(-50%,-12px);max-width:calc(100vw - var(--edge)*2);width:max-content;padding:10px 16px;border-radius:20px;font-size:14px;font-weight:500;text-align:center;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s}#toast.show{opacity:1;transform:translate(-50%)}.map-open #toast{opacity:0}.fallback{display:flex;flex-direction:column;gap:16px;max-width:480px;padding:var(--edge)}.fallback h1{font-size:40px;font-weight:800;line-height:1;letter-spacing:-.04em}.fallback p{color:var(--mist)}@keyframes sheet-in{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}@media(pointer:coarse){.playing .touch-controls{display:block;position:fixed;z-index:7;left:var(--edge);right:var(--edge);bottom:var(--bottom);height:136px;pointer-events:none;transition:opacity .2s}.playing :is(.hint,.action-prompt,.rov-tools){bottom:calc(var(--bottom) + 160px)}.playing .rov-tools{bottom:calc(var(--bottom) + 188px)}.action-prompt kbd,.signal-pad kbd{display:none}}@media(min-width:760px){:root{--edge:28px}.intro{right:auto;bottom:calc(var(--bottom) + 28px)}.intro .primary-button{width:auto;min-width:240px}.intro p{font-size:19px}.chart-shell.expanded{--size:min(480px, calc(100dvh - 184px) )}.hud-top{width:340px}#toast{top:var(--edge)}.station-panel{inset:24px auto auto 24px;width:400px;max-height:calc(100dvh - 48px);padding:24px 24px 0;border-radius:var(--radius-large);border-bottom:1px solid var(--line)}.station-panel:after{height:24px}dialog{width:min(560px,calc(100vw - 56px));margin:auto;border-radius:var(--radius-large);border-bottom:1px solid var(--line)}dialog:has(.notes-modal){width:min(880px,calc(100vw - 56px))}#modal-content>div{padding:32px}.notes-grid{grid-template-columns:1fr 1fr}.notes-modal>.primary-button{align-self:flex-start;width:auto;min-width:240px}.motor-dashboard{grid-template-columns:180px 1fr;align-items:center;gap:32px}}@media(min-width:760px)and (pointer:fine){.chart-shell{top:auto;bottom:var(--bottom);width:184px;height:184px}.telemetry{position:fixed;left:var(--edge);bottom:var(--bottom);margin:0}#speed{font-size:44px}}@media(max-height:520px)and (pointer:coarse){.chart-shell.expanded{--size:calc(100dvh - var(--edge)*2);width:calc(var(--size) + 64px);height:var(--size)}.expanded .chart-face{flex-direction:row}.expanded .chart-header{display:none}.expanded .chart-tools{flex-direction:column;justify-content:flex-end;width:64px;height:auto;padding-bottom:10px}.playing :is(.hint,.action-prompt,.rov-tools){bottom:var(--bottom)}.telemetry{position:fixed;top:var(--edge);right:calc(var(--edge) + 124px);margin:0}#countdown{padding-top:6dvh;font-size:34dvh}.station-panel .primary-button{position:sticky;bottom:24px;box-shadow:0 0 0 12px #081a24f0,0 40px 0 12px #081a24f0}#toast{top:var(--edge)}.playing .touch-controls{height:112px}.stick{width:112px;height:112px}.intro h1{font-size:48px}.intro p{margin:8px 0 12px;font-size:15px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
