*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;background:#101b36;color:#f6f4e8;font:16px system-ui,-apple-system,sans-serif}canvas{position:absolute;width:100%;height:100%;inset:0;touch-action:none}header{position:absolute;top:0;left:0;right:0;padding:20px 26px;display:flex;justify-content:space-between;align-items:start;pointer-events:none}h1{font-size:clamp(22px,3vw,34px);margin:2px 0;letter-spacing:-1px}h1 span{color:#ffc969}small{font-size:10px;letter-spacing:.15em;font-weight:800;color:#a9bdd6}#mode{font-size:11px;font-weight:800;letter-spacing:.12em;background:#263958;padding:9px 12px;border-radius:30px}.panel{background:rgba(20,34,57,.92);border:1px solid #526782;border-radius:19px;box-shadow:0 12px 38px #07101c66}#build{position:absolute;left:24px;top:110px;width:300px;padding:20px}h2{margin:0;font-size:21px}p{font-size:13px;color:#c2cddd;line-height:1.4}.parts{display:grid;grid-template-columns:1fr 1fr;gap:8px}button{font:700 13px system-ui;color:#edf4ff;background:#314660;border:1px solid #607692;border-radius:11px;min-height:44px;padding:9px;touch-action:manipulation;cursor:pointer}button:active{background:#567593}.primary{background:#ffc969;color:#192434;border-color:#ffd993}ol{padding:0;list-style:none;max-height:30vh;overflow:auto}li{padding:6px 10px;margin:4px 0;background:#263a55;border-radius:7px;font-size:13px}.row{display:flex;gap:8px}.row button{flex:1}#buildMessage,#flightMessage{min-height:18px;margin-bottom:0}.hidden{display:none}.telemetry{position:absolute;top:95px;left:50%;transform:translateX(-50%);display:flex;gap:28px;padding:12px 20px}.telemetry div{display:grid;gap:3px}.telemetry b{font-size:17px;white-space:nowrap}.controls{position:absolute;right:20px;bottom:20px;width:310px;padding:16px}label{font-size:11px;font-weight:800;letter-spacing:.12em;display:flex;justify-content:space-between}input{width:100%;height:36px;accent-color:#ffc969;touch-action:none}.steer{display:flex;align-items:center;gap:5px;margin:5px 0 12px}.steer button{flex:1;font-size:19px}.steer span{text-align:center;font-size:9px;color:#afc2da;font-weight:800}.hint{position:absolute;left:25px;bottom:23px;color:#9bb4d0;font-size:10px;font-weight:800;letter-spacing:.16em;pointer-events:none}@media(max-width:700px){header{padding:12px}#build{left:12px;top:85px;width:260px;padding:14px}.telemetry{top:70px;gap:12px}.controls{right:10px;bottom:10px;width:280px}.hint{display:none}}@media(max-height:600px){#build{top:65px}header{padding:8px 15px}#build ol{max-height:18vh}.controls{padding:10px}.telemetry{top:55px}}

.camera-help{position:absolute;left:25px;bottom:20px;display:flex;align-items:center;gap:10px;color:#c2cddd;font-size:12px}.camera-help span{pointer-events:none}@media(max-width:700px){.camera-help{left:12px;bottom:10px;display:grid;gap:3px}.camera-help span{max-width:150px}}

select{width:100%;min-height:44px;margin-top:5px;padding:8px;color:#edf4ff;background:#314660;border:1px solid #607692;border-radius:11px;font:700 13px system-ui}#padNote{margin:4px 0 9px;font-size:11px}
