.shuttle-shell{min-height:100vh;background:linear-gradient(180deg,#050616cc,#09031bd9),url('../assets/images/transbordador-fondo.png') center/cover fixed;color:#f5efff}
.shuttle-intro{max-width:920px;margin:0 auto 18px;color:#d9d0eb;font-size:1.05rem}
.shuttle-assembly{display:grid;grid-template-columns:minmax(260px,.8fr) minmax(440px,1.2fr);gap:20px;max-width:1200px;margin:auto}.shuttle-kit,.shuttle-board-wrap{padding:18px}.shuttle-piece-list{display:grid;gap:9px}.shuttle-piece{display:flex;gap:10px;align-items:center;text-align:left;border:1px solid #6540ab;background:#100b2b;color:#f7f0ff;padding:8px;cursor:pointer}.shuttle-piece:hover,.shuttle-piece.selected{border-color:#4ff6ff;box-shadow:0 0 16px #4ff6ff44}.shuttle-piece.used{opacity:.45}.shuttle-piece i,.hubble-slot i{display:block;background-image:url('../assets/images/hubble-maze-start.png');background-repeat:no-repeat;background-size:300% 200%;background-position:var(--px,0%) var(--py,0%)}.shuttle-piece i{width:72px;height:58px;flex:none}.shuttle-piece:nth-child(1) i{--px:0%;--py:0%}.shuttle-piece:nth-child(2) i{--px:50%;--py:0%}.shuttle-piece:nth-child(3) i{--px:100%;--py:0%}.shuttle-piece:nth-child(4) i{--px:0%;--py:100%}.shuttle-piece:nth-child(5) i{--px:50%;--py:100%}.shuttle-piece:nth-child(6) i{--px:100%;--py:100%}.shuttle-piece span{display:grid;gap:3px}.shuttle-piece small{color:#ae9ccf}.shuttle-progress{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;margin-bottom:12px;color:#68f8ff}.hubble-board{display:grid;grid-template-columns:repeat(3,1fr);aspect-ratio:3/2;border:2px solid #7e4aea;background:#050819 url('../assets/images/hubble-maze-start.png') center/cover;overflow:hidden}.hubble-slot{position:relative;border:1px dashed #7c67b8;background:#08051dda;color:#60f6ff;font-size:1.8rem;cursor:pointer}.hubble-slot:hover{background:#201547bb}.hubble-slot.filled{border-style:solid}.hubble-slot i{position:absolute;inset:0;background-position:var(--x) var(--y);background-size:300% 200%}.shuttle-status{min-height:2em;color:#9ceeff}.shuttle-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:16px}.shuttle-launch-scene{position:relative;min-height:calc(100vh - 86px);display:grid;place-items:center;overflow:hidden}.shuttle-launch-scene>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.shuttle-launch-card{position:relative;max-width:520px;text-align:center;margin-top:260px;background:#0b0822e8}.shuttle-orbit-scene{position:relative;max-width:1100px;height:650px;margin:auto;overflow:hidden;padding:0}.shuttle-orbit-scene>img{width:100%;height:100%;object-fit:cover;opacity:.86}.shuttle-orbit-hud,.shuttle-orbit-message{position:absolute;z-index:2;background:#08051ddd;border:1px solid #75e7ff;padding:10px;color:#c9fbff}.shuttle-orbit-hud{top:16px;left:16px}.shuttle-orbit-message{bottom:18px;left:50%;transform:translateX(-50%);text-align:center}.shuttle-asteroid{position:absolute;width:64px;height:64px;padding:0;background:none;border:0;animation:shuttleFloat 2.5s ease-in-out var(--delay) infinite;cursor:crosshair}.shuttle-asteroid img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 10px #5bf4ff)}.shuttle-asteroid.cleared{opacity:0;transform:scale(1.8);pointer-events:none;transition:.25s}.shuttle-repair-go{position:absolute;z-index:3;right:22px;bottom:16px}.shuttle-embed-header{display:flex;justify-content:space-between;gap:16px;align-items:center;max-width:1200px;margin:0 auto 14px}.shuttle-embed-header h1{margin:.2em 0}.shuttle-embed-header p{max-width:680px;color:#d5c9e4}.shuttle-repair-frame{display:block;width:min(1440px,100%);height:min(92vh,1100px);margin:auto;border:2px solid #66ecff;background:#050615}.shuttle-report{max-width:820px;margin:8vh auto;padding:clamp(24px,5vw,54px);text-align:center}.shuttle-report-note{color:#cbbfdf}@keyframes shuttleFloat{50%{translate:0 -20px;rotate:9deg}}
@media(max-width:760px){.shuttle-assembly{grid-template-columns:1fr}.shuttle-launch-card{margin:55vh 14px 20px}.shuttle-orbit-scene{height:530px}.shuttle-embed-header{padding:0 14px;align-items:flex-start;flex-direction:column}.shuttle-repair-frame{height:85vh}.shuttle-asteroid{width:48px;height:48px}}
.shuttle-dodge-scene{background:#030616 url('../assets/images/fondo-orbital-transbordador.png') center/cover}.shuttle-dodge-scene canvas{display:block;width:100%;height:100%;touch-action:none}.shuttle-dodge-scene .shuttle-orbit-hud{display:flex;gap:14px;align-items:start;max-width:calc(100% - 32px)}.shuttle-orbit-hud small{display:block;color:#b3a8cb;font-size:.68rem;letter-spacing:.08em}.shuttle-orbit-hud b{display:block;color:#65f7ff;font-size:1.08rem}.shuttle-protection progress{display:block;width:155px;accent-color:#61f4ff}.shuttle-dodge-message{position:absolute;z-index:2;bottom:18px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 32px);text-align:center;background:#08051de8;border:1px solid #75e7ff;padding:10px;color:#c9fbff}.shuttle-dodge-controls{position:absolute;z-index:3;right:18px;bottom:18px;display:grid;grid-template-columns:repeat(3,48px);gap:5px}.shuttle-dodge-controls button{height:43px;border:1px solid #65f7ff;background:#100a2ae8;color:#fff;font-size:1.3rem;cursor:pointer}.shuttle-dodge-controls button:first-child{grid-column:2}.shuttle-dodge-controls button:nth-child(2){grid-column:1;grid-row:2}.shuttle-dodge-controls button:nth-child(3){grid-column:2;grid-row:2}.shuttle-dodge-controls button:nth-child(4){grid-column:3;grid-row:2}.shuttle-dodge-controls button:hover,.shuttle-dodge-controls button.pressed{background:#4a2c95;box-shadow:0 0 14px #5af6ff}.shuttle-dodge-overlay,.shuttle-dodge-finish{position:absolute;z-index:5;inset:0;display:grid;place-content:center;justify-items:center;gap:14px;padding:28px;text-align:center;background:#08051dd9}.shuttle-dodge-overlay p,.shuttle-dodge-finish p{max-width:560px}.shuttle-dodge-finish[hidden]{display:none}@media(max-width:760px){.shuttle-dodge-scene .shuttle-orbit-hud{gap:8px;padding:7px}.shuttle-orbit-hud b{font-size:.9rem}.shuttle-protection progress{width:92px}.shuttle-dodge-controls{right:10px;bottom:10px;grid-template-columns:repeat(3,42px)}.shuttle-dodge-message{bottom:112px;font-size:.84rem}.shuttle-dodge-controls button{height:38px}}
.shuttle-dodge-overlay[hidden]{display:none}.shuttle-orbit-scene.impact-shake{animation:orbital-impact-shake .42s ease-in-out}@keyframes orbital-impact-shake{0%,100%{transform:translateX(0)}20%,60%{transform:translateX(-8px)}40%,80%{transform:translateX(8px)}}
.shuttle-launch-scene{min-height:720px;height:calc(100vh - 86px);background:#020510 url('../assets/images/fondo-orbital-transbordador.png') center/cover;border:2px solid #8b4ee0}.shuttle-flight{position:absolute;z-index:2;left:50%;bottom:22%;width:clamp(145px,18vw,225px);transform:translateX(-50%);transform-origin:center bottom}.shuttle-launch-ship{display:block;width:100%;height:auto;filter:drop-shadow(0 10px 12px #000a)}.shuttle-engine-flame{position:absolute;z-index:-1;left:50%;bottom:-16%;width:30%;height:28%;transform:translateX(-50%);opacity:0;background:linear-gradient(to bottom,#fff8a3 0%,#ffb13c 44%,#f04e38 72%,transparent 100%);clip-path:polygon(28% 0,72% 0,100% 100%,50% 82%,0 100%)}.shuttle-flight.lift{animation:shuttle-lift 1.7s cubic-bezier(.3,.7,.45,1) forwards}.shuttle-flight.lift .shuttle-engine-flame{opacity:1;animation:shuttle-flame .12s infinite alternate}.shuttle-launch-card{position:absolute;z-index:4;left:50%;bottom:22px;width:min(660px,calc(100% - 32px));margin:0;transform:translateX(-50%);text-align:center}.shuttle-launch-card h1{margin:.25em 0}.shuttle-launch-card p{margin:.55em auto 1em;max-width:570px}@keyframes shuttle-lift{0%{transform:translate(-50%,0) scale(1)}20%{transform:translate(-50%,-10px) scale(1.02)}100%{transform:translate(-50%,-88vh) scale(.62);opacity:.72}}@keyframes shuttle-flame{to{transform:translateX(-50%) scaleX(.78) scaleY(1.14)}}@media(max-width:760px){.shuttle-launch-scene{min-height:630px}.shuttle-flight{bottom:27%;width:145px}.shuttle-launch-card{bottom:14px}.shuttle-launch-card h1{font-size:1.7rem}}
.shuttle-orbit-scene.impact-flash::after{content:"";position:absolute;z-index:6;inset:0;pointer-events:none;background:#ff263e;mix-blend-mode:screen;animation:orbital-impact-flash .42s ease-out forwards}@keyframes orbital-impact-flash{0%{opacity:0}18%{opacity:.5}100%{opacity:0}}
