:root { color-scheme: dark; font-family: Inter, "SF Pro Display", "PingFang SC", sans-serif; color: #f5f9ff; background: #01030a; }
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; background: #01030a; }
button, input { font: inherit; }
#spaceCanvas { position: fixed; inset: 0; width: 100vw; height: 100vh; }
.vignette { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(circle at 50% 46%, transparent 30%, rgba(0, 2, 10, .22) 67%, rgba(0, 1, 7, .82) 100%); }
.display-header { position: fixed; top: 0; right: 0; left: 0; display: flex; align-items: flex-start; justify-content: space-between; padding: 34px 42px; pointer-events: none; }
.kicker { margin: 0 0 8px; color: #8bdcff; font: 700 11px/1.2 ui-monospace, monospace; letter-spacing: .22em; }
h1 { margin: 0; font-size: clamp(34px, 4vw, 66px); font-weight: 300; letter-spacing: -.055em; text-shadow: 0 0 32px rgba(86, 183, 255, .3); }
.live-state { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid rgba(162, 214, 255, .18); border-radius: 999px; background: rgba(4, 13, 30, .36); color: #c6dcf1; font-size: 12px; backdrop-filter: blur(14px); }
.live-state i { width: 7px; height: 7px; border-radius: 50%; background: #6ee7ff; box-shadow: 0 0 13px #5bd9ff; }
.live-state.paused i { background: #7890a9; box-shadow: none; }
.telemetry { position: fixed; top: 50%; left: 42px; display: grid; gap: 17px; width: 150px; padding: 18px; border-left: 1px solid rgba(121, 200, 255, .28); background: linear-gradient(90deg, rgba(3, 12, 29, .46), transparent); transform: translateY(-40%); pointer-events: none; }
.telemetry span { display: block; margin-bottom: 4px; color: #6e8fab; font: 600 10px/1.2 ui-monospace, monospace; letter-spacing: .12em; }
.telemetry strong { color: #e9f5ff; font-size: 19px; font-weight: 400; }
.pairing-card { position: fixed; top: 118px; right: 42px; width: 260px; padding: 17px 18px; border: 1px solid rgba(105, 211, 255, .2); border-radius: 15px; background: rgba(3, 13, 31, .56); box-shadow: 0 18px 55px rgba(0,0,0,.22); backdrop-filter: blur(16px); }
.pairing-card > span { color: #7f9db6; font: 600 10px/1.2 ui-monospace, monospace; letter-spacing: .14em; }
.pairing-card strong { display: block; margin: 8px 0 7px; color: #dff8ff; font: 500 33px/1 ui-monospace, monospace; letter-spacing: .22em; text-shadow: 0 0 18px rgba(85, 211, 255, .46); }
.pairing-card p { margin: 0; color: #7594ad; font-size: 11px; line-height: 1.55; }
.pairing-card b { color: #b7d8ec; font-weight: 600; }
.controls { position: fixed; right: 34px; bottom: 30px; display: grid; grid-template-columns: auto auto auto; gap: 9px; max-width: min(680px, calc(100vw - 68px)); padding: 10px; border: 1px solid rgba(153, 213, 255, .16); border-radius: 16px; background: rgba(3, 12, 28, .62); box-shadow: 0 20px 70px rgba(0, 0, 0, .34); backdrop-filter: blur(18px); }
.controls button, .file-button { min-height: 44px; padding: 0 17px; border: 1px solid rgba(138, 207, 255, .19); border-radius: 10px; background: rgba(29, 71, 111, .35); color: #e7f5ff; cursor: pointer; }
.controls button:hover, .file-button:hover { border-color: rgba(127, 220, 255, .52); background: rgba(40, 105, 154, .46); }
.file-button { display: grid; place-items: center; background: linear-gradient(135deg, rgba(38, 142, 210, .66), rgba(81, 75, 191, .56)); font-weight: 700; }
.file-button input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.controls p { grid-column: 1 / -1; margin: 2px 8px 3px; color: #7895ad; font-size: 11px; }
.drop-hint { position: fixed; inset: 24px; display: none; place-items: center; border: 1px dashed rgba(108, 218, 255, .72); border-radius: 24px; background: rgba(3, 14, 35, .78); color: #d8f6ff; font-size: 26px; letter-spacing: .08em; backdrop-filter: blur(16px); }
body.dragging .drop-hint { display: grid; }
@media (max-width: 820px) { .display-header { padding: 24px; } .telemetry { left: 24px; } .pairing-card { top: 108px; right: 24px; } .controls { right: 20px; bottom: 20px; max-width: calc(100vw - 40px); } }
@media (prefers-reduced-motion: reduce) { .live-state i { box-shadow: none; } }
