.space-choice{background:linear-gradient(145deg,#edf2ff,#f1edff);border-color:#b9bce0}.space-choice strong,.space-choice .choice-link{color:#5552a0}
.showing-space{background:#10182e}.showing-space .scenery{background:radial-gradient(ellipse at 50% 30%,#202b54,#10182e 80%)}.showing-space .scenery>*{display:none}.showing-space .brand,.showing-space footer{color:#d9e2f9}.showing-space #sound{background:#26334e;color:#eef3ff;border-color:#435171}.showing-space .mobile-notice{display:none}
.space-screen{padding:8px 0 20px;color:#eaf0ff;max-width:1000px;margin:auto}.space-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:23px}.space-toolbar .quiet-button{color:#e3eaff;border-color:#4a5472;background:#ffffff09}.space-badge{font-size:10px;letter-spacing:2px;color:#b6c4e3}.space-heading{display:flex;align-items:center;justify-content:space-between;text-align:left;gap:20px;margin-bottom:22px}.space-heading .eyebrow{color:#a6bcec;margin:0 0 9px;font-size:10px}.space-heading h1{font-size:44px;letter-spacing:-1.6px}.space-heading h1 span{color:#9aafff}.space-heading p:last-child{font-size:14px;line-height:1.6;color:#bdcae8;margin:10px 0 0}.space-heading-badge{width:70px;height:70px;border:1px solid #596d9a;border-radius:50%;display:grid;place-items:center;flex-shrink:0;font-size:31px;transform:rotate(12deg);background:#293655}
.space-console{border:1px solid #47567b;border-radius:24px;overflow:hidden;background:#121c35;box-shadow:0 18px 60px #05091b44}.space-hud{display:flex;align-items:center;justify-content:space-between;padding:17px 24px;background:#25314e;border-bottom:1px solid #455273;text-align:left;gap:14px}.space-hud small{display:block;color:#b2c1e1;letter-spacing:1.8px;font-size:9px;margin-bottom:7px}.space-hud strong{font-size:17px}.space-hearts{color:#ff9baf;font-size:22px;letter-spacing:4px;margin-right:8px}.space-health-line{display:flex;align-items:center;gap:10px}.space-hud .quiet-button{background:#344363;border-color:#687696;color:#f4f6ff;white-space:nowrap}.space-hud button:disabled{opacity:.45;cursor:default}.space-goal{text-align:right}.space-goal progress{display:block;width:110px;height:5px;margin-top:8px;accent-color:#b4c3ff}
.space-arena{height:415px;position:relative;overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 80% 10%,#403d694f,transparent 50%),radial-gradient(ellipse at 12% 80%,#244c6244,transparent 55%),#10182e}.space-stars{position:absolute;inset:0;background-image:radial-gradient(circle,#dbeaff 1px,transparent 1.5px),radial-gradient(circle,#7387ae 1px,transparent 1.5px);background-size:93px 79px,57px 109px;background-position:12px 29px,40px 5px;opacity:.6;pointer-events:none}.space-planet{position:absolute;width:100px;height:100px;right:8%;top:12%;border-radius:50%;background:linear-gradient(140deg,#7b82a0,#30395d);box-shadow:inset -15px -8px 0 #1a234b55;opacity:.55;transform:rotate(-25deg)}.space-planet:after{content:'';position:absolute;inset:30px -28px;border:9px solid #77829766;border-radius:50%}.space-orbit{position:absolute;width:150%;height:300px;left:-25%;bottom:-275px;border-radius:50%;border:1px solid #7d92bc;background:#7184ab20;box-shadow:0 0 65px #6d8ea033}.space-flight-label{position:absolute;left:20px;bottom:16px;color:#8d9bbd;font-size:9px;letter-spacing:2px}
.space-meteors,.space-effects{position:absolute;inset:0;pointer-events:none}.space-meteor{position:absolute;display:grid;place-items:center;width:78px;height:78px;transform:translate(-50%,-50%);color:#fff;font-size:30px;font-weight:800;text-shadow:0 2px 2px #211b19,1px 0 2px #211b19,-1px 0 2px #211b19}.space-meteor:before{content:'';position:absolute;inset:0;background:url('./meteor.svg') center/contain no-repeat;filter:drop-shadow(2px 5px 3px #0006)}.space-meteor:nth-child(3n+2):before{transform:rotate(24deg)}.space-meteor:nth-child(3n):before{transform:rotate(-19deg) scaleX(-1)}.space-meteor span{z-index:1}.space-meteor:after{content:'';position:absolute;bottom:-8px;height:3px;width:var(--remaining,100%);max-width:60px;border-radius:3px;background:#c4b6ec}
.space-ship{position:absolute;width:128px;height:145px;left:50%;top:65%;transform:translateX(-50%);filter:drop-shadow(0 8px 15px #0005)}.space-ship svg{width:100%;height:100%;overflow:visible}.space-flame{transform-origin:90px 174px;animation:space-thrust .3s ease-in-out infinite alternate}.space-crack,.space-smoke{opacity:0}.space-ship:not([data-damage="0"]) .space-crack-one{opacity:1}.space-ship[data-damage="2"] .space-wing-left,.space-ship[data-damage="3"] .space-wing-left,.space-ship[data-damage="4"] .space-wing-left,.space-ship[data-damage="5"] .space-wing-left,.space-ship[data-damage="6"] .space-wing-left{opacity:.2}.space-ship[data-damage="3"] .space-crack-two,.space-ship[data-damage="4"] .space-crack-two,.space-ship[data-damage="5"] .space-crack-two,.space-ship[data-damage="6"] .space-crack-two{opacity:1}.space-ship[data-damage="4"] .space-smoke,.space-ship[data-damage="5"] .space-smoke,.space-ship[data-damage="6"] .space-smoke{opacity:.75}.space-ship[data-damage="5"] .space-wing-right,.space-ship[data-damage="6"] .space-wing-right{opacity:.2}.space-ship[data-damage="6"] .space-hull{fill:#8b91a6}.space-ship[data-damage="6"] .space-flame{display:none}.space-arena:not([data-phase="playing"]) .space-flame{animation-play-state:paused}
.space-effects{z-index:3}.space-laser{position:absolute;height:4px;transform-origin:0 50%;background:#c5fcff;box-shadow:0 0 12px #58e5ff;border-radius:4px;animation:space-laser .45s ease-out forwards}.space-burst{position:absolute;color:#ffe3a0;font-size:70px;transform:translate(-50%,-50%);animation:space-pop .5s ease-out forwards}.space-damage-flash{position:absolute;color:#ffafc2;font-size:24px;font-weight:800;transform:translate(-50%,-50%);animation:space-damage .55s ease-out forwards;white-space:nowrap}.space-overlay{position:absolute;inset:0;z-index:4;display:grid;place-items:center;padding:22px;background:#10182e99;backdrop-filter:blur(3px)}.space-overlay-card{max-width:410px;padding:27px 30px;border:1px solid #7381ad;border-radius:24px;background:linear-gradient(145deg,#293856f5,#1f2947fa);box-shadow:0 16px 55px #0004}.space-overlay-icon{font-size:34px}.space-overlay-card .eyebrow{color:#c1d0ff;font-size:9px;letter-spacing:1.6px}.space-overlay-card h2{font-size:30px;color:#fff}.space-overlay-card p:not(.eyebrow){font-size:14px;line-height:1.6;color:#d0dcf5}.space-primary{border:0;border-radius:12px;padding:14px 23px;min-height:48px;background:#c0ccff;color:#182344;font-weight:800;box-shadow:0 4px 0 #8194d0}.space-primary:hover{background:#d4dcff}
.space-status{font-size:14px;min-height:40px;margin:0;padding:13px 15px;color:#e4eaff;background:#25314e;border-top:1px solid #455273;line-height:1.5}.space-keyboard{display:grid;gap:6px;max-width:650px;margin:22px auto 12px}.space-key-row{display:flex;justify-content:center;gap:6px}.space-key-row button{flex:1;max-width:48px;height:43px;border:1px solid #5c6b8d;border-bottom-width:3px;border-radius:8px;background:#293751;color:#eef3ff;font-size:17px;font-weight:700}.space-key-row button:hover:not(:disabled){background:#536b9b}.space-key-row button:active:not(:disabled){transform:translateY(2px);background:#718cc2}.space-key-row button:disabled{opacity:.45;cursor:default}.space-rules{font-size:12px;line-height:1.8;color:#b6c5e4;margin:12px auto}.space-screen button:focus-visible{outline:3px solid #f5d697;outline-offset:3px}
@keyframes space-thrust{to{transform:scaleY(.75)}}@keyframes space-laser{to{opacity:0}}@keyframes space-pop{to{opacity:0;scale:1.8}}@keyframes space-damage{to{opacity:0;translate:0 -25px}}
@media(max-width:600px){.space-heading{margin-bottom:16px}.space-heading h1{font-size:36px}.space-heading-badge{width:53px;height:53px;font-size:26px}.space-heading p:last-child{font-size:12px}.space-badge{font-size:8px;letter-spacing:1px}.space-toolbar{margin-bottom:18px}.space-toolbar .quiet-button{font-size:12px}.space-hud{padding:13px 12px;gap:8px;flex-wrap:wrap}.space-hearts{font-size:18px;letter-spacing:2px;margin:0}.space-health-line{gap:5px}.space-hud strong{font-size:13px}.space-hud .quiet-button{font-size:11px;padding:7px 9px}.space-hud small{font-size:8px;letter-spacing:1px}.space-goal progress{width:70px}.space-arena{height:390px}.space-meteor{width:62px;height:62px;font-size:25px}.space-ship{width:112px;height:135px;top:65%}.space-console{border-radius:18px}.space-overlay-card{padding:23px 18px}.space-overlay-card h2{font-size:26px}.space-key-row{gap:4px}.space-key-row button{font-size:14px;height:40px;min-width:0;padding:0}.space-status{font-size:12px}.space-flight-label{font-size:8px;left:12px}.space-rules{font-size:11px}.space-keyboard{gap:5px}}
@media(prefers-reduced-motion:reduce){.space-laser{display:none}.space-burst{font-size:45px}.space-flame{animation:none}}
