:root{color-scheme:dark;--ink:#e9f5ef;--muted:#aec2be;--cyan:#8cf0eb;--orange:#ef996a;--red:#ff745e;--glass:rgba(8,25,32,.63)}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#0a1820;font-family:Arial,Helvetica,sans-serif;color:var(--ink);overscroll-behavior:none}button{font:inherit;color:inherit;cursor:pointer;border:0;touch-action:none}button:focus-visible{outline:2px solid var(--cyan);outline-offset:4px}button:hover{filter:brightness(1.18)}button:active{transform:scale(.97)}.hidden{display:none!important}#stage{position:absolute;width:100%;height:100%;overflow:hidden;isolation:isolate;touch-action:none}#stage.rotated{left:50%;top:50%;width:100dvh;height:100dvw;transform:translate(-50%,-50%) rotate(90deg)}#view{position:absolute;inset:0;width:100%;height:100%;display:block;outline:none;touch-action:none}.cinema-shade{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,rgba(6,17,25,.32),transparent 22%,transparent 70%,rgba(5,19,28,.38));z-index:2}#intro{position:absolute;inset:0;z-index:20;background:linear-gradient(90deg,rgba(4,16,23,.76) 0%,rgba(7,19,26,.45) 32%,transparent 68%);pointer-events:none}.brand{position:absolute;left:28px;top:25px;display:flex;align-items:center;gap:12px;z-index:22;pointer-events:none}.brand svg{width:31px;height:31px;fill:none;stroke:var(--ink);stroke-width:1.3}.brand>span{font-size:11px;font-weight:700;letter-spacing:.25em}.brand small{display:block;font-size:7px;letter-spacing:.24em;opacity:.55;margin-top:5px}.launch-card{position:absolute;left:7.1%;top:23%;width:385px;pointer-events:auto}.eyebrow{font-size:9px;letter-spacing:.22em;font-weight:700;display:flex;align-items:center;gap:8px;color:var(--muted)}.eyebrow i,.status-dot{width:5px;height:5px;background:var(--cyan);display:inline-block;border-radius:50%;box-shadow:0 0 9px #8cf0eb}.launch-card h1{font-size:94px;line-height:.86;letter-spacing:-.065em;font-weight:800;margin:26px 0 24px}.launch-card h1 span{letter-spacing:-.055em}.intro-sub{font-size:9px;letter-spacing:.12em;line-height:1.8;font-weight:700;white-space:nowrap}.intro-sub b{color:var(--orange);padding:0 5px}.intro-copy{font-size:14px;line-height:1.8;color:#c4d7d3;margin:20px 0 27px}.primary{display:flex;justify-content:space-between;align-items:center;width:100%;padding:16px 20px;background:#e89b6b;color:#10282b;font-size:13px;font-weight:800;letter-spacing:.03em;border-radius:3px;box-shadow:0 5px 25px #0002}.launch-arrow{font-size:24px;font-weight:400;line-height:15px}.launch-meta{display:flex;align-items:center;justify-content:space-between;margin-top:13px;font-size:7px;letter-spacing:.1em;opacity:.72}.launch-meta i{margin-right:5px;width:4px;height:4px}.intro-controls{margin-top:25px;color:#b6c9ca;font-family:monospace;font-size:9px;line-height:1.8;letter-spacing:.01em}.intro-coordinate{position:absolute;bottom:35px;right:35px;display:grid;gap:9px;text-align:right;letter-spacing:.28em;font-size:13px}.intro-coordinate span{font:8px monospace;color:#c2d5d6;letter-spacing:.2em}.intro-coordinate em{font:8px monospace;letter-spacing:.2em;color:var(--orange)}#hud{position:absolute;inset:0;z-index:5;pointer-events:none}#hud button{pointer-events:auto}.glass{background:linear-gradient(120deg,rgba(10,29,36,.77),rgba(10,25,32,.54));border:1px solid #bcddd224;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);box-shadow:0 6px 30px #0002;border-radius:5px}.objective{position:absolute;left:28px;top:85px;width:254px;padding:17px 18px 12px}.objective .eyebrow{font-size:8px;color:#b1c5c6}.tiny-square{height:4px;width:4px;background:var(--orange)}#mission-number{margin-left:auto;font-family:monospace;font-size:9px;opacity:.6}.objective h2{font-size:17px;line-height:1.35;font-weight:600;letter-spacing:.025em;margin:13px 0 8px}.objective h2 span{white-space:nowrap;color:#d0e5e0}.objective p{font-size:10px;line-height:1.6;margin:0;color:#c0d4d0;min-height:16px}.core-row{border-top:1px solid #b9d8cd20;margin-top:13px;padding-top:10px;display:flex;align-items:center;gap:10px}.diamonds{display:flex;gap:6px}.diamonds i{width:7px;height:7px;border:1px solid #bbd2cc77;transform:rotate(45deg)}.diamonds i.filled{background:var(--cyan);border-color:var(--cyan);box-shadow:0 0 8px #8cf0eb66}.core-row>span{font:10px monospace}.core-row small{font-size:7px;letter-spacing:.11em;color:#8fa7a7}#compass{position:absolute;left:50%;top:25px;transform:translateX(-50%);width:310px;text-align:center;text-shadow:0 2px 5px #001c26}.compass-line{font-size:9px;letter-spacing:.1em;word-spacing:11px;white-space:nowrap;opacity:.85;mask-image:linear-gradient(90deg,transparent,#000 18%,#000 82%,transparent)}.compass-line i{font-style:normal;opacity:.55}.compass-notch{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:5px solid var(--orange);margin:8px auto 5px}#heading{font:10px monospace;letter-spacing:.1em}.top-actions{position:absolute;right:25px;top:25px;display:flex;gap:6px}.top-actions button{background:#0c263864;border:1px solid #cfede127;border-radius:4px;height:32px;min-width:32px;padding:0 11px;backdrop-filter:blur(8px);font-size:11px}.top-actions button span{font-size:16px;margin-right:5px}.top-actions button kbd{font-size:9px;margin-left:7px;opacity:.65}kbd{font-family:monospace}.top-actions button.active{background:#8cf0eb33}#fleet-strip{position:absolute;top:85px;left:50%;transform:translateX(-50%);display:flex;width:350px;gap:23px;padding:12px 16px;background:#0719238c;backdrop-filter:blur(8px);border:1px solid #c3e0d522;border-radius:4px}#fleet-strip>div{flex:1}#fleet-strip span{display:flex;justify-content:space-between;font:8px monospace;letter-spacing:.12em;color:#a1e9bb}#fleet-strip .hostile span{color:#ff9387}#fleet-strip i{display:block;height:3px;background:#cee7db20;margin-top:8px}#fleet-strip i b{height:100%;display:block;background:#a1e9bb;transition:width .2s}#fleet-strip .hostile i b{background:#ff9387}#reticle{position:absolute;left:50%;top:50%;width:36px;height:36px;transform:translate(-50%,-50%);opacity:.8;filter:drop-shadow(0 1px 2px #173239)}#reticle span{position:absolute;inset:11px;border:1px solid #d4f6ef99;border-radius:50%}#reticle:after{content:'';position:absolute;width:2px;height:2px;background:#ecfffb;top:17px;left:17px}#reticle i{position:absolute;background:#e9fff4b0}#reticle i:nth-of-type(1){top:0;left:17px;width:1px;height:7px}#reticle i:nth-of-type(2){bottom:0;left:17px;width:1px;height:7px}#reticle i:nth-of-type(3){left:0;top:17px;width:7px;height:1px}#reticle i:nth-of-type(4){right:0;top:17px;width:7px;height:1px}#aim-lock{position:absolute;width:70px;height:70px;left:50%;top:50%;transform:translate(-50%,-50%)}#aim-lock i{position:absolute;inset:0;border:1px solid #b0fa82;border-radius:50%;box-shadow:0 0 7px #9f6a3a22}#aim-lock i+ i{inset:7px;border-style:dashed}#banner{position:absolute;top:24%;left:50%;transform:translateX(-50%);text-align:center;padding:15px 25px;background:linear-gradient(90deg,transparent,#081d25b3 20%,#081d25b3 80%,transparent);max-width:620px;width:max-content;pointer-events:none;text-shadow:0 1px 4px #0a2325}#banner-kicker{font-size:7px;letter-spacing:.24em;color:var(--orange);margin-bottom:8px}#banner strong{font-size:17px;font-weight:600;letter-spacing:.13em}#banner-sub{display:block;font-size:10px;color:#c9e5df;margin-top:9px;letter-spacing:.04em}#telemetry{position:absolute;left:29px;bottom:57px;width:196px;text-shadow:0 1px 6px #12372e}.world-chip{display:flex;flex-direction:column;gap:7px;margin-bottom:16px;padding-left:10px;border-left:2px solid var(--orange)}.world-chip>span{font-size:16px;letter-spacing:.2em;font-weight:600}.world-chip small{font-size:10px;color:#cfe1da}.speed{display:flex;gap:7px;align-items:baseline;margin-bottom:10px}.speed strong{font-size:42px;letter-spacing:-.065em;font-weight:400;font-variant-numeric:tabular-nums}.speed>span{font-size:11px;color:#bdd8d1}.drive-pills{margin-left:auto;align-self:center;display:grid;gap:5px}.drive-pills i{font-size:7px;font-style:normal;letter-spacing:.06em;background:#0a263c6e;border:1px solid #ddf5d92b;border-radius:3px;padding:5px 6px;white-space:nowrap}.drive-pills kbd{margin-left:4px;opacity:.6}.drive-pills i.active{background:#70dce2;color:#0c2b32}.altitude{display:flex;align-items:center;justify-content:space-between;font-size:8px;letter-spacing:.16em;margin-bottom:14px}.altitude strong{font:12px monospace;letter-spacing:0}.altitude small{font-size:9px;color:#bbd9d0}.meter{margin:10px 0}.meter>span{display:flex;justify-content:space-between;font-size:8px;letter-spacing:.12em}.meter b{font-weight:400}.meter>i{margin-top:5px;height:3px;background:#112d378f;display:block}.meter>i b{display:block;width:100%;height:100%;background:var(--cyan);transition:width .16s;box-shadow:0 0 6px #8cf0eb33}.meter.fuel>i b{background:var(--orange)}.meter.low>i b{background:#ff6e5b}.foot-mode{font-size:8px;letter-spacing:.2em;margin:19px 0;color:var(--orange)}#context{position:absolute;bottom:70px;left:50%;transform:translateX(-50%);text-align:center;min-width:190px}#context button{display:flex;gap:11px;align-items:center;justify-content:center;background:#0d283b99;border:1px solid #bddfd45e;border-radius:4px;backdrop-filter:blur(10px);padding:11px 15px;width:100%;font-size:10px;letter-spacing:.13em;box-shadow:0 3px 15px #051d3322}#context kbd{display:flex;align-items:center;justify-content:center;width:20px;height:20px;border:1px solid #c1dbd270;font-size:10px;border-radius:2px;color:var(--orange)}#context b{color:var(--orange);font-size:19px;margin-left:10px;font-weight:400}#context small{display:block;font-size:9px;margin-top:9px;color:#d9ede5;text-shadow:0 1px 4px #092632}#tow-panel{position:absolute;bottom:147px;left:50%;transform:translateX(-50%);width:295px;padding:12px 15px}#tow-panel>div:first-child{display:flex;align-items:center;gap:10px}.tow-symbol{font-size:34px;color:var(--cyan);line-height:1}#tow-panel span b{display:block;font-size:8px;letter-spacing:.2em}#tow-panel span small{display:block;font-size:7px;margin-top:5px;color:var(--orange);letter-spacing:.08em}#tow-panel strong{font:20px monospace;margin-left:auto}.tension-track{height:3px;margin-top:10px;background:#c1ddd52a}.tension-track i{display:block;height:100%;width:0;background:var(--orange)}#resource-chip{position:absolute;right:30px;bottom:57px;display:flex;align-items:center;gap:13px;text-shadow:0 1px 6px #071a2a}.crystal-icon{font-size:35px;color:var(--cyan)}#resource-chip strong{font-size:30px;font-weight:400}#resource-chip>span:last-child{font-size:8px;letter-spacing:.16em}#resource-chip small{display:block;font-size:7px;margin-top:9px;color:#c2d9d4;letter-spacing:.08em}#resource-chip small b{font-weight:600;color:var(--orange);margin-left:3px}#desktop-hints{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);display:flex;gap:17px;white-space:nowrap;color:#d0e9df;font:8px monospace;text-shadow:0 1px 4px #0c252e}#desktop-hints b{font:7px Arial;margin-left:5px;letter-spacing:.05em;opacity:.6}#toast{position:absolute;right:32px;top:44%;border-left:2px solid var(--cyan);padding:12px 18px;background:#0c263caf;border-radius:2px;font:14px monospace;box-shadow:0 4px 20px #092b3222}.world-label{position:absolute;text-align:center;pointer-events:none;transform:translate(-50%,-100%);text-shadow:0 2px 4px #051721,0 0 8px #051721;color:#d2f3eb;white-space:nowrap;font-size:8px;letter-spacing:.12em}.world-label strong{display:block;font-size:9px;letter-spacing:.16em;font-weight:500;margin-bottom:4px}.world-label small{font:8px monospace;opacity:.85;letter-spacing:.04em}.world-label .marker{display:block;width:6px;height:6px;border:1px solid currentColor;transform:rotate(45deg);margin:7px auto 0}.world-label.hostile{color:#ff977a}.world-label.hostile .marker{width:26px;height:18px;border:1px solid #ff8f7088;transform:none;border-top-color:transparent;border-bottom-color:transparent}.world-label.friendly{color:#9af1de}.world-label.core{color:#d9ffe0}.world-label.planet{color:#cbbaff}.world-label.leg{color:var(--orange)}#labels{position:absolute;inset:0;z-index:3;pointer-events:none}#damage-flash{position:absolute;inset:0;z-index:4;pointer-events:none;opacity:0;background:radial-gradient(ellipse,transparent 25%,#cf382c77);box-shadow:inset 0 0 70px #c22a3488;transition:opacity .1s}#speed-lines{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:0;background:repeating-conic-gradient(from 10deg at 50% 50%,transparent 0deg 17deg,#9de4e108 17.1deg 17.2deg,transparent 17.3deg 32deg);mask-image:radial-gradient(ellipse,transparent 20%,#000);transition:opacity .4s}.overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#03101a99;backdrop-filter:blur(9px);z-index:40;padding:25px}.overlay header{display:flex;justify-content:space-between;align-items:flex-start}.overlay header button{font-size:27px;background:#d2eee70f;border:1px solid #d1e8df24;border-radius:3px;width:35px;height:35px;font-weight:200}.overlay h2{font-weight:400;letter-spacing:-.025em;font-size:30px;margin:14px 0 10px}.map-panel{width:min(880px,95%);padding:28px 32px}.map-panel header .eyebrow{font-size:8px}.system-chart{height:330px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 50%,#263f4f3b,transparent 65%)}.orbit-line{position:absolute;left:50%;top:54%;border:1px solid #c7e5d617;border-radius:50%;transform:translate(-50%,-50%) rotate(-16deg);pointer-events:none}.o1{width:250px;height:110px}.o2{width:500px;height:220px}.o3{width:780px;height:330px}.map-sun{position:absolute;top:47%;left:48%;width:23px;height:23px;background:#ffe5ab;border-radius:50%;box-shadow:0 0 25px #e8a96c99,0 0 80px #dd855933}.map-giant{position:absolute;right:8%;top:25%;width:55px;height:55px;border-radius:50%;background:repeating-linear-gradient(-12deg,#a79882,#b0a28f 4px,#8d8879 6px,#aba08e 8px);box-shadow:inset -19px -3px 14px #081927c9}.map-giant i{position:absolute;width:110px;height:25px;left:-30px;top:13px;border:7px solid #a6987f77;border-radius:50%;transform:rotate(-25deg)}.map-giant span{position:absolute;top:73px;left:-12px;font-size:6px;letter-spacing:.1em;white-space:nowrap;opacity:.6}.map-planet{position:absolute;background:transparent;padding:12px;text-align:left;min-width:132px;border:1px solid transparent;border-radius:5px}.map-planet i{display:block;width:17px;height:17px;border-radius:50%;background:#8dba94;margin-bottom:10px;box-shadow:inset -5px -3px 5px #153c3c}.map-planet b{display:block;font-size:9px;letter-spacing:.16em;font-weight:600}.map-planet small{display:block;font-size:8px;opacity:.55;margin-top:6px}.map-planet em{font-size:7px;letter-spacing:.08em;display:block;color:var(--cyan);margin-top:8px;font-style:normal}.map-planet.selected{border-color:#91e2d95c;background:#8ed6d40b}.map-planet.elysia{left:18%;top:30%}.map-planet.vesper{left:62%;top:58%}.map-planet.vesper i{background:#c282c8}.map-planet.sahra{left:5%;top:66%}.map-planet.sahra i{background:#e7b770}.map-planet.nivalis{left:44%;top:3%}.map-planet.nivalis i{background:#bcdce4}.map-planet.fleet{left:32%;top:66%}.map-planet.fleet i{font-size:24px;color:var(--orange);background:none;box-shadow:none;line-height:15px}.map-panel footer{border-top:1px solid #bcd5cd23;display:flex;justify-content:space-between;align-items:center;padding-top:23px;gap:20px}.map-panel footer>div>span{font-size:10px;letter-spacing:.18em;color:var(--orange)}.map-panel footer small{display:block;font-size:10px;color:var(--muted);margin-top:9px}.map-panel footer button{width:195px;flex-shrink:0}.help-panel{width:min(690px,96%);padding:28px}.help-columns{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin:12px 0 17px}.help-columns h3{font-size:11px;font-weight:500;color:var(--orange);letter-spacing:.1em}.help-columns p{font-size:10px;color:#c2d9d3;display:flex;align-items:center;gap:9px}.help-columns kbd{min-width:76px;font-size:8px;background:#d9f4ed0d;border:1px solid #bddbd82a;padding:5px 6px;border-radius:3px}.help-callout{font-size:10px;line-height:1.7;color:#bdd1cf;margin:11px 0}.help-callout b{color:#e9f6ec}.settings-row{display:flex;flex-wrap:wrap;gap:15px;align-items:center;margin:22px 0}.settings-row label{display:flex;align-items:center;gap:5px;font-size:9px;color:#cfdfd9}.settings-row input{accent-color:var(--orange)}.settings-row button{background:#ed996b18;border:1px solid #ee996b55;font-size:8px;padding:7px;color:var(--orange)}.pause-panel,.error-panel{width:350px;padding:30px}.pause-panel p,.error-panel p{font-size:12px;line-height:1.8;color:var(--muted)}.pause-panel .primary{margin-top:25px}.secondary{width:100%;margin-top:10px;background:transparent;border:1px solid #c8e3d939;padding:12px;border-radius:3px;font-size:11px}.touch-only{display:none!important}body.touch .touch-only{display:block!important}body.touch .desktop-only{display:none!important}body.touch #touch-controls{position:absolute;inset:0;pointer-events:none}body.touch #touch-controls>*{pointer-events:auto}#joystick{position:absolute;left:34px;bottom:29px;width:126px;height:126px;border:1px solid #d4f5e34a;border-radius:50%;background:radial-gradient(circle,#8ccddf16,transparent 65%),#061e311e;backdrop-filter:blur(2px);touch-action:none}#joystick:before{content:'';position:absolute;inset:17px;border:1px solid #def5de20;border-radius:50%}#stick-knob{position:absolute;width:47px;height:47px;left:39px;top:39px;border-radius:50%;background:radial-gradient(circle at 40% 30%,#e4fff04d,#82c5ca20);border:1px solid #c9e8dc80;box-shadow:0 3px 10px #071b2755}#joystick>span{position:absolute;bottom:-17px;left:0;width:100%;text-align:center;font-size:6px;letter-spacing:.16em;color:#d2e9ddaa}.stick-cross:before,.stick-cross:after{content:'';position:absolute;left:50%;top:50%;width:70px;height:1px;transform:translate(-50%,-50%);background:#c3ddd323}.stick-cross:after{transform:translate(-50%,-50%) rotate(90deg)}.touch-btn{position:absolute;background:#102c3e70;border:1px solid #d1eee14d;border-radius:8px;backdrop-filter:blur(3px);font-size:9px;letter-spacing:.04em;display:flex;align-items:center;justify-content:center;flex-direction:column}.touch-btn.pressed{background:#8adce74d;border-color:#acfff0}.touch-btn.small-hold{left:174px;width:35px;height:35px;font-size:21px}.touch-btn#climb-button{bottom:106px}.touch-btn#descend-button{bottom:62px}#brake-button{left:170px;bottom:20px;width:44px;height:25px;font-size:7px}.touch-btn.fire{right:39px;bottom:30px;width:79px;height:79px;border-radius:50%;background:#0a263c75}.touch-btn.fire svg{width:32px;height:32px;stroke:#d4f7eb;stroke-width:1.2;fill:none}.touch-btn.fire span{font-size:7px;margin-top:2px}.touch-btn.boost{right:129px;bottom:28px;width:52px;height:72px;border-color:#f4aa6e70;color:#ffd5a5}.touch-btn.boost span{font-size:26px;line-height:30px;transform:rotate(-90deg)}.touch-btn.action{right:39px;bottom:119px;width:78px;height:33px;border-color:#8de6e28c;color:var(--cyan)}.touch-btn.orbit{right:129px;bottom:112px;width:52px;height:28px;font-size:7px}body.touch #telemetry{left:28px;bottom:181px;width:150px}body.touch .world-chip{margin-bottom:8px;gap:4px}body.touch .world-chip>span{font-size:12px}body.touch .world-chip small{font-size:8px}body.touch .speed{margin:0 0 6px}body.touch .speed strong{font-size:29px}body.touch .speed>span{font-size:9px}body.touch .drive-pills{display:none}body.touch .altitude{margin-bottom:7px}body.touch .meter{margin:6px 0}body.touch .meter>span{font-size:7px}body.touch #resource-chip{right:29px;bottom:174px;gap:8px}body.touch #resource-chip strong{font-size:23px}body.touch #resource-chip>span:last-child{font-size:7px}body.touch #resource-chip small{font-size:6px}body.touch #context{bottom:27px;min-width:168px}body.touch #context button{padding:8px 11px;font-size:8px}body.touch #context small{font-size:8px}body.touch #context kbd{display:none}body.touch #tow-panel{bottom:93px;width:245px}body.touch .brand{left:23px;top:20px}body.touch .objective{left:23px;top:65px;width:213px;padding:12px 14px}body.touch .objective h2{font-size:13px;margin:10px 0 6px}body.touch .objective p{font-size:8px}body.touch .core-row{margin-top:9px;padding-top:8px}body.touch #compass{top:18px;width:260px}body.touch .compass-line{font-size:8px;word-spacing:7px}body.touch #fleet-strip{top:65px;width:285px;padding:9px 11px}body.touch .top-actions{top:19px;right:22px}body.touch .top-actions button{height:29px;min-width:29px;font-size:9px;padding:0 9px}body.touch .top-actions kbd{display:none}body.touch #banner{top:27%;max-width:450px;padding:11px 20px}body.touch #banner strong{font-size:12px;letter-spacing:.07em}body.touch #banner-sub{font-size:8px}body.touch #banner-kicker{font-size:6px}
@media(max-height:600px){.brand{top:18px;left:23px}.launch-card{left:7%;top:20%;width:325px}.launch-card h1{font-size:70px;margin:19px 0}.intro-copy{font-size:12px;margin:14px 0 20px}.intro-sub{font-size:7px}.intro-controls{font-size:8px;margin-top:15px}.launch-meta{font-size:6px}.intro-coordinate{bottom:26px;right:27px}.objective{top:67px;width:225px;padding:12px 14px}.objective h2{font-size:14px}.objective p{font-size:9px}.core-row{margin-top:9px;padding-top:8px}#telemetry{width:167px;bottom:48px}#telemetry .speed strong{font-size:34px}.world-chip{margin-bottom:9px}.world-chip>span{font-size:13px}#compass{top:20px;width:270px}.compass-line{font-size:8px;word-spacing:8px}.top-actions{top:19px}.top-actions button{height:29px;min-width:29px}.map-panel{padding:20px 26px;width:760px}.overlay h2{font-size:24px;margin:9px 0 5px}.system-chart{height:245px}.map-panel footer{padding-top:13px}.map-panel footer button{padding:12px 17px}.map-planet{padding:8px}.map-planet i{width:13px;height:13px;margin-bottom:6px}.map-planet small{font-size:7px;margin-top:4px}.map-planet em{margin-top:5px;font-size:6px}.help-panel{padding:20px 25px}.help-columns{margin:4px 0;gap:18px}.help-columns p{margin:7px 0;font-size:9px}.help-columns kbd{padding:3px 5px}.help-callout{font-size:9px;margin:9px 0}.settings-row{margin:12px 0}.help-panel .primary{padding:12px 16px}}
@media(max-height:440px){.launch-card{top:17%;width:280px}.launch-card h1{font-size:59px;margin:15px 0}.eyebrow{font-size:7px}.intro-sub{font-size:6px}.intro-copy{font-size:10px;line-height:1.6;margin:12px 0 15px}.primary{padding:12px 15px}.launch-meta{font-size:5.5px}.intro-controls{font-size:7px;margin-top:10px}.brand svg{width:24px;height:24px}.brand>span{font-size:9px}.brand small{font-size:6px}.intro-coordinate{font-size:10px}.intro-coordinate span,.intro-coordinate em{font-size:7px}body.touch .objective{top:58px;width:185px;padding:10px 12px}body.touch .objective h2{font-size:11px;margin:7px 0 5px}body.touch .objective p{font-size:7px;line-height:1.4;max-width:155px}body.touch .objective .eyebrow{font-size:6px}.core-row{gap:8px}body.touch .core-row{padding-top:6px;margin-top:7px}.core-row small{font-size:6px}.core-row>span{font-size:8px}.diamonds i{width:6px;height:6px}.diamonds{gap:6px}body.touch #telemetry{bottom:161px;left:27px;width:126px}body.touch .world-chip{margin-bottom:5px}body.touch .world-chip>span{font-size:10px}body.touch .world-chip small{font-size:7px}body.touch .speed strong{font-size:25px}body.touch .altitude{font-size:6px;margin-bottom:5px}body.touch .altitude strong{font-size:9px}body.touch .meter{margin:5px 0}body.touch .meter>span{font-size:6px}body.touch .meter>i{height:2px;margin-top:3px}#joystick{left:27px;bottom:25px;width:111px;height:111px}#stick-knob{left:33px;top:33px;width:43px;height:43px}.touch-btn.small-hold{left:150px;width:31px;height:31px}.touch-btn#climb-button{bottom:94px}.touch-btn#descend-button{bottom:56px}#brake-button{left:146px;bottom:20px;width:39px;height:24px}.touch-btn.fire{right:30px;bottom:27px;width:68px;height:68px}.touch-btn.boost{right:109px;bottom:27px;width:47px;height:64px}.touch-btn.action{right:29px;bottom:104px;width:69px;height:29px}.touch-btn.orbit{right:109px;bottom:101px;width:47px;height:26px}body.touch #resource-chip{right:28px;bottom:153px}body.touch #resource-chip strong{font-size:19px}body.touch #resource-chip .crystal-icon{font-size:27px}body.touch #context{bottom:23px;min-width:151px}body.touch #context button{font-size:7px;padding:6px 10px}body.touch #context small{font-size:7px}body.touch #tow-panel{bottom:83px;width:220px;padding:9px 11px}body.touch #tow-panel strong{font-size:16px}body.touch .tow-symbol{font-size:27px}body.touch #banner{top:26%;max-width:370px}body.touch #banner strong{font-size:10px}body.touch #banner-sub{font-size:7px}body.touch #fleet-strip{top:58px;width:270px}body.touch #fleet-strip span{font-size:7px}body.touch #compass{top:20px;width:230px}body.touch .compass-line{font-size:7px;word-spacing:6px}body.touch .compass-notch{margin:6px auto 4px}body.touch #heading{font-size:8px}body.touch .top-actions{right:23px;top:18px}body.touch .top-actions button{height:26px;min-width:26px;padding:0 7px;font-size:8px}body.touch .top-actions button span{font-size:12px}.map-panel{padding:16px 24px;width:710px}.system-chart{height:210px}.map-planet b{font-size:8px}.map-panel header .eyebrow{font-size:6px}.map-panel footer small{font-size:8px;max-width:340px;line-height:1.4}.map-panel footer button{font-size:10px;width:165px}.map-giant{transform:scale(.8)}.overlay{padding:18px}.overlay h2{font-size:21px}.help-panel{width:680px;padding:16px 22px}.help-columns h3{margin:6px 0;font-size:9px}.help-columns p{font-size:8px;margin:5px 0}.help-columns kbd{font-size:7px;min-width:65px}.help-callout{font-size:8px;margin:7px 0}.settings-row{margin:9px 0;gap:12px}.settings-row label{font-size:8px}.help-panel .primary{padding:10px 14px;font-size:10px}}

/* Logical game-size queries also cover the rotated portrait stage. */
#stage{container-type:size;container-name:skyreach}
@container skyreach (max-height:600px){.brand{top:18px;left:23px}.launch-card{left:7%;top:20%;width:325px}.launch-card h1{font-size:70px;margin:19px 0}.intro-copy{font-size:12px;margin:14px 0 20px}.intro-sub{font-size:7px}.intro-controls{font-size:8px;margin-top:15px}.launch-meta{font-size:6px}.intro-coordinate{bottom:26px;right:27px}.objective{top:67px;width:225px;padding:12px 14px}.objective h2{font-size:14px}.objective p{font-size:9px}.core-row{margin-top:9px;padding-top:8px}#telemetry{width:167px;bottom:48px}#telemetry .speed strong{font-size:34px}.world-chip{margin-bottom:9px}.world-chip>span{font-size:13px}#compass{top:20px;width:270px}.compass-line{font-size:8px;word-spacing:8px}.top-actions{top:19px}.top-actions button{height:29px;min-width:29px}.map-panel{padding:20px 26px;width:760px}.overlay h2{font-size:24px;margin:9px 0 5px}.system-chart{height:245px}.map-panel footer{padding-top:13px}.map-panel footer button{padding:12px 17px}.map-planet{padding:8px}.map-planet i{width:13px;height:13px;margin-bottom:6px}.map-planet small{font-size:7px;margin-top:4px}.map-planet em{margin-top:5px;font-size:6px}.help-panel{padding:20px 25px}.help-columns{margin:4px 0;gap:18px}.help-columns p{margin:7px 0;font-size:9px}.help-columns kbd{padding:3px 5px}.help-callout{font-size:9px;margin:9px 0}.settings-row{margin:12px 0}.help-panel .primary{padding:12px 16px}}
@container skyreach (max-height:440px){.launch-card{top:17%;width:280px}.launch-card h1{font-size:59px;margin:15px 0}.eyebrow{font-size:7px}.intro-sub{font-size:6px}.intro-copy{font-size:10px;line-height:1.6;margin:12px 0 15px}.primary{padding:12px 15px}.launch-meta{font-size:5.5px}.intro-controls{font-size:7px;margin-top:10px}.brand svg{width:24px;height:24px}.brand>span{font-size:9px}.brand small{font-size:6px}.intro-coordinate{font-size:10px}.intro-coordinate span,.intro-coordinate em{font-size:7px}body.touch .objective{top:58px;width:185px;padding:10px 12px}body.touch .objective h2{font-size:11px;margin:7px 0 5px}body.touch .objective p{font-size:7px;line-height:1.4;max-width:155px}body.touch .objective .eyebrow{font-size:6px}.core-row{gap:8px}body.touch .core-row{padding-top:6px;margin-top:7px}.core-row small{font-size:6px}.core-row>span{font-size:8px}.diamonds i{width:6px;height:6px}.diamonds{gap:6px}body.touch #telemetry{bottom:161px;left:27px;width:126px}body.touch .world-chip{margin-bottom:5px}body.touch .world-chip>span{font-size:10px}body.touch .world-chip small{font-size:7px}body.touch .speed strong{font-size:25px}body.touch .altitude{font-size:6px;margin-bottom:5px}body.touch .altitude strong{font-size:9px}body.touch .meter{margin:5px 0}body.touch .meter>span{font-size:6px}body.touch .meter>i{height:2px;margin-top:3px}#joystick{left:27px;bottom:25px;width:111px;height:111px}#stick-knob{left:33px;top:33px;width:43px;height:43px}.touch-btn.small-hold{left:150px;width:31px;height:31px}.touch-btn#climb-button{bottom:94px}.touch-btn#descend-button{bottom:56px}#brake-button{left:146px;bottom:20px;width:39px;height:24px}.touch-btn.fire{right:30px;bottom:27px;width:68px;height:68px}.touch-btn.boost{right:109px;bottom:27px;width:47px;height:64px}.touch-btn.action{right:29px;bottom:104px;width:69px;height:29px}.touch-btn.orbit{right:109px;bottom:101px;width:47px;height:26px}body.touch #resource-chip{right:28px;bottom:153px}body.touch #resource-chip strong{font-size:19px}body.touch #resource-chip .crystal-icon{font-size:27px}body.touch #context{bottom:23px;min-width:151px}body.touch #context button{font-size:7px;padding:6px 10px}body.touch #context small{font-size:7px}body.touch #tow-panel{bottom:83px;width:220px;padding:9px 11px}body.touch #tow-panel strong{font-size:16px}body.touch .tow-symbol{font-size:27px}body.touch #banner{top:26%;max-width:370px}body.touch #banner strong{font-size:10px}body.touch #banner-sub{font-size:7px}body.touch #fleet-strip{top:58px;width:270px}body.touch #fleet-strip span{font-size:7px}body.touch #compass{top:20px;width:230px}body.touch .compass-line{font-size:7px;word-spacing:6px}body.touch .compass-notch{margin:6px auto 4px}body.touch #heading{font-size:8px}body.touch .top-actions{right:23px;top:18px}body.touch .top-actions button{height:26px;min-width:26px;padding:0 7px;font-size:8px}body.touch .top-actions button span{font-size:12px}.map-panel{padding:16px 24px;width:710px}.system-chart{height:210px}.map-planet b{font-size:8px}.map-panel header .eyebrow{font-size:6px}.map-panel footer small{font-size:8px;max-width:340px;line-height:1.4}.map-panel footer button{font-size:10px;width:165px}.map-giant{transform:scale(.8)}.overlay{padding:18px}.overlay h2{font-size:21px}.help-panel{width:680px;padding:16px 22px}.help-columns h3{margin:6px 0;font-size:9px}.help-columns p{font-size:8px;margin:5px 0}.help-columns kbd{font-size:7px;min-width:65px}.help-callout{font-size:8px;margin:7px 0}.settings-row{margin:9px 0;gap:12px}.settings-row label{font-size:8px}.help-panel .primary{padding:10px 14px;font-size:10px}}

/* Keep short-screen telemetry between the objective and the touch stick. */
@container skyreach (max-height:440px){
  .objective,body.touch .objective{top:52px;width:196px;padding:8px 12px}
  .objective .eyebrow,body.touch .objective .eyebrow{font-size:6px;line-height:1.2}
  .objective h2,body.touch .objective h2{font-size:11px;line-height:1.27;margin:4px 0 3px;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  .objective p,body.touch .objective p{font-size:7px;line-height:1.4;min-height:12px;max-width:none;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
  .objective .core-row,body.touch .objective .core-row{margin-top:4px;padding-top:4px;gap:8px}
  #telemetry,body.touch #telemetry{width:158px}
  body.touch #telemetry{left:27px;bottom:145px}
  #telemetry .world-chip,body.touch #telemetry .world-chip{gap:3px;margin-bottom:5px;padding-left:8px}
  #telemetry .world-chip>span,body.touch #telemetry .world-chip>span{font-size:11px;line-height:1.15}
  #telemetry .world-chip small,body.touch #telemetry .world-chip small{font-size:7px;line-height:1.15}
  #flight-stack{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px;align-items:center}
  #telemetry .speed,body.touch #telemetry .speed{grid-column:1;grid-row:1;margin:0;gap:4px}
  #telemetry .speed strong,body.touch #telemetry .speed strong{font-size:23px;line-height:1.1}
  #telemetry .speed>span,body.touch #telemetry .speed>span{font-size:8px}
  #telemetry .drive-pills{display:none}
  #telemetry .altitude,body.touch #telemetry .altitude{grid-column:2;grid-row:1;display:flex;flex-direction:column;align-items:flex-end;justify-content:center;gap:3px;font-size:6px;line-height:1.1;margin:0}
  #telemetry .altitude strong,body.touch #telemetry .altitude strong{font-size:9px;line-height:1.1}
  #flight-stack>.meter{grid-column:1;grid-row:2}
  #flight-stack>.meter.fuel{grid-column:2;grid-row:2}
  #flight-stack>#shield-meter{grid-column:1 / -1;grid-row:3}
  #telemetry .meter,body.touch #telemetry .meter{min-width:0;margin:3px 0}
  #telemetry .meter>span,body.touch #telemetry .meter>span{font-size:7px;line-height:1.1;letter-spacing:.07em}
  #telemetry .meter>i,body.touch #telemetry .meter>i{height:2px;margin-top:3px}
  #telemetry .foot-mode{font-size:7px;line-height:1.1;margin:5px 0 6px}
  #context{max-width:calc(100% - 440px)}
  #context small{max-width:230px;margin-left:auto;margin-right:auto}
}
@container skyreach (max-height:440px){
  #fleet-strip{top:58px;width:270px;padding:9px 11px}
  #fleet-strip span{font-size:7px}
  #banner{top:26%;max-width:370px;padding:11px 20px}
  #banner strong{font-size:10px;letter-spacing:.07em}
  #banner-sub{font-size:7px}
  #banner-kicker{font-size:6px}
  #context{bottom:23px;min-width:151px}
  #context button{font-size:8px;padding:6px 10px}
  #context small{font-size:7px}
  #tow-panel{bottom:83px;width:220px;padding:9px 11px}
  #tow-panel strong{font-size:16px}
  .tow-symbol{font-size:27px}
}
