:root{--paper:#f8f7f0;--ink:#203d34;--green:#205a47;--muted:#7a857b;--line:#ddded1;--orange:#c88339;--soft:#edf1e6}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,'PingFang SC','Microsoft YaHei',sans-serif}button{font:inherit;cursor:pointer;color:inherit;border:1px solid var(--line);background:transparent;border-radius:6px;transition:background .15s,transform .15s}button:hover:not(:disabled){background:#e7edde}button:focus-visible{outline:3px solid #cb953e;outline-offset:3px}button:disabled{opacity:.34;cursor:not-allowed}header{height:106px;display:flex;align-items:center;padding:18px 32px;gap:32px;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:14px;flex:1}.brand-icon{border-radius:50%;background:var(--green);color:var(--paper);height:56px;width:56px;display:grid;place-items:center;font-size:30px}.brand h1{font-size:26px;letter-spacing:2px;margin:0 0 3px;font-weight:750}.brand small{font-size:10px;letter-spacing:3px}.stat{border-left:1px solid var(--line);padding:0 34px;min-width:150px}.stat small{display:block;font-size:11px;color:var(--muted);margin-bottom:5px}.stat b{font:500 30px ui-monospace,SFMono-Regular,monospace;letter-spacing:2px}.top-controls{display:flex;gap:8px;align-items:center}.top-controls button{height:40px;min-width:40px;padding:0 12px;font-size:12px}#pause{background:var(--green);color:white;border-color:var(--green)}main{display:grid;grid-template-columns:minmax(0,1fr) 294px;gap:20px;padding:22px 28px 0;max-width:1720px;margin:auto}.play-area{min-width:0}.map-bar{display:flex;justify-content:space-between;align-items:center;font-size:11px;gap:12px;padding:0 0 14px}.map-bar>span:first-child{font-weight:600}.map-bar em{font-style:normal;color:var(--muted);margin-left:6px;font-size:10px}.dot{display:inline-block;width:6px;height:6px;background:#477d53;border-radius:50%;margin-right:7px}.weather{color:var(--muted)}.map-wrap{position:relative;overflow:hidden;border-radius:10px;background:#acbf92;border:1px solid #8d9c78}#map{display:block;width:100%;height:auto}.map-labels{font:600 22px ui-monospace,monospace;fill:#efefda}.map-corner{position:absolute;bottom:14px;left:16px;right:16px;display:flex;align-items:center;justify-content:space-between;pointer-events:none;color:white;text-shadow:0 1px 4px #253b28}.map-corner span{font:15px ui-monospace,monospace}.map-corner small{font-size:10px}.plane{cursor:pointer;outline:none}.plane .ring{fill:transparent;stroke:transparent;stroke-width:1.7}.plane.selected .ring,.plane:focus .ring{stroke:#e8fcb0;stroke-dasharray:4 3;fill:#e5f6bd19}.plane:hover .ring{stroke:#e8fcb0}.plane text{font:600 10px ui-monospace,monospace}.plane .label-bg{fill:var(--paper);stroke:#c3c7b3;stroke-width:.7}.plane.selected .label-bg{fill:var(--green);stroke:#e0f2b8}.plane.selected text{fill:white}.bottom-bar{padding:14px 2px;display:flex;justify-content:space-between;font-size:11px;color:#6e7b6d}.bottom-bar b{color:var(--ink);font-family:ui-monospace,monospace}.log-panel{margin-top:5px;border-top:1px solid var(--line);padding-top:17px}.section-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}.section-heading h2{font-size:14px;margin:0;letter-spacing:1px}.section-heading>span{color:var(--muted);font:10px ui-monospace,monospace;letter-spacing:1px}#logs{height:87px;overflow:auto}.log-row{padding:8px 0;display:flex;gap:15px;border-top:1px solid #e7e7dd;font-size:11px;line-height:1.5}.log-row time{font:11px ui-monospace,monospace;color:#8b9387;white-space:nowrap}.log-row.warn{color:#b57435}.log-row.good{color:#357758}aside{display:flex;flex-direction:column;border-left:1px solid var(--line);padding-left:20px}.filters{display:flex;border-bottom:1px solid var(--line);gap:25px;margin-bottom:10px}.filters button{border:0;border-radius:0;padding:7px 0 10px;font-size:12px;color:var(--muted)}.filters .active{border-bottom:2px solid var(--green);color:var(--green);font-weight:650}#flights{height:245px;overflow:auto;padding:2px}.flight{width:100%;text-align:left;border:1px solid var(--line);padding:12px 13px;margin-bottom:8px;background:#fcfcf5;border-radius:7px}.flight.active{border-color:#58856b;background:#eef2e6;box-shadow:inset 3px 0 var(--green)}.flight-top{display:flex;justify-content:space-between;align-items:center}.flight-top b{font:600 16px ui-monospace,monospace}.badge{font-size:10px;background:#e6ebe0;padding:3px 7px;border-radius:4px}.badge.warn{background:#f4e5ce;color:#a76724}.flight-detail{display:flex;justify-content:space-between;font-size:10px;color:var(--muted);margin-top:8px}.fuel{height:3px;background:#dde3d4;margin-top:9px;border-radius:3px;overflow:hidden}.fuel>i{display:block;height:100%;background:#749775}.fuel.low>i{background:var(--orange)}.command-section{padding-top:22px;border-top:1px solid var(--line);margin-top:18px}#selected{padding:0 0 15px;min-height:77px}.selected-title{font:600 21px ui-monospace,monospace;margin-bottom:8px}.selected-title span{font:10px sans-serif;color:var(--muted);float:right;margin-top:7px}.selected-desc{font-size:11px;color:var(--muted)}.empty{font-size:12px;line-height:1.8;color:var(--muted);padding:10px 0}.actions{display:grid;gap:8px}.actions button{height:43px;text-align:left;padding:0 15px;font-size:13px;border-color:#9aaa95;background:#f3f4e9;display:flex;align-items:center;gap:13px}.actions button:not(:disabled){background:#e4eddd;border-color:#538065}.actions button>span{font-size:21px}.actions kbd{margin-left:auto;font:10px ui-monospace,monospace;color:var(--muted)}#around{width:100%;padding:11px 5px;margin-top:10px;border:0;text-align:left;font-size:12px;color:#9a6c34}#around small{font-size:10px;float:right;color:#9e9c88}.hint{font-size:10px;line-height:1.8;color:var(--muted);margin:4px 0 0}.restart{font-size:11px;padding:11px;margin-top:auto;border:0;color:var(--muted)}footer{max-width:1720px;margin:15px auto 0;padding:17px 28px;border-top:1px solid var(--line);display:flex;gap:24px;font-size:10px;color:#8a9487}footer span:last-child{margin-left:auto}.overlay{position:absolute;inset:0;background:#152e2240;backdrop-filter:blur(3px);display:flex;align-items:center;justify-content:center}.overlay.hidden{display:none}.welcome{background:#f8f7eff5;max-width:420px;width:84%;padding:30px 36px;border-radius:12px;text-align:center;box-shadow:0 16px 60px #19332133}.welcome-mark{width:42px;height:42px;border-radius:50%;background:var(--green);color:white;display:grid;place-items:center;font-size:23px;margin:0 auto 16px}.welcome>small{color:#788472;font-size:11px}.welcome h2{font-size:30px;line-height:1.45;font-weight:650;letter-spacing:2px;margin:13px 0}.welcome p{font-size:12px;line-height:1.9;color:#79816f}.steps{display:flex;justify-content:space-between;gap:8px;font-size:10px;padding:16px 0;color:#5f735a}.primary{background:var(--green);color:white;border-color:var(--green);padding:14px 20px;font-size:13px;display:block;width:100%;margin:6px 0}.primary:hover:not(:disabled){background:#317259}.primary span{float:right}.welcome .micro{font-size:9px;margin:12px 0 0}#toast{position:absolute;top:15px;left:50%;transform:translateX(-50%) translateY(-70px);padding:11px 18px;border-radius:7px;background:#f8f7f0;color:var(--green);box-shadow:0 4px 20px #203b2826;font-size:12px;transition:transform .2s;white-space:nowrap;pointer-events:none;z-index:5}#toast.show{transform:translateX(-50%) translateY(0)}dialog{border:1px solid var(--line);background:var(--paper);color:var(--ink);border-radius:14px;max-width:520px;padding:36px;line-height:1.9;width:calc(100% - 32px)}dialog::backdrop{background:#142d2670;backdrop-filter:blur(5px)}dialog>small{font-size:10px;letter-spacing:2px;color:var(--muted)}dialog h2{font-size:27px;margin:10px 0}dialog p,dialog li{font-size:12px}dialog ol{padding-left:20px}dialog li{margin-bottom:10px}.close{position:absolute;right:15px;top:15px;border:0;font-size:25px}.result-score{font:500 48px ui-monospace,monospace;margin:20px 0;color:var(--green)}@media(min-width:1500px){#flights{height:310px}.actions button{height:49px}.command-section{padding-top:25px}.welcome{padding:38px}}@media(max-width:1100px){header{padding:18px 22px;gap:8px}.stat{padding:0 18px;min-width:115px}main{padding:18px 18px 0;gap:15px;grid-template-columns:minmax(0,1fr) 260px}aside{padding-left:15px}.weather{display:none}.brand h1{font-size:22px}.brand-icon{width:45px;height:45px}.welcome{padding:20px}.welcome h2{font-size:23px}.welcome-mark{display:none}#flights{height:210px}.command-section{margin-top:10px;padding-top:15px}.actions button{height:39px}}@media(max-width:760px){header{height:auto;flex-wrap:wrap;padding:14px 16px;gap:14px}.brand{flex-basis:58%}.brand h1{font-size:20px}.brand small{font-size:8px;letter-spacing:2px}.brand-icon{width:39px;height:39px;font-size:23px}.top-controls{order:1}.stat{order:2;min-width:0;flex:1;border:0;padding:0}.stat small{display:inline-block;margin:0 12px 0 0}.stat b{font-size:22px}main{display:flex;flex-direction:column;padding:14px 12px 0}.map-bar{font-size:10px}.map-wrap{min-height:330px}#map{min-height:330px;object-fit:contain}.map-corner small{display:none}.welcome{padding:20px;width:83%;max-width:340px}.welcome h2{font-size:22px;margin:8px 0}.welcome p{font-size:10px;margin:6px 0}.steps{padding:10px 0;font-size:9px}.welcome .micro{font-size:8px}.welcome>small{font-size:10px}.bottom-bar{font-size:10px}.log-panel{display:none}aside{border:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:14px}.command-section{border:0;margin:0;padding:0}.flight-section{min-width:0}#flights{height:310px}.filters{gap:18px}.flight{padding:10px}.flight-top b{font-size:12px}.badge{font-size:9px;padding:3px}.flight-detail{font-size:9px}.actions button{font-size:11px;padding:0 9px;gap:8px}.actions kbd{display:none}.actions button>span{font-size:17px}#selected{min-height:70px}.selected-title{font-size:17px}.selected-title span{float:none;display:block;margin-top:5px}.selected-desc{font-size:10px}#around{font-size:10px}#around small{float:none;display:block;font-size:9px;margin-top:4px}.restart{grid-column:1/-1;margin:0}footer{padding:14px 16px;margin-top:6px}footer>span:first-child{display:none}} .runway-select{display:block;font-size:10px;color:var(--muted);margin:0 0 12px}.runway-select select{display:block;font:11px inherit;color:var(--ink);padding:9px 6px;width:100%;margin-top:6px;border:1px solid var(--line);background:var(--paper);border-radius:5px}.runway-select select:disabled{opacity:.5}.runway-text{font:700 14px ui-monospace,monospace;fill:#f4f4dd}.runway-info{font:500 11px ui-monospace,monospace}.crash-ring{fill:#fa743455;stroke:#f3b66b;stroke-width:4}.map-wrap .plane .ring{stroke-width:1.5}.plane text{font-size:11px}.map-corner{bottom:10px}#flights{height:240px}.command-section{margin-top:12px;padding-top:16px}#selected{min-height:68px}.actions button{height:39px}.welcome h2{font-size:29px}.runway-status{fill:#1d533f}.runway-status.busy{fill:#a7533d}.intersection{fill:none;stroke:#e5cb77;stroke-width:1;stroke-dasharray:5 6;opacity:.7}.air-trail{fill:none;stroke:#f8f6df;stroke-width:1.5;opacity:.45}.route-path{fill:none;stroke:#fff9cc;stroke-width:1.6;stroke-dasharray:7 7;opacity:.8}@media(min-width:1500px){#flights{height:280px}.actions button{height:46px}}@media(max-width:760px){#flights{height:410px}.welcome h2{font-size:23px}.runway-select select{font-size:10px}.map-wrap{min-height:300px}#map{min-height:300px}.map-corner{display:none}} @media(min-width:761px) and (max-height:900px){header{height:78px;padding-top:10px;padding-bottom:10px}.brand h1{font-size:23px}.brand-icon{height:45px;width:45px}main{padding-top:14px;gap:18px;grid-template-columns:minmax(0,1fr) 270px}.map-wrap{height:calc(100vh - 245px);min-height:365px}#map{width:100%;height:100%}.map-wrap{background:#b5c397}.map-bar{padding-bottom:10px}.welcome{padding:22px 30px;max-width:350px}.welcome-mark{display:none}.welcome h2{font-size:25px}.welcome p{font-size:11px}.steps{padding:10px 0}.bottom-bar{padding:10px 2px}.log-panel{padding-top:12px}.log-panel .section-heading{margin-bottom:8px}#logs{height:66px}#flights{height:158px}.section-heading{margin-bottom:10px}.filters{margin-bottom:6px}.flight{padding:10px 12px}.command-section{margin-top:10px;padding-top:12px}#selected{min-height:54px;padding-bottom:8px}.selected-title{font-size:18px;margin-bottom:6px}.runway-select{margin-bottom:8px}.runway-select select{padding:7px 6px}.actions{gap:6px}.actions button{height:33px;font-size:12px}#around{padding:7px 4px;margin-top:7px}.restart{padding:6px}.hint{font-size:9px}footer{padding-top:12px;padding-bottom:10px;margin-top:8px}} @media(max-width:760px){header{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px}.brand{min-width:0;gap:9px}.brand h1{font-size:18px;letter-spacing:1px}.top-controls{justify-content:flex-end;gap:5px;order:0}.top-controls button{padding:0 9px}.stat{min-width:0;white-space:nowrap;order:0}.stat:last-of-type{text-align:right}.stat b{font-size:21px}.stat small{margin-right:9px;font-size:10px}.brand small{letter-spacing:1.4px}} [hidden],.actions button[hidden],.runway-select[hidden]{display:none!important}.actions button{white-space:nowrap}.runway-select{font-size:11px}.selected-desc{line-height:1.6}.map-wrap{background:#b5c397} .landing-status{font-size:10px;line-height:1.5;color:#9a7339;margin:0 0 8px}.plane text{font-size:19px}.plane .alt{font-size:13px}.plane.ground:not(.selected) .label-bg,.plane.ground:not(.selected) text{display:none}.plane.airborne .ring{r:43px}.command-section .actions{gap:5px}.command-section .runway-select{margin-bottom:7px}.command-section .runway-select select{padding:6px}.command-section .hint{line-height:1.55}.command-section #around{padding:5px;margin-top:4px}#flights{height:150px}@media(min-width:761px) and (max-height:900px){#flights{height:126px}.command-section{padding-top:9px;margin-top:7px}.command-section .actions button{height:30px}.command-section #selected{min-height:45px}.landing-status{font-size:9px}.command-section .runway-select{font-size:10px}.command-section .section-heading{margin-bottom:7px}}@media(max-width:760px){#flights{height:460px}.landing-status{font-size:9px}.actions button{font-size:10px}.bottom-bar{flex-wrap:wrap;gap:6px}.command-section .actions{gap:7px}} .copyright{display:block;max-width:100%;font-size:10px;line-height:1.6;opacity:.7}footer{flex-wrap:wrap;gap:8px}