/* A game-first workspace. The rest of Zaiko is one Back button away. */
.app-shell:has(#cosmic.active){display:block!important}.app-shell:has(#cosmic.active)>.sidebar,.app-shell:has(#cosmic.active) .topbar,.app-shell:has(#cosmic.active) .lobby-player-hud,.app-shell:has(#cosmic.active) #guestSessionNote,.app-shell:has(#cosmic.active) #zsPowerupDock{display:none!important}.app-shell:has(#cosmic.active)>main{margin:0!important;padding:16px!important;width:100%;max-width:none}.app-shell #cosmic.active{padding:0!important;max-width:none}.cq-solar{max-width:1800px}.cq-solar .cq-top{display:none}.cq-solar .cq-tabs{display:flex;align-items:center;gap:10px;margin:0 0 12px;padding:0 0 12px}.cq-game-title{font-size:24px;margin:0 auto 0 0;white-space:nowrap}.cq-solar .cq-tabs button{flex:none;min-height:40px;padding:8px 12px;font-size:14px}.cq-solar .cq-mission-heading{display:flex;align-items:center;margin:0 0 12px}.cq-solar .cq-mission-heading h2{font-size:21px;margin:0}.cq-solar .cq-mission-heading .cq-kicker{margin:0 0 5px}.cq-solar .cq-mission-heading>div>p:last-child{display:none}.cq-solar .cq-mission-heading .cq-outline{display:none}.cq-solar .cq-game-layout{grid-template-columns:minmax(0,1fr) 340px;gap:18px;align-items:start}.cq-solar .cq-board-shell{max-width:none;width:100%;border:1px solid #547fa5;border-radius:22px;overflow:hidden;background:#050b1b}.cq-solar .cq-stage-info{padding:10px 16px;background:#101e36}.cq-solar .cq-board{position:relative;aspect-ratio:1.3;height:min(70vh,850px);min-height:450px;padding:0;background:#040a18;overflow:hidden}.cq-planet-scene{position:absolute;inset:0;pointer-events:none;z-index:0}.cq-globe-canvas{width:100%;height:100%;display:block}.cq-planet-fallback{background:center/contain no-repeat url('./assets/earth-nasa.jpg');opacity:.65}.cq-solar .cq-grid{position:absolute;inset:7% 13%;width:auto;height:auto;aspect-ratio:auto;background:transparent;border:0;z-index:2;transform:perspective(1000px) rotateX(8deg) rotateZ(-5deg);border-radius:30%;overflow:visible}.cq-solar .cq-cell{border:1px solid #9bd5ff24;background:transparent}.cq-solar .cq-cell:nth-child(6n+1){border-left-color:transparent}.cq-solar .cq-rock-cell{background:#09142c65;border-radius:12px}.cq-solar .cq-crystal{font-size:30px;text-shadow:0 0 8px #0b1738,0 0 15px #45edc7}.cq-solar .cq-goal{filter:drop-shadow(0 0 8px #17294a)}.cq-solar .cq-nova.custom-nova-character{width:140%;height:140%;margin:-20%;filter:drop-shadow(0 3px 5px #020815);transform:none}.cq-solar .cq-map-legend{position:absolute;bottom:8px;left:16px;z-index:3;background:#081124b8;border-radius:10px;padding:7px 10px}.cq-solar .cq-flight-log{font-size:14px;padding:10px 16px;min-height:44px;background:#101b30}.cq-solar .cq-flight-status{margin:8px 0;padding:8px 14px;background:#152039;border-color:#354a6b}.cq-mission-help{margin:8px 0;border:1px solid #3b526e;border-radius:12px;padding:10px 14px}.cq-mission-help summary{font-size:14px;cursor:pointer;font-weight:800}.cq-mission-help .cq-objective{margin:10px 0}.cq-mission-help .cq-orbit-card{margin-bottom:10px}.cq-solar .cq-code-panel{padding:16px;max-height:calc(100dvh - 150px);overflow:auto}.cq-solar .cq-code-title .cq-kicker,.cq-solar .cq-live-dot,.cq-solar .cq-code-note{display:none}.cq-solar .cq-code-title h3{font-size:21px}.cq-solar .cq-bank{display:grid;grid-template-columns:1fr 1fr;gap:6px}.cq-solar .cq-bank button{font-size:13px;padding:8px;min-height:44px}.cq-solar .cq-editor-help{font-size:14px}.cq-solar .cq-program{max-height:250px;min-height:100px}.cq-solar .cq-code-footer{display:flex;flex-wrap:wrap;gap:12px;padding:10px 0;background:transparent;position:sticky;bottom:-16px;background:#1b2343}.cq-solar .cq-run{flex:1}.cq-solar .cq-success{position:fixed;z-index:100;bottom:24px;left:50%;transform:translateX(-50%);width:min(780px,94vw);box-shadow:0 0 0 100vmax #04091999,0 15px 70px #000;border:1px solid #94e8d0}.cq-solar .cq-success-story{display:none}.cq-warp-out .cq-rover-position{animation:cq-depart .85s ease-in forwards!important}.cq-warp-out .cq-planet-scene{animation:cq-zoom-away .85s ease-in forwards}.cq-arriving .cq-planet-scene{animation:cq-arrive .9s ease-out}.cq-arriving .cq-rover-position{animation:cq-pilot-arrive .9s ease-out!important}@keyframes cq-depart{to{translate:65vw -60vh;scale:.15;opacity:0}}@keyframes cq-zoom-away{to{scale:.2;opacity:0}}@keyframes cq-arrive{from{scale:2.5;opacity:0}to{scale:1;opacity:1}}@keyframes cq-pilot-arrive{from{translate:-40vw 30vh;opacity:0}to{translate:0 0;opacity:1}}@media(max-width:950px){.cq-solar .cq-game-layout{grid-template-columns:minmax(0,1fr) 300px;gap:12px}.cq-solar .cq-board{min-height:350px;height:65vh}.cq-solar .cq-grid{inset:8% 5%}.cq-game-title{font-size:21px}}@media(max-width:700px){.app-shell:has(#cosmic.active)>main{padding:10px!important}.cq-solar .cq-tabs{gap:4px;flex-wrap:wrap}.cq-game-title{font-size:21px;width:100%;margin-bottom:2px}.cq-solar .cq-tabs button{font-size:12px;padding:7px 9px;min-height:40px}.cq-solar .cq-game-layout{grid-template-columns:1fr}.cq-solar .cq-board{height:auto;min-height:0;aspect-ratio:1.06}.cq-solar .cq-grid{inset:6% 8%}.cq-solar .cq-code-panel{max-height:none}.cq-solar .cq-program{max-height:180px}.cq-solar .cq-code-footer{position:static}.cq-solar .cq-mission-heading h2{font-size:18px}.cq-solar .cq-mission-heading{margin-bottom:8px}.cq-solar .cq-stage-info{font-size:13px}.cq-solar .cq-success{bottom:10px;padding:16px}.cq-solar .cq-success h3{font-size:23px}.cq-solar .cq-map-legend{font-size:11px;gap:10px}.cq-solar .cq-crystal{font-size:25px}}@media(prefers-reduced-motion:reduce){.cq-warp-out *,.cq-arriving *{animation:none!important;transition:none!important}}
/* Readable navigation targets and directional jet thrust during code execution. */
.cq-solar .cq-crystal{display:grid;place-items:center;width:clamp(30px,5vw,52px);height:clamp(30px,5vw,52px);font-size:clamp(25px,3.5vw,39px);line-height:1;background:#062f35;border:2px solid #b6ffec;border-radius:12px;color:#baffed;box-shadow:0 0 0 4px #153a4599,0 0 24px #45edc780;text-shadow:0 0 9px #65ffd3}
.cq-solar .cq-bomb{display:grid;place-items:center;width:clamp(32px,5vw,54px);height:clamp(32px,5vw,54px);font-size:clamp(25px,3.5vw,39px);background:#4a1420;border:3px solid #ffb1a6;border-radius:50%;box-shadow:0 0 0 4px #6d1a2499,0 0 20px #ff675b70;z-index:3}
.cq-solar .cq-pulse{border-width:3px;background:#0b392eee}.cq-solar .cq-pulse.is-hot{background:#6a201dee;border-color:#ffc1a7}
.cq-solar .cq-map-legend{font-size:13px;background:#071426ef;color:#e3f6ff;flex-wrap:wrap;max-width:calc(100% - 32px)}
.cq-jet{position:absolute;inset:12%;pointer-events:none;z-index:-1;transform:rotate(var(--angle));transition:transform .25s;opacity:0}
.cq-jet i{position:absolute;right:60%;top:35%;width:80%;height:13%;border-radius:100% 15% 15% 100%;background:linear-gradient(90deg,transparent,#569dff88,#7decff,#fff8c1);filter:drop-shadow(0 0 5px #53dfff);transform-origin:right center}
.cq-jet i+i{top:60%}.cq-flying .cq-jet{opacity:1}.cq-flying .cq-jet i{animation:cq-jet-thrust .16s ease-in-out infinite alternate}
.cq-flying .custom-nova-character canvas{animation:cq-flight-lift .48s ease-in-out;filter:drop-shadow(0 5px 9px #54dbff99)}
@keyframes cq-jet-thrust{from{scale:.8 .8}to{scale:1.2 1.3}}
@keyframes cq-flight-lift{0%,100%{translate:0 0;rotate:0deg}50%{translate:0 -7px;rotate:-7deg}}
@media(max-width:700px){.cq-solar .cq-map-legend{font-size:11px;gap:8px}.cq-solar .cq-crystal{width:30px;height:30px;font-size:26px}.cq-solar .cq-bomb{width:32px;height:32px;font-size:25px}}
@media(prefers-reduced-motion:reduce){.cq-jet i,.cq-flying .custom-nova-character canvas{animation:none!important}.cq-jet{transition:none}}
