#lg-flight svg.crosshair {width:min(296px,66vw);height:auto;stroke:none;opacity:1;--line:#253d49;--violet:#b6a4ff;--muted:#a2bbc8;--ink:#edfaff;--red:#ff5568;--green:#63efa8;--yellow:#ffcf65;--orange:#ffa451}
#lg-flight .crosshair .aim { fill:#e5fcff; filter:drop-shadow(0 0 3px #6dcbff); }
#lg-flight .crosshair .rail,#lg-flight .crosshair .meter { fill:none; stroke-width:4; }
#lg-flight .crosshair .rail { stroke:var(--line); }
#lg-flight .crosshair .meter { transition:stroke-dasharray 100ms linear; filter:drop-shadow(0 0 2.5px color-mix(in srgb,var(--signal) 50%,transparent)); }
#lg-flight .crosshair .capacitor { --signal:var(--violet); }
#lg-flight .crosshair .capacitor .rail { stroke:#30284b; }
#lg-flight .crosshair .capacitor .meter { stroke:var(--violet); }
#lg-flight .crosshair .readout,#lg-flight .crosshair .label,#lg-flight .crosshair .inc,#lg-flight .crosshair .status-clock { fill:var(--muted); font:500 9px ui-monospace,monospace; dominant-baseline:central; paint-order:stroke; stroke:#060d17; stroke-width:2px; stroke-linejoin:round; font-variant-numeric:tabular-nums; }
#lg-flight .crosshair .pct { fill:var(--ink); font-size:7.5px; }
#lg-flight .crosshair .label { font-size:6.5px; }
#lg-flight .crosshair [data-mode="asteroid"] .pct,#lg-flight .crosshair [data-mode="asteroid"] .label { font-size:9px; }
#lg-flight .crosshair .inc { fill:var(--red); font-weight:750; font-size:10px; letter-spacing:.08em; }
#lg-flight .crosshair .combat-light,#lg-flight .crosshair .status-clock { fill:var(--green); }
#lg-flight .crosshair [data-state="attacked"] { fill:var(--yellow); }
#lg-flight .crosshair [data-state="combat"] { fill:var(--red); }
#lg-flight .crosshair .combat-light { filter:drop-shadow(0 0 3px #d8ebf370); }
#lg-flight .crosshair .battery,#lg-flight .crosshair .leech-battery { position:absolute; box-sizing:border-box; left:5px; top:3px; width:8px; height:5px; color:#d5caff; border:1px solid currentColor; border-radius:1px; }
#lg-flight .crosshair .battery::after,#lg-flight .crosshair .leech-battery::after { content:""; position:absolute; right:-2px; top:1px; width:1px; height:2px; background:currentColor; }
#lg-flight .crosshair .battery::before,#lg-flight .crosshair .leech-battery::before { content:""; position:absolute; inset:1px; background:currentColor; opacity:.65; }
#lg-flight .crosshair .hazard { display:grid; place-items:end center; margin:1px; width:15px; height:13px; color:#27090e; background:var(--red); clip-path:polygon(50% 0,100% 100%,0 100%); font:800 9px/10px system-ui,sans-serif; }
#lg-flight .crosshair .threat-icon { display:block; position:relative; width:100%; height:100%; color:var(--orange); }
#lg-flight .crosshair .threat-icon::before,#lg-flight .crosshair .threat-icon::after { position:absolute; content:""; }
#lg-flight .crosshair [data-kind="missile"] .threat-icon::before { top:5px; left:2px; width:17px; height:7px; background:currentColor; transform:rotate(-32deg); clip-path:polygon(0 0,31% 24%,73% 24%,100% 50%,73% 76%,31% 76%,0 100%,9% 50%); }
#lg-flight .crosshair [data-kind="missile"] .threat-icon::after { top:11px; left:0; width:5px; height:1.5px; background:#ffdeaa; transform:rotate(-32deg); }
#lg-flight .crosshair [data-kind="torpedo"] .threat-icon::before { top:4px; left:2px; width:16px; height:9px; background:currentColor; clip-path:polygon(0 21%,14% 21%,14% 0,69% 0,100% 24%,100% 76%,69% 100%,14% 100%,14% 79%,0 79%); }
#lg-flight .crosshair [data-kind="torpedo"] .threat-icon::after { top:4px; left:11px; width:2px; height:9px; background:#873a26; }
#lg-flight .crosshair [data-kind="mine"] .threat-icon::before { top:1px; left:3px; width:14px; height:14px; background:currentColor; clip-path:polygon(45% 0,55% 0,62% 22%,83% 9%,91% 17%,78% 38%,100% 45%,100% 55%,78% 62%,91% 83%,83% 91%,62% 78%,55% 100%,45% 100%,38% 78%,17% 91%,9% 83%,22% 62%,0 55%,0 45%,22% 38%,9% 17%,17% 9%,38% 22%); }
#lg-flight .crosshair [data-kind="mine"] .threat-icon::after { top:6px; left:8px; width:4px; height:4px; border-radius:50%; background:#873a26; }

#lg-flight #lg-flight-controls .module {position:relative;border:0;background:transparent;box-shadow:none}
#lg-flight .module-frame {position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#lg-flight .module-outline {fill:#111d29;stroke:#697b8c;stroke-width:1.15}
#lg-flight .module.active .module-outline {fill:#233543;stroke:var(--module-ink)}
#lg-flight .module-progress {fill:none;stroke:var(--module-ink);stroke-width:1.8;stroke-dasharray:100 100}
#lg-flight .module-state {position:absolute;left:50%;bottom:10%;width:18%;height:2px;transform:translateX(-50%);border:1px solid #8796a3;background:#101820}
#lg-flight .module.active .module-state {background:var(--module-ink);border-color:var(--module-ink)}
#lg-flight #lg-flight-controls .module .flight-icon {position:relative;width:62%;height:62%;margin-bottom:8%;color:#edf5fb}

#gtn-transfer {position:fixed;top:19%;left:50%;transform:translateX(-50%);z-index:12;max-width:min(82vw,440px);padding:9px 14px;border:1px solid #54c5bd;border-radius:4px;background:#091b22ed;color:#d8fff5;font:600 12px system-ui;text-align:center;pointer-events:none}
#gtn-transfer::before {content:"";display:inline-block;width:7px;height:7px;border-radius:50%;margin-right:8px;background:#70ffd3;animation:gtn-uplink 1s ease-in-out infinite alternate}
@keyframes gtn-uplink {to{opacity:.25}}
@media(prefers-reduced-motion:reduce){#gtn-transfer::before{animation:none}}
.gtn-chart{display:block;width:100%;max-height:180px;background:#08141d;border-radius:5px}.gtn-chart g{cursor:pointer}
