:root { color-scheme: dark; font-family: Inter, system-ui, sans-serif; background: #050907; color: #d9ffe6; }
body { margin: 0; min-height: 100vh; display: grid; place-items: center; }
.app-shell { display: grid; grid-template-columns: 230px minmax(0, 700px) 300px; gap: 16px; align-items: stretch; height: 732px; padding: 16px; box-sizing: border-box; }
.panel { min-width: 0; min-height: 0; box-sizing: border-box; background: #0b1b14; border: 1px solid #1c6b43; border-radius: 12px; padding: 16px; box-shadow: 0 0 24px rgba(50, 255, 140, .1); }
h1 { font-size: 24px; margin: 0 0 16px; } h2 { color: #79ffaf; margin: 8px 0 12px; }
.scoreboard { display: grid; gap: 8px; padding: 10px; background: #07120d; border-radius: 8px; }
.flight-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.flight-list li { padding: 8px; border: 1px solid #245f42; border-radius: 6px; }
.flight-list li.selected { color: #ffe66b; border-color: #ffe66b; }
.radar-wrap { position: relative; width: min(700px, 100%); aspect-ratio: 1; }
#radar { display: block; width: 100%; height: 100%; aspect-ratio: 1; border: 2px solid #57ff9a; border-radius: 50%; background: #06140f; box-shadow: inset 0 0 45px rgba(87, 255, 154, .16); box-sizing: border-box; }
.flash { position: absolute; top: 24px; left: 30px; color: #ffd166; font-size: 34px; opacity: .25; }
.flash.pulse { animation: pulse .55s ease-out; }
@keyframes pulse { 0% { opacity: 1; transform: scale(1.8); } 100% { opacity: .25; transform: scale(1); } }
.chat-panel { display: grid; grid-template-rows: auto 1fr auto; min-height: 0; }
.chat-log { min-height: 0; overflow: auto; overflow-wrap: anywhere; background: #07120d; border-radius: 8px; padding: 10px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.chat-log p { margin: 0 0 10px; }
.command-form { min-width: 0; display: flex; gap: 8px; padding-top: 12px; }
.command-form input { flex: 1; min-width: 0; background: #07120d; border: 1px solid #24754a; border-radius: 6px; color: #d9ffe6; padding: 10px; }
.command-form button { background: #1c9c5b; color: white; border: 0; border-radius: 6px; padding: 0 14px; font-weight: 700; }
.game-state { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,.72); color: #ff6b6b; font-size: 64px; font-weight: 900; letter-spacing: 6px; }
.hidden { display: none; }
