@font-face{font-family:Barlow;font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/barlow-400.ttf) format("truetype")}@font-face{font-family:Barlow;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/barlow-500.ttf) format("truetype")}@font-face{font-family:Barlow;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/barlow-600.ttf) format("truetype")}@font-face{font-family:Barlow;font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/barlow-700.ttf) format("truetype")}@font-face{font-family:Barlow;font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/barlow-800.ttf) format("truetype")}@font-face{font-family:Barlow Condensed;font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/barlow-condensed-500.ttf) format("truetype")}@font-face{font-family:Barlow Condensed;font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/barlow-condensed-600.ttf) format("truetype")}@font-face{font-family:Barlow Condensed;font-style:normal;font-weight:700;font-display:swap;src:url(../fonts/barlow-condensed-700.ttf) format("truetype")}@font-face{font-family:Barlow Condensed;font-style:normal;font-weight:800;font-display:swap;src:url(../fonts/barlow-condensed-800.ttf) format("truetype")}.modal-layer{position:fixed;top:0;right:0;bottom:0;left:0;z-index:50;display:grid;place-items:center;background:#040918b8;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:20px}.modal-card{position:relative;width:min(430px,100%);max-height:92dvh;overflow:auto;border:1px solid #696a9b6b;border-radius:24px;background:radial-gradient(ellipse at 50% 0%,#33326366,transparent 65%),#11162c;box-shadow:0 30px 100px #0006,inset 0 1px #c1c2ff33;text-align:center;padding:34px;color:#eff6ff;scrollbar-width:thin;scrollbar-color:#61598a transparent}.modal-card>.eyebrow{justify-content:center;margin-top:15px;font-size:8px;color:#af9fd1}.modal-card h2{font-family:Barlow Condensed,sans-serif;font-size:35px;font-weight:500;letter-spacing:.1px;line-height:1.1;margin:12px 0}.modal-card>p{font-size:12px;color:#919fbd;line-height:1.8;margin:12px 0 25px}.modal-symbol{height:60px;width:60px;border:1px solid #8587c068;border-radius:19px;background:#3b3b7d3d;margin:0 auto 20px;display:grid;place-items:center;color:#b6b8f0}.modal-symbol .icon{width:28px;height:28px}.fall-symbol{color:#e1a2e5;background:#642e7440;border-color:#945f9d55}.primary-button,.secondary-button{display:flex;justify-content:center;align-items:center;gap:10px;width:100%;min-height:49px;padding:13px 17px;border:1px solid #89dded8c;border-radius:11px;font-size:11px;letter-spacing:1.3px;font-weight:700;margin-top:10px}.primary-button{background:linear-gradient(120deg,#98e4ee,#98b8f5);color:#15284b;box-shadow:0 4px #334264}.primary-button .icon{width:19px;height:19px}.primary-button>span{font-size:8px;margin-left:auto;opacity:.7}.secondary-button{background:#242c4c;color:#aebfdf;border-color:#6d739145}.secondary-button .icon{width:17px;height:17px}.modal-note{display:block;font-size:9px;color:#7585a6;margin-top:19px;line-height:1.6}.modal-close{position:absolute;right:15px;top:15px;width:33px;height:33px;background:transparent;border:0}.result-complete{display:grid;place-items:center;width:64px;height:64px;margin:8px auto 22px;border:1px solid #8af0d492;border-radius:20px;background:#1c655950;color:#a8ffe3;box-shadow:0 0 25px #53eac448}.result-complete .icon{width:32px;height:32px}.inline-dot{margin:0 9px;color:#6f6695}.instruction-row{display:flex;gap:14px;text-align:left;padding:12px 0;border-bottom:1px solid #67709725}.instruction-row:last-of-type{border:0;margin-bottom:15px}.instruction-icon{height:38px;width:38px;flex-shrink:0;display:grid;place-items:center;border:1px solid #9ecaf83b;border-radius:10px;background:#31517d26;color:#9ddfff}.instruction-icon .icon{width:20px;height:20px}.instruction-icon.green{color:#8ff3c2}.instruction-icon.pink{color:#f392d7;font-size:26px}.instruction-icon.gold{color:#ffe19b}.instruction-row b{font-size:12px;font-weight:500;color:#d8e8fa}.instruction-row p{font-size:11px;color:#8595b7;line-height:1.6;margin:5px 0 0}.map-card{width:min(660px,100%);text-align:left;padding:32px}.map-card h2{font-size:35px}.map-card>p{margin-bottom:23px}.map-sector-title{display:flex;justify-content:space-between;align-items:center;margin:20px 0 10px;font-size:9px;letter-spacing:1.2px;color:#9ca6c1}.level-grid{display:grid;grid-template-columns:repeat(10,1fr);gap:7px}.level-node{border:1px solid #5f6a983d;background:#202c484d;border-radius:9px;padding:10px 1px 6px;color:#a7b8d4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:58px}.level-node b{font-family:Barlow Condensed,sans-serif;font-size:20px;font-weight:500}.level-node span{font-size:6px;letter-spacing:1px;color:#dfc796}.level-node .icon{width:15px;height:15px}.level-node:disabled{opacity:.3}.level-node.current{background:#4b499766;border-color:#adacf0a6;box-shadow:0 0 15px #8881e524;color:#eff1ff}.level-node.completed{border-color:#90cabc66}#brand-loader.brand-loader{display:grid;place-items:center;overflow:hidden;background:#202220;color:#fff;isolation:isolate;transition:opacity .45s ease,transform .55s cubic-bezier(.2,.8,.2,1)}#brand-loader:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;background:url(../branding/loading-tile.png) center/cover no-repeat;opacity:.4;filter:saturate(.78)}#brand-loader:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background:linear-gradient(180deg,#00000005,#0000001f)}.loader-brand{display:flex;flex-direction:column;align-items:center;width:min(720px,78vw);transform:translateY(-2vh)}.loader-logo{display:block;width:min(640px,72vw);height:auto;object-fit:contain;animation:loader-logo-in .8s cubic-bezier(.2,.8,.2,1) both}.loader-status{display:flex;align-items:center;margin-top:clamp(28px,7vh,68px);font-family:Segoe UI,sans-serif;font-size:clamp(25px,3.2vw,45px);font-weight:700;color:#fff;text-shadow:0 2px 18px #000}.loader-dots{display:inline-flex;align-items:center;gap:.2em;margin-left:.24em}.loader-dots i{width:.15em;height:.15em;border-radius:50%;background:currentColor;animation:loader-dot 1.05s ease-in-out infinite}.loader-dots i:nth-child(2){animation-delay:.15s}.loader-dots i:nth-child(3){animation-delay:.3s}.loader-site{position:absolute;right:clamp(18px,3.2vw,58px);bottom:max(clamp(18px,3.2vw,44px),env(safe-area-inset-bottom));width:clamp(190px,22vw,340px);height:auto}.brand-loader.leaving{opacity:0;transform:scale(1.025);pointer-events:none}@keyframes loader-logo-in{0%{opacity:0;transform:translateY(18px) scale(.96)}to{opacity:1;transform:none}}@keyframes loader-dot{0%,65%,to{opacity:.35;transform:translateY(0)}30%{opacity:1;transform:translateY(-.2em)}}@keyframes hint-pulse{to{box-shadow:0 0 35px #eec05f99,inset 0 0 14px #ffe99966}}@keyframes star-drift{to{transform:translateY(-40px)}}:root{font-family:Barlow,Segoe UI,sans-serif;color:#eef5ff;background:#080b1f;font-synthesis:none;font-weight:500;--cyan:#86eaff;--gold:#ffda6d;--header-height:72px;--scene-top:86px;--actions-height:112px;--footer-height:var(--actions-height)}*{box-sizing:border-box}html,body,#app{margin:0;width:100%;height:100%;overflow:hidden}body{overscroll-behavior:none}button{font:inherit;cursor:pointer;color:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation;-webkit-user-select:none;user-select:none;transition:filter .15s,transform .15s,opacity .15s}button:focus-visible{outline:3px solid #adf5ff;outline-offset:4px}button:disabled{cursor:default}button .icon{pointer-events:none}button:hover:not(:disabled){filter:brightness(1.17)}button:active:not(:disabled){transform:translateY(3px) scale(.96)}.icon{width:26px;height:26px;flex-shrink:0;vertical-align:middle}.hidden{display:none!important}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.game-shell{position:relative;isolation:isolate;width:100%;height:100dvh;min-height:360px}.space-backdrop,.space-vignette,.ambient-stars{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none}.space-backdrop{background:#090c26 url(../assets/cosmic-background.png) center/cover no-repeat}.space-vignette{background:linear-gradient(180deg,#080a2355,transparent 28%,transparent 65%,#070d2880 100%)}.ambient-stars{opacity:.35;background-image:radial-gradient(1px 1px at 20% 20%,#c6b4ff 100%,transparent),radial-gradient(2px 2px at 80% 50%,#a3cbff 100%,transparent);background-size:340px 380px}.game-hud{position:absolute;z-index:5;top:env(safe-area-inset-top,0px);left:50%;transform:translate(-50%);display:grid;grid-template-columns:auto minmax(0,1fr) auto;grid-template-rows:49px;column-gap:14px;align-content:center;align-items:center;width:min(690px,100%);height:var(--header-height);padding:6px 30px 0;filter:drop-shadow(0 5px 12px #020b2570)}.hud-tools{display:flex;align-items:center;gap:8px}.hud-tools-left{grid-column:1;grid-row:1}.hud-tools-right{grid-column:3;grid-row:1}.hud-status{display:flex;align-items:center;justify-content:center;flex:1;min-width:0;text-shadow:0 2px 7px #080b26}.hud-status{grid-column:2;grid-row:1}.level-card{display:flex;justify-content:center;align-items:center;min-width:0;padding:0;color:#eff0ff}.level-title{display:flex;align-items:center;justify-content:center;gap:7px;font-size:25px;font-weight:700;white-space:nowrap;line-height:1}.level-title strong{font-weight:700}.level-title .icon{width:26px;height:26px;color:#d0baff;filter:drop-shadow(0 0 5px #8c64ff)}.eyebrow{font-size:11px;letter-spacing:1.5px;color:#a9bce5;font-weight:600;display:flex;align-items:center;gap:8px}.icon-button{display:inline-flex;justify-content:center;align-items:center;flex-shrink:0;width:49px;height:49px;padding:0;border:2px solid #95b4ff;border-radius:15px;color:#c8f5ff;background:linear-gradient(150deg,#344b93eb,#101c49f5);box-shadow:inset 0 0 0 3px #7999e436,inset 0 0 18px #346dda4f,0 4px #08132e,0 6px 9px #01091c66}.icon-button .icon{width:24px;height:24px;filter:drop-shadow(0 0 6px #258aff)}#pause{border-color:#a1a3ff;background:linear-gradient(150deg,#49468df2,#141e4af5)}.difficulty{padding:4px 7px;border:1px solid #b698fa80;background:#271749a6;border-radius:6px;color:#d6b9ff;font-size:8px;letter-spacing:1px;font-weight:700;text-transform:uppercase;white-space:nowrap}.difficulty.very-hard{color:#ffb3da;background:#4b1739b0;border-color:#e77abc80}.difficulty.complex{color:#ffcf88;background:#442917b0;border-color:#dba55d80}.scene{position:absolute;top:calc(var(--scene-top) + env(safe-area-inset-top,0px));right:0;bottom:calc(var(--footer-height) + 32px + env(safe-area-inset-bottom,0px));left:0;z-index:1;touch-action:none}.scene canvas{display:block;width:100%;height:100%;outline:none}.hint-cue{position:absolute;bottom:calc(var(--footer-height) + 6px + env(safe-area-inset-bottom,0px));left:50%;transform:translate(-50%);z-index:3;display:flex;align-items:center;justify-content:center;gap:6px;max-width:calc(100% - 28px);white-space:nowrap;padding:6px 11px;border:1px solid #ffdb7899;border-radius:20px;background:#3d2e16ee;box-shadow:0 3px 10px #020b2844;font-size:10px;color:#ffe5a0}.hint-cue b{font-weight:600;color:#ffe5a0}.hint-cue .icon{width:15px;height:15px;color:#ffe5a0}.toast{position:absolute;z-index:60;left:50%;top:calc(var(--scene-top) + 12px + env(safe-area-inset-top,0px));transform:translate(-50%,-8px);max-width:calc(100% - 24px);width:max-content;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;color:#e0f5ff;border:1px solid #84c4df;background:#102444f5;box-shadow:0 8px 30px #0005;padding:11px 16px;border-radius:10px;font-size:12px;text-align:center}.toast.visible{opacity:1;transform:translate(-50%)}.control-deck{position:absolute;z-index:4;bottom:env(safe-area-inset-bottom,0px);left:50%;transform:translate(-50%);width:min(640px,calc(100% - 28px));display:flex;flex-direction:column;align-items:center;pointer-events:none}.control-deck>*{pointer-events:auto}.game-actions{display:flex;align-items:center;justify-content:space-around;flex:0 0 var(--actions-height);width:min(380px,90%);padding:6px 0 0}.tool-button{display:flex;align-items:center;flex-direction:column;gap:10px;background:none;border:0;padding:0 4px;font-size:12px;font-weight:800;letter-spacing:1px;color:#eef6ff;min-width:82px;filter:drop-shadow(0 4px 5px #010b26)}.tool-icon{position:relative;display:grid;place-items:center;width:64px;height:62px;border:2px solid #8aadea;border-radius:20px;background:linear-gradient(145deg,#2b4685f2,#102246ef);box-shadow:inset 0 0 0 3px #6391da3b,inset 0 0 18px #458aff3b,0 5px #08172e,0 9px 13px #020b263d}.tool-icon>.icon{width:28px;height:28px;filter:drop-shadow(0 0 5px #258bff)}.resource-count{position:absolute;right:-7px;top:-7px;display:flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 5px;border-radius:50%;font-size:12px;line-height:1;letter-spacing:0;font-weight:800;border:2px solid #b3ceff;color:#ddebff;background:#1c3764;box-shadow:0 2px 3px #010b26aa}.tool-button:disabled{opacity:.43}.hint-tool{color:#ffe59b}.hint-tool .tool-icon{border-color:#ffdc75;background:linear-gradient(145deg,#846523ef,#372711f2);box-shadow:inset 0 0 0 3px #f1c45440,inset 0 0 18px #dbad442e,0 5px #291e0d,0 9px 13px #020b263d}.hint-tool .tool-icon>.icon{filter:drop-shadow(0 0 7px #ffcb42)}.hint-tool .resource-count{border-color:#ffe597;background:#66501b;color:#fff1b2;box-shadow:0 0 9px #ffd25466}.text-button{background:none;border:none;color:#afc7ed;display:flex;align-items:center;gap:7px;padding:10px 0;font-size:13px}.text-button .icon{width:18px;height:18px}.text-button.centered{margin:12px auto 0}.pause-settings{display:flex;gap:10px;margin-top:20px}.pause-settings button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;border:1px solid #6679a65e;border-radius:10px;padding:13px 6px;background:#2836565e;font-size:10px;letter-spacing:.5px;color:#adbee1;min-height:46px}.modal-close{width:38px;height:38px;box-shadow:none}.modal-close .icon{width:20px;height:20px}.modal-card .primary-button,.modal-card .secondary-button{font-size:12px;min-height:52px}.modal-card>p{font-size:13px}.modal-card .eyebrow{justify-content:center}.map-card>.eyebrow{justify-content:flex-start}.map-sector-title{font-size:10px}.level-node{min-height:62px}.level-node b{font-size:24px}.level-node span{font-size:8px}.instruction-row b{font-size:14px}.instruction-row p{font-size:12px}.touch-instruction{display:none}.instruction-row p{color:#b7c6e1}.movement-icon .icon{width:22px;height:22px}.help-card .instruction-row:first-of-type{margin:4px -11px 2px;padding:12px 11px;border:1px solid #91dff1a6;border-radius:13px;background:linear-gradient(135deg,#214779bf,#172247c9);box-shadow:inset 0 1px #c1f9ff2b,0 0 18px #38bdff35}.help-card .instruction-row:first-of-type b{color:#f0fbff;font-weight:700}.help-card .instruction-row:first-of-type p{color:#d5ebfa}.help-card .instruction-row:first-of-type .instruction-icon{background:#276da868;border-color:#8feafe91;box-shadow:0 0 10px #4bdcff45}.help-card .zoom-help{margin:8px 0 4px;color:#cde6f6;font-size:12px;line-height:1.4;text-align:left}@media(max-width:600px){.space-backdrop{background-position:84% center}.space-vignette{background:linear-gradient(#0c0c253b,transparent 22%,transparent 70%,#080e284d)}.modal-layer{padding:15px}.modal-card{padding:30px 24px;border-radius:21px}.modal-card h2{font-size:32px}.map-card{padding:26px 20px}.level-grid{grid-template-columns:repeat(5,1fr);gap:7px}.level-node{padding:8px 0;min-height:51px}.level-node b{font-size:22px}.map-sector-title{margin-top:17px;font-size:9px;letter-spacing:.7px}.map-card>p{font-size:12px;margin-bottom:15px}.map-card h2{font-size:30px}.loader-brand{width:90vw;transform:translateY(-3vh)}.loader-logo{width:86vw}.loader-status{margin-top:34px;font-size:27px}.loader-site{right:18px;bottom:max(22px,env(safe-area-inset-bottom));width:min(220px,62vw)}}@media(max-width:600px),(hover:none)and (pointer:coarse){.control-deck{width:min(390px,calc(100% - 14px))}.game-actions{width:min(340px,90%)}.touch-instruction{display:block}.keyboard-instruction{display:none}}@media(max-width:480px){:root{--header-height:66px;--scene-top:78px;--actions-height:110px}.game-hud{grid-template-rows:44px;column-gap:5px;padding:0 14px}.hud-tools{gap:5px}.level-title{font-size:18px;gap:4px}.level-title .icon{width:20px;height:20px}.hud-tools .icon-button{width:44px;height:44px;border-radius:14px}.hud-tools .icon-button .icon{width:22px;height:22px}.difficulty{padding:4px 6px;font-size:7px}.tool-icon{width:62px;height:60px;border-radius:19px}.tool-button{font-size:12px;letter-spacing:.8px}.toast{font-size:11px;padding:10px 13px}}@media(max-width:340px){.level-title{font-size:16px;gap:3px}.level-title .icon{width:17px;height:17px}.game-hud{padding-inline:8px;column-gap:4px}.hud-tools{gap:4px}.tool-button{min-width:72px}.tool-icon{width:55px;height:53px}}@media(max-height:720px){:root{--header-height:60px;--scene-top:72px;--actions-height:94px}.level-title{font-size:20px}.level-title .icon{width:21px;height:21px}.scene{bottom:calc(var(--footer-height) + 30px + env(safe-area-inset-bottom,0px))}.hint-cue{font-size:9px;padding:4px 10px}.tool-icon{width:54px;height:51px;border-radius:16px}.tool-icon>.icon{width:24px;height:24px}}@media(max-height:720px)and (max-width:480px){.level-title{font-size:18px}.level-title .icon{width:19px;height:19px}}@media(max-height:720px)and (max-width:340px){.level-title{font-size:16px}.level-title .icon{width:17px;height:17px}}@media(orientation:landscape)and (max-height:560px){.game-shell{width:min(100%,1050px);margin:0 auto;min-height:280px}.game-hud{top:calc(8px + env(safe-area-inset-top,0px));bottom:auto;left:8px;transform:none;width:138px;height:126px;grid-template-columns:1fr;grid-template-rows:28px 44px 44px;align-content:start;justify-items:center;gap:5px;padding:0}.hud-status{grid-row:1;grid-column:1;width:100%;justify-self:center;align-self:center}.level-title{font-size:18px}.level-title .icon{width:19px;height:19px}.hud-tools-left{grid-column:1;grid-row:2}.hud-tools-right{grid-column:1;grid-row:3}.hud-tools .icon-button{width:44px;height:44px}.scene{top:calc(30px + env(safe-area-inset-top,0px));right:105px;bottom:calc(40px + env(safe-area-inset-bottom,0px));left:154px}.hint-cue{bottom:calc(9px + env(safe-area-inset-bottom,0px));left:calc(50% + 25px);font-size:9px;padding:4px 9px}.control-deck{position:static;display:contents;transform:none}.game-actions{position:absolute;right:12px;top:env(safe-area-inset-top,0px);bottom:calc(9px + env(safe-area-inset-bottom,0px));height:auto;width:84px;flex-direction:column;padding:12px 0;z-index:4}.tool-button{min-width:65px;font-size:11px;gap:8px}.tool-icon{width:48px;height:45px;border-radius:13px}.tool-icon>.icon{width:24px;height:24px}.toast{top:calc(52px + env(safe-area-inset-top,0px));left:calc(50% + 31px);max-width:calc(100% - 284px);font-size:10px}}@media(max-height:620px){.help-card{max-height:calc(100dvh - 20px);padding:18px 22px}.help-card>.eyebrow{margin-top:9px}.help-card h2{font-size:27px;margin:7px 0}.help-card .instruction-row{padding:8px 0}.help-card .instruction-row:last-of-type{margin-bottom:8px}.help-card .instruction-row p{line-height:1.45}.help-card .primary-button{min-height:46px;margin-top:5px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;scroll-behavior:auto!important}.toast{transition:none!important}}
