@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root { color-scheme: dark; --ink: #edf2ff; --muted: #9ba8c7; --line: rgba(195, 213, 255, .16); --blue: #8ea9ff; --gold: #f0c67a; }
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: #060916; color: var(--ink); font-family: Manrope, sans-serif; }
body { letter-spacing: .01em; }
#flight-canvas { position: fixed; inset: 0; display: block; width: 100%; height: 100%; }
.vignette { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse at center, transparent 36%, rgba(3, 5, 15, .28) 72%, rgba(2, 3, 10, .83) 100%); z-index: 1; }
.hud { position: fixed; inset: 0; z-index: 2; pointer-events: none; }
.brand-lockup { position: absolute; top: 28px; left: 32px; display: flex; align-items: center; gap: 13px; text-shadow: 0 2px 18px #02040c; }
.crest { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(240, 198, 122, .62); border-radius: 50%; color: var(--gold); font-size: 15px; box-shadow: 0 0 20px rgba(240, 198, 122, .14); }
.eyebrow, .telemetry-title, .route-readout small, .telemetry-grid span { font: 500 9px/1.2 'DM Mono', monospace; letter-spacing: .17em; color: #aab5d3; }
h1 { margin: 5px 0 0; font-size: 16px; line-height: 1; letter-spacing: -.035em; font-weight: 700; }
h1 span { color: var(--gold); font-weight: 500; }
.glass-panel { background: linear-gradient(135deg, rgba(15, 24, 48, .76), rgba(7, 11, 28, .57)); border: 1px solid var(--line); box-shadow: inset 0 1px rgba(255,255,255,.06), 0 14px 44px rgba(0,0,0,.22); backdrop-filter: blur(12px); }
.telemetry { position: absolute; top: 28px; right: 32px; width: 258px; padding: 15px 17px 14px; }
.telemetry-title { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; border-bottom: 1px solid rgba(195, 213, 255, .1); color: #c8d1e8; }
.signal-dot, .pulse { width: 6px; height: 6px; border-radius: 50%; background: #8cf2bd; box-shadow: 0 0 12px #8cf2bd; }
.telemetry-grid { display: grid; grid-template-columns: 1fr 1.25fr 1.55fr; gap: 13px; padding: 13px 0; border-bottom: 1px solid rgba(195, 213, 255, .1); }
.telemetry-grid div { display: flex; flex-direction: column; gap: 5px; }
.telemetry-grid strong { font: 500 17px/1 'DM Mono', monospace; color: #f5f7ff; letter-spacing: -.05em; }
.telemetry-grid small { color: var(--muted); font: 400 8px 'DM Mono', monospace; }
.route-readout { display: flex; align-items: center; gap: 11px; padding-top: 13px; }
.route-readout > span { color: var(--gold); font: 400 20px/1 'DM Mono', monospace; }
.route-readout div { display: flex; flex-direction: column; gap: 5px; }
.route-readout strong { font: 600 11px/1 'DM Mono', monospace; letter-spacing: .06em; }
.route-progress { position: absolute; top: 211px; right: 32px; width: 258px; height: 2px; background: rgba(180, 198, 235, .2); }
.route-progress span { display: block; width: 18%; height: 100%; background: var(--gold); box-shadow: 0 0 10px var(--gold); transition: width .12s linear; }
.route-markers { position: absolute; top: 204px; right: 32px; width: 258px; display: flex; justify-content: space-between; }
.route-markers i { width: 8px; height: 8px; border: 1px solid rgba(208, 221, 250, .6); border-radius: 50%; background: #091024; }
.route-markers i.active { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 9px rgba(240, 198, 122, .8); }
.controls { position: absolute; bottom: 29px; left: 32px; display: flex; gap: 17px; align-items: center; padding: 10px 13px; color: #9ba8c7; font: 400 9px 'DM Mono', monospace; }
.key { display: flex; align-items: center; gap: 6px; white-space: nowrap; }
.key b { display: inline-grid; place-items: center; min-width: 18px; height: 17px; padding: 0 4px; border: 1px solid rgba(220, 229, 255, .22); background: rgba(255,255,255,.06); color: #e8edff; font: 500 9px 'DM Mono', monospace; }
.status-pill { position: absolute; right: 32px; bottom: 31px; display: flex; align-items: center; gap: 8px; color: #c0cbe6; font: 500 9px 'DM Mono', monospace; letter-spacing: .13em; }
.pulse { animation: pulse 1.8s ease-in-out infinite; }
.loading { position: fixed; inset: 0; z-index: 5; display: grid; place-content: center; gap: 15px; background: #060916; color: #aeb9d7; text-align: center; font: 400 10px 'DM Mono', monospace; letter-spacing: .16em; transition: opacity 1s ease, visibility 1s; }
.loading.done { opacity: 0; visibility: hidden; }
.loading-mark { color: var(--gold); font-size: 30px; animation: float 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; transform: scale(.75); } }
@keyframes float { 50% { transform: translateY(-8px) rotate(14deg); } }
@media (max-width: 700px) {
  .brand-lockup { top: 18px; left: 18px; }
  .telemetry { top: 18px; right: 18px; width: 210px; padding: 12px; }
  .route-progress, .route-markers { top: 188px; right: 18px; width: 210px; }
  .route-markers { top: 181px; }
  .controls { left: 18px; right: 18px; bottom: 17px; justify-content: space-between; gap: 5px; padding: 9px; }
  .key { font-size: 0; gap: 3px; }
  .key b { font-size: 9px; }
  .status-pill { right: 18px; bottom: 75px; }
}
