*{box-sizing:border-box}html,body,#root{color:#eee;background:#000;height:100%;margin:0;font-family:-apple-system,system-ui,sans-serif}button{font:inherit;color:#fff;cursor:pointer;background:#2d6cdf;border:0;border-radius:10px;padding:10px 18px}button:disabled{color:#999;cursor:default;background:#444}input{font:inherit}.home{max-width:560px;margin:0 auto;padding:48px 20px}.home .row{gap:8px;display:flex}.home input{color:#eee;background:#111;border:1px solid #555;border-radius:8px;flex:1;padding:10px}.error{color:#ff6b6b}.drive{touch-action:none;-webkit-user-select:none;user-select:none;height:100%;position:relative;overflow:hidden}.video{object-fit:contain;background:#000;width:100%;height:100%;position:absolute;inset:0}.placeholder{color:#aaa;text-align:center;justify-content:center;align-items:center;padding:20px;display:flex;position:absolute;inset:0}.hud{padding:12px calc(12px + env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) calc(12px + env(safe-area-inset-left));display:flex;position:absolute;left:0;right:0}.hud.top{background:linear-gradient(#000a,#0000);flex-wrap:wrap;align-items:center;gap:14px;font-size:14px;top:0}.hud.bottom{justify-content:space-between;align-items:flex-end;bottom:0}.dot{border-radius:50%;width:10px;height:10px;display:inline-block}.dot.ok{background:#3ddc84}.dot.warn{background:#f5c542}.dot.bad{background:#ff5252}.joystick{background:#fff2;border:2px solid #fff5;border-radius:50%;justify-content:center;align-items:center;display:flex;position:relative}.joystick.disabled{opacity:.35}.knob{background:#fffc;border-radius:50%}.buttons{flex-direction:column;align-items:flex-end;gap:10px;display:flex}.buttons .stop{background:#e53935;padding:16px 28px;font-size:20px;font-weight:700}.limit{background:#0008;border-radius:8px;flex-direction:column;padding:6px 10px;font-size:13px;display:flex}.hint{color:#bbb;background:#0008;border-radius:6px;margin:0;padding:4px 8px;font-size:12px}
