/* Campaign progression, single-card destinations, and the minimal cockpit. */
header { position: sticky; top: 0; z-index: 15; height: 78px; backdrop-filter: blur(14px); }
main { padding-top: 30px; }
.intro, main > .eyebrow { display: none; }
#screen { scroll-margin-top: 100px; }
.steps { margin-bottom: 34px; }
.global-wallet { min-width: 135px; padding: 10px 15px; border: 1px solid #29434d; background: #10232c; text-align: right; }
.global-wallet > span { display: block; margin-bottom: 5px; font: 8px monospace; letter-spacing: 1.3px; color: #8daeb8; }
.global-wallet strong { font: 17px monospace; font-variant-numeric: tabular-nums; color: #85e9e8; }
.primary { border-radius: 3px; }
.primary:disabled { opacity: .45; cursor: not-allowed; background: #58687c; color: #d1d9e5; border-color: #58687c; }
.text-button { background: none; border: 0; padding: 0; color: #8ecdd6; font: 11px monospace; text-decoration: underline; text-underline-offset: 4px; }
.danger { color: #ed97ad; border-color: #6a354d; }
.table-scroll { overflow: auto; max-height: 45vh; }
.ledger-balance { color: #85e9e8; font: 32px monospace; margin: 24px 0; }
.ledger-balance > span { font: 10px monospace; color: #849cb3; }
.destination-heading { display: flex; justify-content: space-between; gap: 20px; align-items: end; margin: 0 52px 25px; }
.destination-heading .label { color: #87a1ba; font-size: 9px; }
.destination-heading h1 { font-size: clamp(24px, 2.6vw, 36px); letter-spacing: -1px; margin-top: 12px; }
.progress-label { font: 9px monospace; color: #8593ad; letter-spacing: 1px; white-space: nowrap; }
.destination-deck { position: relative; outline-offset: 7px; }
.destination-card { display: grid; grid-template-columns: 1fr 1fr; margin: 0 52px; min-height: 440px; background: linear-gradient(130deg, #121a2d, #11162a 65%, #182336); border: 1px solid #333b57; border-radius: 9px; overflow: hidden; }
.world-stage { min-width: 0; position: relative; display: grid; place-items: center; min-height: 430px; background: radial-gradient(circle at center, #4a66981a, #090f2408 65%); overflow: hidden; touch-action: pan-y; }
.world-stage::before { content: ''; position: absolute; inset: 25px; background: radial-gradient(1px 1px at 20% 22%, #91a5c8, transparent), radial-gradient(1px 1px at 81% 31%, #91a5c8, transparent), radial-gradient(1px 1px at 12% 75%, #b2b8d0, transparent), radial-gradient(1px 1px at 69% 87%, #91a5c8, transparent), radial-gradient(2px 2px at 82% 68%, #8aa3c46e, transparent); }
.world-coordinate { position: absolute; top: 25px; left: 28px; font: 9px monospace; color: #6e7e9f; letter-spacing: 1.5px; }
.world-classification { position: absolute; bottom: 31px; font: 9px monospace; color: #8f9ab7; letter-spacing: 3px; }
.world-orbit { position: absolute; border: 1px solid #748fbe13; border-radius: 50%; aspect-ratio: 1; width: 330px; }
.world-orbit.orbit-two { width: 400px; border-style: dashed; border-color: #748fbe10; animation: ring-drift 90s linear infinite; }
.planet-float { width: min(390px, 100%); aspect-ratio: 1; display: grid; place-items: center; animation: planet-float 6s ease-in-out infinite; filter: drop-shadow(15px 20px 25px #02071470); }
.planet-float > canvas { display: block; width: 100%; height: auto; aspect-ratio: 1; image-rendering: pixelated; }
.destination-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 44px 40px 30px 25px; }
.destination-status { font: 8px monospace; letter-spacing: 1.6px; color: #8593aa; }
.destination-status.pass { color: #85d9d0; }
.destination-copy h2 { display: flex; align-items: center; justify-content: space-between; font-size: clamp(38px, 4vw, 56px); letter-spacing: -1.8px; margin: 14px 0 12px; }
.destination-copy h2 > span { color: #485572; font: 12px monospace; letter-spacing: 2px; }
.destination-copy > p { font-size: 13px; line-height: 1.9; color: #a0aec7; margin: 0 0 18px; max-width: 370px; }
.card-science { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 25px; }
.card-science span { border: 1px solid #343e54; border-radius: 3px; padding: 6px 8px; font: 9px monospace; color: #a6bbd1; }
.destination-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 18px 0 22px; border-top: 1px solid #31394e; }
.destination-stats small { display: block; font: 8px monospace; letter-spacing: .7px; color: #7e8fab; }
.destination-stats strong { display: block; color: #c9f4f2; font: 23px monospace; margin-top: 9px; }
.destination-stats strong em { font: normal 11px monospace; color: #b7cadc; }
.destination-stats div > span { display: block; color: #7587a2; font-size: 9px; margin-top: 6px; }
.destination-copy .primary { width: 100%; }
.destination-copy > p.progress-hint { font-size: 10px; color: #73829d; text-align: center; margin: 12px 0 0; max-width: none; }
.destination-locked .planet-float { opacity: .5; filter: grayscale(.7); }
.carousel-arrow { position: absolute; top: calc(50% - 20px); z-index: 2; width: 38px; height: 42px; border: 1px solid #364159; color: #b5c9df; border-radius: 4px; background: #111b2c; font-size: 18px; }
.carousel-arrow:hover { color: #b3ffff; border-color: #83dbe0; background: #18313d; }
.carousel-arrow.previous { left: 0; }.carousel-arrow.next { right: 0; }
.carousel-footer { display: flex; align-items: center; justify-content: space-between; margin: 22px 52px 0; gap: 15px; }
.carousel-footer > span { font: 11px monospace; color: #c4d0e1; }.carousel-footer > span b { color: #606e8c; font-weight: normal; }
.carousel-dots { display: flex; gap: 7px; }
.carousel-dots button { display: grid; place-items: center; background: none; border: 0; padding: 6px; }
.carousel-dots button > span { width: 5px; height: 5px; border-radius: 50%; background: #4b566e; transition: width .2s, background .2s; }
.carousel-dots button.selected > span { width: 24px; border-radius: 4px; background: #85e9e8; }
.carousel-dots button.unlocked:not(.selected) > span { background: #a4b7d0; }
.slide-next { animation: card-next .3s ease-out; }.slide-prev { animation: card-prev .3s ease-out; }
.section-heading h2 { font-size: 26px; margin-top: 9px; }.section-heading .label { font-size: 9px; }
.section-heading p { line-height: 1.8; }
.simplified-lab { grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
.simplified-lab .parts-grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 16px; }
.simplified-lab .panel { padding: 20px; }
.simplified-lab .panel h3 { font-size: 14px; margin-bottom: 19px; }.simplified-lab .panel h3 > span { font: 10px monospace; color: #667f9e; margin-right: 7px; }
.part { align-items: center; padding: 12px; line-height: 1.6; border-radius: 3px; min-height: 64px; }
.part > span:last-child { white-space: nowrap; font: 10px monospace; }.part small { font-size: 9px; line-height: 1.7; }
.part-locked { opacity: .45; cursor: not-allowed; }.part-locked small { color: #96a1b9; font-size: 8px; }
.part-note { display: block; color: #667c99; font-size: 9px; line-height: 1.7; margin-top: 13px; }
.assembly-summary { align-self: start; position: sticky; top: 100px; }
.assembly-summary .rocket-stage { height: 175px; }.assembly-summary .rocket-stage > canvas { width: 142px; height: 142px; }
.cart-total { display: flex; align-items: center; justify-content: space-between; margin: 20px 0 15px; color: #c4cfdf; font-size: 12px; }
.cart-total strong { font: 27px monospace; color: #85e9e8; }.cart-total strong small { font-size: 11px; }
.wallet-after { color: #8398b3; font: 10px monospace; line-height: 1.9; padding-bottom: 17px; border-bottom: 1px solid #29354c; }
.wallet-after b { display: block; font-weight: normal; }.assembly-summary .check { font-size: 10px; gap: 9px; line-height: 1.7; }
.assembly-summary .primary { margin-top: 21px; width: 100%; }.assembly-summary .help { font-size: 10px; line-height: 1.8; }
.engineering-details { border-top: 1px solid #29354c; margin-top: 20px; padding-top: 17px; color: #849ab4; font: 10px monospace; }
.engineering-details summary { cursor: pointer; }.engineering-details a { display: inline-block; font-size: 9px; margin-top: 12px; }
.engineering-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; margin-top: 20px; }
.engineering-stats small { display: block; font: 7px monospace; color: #8a9eb9; margin-bottom: 7px; }.engineering-stats strong { font: 11px monospace; color: #b8d7e5; }
.lab-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 20px; }
.flight-mode main { max-width: 1680px; padding-top: 24px; }.flight-mode .steps { margin-bottom: 24px; }
.flight-heading h2 { font-size: 23px; }.flight-heading .label { color: #7b93aa; font-size: 8px; }
.flight-heading-actions { display: flex; gap: 10px; }.flight-heading-actions button { font-size: 10px; padding: 10px 14px; }
.space-flight { position: relative; height: clamp(500px, 64vh, 760px); width: 100%; border: 1px solid #253b51; border-radius: 8px; overflow: hidden; background: #070d19; }
.space-flight:fullscreen { height: 100vh; border: 0; border-radius: 0; }
.space-flight #flight { display: block; width: 100%; height: 100%; outline: 0; touch-action: none; image-rendering: pixelated; }
.hud { position: absolute; background: none; border: 0; box-shadow: none; padding: 0; border-radius: 0; pointer-events: none; font-family: monospace; }
.telemetry { top: 24px; left: 24px; width: 160px; }.meter-label { display: flex; justify-content: space-between; font: 8px monospace; letter-spacing: 1px; color: #8ba2b7; margin: 0 0 8px; }
.meter-label b { font: 9px monospace; color: #a3ece5; }.telemetry .meter + .meter-label { margin-top: 19px; }
.meter { height: 3px; background: #253745; border-radius: 3px; overflow: hidden; }.meter > span { display: block; height: 100%; width: 100%; background: #83dfcf; transition: width .12s linear; }
.fuel-meter > span { background: #e6cb78; }
.target-hud { top: 20px; left: 50%; width: 430px; transform: translateX(-50%); text-align: center; }
.hud-title { font: 7px monospace; letter-spacing: 1.7px; color: #739caf; }
.target-name { display: flex; justify-content: center; align-items: center; gap: 13px; margin: 7px 0 14px; }
.target-name strong { font: bold 22px monospace; color: #d0f1f5; letter-spacing: 1.5px; }.target-name > span { color: #8aafbf; font: 9px monospace; }
.target-planets { display: flex; justify-content: center; gap: 8px; }
.target-planets > span { display: flex; flex-direction: column; align-items: center; gap: 7px; width: 43px; color: #657a91; }
.target-planets i { width: 7px; height: 7px; margin: 0; border-radius: 50%; background: var(--planet-color); box-shadow: none; opacity: .5; }
.target-planets small { font: 8px monospace; color: #8198b0; }.target-planets .target-chosen, .target-planets .target-chosen small { color: #b8efee; }.target-planets .target-chosen i { opacity: 1; box-shadow: 0 0 9px #82e9e44d; }
.radar-group { position: absolute; right: 20px; top: 20px; text-align: center; width: 120px; }.radar-actions { display: flex; justify-content: center; gap: 7px; }
.hud-button { padding: 5px 7px; font: 7px monospace; border: 1px solid #294859; border-radius: 3px; background: #0c1c29a1; color: #8bced8; }
.radar-group canvas { display: block; width: 96px; height: 96px; margin: 13px auto 0; opacity: .8; }
.scan-hud { width: 210px; bottom: 22px; left: 50%; transform: translateX(-50%); text-align: center; }
.scan-hud .hud-title { font: 8px monospace; color: #759aa9; letter-spacing: 1.1px; }
.scan-hud > .meter { margin: 10px 0 8px; height: 2px; }.scan-hud > .meter > span { width: 0; }.scan-hud > span { color: #7e9cb2; font: 7px monospace; letter-spacing: 1.4px; }
.scan-hud.scanning .hud-title { color: #a0f6ee; }.scan-hud.scanning > .meter { box-shadow: 0 0 9px #77e6de22; }
.flight-overlay { position: absolute; inset: 0; display: grid; place-items: center; background: #060d1ca6; backdrop-filter: blur(3px); z-index: 4; }.flight-overlay[hidden] { display: none; }
.flight-brief { width: min(350px, 85%); padding: 28px; border: 1px solid #2b4b5f; border-radius: 7px; background: #0d1c2bf5; text-align: center; }
.flight-brief .label { font-size: 8px; letter-spacing: 2px; }.flight-brief h2 { font-size: 27px; margin: 16px 0 26px; }.flight-brief .primary { width: 100%; }
.flight-instructions { text-align: center; padding: 17px 10px 0; }.flight-instructions > p { color: #99aec5; font-size: 11px; margin: 0 0 14px; line-height: 1.8; }
.control-guide { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; font: 9px monospace; color: #758fa8; }
kbd { display: inline-block; font: 8px monospace; color: #b0c3d6; border: 1px solid #334158; border-radius: 3px; padding: 4px 6px; margin-right: 3px; background: #121d2e; }
.touch-flight-controls { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; }.touch-flight-controls > div { display: flex; gap: 7px; }
.touch-flight-controls button { border: 1px solid #294d63; background: #142638; color: #9dc9d9; font: 10px monospace; min-width: 46px; height: 40px; border-radius: 4px; padding: 0 15px; touch-action: none; user-select: none; }
.touch-flight-controls button:active { background: #285364; color: #b5ffff; border-color: #52d2d8; }.touch-flight-controls button.touch-thrust { background: #1a454f; border-color: #3f8992; color: #b2f0ef; }
.flight-notes { display: flex; justify-content: space-between; gap: 12px; align-items: center; font: 8px monospace; color: #617c96; line-height: 1.8; margin-top: 18px; }
.flight-notes .text-button { font-size: 9px; }.flight-mode footer { margin-top: 24px; }
.mission-result { max-width: 880px; margin: 0 auto; text-align: center; padding: 28px 20px; }
.result-emblem { position: relative; display: grid; place-items: center; width: 125px; height: 125px; margin: auto; }.result-emblem canvas { width: 125px; height: 125px; image-rendering: pixelated; }.result-emblem > span { position: absolute; bottom: 20px; right: 13px; width: 25px; height: 25px; background: #21534b; border: 1px solid #85e9ce; color: #b7ffe9; border-radius: 50%; line-height: 24px; font-size: 11px; }
.mission-result > .label { font-size: 8px; letter-spacing: 2px; }.mission-result > h1 { font-size: clamp(26px, 3vw, 36px); letter-spacing: -1px; margin: 13px 0; }.result-subtitle { font-size: 12px; line-height: 1.9; color: #92a5c1; max-width: 520px; margin: auto; }
.reward-award { margin: 27px 0; animation: reward-pop .6s cubic-bezier(.2,.8,.3,1.2); }.reward-award > span { display: block; font: 8px monospace; letter-spacing: 2px; color: #b79e66; }.reward-award strong { display: block; color: #f0d17b; font: bold 42px monospace; margin-top: 9px; }.reward-award strong small { font-size: 15px; }
.mission-result .discoveries { display: flex; justify-content: center; flex-wrap: wrap; gap: 13px; margin: 26px 0; }.discovery-card { flex: 1; min-width: 180px; max-width: 245px; padding: 22px 15px; border: 1px solid #2a394e; border-radius: 5px; background: #111b2c; }.discovery-card .label { font-size: 7px; letter-spacing: .7px; color: #83a0b8; }.discovery-card > strong { display: block; color: #d5eff3; font: 25px monospace; margin: 17px 0 13px; }.discovery-card h3 { font-size: 11px; font-weight: normal; color: #9caec7; margin: 0 0 8px; }.discovery-card > small { color: #5e7895; font-size: 9px; }
.unlock-reveal { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 23px 0; animation: unlock-reveal .65s ease-out; }.unlock-reveal span { color: #a9e4d9; font: 10px monospace; background: #17312f; padding: 9px 12px; border-radius: 3px; }
.result-actions { display: flex; justify-content: center; align-items: center; gap: 24px; margin: 28px 0 21px; }.result-actions .primary { min-width: 230px; }.result-reference { color: #637b96; font-size: 9px; line-height: 1.9; }.result-reference a { color: #8cb1c2; }.loss-balance { margin: 30px 0; font: 13px monospace; color: #a7bbd0; }
.mission-lost > .label, .mission-lost h1 { color: #f08b9f; }.failure-sigil { color: #f2869c; border: 1px solid #985069; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 25px; font: 30px monospace; clip-path: polygon(30% 0,70% 0,100% 30%,100% 70%,70% 100%,30% 100%,0 70%,0 30%); background: #5b294544; }
.bankruptcy-panel { max-width: 750px; border: 1px solid #5a304a; background: radial-gradient(ellipse at top,#45263888,#111729 70%); padding: 45px 28px; text-align: center; margin: 20px auto; }.bankruptcy-panel h2 { font-size: 36px; color: #f08b9f; margin: 15px; }.bankruptcy-panel p { color: #a8b5cc; line-height: 1.8; }.bankruptcy-panel .label { color: #df849d; }.bankruptcy-panel .actions { justify-content: center; }
.result-accounting { display: flex; justify-content: center; gap: 28px; margin: 25px auto; flex-wrap: wrap; }.result-accounting span { font: 9px monospace; color: #8ea4bf; line-height: 1.8; }.result-accounting b { display: block; font-size: 21px; color: #dce9f4; }
.credit-token { position: fixed; z-index: 50; pointer-events: none; width: 13px; height: 13px; border: 2px solid #9c7436; background: #ffdd7b; box-shadow: inset 2px 2px #fff0bb, inset -2px -2px #c49a4c; clip-path: polygon(20% 0,80% 0,100% 20%,100% 80%,80% 100%,20% 100%,0 80%,0 20%); }.credit-token::after { content: ''; display: block; width: 4px; height: 4px; margin: 2px; border: 1px solid #c99b42; border-radius: 50%; }
.wallet-celebrate { animation: wallet-pulse .3s ease-in-out infinite alternate; }
@keyframes planet-float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
@keyframes ring-drift { to { transform: rotate(360deg); } }
@keyframes card-next { from { opacity: .3; transform: translateX(18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes card-prev { from { opacity: .3; transform: translateX(-18px); } to { opacity: 1; transform: translateX(0); } }
@keyframes reward-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
@keyframes unlock-reveal { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes wallet-pulse { to { border-color: #e8c96e; background: #2b2a21; box-shadow: 0 0 16px #edcd6f1f; } }
@media(max-width:1100px) {
  .destination-copy { padding: 35px 28px 28px 10px; }.destination-copy h2 { font-size: 44px; }.destination-card { grid-template-columns: .9fr 1fr; }.planet-float { width: 330px; }.world-orbit { width: 270px; }.world-orbit.orbit-two { width: 340px; }
  .simplified-lab { grid-template-columns: minmax(0,1fr) 275px; }.simplified-lab .parts-grid { grid-template-columns: 1fr; }.assembly-summary { position: sticky; }.target-hud { width: 380px; }.target-planets { gap: 3px; }.telemetry { width: 130px; left: 18px; }.radar-group { width: 100px; right: 14px; }.radar-group canvas { width: 85px; height: 85px; }
}
@media(max-width:780px) {
  header { padding: 0 22px; }.brand { font-size: 12px; letter-spacing: 1px; }.brand-icon { font-size: 26px; margin-right: 5px; }nav { gap: 16px; }nav button { font-size: 11px; }.global-wallet { min-width: 115px; padding: 9px 12px; }.global-wallet strong { font-size: 14px; }
  .destination-heading { margin: 0 0 23px; }.destination-heading h1 { font-size: 26px; }.progress-label { font-size: 8px; }
  .destination-card { margin: 0; grid-template-columns: 1fr; }.world-stage { min-height: 265px; }.planet-float { width: 310px; }.world-coordinate { top: 20px; left: 23px; font-size: 8px; }.world-classification { bottom: 14px; font-size: 8px; }.world-orbit { width: 235px; }.world-orbit.orbit-two { width: 300px; }
  .destination-copy { padding: 23px 32px 25px; }.destination-copy h2 { font-size: 43px; margin: 10px 0; }.destination-copy > p { max-width: none; font-size: 12px; margin-bottom: 15px; }.card-science { margin-bottom: 20px; }.destination-stats { padding: 16px 0 21px; }.destination-stats strong { font-size: 24px; }.carousel-arrow { top: 120px; width: 35px; height: 35px; background: #111b2c99; }.carousel-arrow.previous { left: 15px; }.carousel-arrow.next { right: 15px; }.carousel-footer { margin: 19px 3px 0; }
  .target-hud { width: 325px; }.target-planets > span { width: 36px; }.target-planets small { font-size: 6px; }.target-name strong { font-size: 19px; }.telemetry { width: 105px; }.radar-group canvas { width: 75px; height: 75px; }.flight-heading-actions button:first-child { display: none; }
}
@media(max-width:660px) {
  header { min-height: 96px; height: auto; padding: 12px 18px; display: flex; flex-wrap: wrap; gap: 10px; }.brand { font-size: 11px; }.brand-icon { font-size: 25px; }.global-wallet { margin-left: auto; min-width: 109px; padding: 8px 10px; }.global-wallet > span { font-size: 6px; letter-spacing: 1px; }.global-wallet strong { font-size: 13px; }
  nav { order: 3; width: 100%; justify-content: center; gap: 30px; padding-top: 8px; border-top: 1px solid #263046; }nav button { padding: 0; font-size: 10px; }nav button.nav-active { border: 0; }main { padding: 22px 18px; }#screen { scroll-margin-top: 144px; }.steps { margin-bottom: 27px; }.steps button { padding: 12px 7px; font-size: 9px; }.steps b { font-size: 10px; }.destination-heading { display: block; }.destination-heading h1 { font-size: 26px; line-height: 1.25; max-width: 270px; }.destination-heading .label { font-size: 8px; }.progress-label { display: block; font-size: 8px; margin-top: 12px; }
  .world-stage { min-height: 245px; }.planet-float { width: 290px; }.world-coordinate { font-size: 7px; top: 17px; left: 19px; }.world-classification { font-size: 7px; letter-spacing: 2px; }.destination-copy { padding: 23px 23px 22px; }.destination-copy h2 { font-size: 39px; }.destination-status { font-size: 7px; }.destination-copy > p { font-size: 11px; }.card-science span { font-size: 8px; padding: 5px 7px; }.destination-stats { gap: 12px; }.destination-stats small { font-size: 7px; }.destination-stats strong { font-size: 21px; }.destination-stats div > span { font-size: 8px; }.progress-hint { font-size: 9px!important; }.carousel-footer > span { font-size: 9px; }.carousel-footer .text-button { font-size: 8px; }.carousel-dots { gap: 3px; }.carousel-dots button { padding: 5px; }.carousel-dots button.selected > span { width: 17px; }.carousel-dots button > span { width: 4px; height: 4px; }.carousel-arrow { top: 105px; }
  .section-heading h2 { font-size: 24px; margin-top: 10px; }.section-heading p { font-size: 11px; }.simplified-lab { grid-template-columns: 1fr; }.simplified-lab .parts-grid { grid-template-columns: 1fr; }.simplified-lab .panel { padding: 20px; }.assembly-summary { position: static; }.part { min-height: 61px; padding: 11px; }.part > span:first-child { font-size: 12px; }.part-locked small { font-size: 8px; }.part > span:last-child { font-size: 9px; }.engineering-stats { grid-template-columns: 1fr 1fr; }.lab-bottom .text-button { font-size: 10px; }
  .flight-mode main { padding: 18px 10px; }.flight-mode .steps { margin-bottom: 24px; }.flight-heading { padding: 0 7px; }.flight-heading h2 { font-size: 21px; }.flight-heading .label { font-size: 7px; }.flight-heading-actions button { font-size: 9px; padding: 10px; }.space-flight { height: min(65vh,620px); min-height: 475px; border-radius: 6px; }
  .target-hud { top: 14px; width: calc(100% - 28px); }.target-hud .hud-title { font-size: 6px; letter-spacing: 1.2px; }.target-name { margin: 6px 0 10px; gap: 12px; }.target-name strong { font-size: 17px; }.target-name > span { font-size: 8px; }.target-planets { gap: 2px; width: 100%; justify-content: space-between; }.target-planets > span { width: auto; min-width: 30px; gap: 5px; }.target-planets small { font-size: 6px; }.target-planets i { width: 5px; height: 5px; }
  .telemetry { top: 104px; left: 15px; width: 115px; }.meter-label { font-size: 7px; letter-spacing: .8px; }.meter-label b { font-size: 8px; }.telemetry .meter + .meter-label { margin-top: 15px; }.radar-group { top: 103px; right: 13px; width: 98px; }.radar-actions { gap: 6px; }.hud-button { font-size: 6px; padding: 5px 6px; }.radar-group canvas { width: 69px; height: 69px; margin-top: 10px; }.scan-hud { width: 180px; bottom: 18px; }.scan-hud .hud-title { font-size: 7px; }.scan-hud > span { font-size: 6px; }.scan-hud > .meter { margin: 8px 0 7px; }.flight-brief { padding: 24px; width: min(285px,85%); }.flight-brief .label { font-size: 7px; }.flight-brief h2 { font-size: 25px; }
  .flight-instructions { padding: 15px 9px 0; }.flight-instructions > p { font-size: 10px; }.control-guide { gap: 9px 12px; font-size: 8px; }kbd { font-size: 7px; padding: 3px 4px; }.touch-flight-controls { gap: 7px; }.touch-flight-controls > div { gap: 5px; }.touch-flight-controls button { min-width: 37px; height: 43px; font-size: 9px; padding: 0 11px; }.flight-notes { padding: 0 5px; font-size: 7px; }.flight-notes .text-button { font-size: 7px; }
  .mission-result { padding: 10px 0 20px; }.mission-result h1 { font-size: 27px; line-height: 1.25; }.mission-result > .label { font-size: 7px; letter-spacing: 1px; }.result-subtitle { font-size: 11px; max-width: 290px; }.reward-award strong { font-size: 38px; }.mission-result .discoveries { gap: 10px; }.discovery-card { min-width: 150px; max-width: 250px; padding: 19px 12px; }.discovery-card .label { font-size: 7px; }.discovery-card > strong { font-size: 23px; }.unlock-reveal { gap: 7px; }.unlock-reveal span { font-size: 8px; }.result-actions { flex-direction: column; gap: 20px; }.result-actions .primary { width: 100%; max-width: 300px; }.result-reference { font-size: 8px; }.bankruptcy-panel { padding: 33px 18px; }.bankruptcy-panel h2 { font-size: 30px; }.result-accounting { gap: 18px; }.result-accounting b { font-size: 18px; }.bankruptcy-panel .actions { flex-direction: column; }.actions { flex-wrap: wrap; }dialog { padding: 24px; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { animation: none!important; transition: none!important; }.credit-token { display: none; } }

/* OSP: a quiet category lab, with specifications beside the focused part. */
#cosmic-background { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; image-rendering: pixelated; opacity: .85; }
#cosmic-background[hidden] { display: none; }
@media(prefers-reduced-motion:reduce) { #cosmic-background { display: none; } }
main { position: relative; z-index: 1; }.flight-mode #cosmic-background { opacity: .3; }
.stars { background-image: radial-gradient(ellipse at 78% 15%,#322d6233,transparent 58%); background-size: auto; }
.brand .brand-wordmark { display: flex; flex-direction: column; font-weight: 800; font-size: 18px; letter-spacing: 3px; color: #e6eefc; line-height: 1.1; }
.brand-wordmark small { font: 8px monospace; letter-spacing: 2px; color: #9faecc; margin-top: 5px; }
.section-heading h2 { margin-top: 10px; font-size: 30px; }.flight-heading h2 { font-size: 23px; }
.destination-heading h1 { margin-top: 0; }.destination-copy .primary { margin-top: 7px; }
footer { align-items: center; }footer button:disabled { color: #60728c; cursor: default; }
.category-lab { grid-template-columns: 168px minmax(270px,1fr) 290px; gap: 22px; align-items: start; }
.part-categories { display: flex; flex-direction: column; gap: 7px; }
.part-categories > button { position: relative; display: grid; grid-template-columns: 20px 1fr; gap: 7px 8px; padding: 20px 15px; text-align: left; border: 1px solid transparent; border-radius: 5px; background: #10182a99; color: #91a0ba; }
.part-categories > button > span { font: 9px monospace; color: #617794; align-self: center; }.part-categories > button strong { font-size: 13px; font-weight: 500; }
.part-categories > button small { grid-column: 2; font: 8px monospace; color: #7087a2; line-height: 1.5; }
.part-categories > button.active { background: #17303b; border-color: #376471; color: #b0f0ee; }.part-categories > button.active::before { position: absolute; content: ''; width: 3px; background: #85e9e8; left: -1px; top: 18px; bottom: 18px; }
.part-categories > button:hover { border-color: #3d536c; }.part-categories > button.active small { color: #87afb9; }
.part-selection { min-height: 410px; border-radius: 5px; background: #101729ed; padding: 26px; }
.part-selection-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 24px; }.part-selection-heading h3 { font-size: 17px; margin: 0; }.part-selection-heading > span { font: 7px monospace; letter-spacing: 1px; color: #7787a2; }
.part-row { position: relative; display: flex; align-items: center; gap: 9px; margin-bottom: 13px; }.part-row .part { margin: 0; min-width: 0; padding: 23px 17px; min-height: 76px; }.part-row .part > span:first-child { font-size: 13px; }.part-row .part > span:last-child { font-size: 10px; }
.part-info-button { border: 1px solid #40506b; border-radius: 50%; padding: 0; width: 23px; height: 23px; flex: 0 0 23px; font: italic 12px Georgia,serif; color: #91adc2; background: #142035; }.part-info-button:hover,.part-info-button[aria-expanded=true] { color: #d3ffff; border-color: #8dd5d7; }
.part-row .part-locked { opacity: .5; }.part-row .part-locked:focus-visible { opacity: .85; }
.part-note { font-size: 10px; color: #8496b2; line-height: 1.9; margin-top: 21px; }.science-bonus-note { font: 10px/1.8 monospace; color: #8bbcaf; border-left: 2px solid #395e5a; padding-left: 12px; margin-top: 25px; }
.category-lab .assembly-summary { border-radius: 5px; background: #101729ed; }.category-lab .rocket-stage { height: 135px; }
.category-lab .rocket-stage > canvas { width: 128px; height: 128px; }.category-lab .cart-total { margin-top: 17px; }
.part-popover { position: fixed; z-index: 30; padding: 23px; border: 1px solid #547184; border-radius: 5px; box-shadow: 0 12px 45px #010511b3; background: #122234fa; backdrop-filter: blur(15px); min-height: 290px; overflow-y: auto; overscroll-behavior: contain; }
.part-popover[hidden] { display: none; }.part-popover > .label { font-size: 7px; letter-spacing: 1px; display: block; padding-right: 15px; }.part-popover h3 { margin: 14px 0 12px; font-size: 18px; color: #def5f7; }.part-popover p { color: #adbfd2; font-size: 11px; line-height: 1.8; margin: 0 0 13px; }
.part-popover dl { margin: 0 0 16px; }.part-popover dl > div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid #2b4256; font: 9px/1.6 monospace; }.part-popover dt { color: #8aa0b8; }.part-popover dd { margin: 0; text-align: right; color: #d0e7ee; }
.part-popover a { font: 10px monospace; }.part-popover > small { display: block; margin-top: 14px; color: #859ab1; font-size: 9px; line-height: 1.7; }
.close-part-info { position: absolute; right: 12px; top: 10px; border: 0; background: none; color: #bed7e5; padding: 0 4px; font-size: 20px; }
.reward-breakdown { color: #8da7bc; font: 10px/1.8 monospace; margin-top: 12px; }
@media(max-width:1100px) {
 .category-lab { grid-template-columns: 145px minmax(230px,1fr) 255px; gap: 15px; }.part-selection { padding: 20px; }.part-categories > button { padding: 18px 11px; }.part-row .part { padding: 21px 12px; }.part-row .part > span:first-child { font-size: 11px; }.part-selection-heading { display: block; }.part-selection-heading > span { display: block; margin-top: 10px; }
}
@media(max-width:900px) {
 .category-lab { grid-template-columns: 145px minmax(0,1fr); }.category-lab .assembly-summary { grid-column: 2; position: static; }.category-lab .rocket-stage { height: 100px; }.part-selection { min-height: 330px; }
}
@media(max-width:660px) {
 .brand .brand-wordmark { font-size: 15px; letter-spacing: 2px; }.brand-wordmark small { font-size: 7px; letter-spacing: 1.2px; }.brand-icon { margin-right: 4px; }
 nav button:first-child { display: block; }.section-heading h2 { font-size: 27px; }.section-heading { gap: 12px; }.category-lab { grid-template-columns: 95px minmax(0,1fr); gap: 10px; }.part-categories { gap: 6px; }.part-categories > button { padding: 15px 9px; display: flex; flex-direction: column; gap: 5px; }.part-categories > button > span { align-self: start; font-size: 8px; }.part-categories > button strong { font-size: 10px; }.part-categories > button small { font-size: 7px; }
 .part-selection { min-height: 342px; padding: 15px 10px; }.part-selection-heading h3 { font-size: 14px; }.part-selection-heading > span { font-size: 6px; letter-spacing: .2px; }.part-row { gap: 5px; }.part-row .part { flex-direction: column; align-items: start; justify-content: center; padding: 14px 10px; gap: 9px; min-height: 76px; }.part-row .part > span:first-child { font-size: 10px; line-height: 1.6; }.part-row .part > span:last-child { font-size: 9px; }.part-info-button { width: 20px; height: 20px; flex-basis: 20px; }.part-note { font-size: 8px; }.science-bonus-note { font-size: 8px; padding-left: 8px; }
 .category-lab .assembly-summary { grid-column: 1/-1; margin-top: 7px; }.category-lab .rocket-stage { height: 125px; }.part-popover { padding: 22px; }.part-popover h3 { font-size: 18px; }
 footer { gap: 15px; }footer > span { width: 100%; }.destination-copy .primary { font-size: 10px; gap: 8px; }
}

.assembly-summary .credit-summary { display:grid; gap:0; margin-top:14px; }
.assembly-summary .credit-summary > div { display:flex; justify-content:space-between; align-items:center; gap:12px; padding:8px 0; border-bottom:1px solid var(--line); font:11px/1.5 monospace; }
.assembly-summary .credit-summary > div:nth-child(odd) { color:#b8d7e5; }
.assembly-summary .credit-summary > div:nth-child(even) { color:var(--cyan); }
.assembly-summary .credit-summary span { font:inherit; }
.assembly-summary .credit-summary span:last-child { text-align:right; white-space:nowrap; }
.assembly-summary .launch-requirements { margin-top:8px; }
.assembly-summary .launch-requirements .check { padding:7px 0; font-size:10px; line-height:1.45; align-items:center; }
.assembly-summary .launch-requirements .check > span:first-child { flex:1; min-width:0; }
.assembly-summary .launch-requirements .check > span:last-child { text-align:right; max-width:48%; overflow-wrap:anywhere; }
.assembly-summary .launch-stats { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin-top:14px; padding:12px 0; border-bottom:1px solid var(--line); }
.assembly-summary .launch-stats small { font-size:8px; margin-bottom:6px; }
.assembly-summary .launch-stats strong { font-size:10px; white-space:nowrap; }
.assembly-summary .primary { margin-top:14px; }
.assembly-summary .engineering-reference > a { font-size:9px; }
.telemetry .speed-label { margin-top:14px; gap:8px; flex-wrap:wrap; }
.telemetry .speed-label b { white-space:nowrap; }
.flight-brief .pause-mission-actions { display:grid; grid-template-columns:1fr; gap:12px; width:min(100%,320px); margin:22px auto 0; }
.flight-brief .pause-mission-actions > button { box-sizing:border-box; display:flex; align-items:center; justify-content:space-between; width:100%; height:52px; min-height:52px; margin:0; padding:0 20px; font-size:12px; }
.flight-heading-actions #pause { display:inline-block; }
