.scene-legend{display:flex;gap:14px;flex-wrap:wrap;padding:8px 20px 14px;color:#527062;font-size:11px;border-top:1px solid #e7eee8}.scene-legend span{display:flex;align-items:center;gap:5px}.dot{display:inline-block;width:8px;height:8px;border-radius:50%}.dot.teal{background:#398667}.dot.amber{background:#c39148}.dot.blue{background:#7eabc3}.dot.brown{background:#9b7760}
.scene-label{font-size:13px;fill:#466c54;font-weight:650}.scene-small{font-size:11px;fill:#526c60}.runway-label{font-size:14px;fill:#fff;font-weight:650;letter-spacing:.5px}.apron-label{font-size:15px;fill:#326351;font-weight:700}.warehouse-label{font-size:14px;fill:#31555a;font-weight:700}.offsite-label{font-size:13px;fill:#805f2f;font-weight:700}.air-label{font-size:14px;fill:#476f81;font-weight:700}.map-caption{font-size:12px;fill:#425c4c;font-weight:650}.stand-shadow{fill:#58755b;opacity:.23}.stand{fill:#f8fcf8;stroke:#61967d;stroke-width:3}.stand.outside{fill:#fff9e9;stroke:#bf9855}.stand.busy{fill:#e0f2e7;stroke:#1e7d5b;stroke-width:4}.stand.outside.busy{fill:#fbe9bf;stroke:#b28436}.stand-h{stroke:#85ab92;stroke-width:4;fill:none;opacity:.8}.stand-number{fill:#426858;font-size:11px;text-anchor:middle;font-weight:700}.plane-mark{cursor:pointer}.plane-mark.selected{filter:drop-shadow(0 0 8px #e39b40)}.drone-id{fill:#fff;text-anchor:middle;font-size:10px;font-weight:800;pointer-events:none}.cargo-icon{fill:#c7934e;stroke:#956631;stroke-width:2}.cargo-id{font-size:10px;fill:#75552d;font-weight:700}
.view-buttons{display:flex;gap:5px;margin-left:auto}.view-buttons button{padding:7px 10px}#sceneHost{position:relative}#threeCanvas{width:100%;height:650px;border-radius:10px;overflow:hidden;background:#e9f2f3}#threeCanvas canvas{display:block;width:100%;height:100%;touch-action:none}#svgFallback svg{width:100%;display:block;max-height:650px}.camera-hint{position:absolute;left:20px;bottom:16px;border-radius:20px;padding:7px 12px;background:#fffdf0e8;color:#426451;font-size:11px;pointer-events:none;box-shadow:0 3px 16px #163d2220}@media(max-width:850px){#threeCanvas{height:440px}.camera-hint{font-size:10px;bottom:8px}}
.game-hud{display:none;pointer-events:none;position:absolute;inset:0;z-index:3;color:#edf9f6;font-size:12px}.game-hud button{pointer-events:auto;color:#e7f8ef;background:#0e2630da;border:1px solid #91e6c755;backdrop-filter:blur(8px)}.game-hud button:hover{background:#176554}.game-hud-top{position:absolute;left:18px;top:18px;display:flex;gap:10px;align-items:flex-start}.game-hud-card{min-width:158px;padding:11px 14px;border:1px solid #77dcb36c;border-radius:10px;background:#0d2730da;backdrop-filter:blur(9px);box-shadow:0 8px 30px #081d2470}.game-hud-card span{display:block;color:#a2dec7;font-size:10px;letter-spacing:1.4px}.game-hud-card strong{display:block;font-size:23px;margin-top:4px;color:#f3fffa}.game-hud-card small{display:block;color:#b6d1ca;font-size:10px;margin-top:2px}.game-mission{position:absolute;right:18px;top:18px;width:245px}.game-mission b{display:block;font-size:14px;margin-top:6px}.game-progress{height:7px;margin:10px 0;border-radius:8px;background:#254348;overflow:hidden}.game-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#6de0aa,#f3c56b);transition:width .3s}.game-events{position:absolute;left:18px;bottom:55px;max-width:320px;padding:10px 14px;border-left:3px solid #76dfb4;background:#0d2630c9;backdrop-filter:blur(6px);line-height:1.6}.game-camera{position:absolute;right:18px;bottom:55px;display:flex;gap:6px}.game-keys{position:absolute;right:18px;bottom:14px;color:#e1f7ed;background:#102a32a9;padding:5px 9px;border-radius:5px;font-size:10px}.game-mode{overflow:hidden}.game-mode .stage-panel{position:fixed;inset:0;z-index:200;margin:0;border:0;border-radius:0;padding:0;background:#0e242b;display:flex;flex-direction:column}.game-mode .stage-panel>.section-head{margin:0;padding:12px 22px;background:#0d222a;color:#eaf7ef;border-bottom:1px solid #4e927d80}.game-mode .stage-panel .eyebrow{color:#86caad}.game-mode .stage-panel .clock{color:#b9f0dc}.game-mode #gameMode{background:#dbad64;border-color:#dbad64;color:#162b29}.game-mode .stage-panel .scene-wrap{flex:1;min-height:0;padding:0}.game-mode #sceneHost,.game-mode #threeCanvas{height:100%;border-radius:0}.game-mode #threeCanvas canvas{filter:saturate(1.18) contrast(1.06)}.game-mode #svgFallback{height:100%;overflow:auto}.game-mode #svgFallback svg{max-height:none;height:100%}.game-mode .game-hud{display:block}.game-mode .camera-hint{display:none!important}.game-mode .stage-panel .scene-legend{padding:5px 20px;background:#102a31;border-color:#315a51;color:#b4d4c3}.game-mode .stage-panel .stage-stats{padding:8px 20px;background:#122b32;border-color:#315a51}.game-mode .stage-stat span{color:#9bc8b1}.game-mode .stage-stat strong{color:#effdf5}.game-mode .stage-panel .transport{padding:8px 20px;background:#0e242b}.game-mode .stage-panel .transport label{color:#bce0ce}.game-mode .stage-panel button:not(.game-hud button):not(#gameMode){border-color:#497567}.game-mode .stage-panel #seek{margin:3px 20px 0}.game-mode .stage-panel .time-scale{padding-bottom:5px;color:#b7d6c3}.game-mode .zone-panel,.game-mode .warehouse-view{z-index:8}.game-mode .zone-panel{background:#f7fbf7f2}.game-mode .warehouse-view{background:#f4f8f3}.game-mode .stage-panel .primary{background:#217f63;color:white}@media(max-width:850px){.game-hud-top{left:7px;top:7px;gap:4px}.game-hud-card{min-width:105px;padding:6px}.game-hud-card strong{font-size:16px}.game-mission{right:7px;top:65px;width:180px}.game-events{left:7px;bottom:52px;max-width:190px;font-size:10px}.game-camera{right:7px;bottom:49px;flex-wrap:wrap;width:125px}.game-camera button{padding:4px}.game-keys{display:none}.game-mode .stage-panel>.section-head{padding:6px 10px}.game-mode .stage-panel .scene-legend{display:none}.game-mode .stage-panel .stage-stats{grid-template-columns:repeat(5,1fr);gap:3px}.game-mode .stage-stat strong{font-size:12px}.game-mode .stage-stat span{font-size:9px}}
.game-mode #sceneHost{height:auto;flex:1;min-height:0}.game-mode #threeCanvas{height:100%}

.game-live-actions{pointer-events:auto;position:absolute;left:18px;bottom:112px;display:flex;gap:6px;align-items:center;flex-wrap:wrap}.game-live-actions span{font-size:10px;color:#a2dec7}.game-live-actions button{padding:5px 7px;border-radius:6px;font-size:10px}
