*{box-sizing:border-box}body{margin:0;background:#f4effa;color:#2c2349;font:15px/1.6 system-ui}.spaceHeader{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px max(20px,calc((100% - 1200px)/2));background:#241a3d;color:#fff4d2}.spaceHeader a{color:inherit;text-decoration:none;display:flex;align-items:center;gap:12px;font-weight:800}.spaceHeader img{width:48px;height:48px;border-radius:10px}.spaceHeader>a:last-child{font-size:12px}main{max-width:1240px;margin:auto;padding:30px 20px 50px}.spaceIntro{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.spaceIntro small,.pilotSetup small{font-size:10px;font-weight:800;letter-spacing:2px;color:#785e97}h1{font-size:clamp(27px,4vw,44px);line-height:1.15;margin:10px 0 14px}.spaceIntro p{margin:0;max-width:650px}.spaceIntro>span{font-size:90px;color:#cda850;line-height:1}button,select{font:700 13px system-ui;min-height:44px;border-radius:8px;border:1px solid #bba9d5;padding:9px 15px;cursor:pointer}button{background:#563988;color:#fff8df}button:disabled{opacity:.45;cursor:default}button:focus-visible,select:focus-visible,input:focus-visible,canvas:focus-visible,a:focus-visible{outline:3px solid #d3ae48;outline-offset:3px}.spaceShell{overflow:hidden;background:#1b1731;color:#f9efcf;border:1px solid #8670a5;border-radius:18px;box-shadow:0 14px 40px #2b174b20}.spaceToolbar{display:flex;gap:10px;align-items:center;padding:12px 16px}.spaceToolbar label{display:flex;gap:10px;align-items:center;margin-left:auto;font-size:12px}.spaceToolbar select{max-width:260px;background:#34264d;color:#fff3cf}.spaceToolbar>button:first-child{background:#dfc178;color:#281c39;border-color:#f3d793}.spaceStage{position:relative;height:clamp(330px,59vh,620px);min-height:280px;overflow:hidden;background:#080e24}#spaceCanvas{display:block;width:100%;height:100%;touch-action:pan-y}#spaceWelcome{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;padding:6%;pointer-events:none;background:linear-gradient(90deg,#080d25d9,transparent 75%)}#spaceWelcome[hidden]{display:none}#spaceWelcome span{font-size:10px;letter-spacing:2px;color:#e5ca8d}#spaceWelcome h2{font-size:clamp(27px,4vw,48px);line-height:1.12;margin:15px 0}#spaceWelcome p{font-size:13px;color:#d1cde1}.spaceHud{position:absolute;top:13px;left:16px;right:16px;display:flex;justify-content:space-between;font-size:11px;letter-spacing:.4px;pointer-events:none;color:#eae4f6}.spaceHud span{padding:5px 9px;background:#17213bb8;border-radius:20px}#pilotBadge{position:absolute;left:16px;bottom:14px;display:flex;align-items:center;gap:9px;font-size:9px;letter-spacing:1px;color:#dacfea;pointer-events:none}#pilotBadgeImage{display:grid;place-items:center;background:#493c6b;border:1px solid #b39ac9;width:42px;height:42px;border-radius:50%;overflow:hidden;font-size:22px}#pilotBadgeImage img{width:100%;height:100%;object-fit:cover}.spacePad{display:flex;gap:6px;justify-content:center;padding:12px;background:#241c3b}.spacePad button{touch-action:none;user-select:none;background:#3c2c58;padding:8px 12px;min-width:70px}.spacePad button.held{background:#a881d2;color:#1d1233}.spacePad .boost{background:#d2ab55;color:#21172e}.spaceFoot{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:0 16px 12px}.spaceFoot p{font-size:11px;color:#c6bdd7;margin:0}.spaceFoot button{font-size:11px;min-height:36px;background:transparent;padding:6px 10px}.pilotSetup{display:grid;grid-template-columns:1fr 210px;gap:40px;background:#fffdf7;padding:28px;border:1px solid #dfd4e9;border-radius:16px;margin-top:25px}.pilotSetup h2{font-size:26px;margin:7px 0}.pilotSetup p{max-width:650px;font-size:13px}.pilotFile{display:inline-flex;align-items:center;gap:12px;flex-wrap:wrap;padding:10px 14px;border-radius:8px;background:#e4d8f2;font-weight:700;font-size:12px;max-width:100%}.pilotFile input{font-size:12px;max-width:100%;width:240px}.pilotSetup button{background:transparent;color:#53376f;margin:10px 0;font-size:12px}.pilotPortrait{width:180px;height:180px;justify-self:center;align-self:center;border-radius:50%;background:radial-gradient(circle at 30% 20%,#b394d4,#30213f);border:8px solid #e2d0a2;box-shadow:0 0 0 5px #f4ebd9;overflow:hidden;display:grid;place-items:center;font-size:75px;color:#fff0bc}.pilotPortrait img{width:100%;height:100%;object-fit:cover}.spaceHelp{padding:18px 23px;margin-top:20px;border:1px solid #dacde9;border-radius:10px;font-size:13px}.spaceHelp summary{cursor:pointer;font-weight:800}footer{text-align:center;color:#735b86;font-size:11px;padding:25px}.spaceShell:fullscreen{width:100vw;height:100dvh;display:flex;flex-direction:column;border:0;border-radius:0}.spaceShell:fullscreen .spaceStage{flex:1;height:auto;min-height:0}.spaceShell:fullscreen .spaceFoot{padding-top:5px}@media(max-width:650px){main{padding:18px 8px 35px}.spaceHeader{padding:10px 12px}.spaceHeader img{width:38px;height:38px}.spaceIntro{padding:0 8px;margin-bottom:18px}.spaceIntro>span{display:none}.spaceIntro p{font-size:12px}.spaceToolbar{gap:6px;padding:8px}.spaceToolbar label{gap:5px;font-size:0}.spaceToolbar select{font-size:11px;max-width:158px;padding:7px}.spaceToolbar button{font-size:11px;padding:8px}.spaceStage{height:48dvh;min-height:290px}.spacePad{display:grid;grid-template-columns:repeat(3,1fr);padding:8px;gap:5px}.spacePad button{font-size:11px;min-height:44px;min-width:0;padding:6px}.spacePad .boost{grid-column:1/-1}.spaceFoot{padding:0 9px 9px}.spaceFoot p{font-size:10px}.pilotSetup{grid-template-columns:1fr;gap:12px;padding:20px 16px}.pilotPortrait{grid-row:1;width:120px;height:120px;border-width:5px;font-size:48px}.pilotFile{display:block}.pilotFile input{display:block;margin-top:8px;width:100%}.spaceHelp{padding:15px}}

.spaceToolbar{flex-wrap:wrap}.spaceToolbar input[type=color]{width:32px;height:32px;padding:2px;border:1px solid #a78ac7;border-radius:6px}.spaceToolbar label{font-size:11px}.spaceToolbar select{max-width:180px}@media(max-width:650px){.spaceToolbar{gap:5px}.spaceToolbar label{font-size:10px}.spaceToolbar select{max-width:145px}.spaceStage{height:55dvh}.spacePad{position:sticky;bottom:0;z-index:3}}
