.ship-art img,
.summary-art img {
  object-fit: contain;
}

:root {
  font-family: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif;
  font-size: 14px;
  color: #e6effa;
  background: #070d1a;
  font-synthesis: none;
  --mono: 'Space Grotesk', 'JetBrains Mono', 'Consolas', monospace;
  --accent: #7ef0e4;
  --muted: #7f93ad;
  --line: #2a3a52;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  overflow: hidden;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

button:disabled {
  cursor: default;
  opacity: .35;
}

button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

button,
a {
  touch-action: manipulation;
}

.hidden {
  display: none !important;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  vertical-align: middle;
}

.game-shell {
  position: fixed;
  inset: 0;
  overflow: hidden;
  height: 100dvh;
  background: #050b19;
}

#game {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  outline: 0;
}

/* Topbar */
.topbar {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  height: 84px;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(180deg, rgba(7, 14, 28, .88) 0%, rgba(7, 14, 28, .4) 65%, transparent 100%);
  border-bottom: 1px solid rgba(98, 145, 195, .08);
  pointer-events: none;
}

.topbar button {
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  border: 0;
  background: none;
  padding: 0;
  text-align: left;
  font: 700 20px var(--mono);
  letter-spacing: 1.2px;
  transition: opacity .2s;
}

.brand:hover {
  opacity: .92;
}

.brand small {
  display: block;
  font: 500 9px 'Noto Sans SC', sans-serif;
  letter-spacing: 4.2px;
  color: #7d9ab8;
  margin-top: 5px;
}

.brand-mark {
  display: grid;
  place-items: center;
  border: 1px solid rgba(114, 219, 212, .42);
  background: linear-gradient(145deg, rgba(32, 69, 83, .62), rgba(14, 32, 48, .75));
  box-shadow: 0 0 22px rgba(126, 240, 228, .14), inset 0 1px 0 rgba(255, 255, 255, .15);
  width: 42px;
  height: 44px;
  border-radius: 11px;
  color: #93f4ea;
}

.brand-mark svg {
  width: 30px;
  filter: drop-shadow(0 0 8px rgba(126, 240, 228, .45));
}

.header-sector {
  display: flex;
  align-items: center;
  gap: 10px;
  font: 500 10px var(--mono);
  letter-spacing: 2px;
  color: #829bb9;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(75, 108, 143, .28);
  background: rgba(12, 23, 41, .55);
  backdrop-filter: blur(8px);
}

.header-sector i,
.eyebrow i,
.setup-footer i {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--accent);
  display: inline-block;
}

.header-sector > span {
  margin: 0 3px;
  color: #395270;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.icon-button {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(73, 101, 133, .28);
  background: rgba(15, 27, 46, .55);
  backdrop-filter: blur(8px);
  border-radius: 9px;
  display: grid;
  place-items: center;
  color: #96abc6;
  transition: all .18s ease;
}

.icon-button:hover {
  background: rgba(34, 62, 88, .72);
  border-color: rgba(126, 240, 228, .55);
  color: #c4fff7;
  transform: translateY(-1px);
}

.icon-button[aria-pressed="true"] {
  border-color: rgba(126, 240, 228, .5);
  color: var(--accent);
  background: rgba(27, 62, 72, .55);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font: 600 10px var(--mono);
  letter-spacing: 2.2px;
  color: #7ec7cf;
  text-transform: uppercase;
}

/* Setup Screen */
.setup-screen {
  position: absolute;
  inset: 84px 0 0;
  z-index: 2;
  overflow: auto;
  background:
    radial-gradient(circle at 16% 32%, rgba(36, 98, 118, .18), transparent 45%),
    radial-gradient(circle at 78% 24%, rgba(88, 66, 165, .14), transparent 48%),
    linear-gradient(95deg, rgba(7, 13, 25, .93) 0%, rgba(10, 17, 32, .82) 55%, rgba(10, 18, 34, .74) 100%);
  display: flex;
  flex-direction: column;
  padding: 20px 40px 0;
}

.setup-layout {
  width: 100%;
  max-width: 1320px;
  margin: auto;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  padding: 20px 0;
}

.setup-intro h1 {
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.32;
  letter-spacing: 1px;
  margin: 20px 0 18px;
  font-weight: 800;
}

.setup-intro h1 span {
  color: var(--accent);
  text-shadow: 0 0 28px rgba(126, 240, 228, .28);
}

.setup-intro > p {
  font-size: 12.5px;
  line-height: 2;
  color: #879bb6;
  margin: 0 0 26px;
}

.mission-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid rgba(64, 92, 122, .38);
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(18, 33, 55, .65), rgba(11, 21, 38, .65));
}

.mission-detail > .icon {
  width: 26px;
  height: 26px;
  color: #7fd4d8;
}

.mission-detail > div {
  font-size: 12px;
  font-weight: 600;
}

.mission-detail small {
  display: block;
  margin-top: 4px;
  color: #768da8;
  font-size: 10px;
  font-weight: 400;
}

.mission-tag {
  margin-left: auto;
  font: 600 9px var(--mono);
  letter-spacing: 1px;
  color: #93e4dc;
  border: 1px solid rgba(112, 198, 192, .38);
  background: rgba(31, 75, 80, .35);
  border-radius: 5px;
  padding: 4px 7px;
}

.record {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 11px;
  border: 1px solid rgba(173, 143, 88, .26);
  background: linear-gradient(135deg, rgba(44, 36, 26, .35), rgba(16, 23, 39, .55));
  color: #bfae92;
  font-size: 10px;
}

.record > .icon {
  color: #e4bd77;
  width: 22px;
  height: 22px;
}

.record strong {
  display: block;
  font: 600 24px var(--mono);
  letter-spacing: 2px;
  margin-top: 3px;
  color: #f4d89e;
}

.intro-loadout {
  margin-top: 16px;
  padding: 13px 15px;
  border-radius: 11px;
  border: 1px solid rgba(64, 92, 122, .32);
  background: rgba(11, 21, 37, .52);
}

.loadout-caption {
  display: block;
  font: 500 9px var(--mono);
  letter-spacing: 1.5px;
  color: #6b86a4;
  margin-bottom: 9px;
}

.loadout-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.loadout-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 10.5px;
  color: #c8daee;
  background: rgba(24, 41, 66, .65);
  border: 1px solid rgba(82, 114, 150, .35);
  border-radius: 6px;
  padding: 4px 9px;
}

.loadout-pill i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* Setup Panel */
.setup-panel {
  background: linear-gradient(145deg, rgba(20, 33, 54, .92), rgba(11, 20, 36, .94));
  border: 1px solid rgba(76, 108, 144, .42);
  border-radius: 16px;
  box-shadow:
    0 28px 90px rgba(0, 0, 0, .55),
    inset 0 1px 0 rgba(255, 255, 255, .08);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px;
  border-bottom: 1px solid rgba(56, 79, 108, .55);
  background: rgba(9, 17, 31, .48);
}

.step {
  display: flex;
  gap: 10px;
  align-items: center;
  background: none;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 6px 10px;
  white-space: nowrap;
  color: #6d839f;
  text-align: left;
  transition: all .18s ease;
}

.step:hover:enabled {
  background: rgba(29, 49, 75, .45);
  color: #b7d2ec;
}

.step > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid #384963;
  border-radius: 8px;
  font: 600 10px var(--mono);
  transition: all .18s ease;
}

.step-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.step-meta b {
  font-size: 11.5px;
  font-weight: 600;
}

.step-meta small {
  font-size: 9px;
  color: #5f7896;
}

.step.active {
  color: #b2f7ed;
  background: rgba(28, 66, 72, .25);
  border-color: rgba(105, 198, 190, .28);
}

.step.active > span {
  background: linear-gradient(145deg, #275859, #1b3f44);
  border-color: #6ee0d5;
  color: #bdfff5;
  box-shadow: 0 0 14px rgba(126, 240, 228, .22);
}

.step.active .step-meta small {
  color: #7cc4be;
}

.step.done {
  color: #9dc5cc;
}

.step.done > span {
  border-color: #467879;
  background: rgba(34, 72, 74, .45);
  color: #9de8df;
}

.stepper > i {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, rgba(64, 92, 124, .25), rgba(88, 134, 165, .6), rgba(64, 92, 124, .25));
  min-width: 12px;
}

.step-content {
  padding: 26px 30px;
  min-height: 420px;
  animation: appear .24s ease-out;
}

.step-title > span {
  font: 600 9.5px var(--mono);
  letter-spacing: 2.2px;
  color: #6eaab4;
}

.step-title h2 {
  font-size: 23px;
  font-weight: 700;
  letter-spacing: .5px;
  margin: 9px 0 7px;
  outline: 0;
}

.step-title p {
  margin: 0;
  font-size: 11.5px;
  color: #8599b4;
  line-height: 1.8;
}

/* Ship Cards */
.ship-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.ship-card {
  position: relative;
  text-align: left;
  padding: 16px 15px 14px;
  border: 1px solid rgba(63, 86, 117, .65);
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(27, 43, 69, .55), rgba(12, 22, 39, .85));
  display: flex;
  flex-direction: column;
  transition: background .22s, border-color .22s, transform .22s, box-shadow .22s;
  min-width: 0;
}

.ship-card:hover,
.supply-card:hover {
  border-color: color-mix(in srgb, var(--card-color) 75%, white);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .35);
}

.ship-card.selected,
.supply-card.selected {
  border-color: var(--card-color);
  background:
    radial-gradient(circle at 50% 25%, color-mix(in srgb, var(--card-color) 16%, transparent), transparent 68%),
    linear-gradient(155deg, color-mix(in srgb, var(--card-color) 13%, #111d30), #0d1728);
  box-shadow:
    inset 0 0 26px color-mix(in srgb, var(--card-color) 7%, transparent),
    0 10px 28px rgba(0, 0, 0, .38),
    0 0 0 1px color-mix(in srgb, var(--card-color) 28%, transparent);
}

.selection-mark {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 1px solid #485b75;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: transparent;
  font-size: 10px;
  font-weight: 700;
  transition: all .18s ease;
}

.selected > .selection-mark {
  color: #0b2228;
  border-color: var(--card-color);
  background: var(--card-color);
  box-shadow: 0 0 12px color-mix(in srgb, var(--card-color) 65%, transparent);
}

.card-topline {
  font: 600 10px var(--mono);
  letter-spacing: 1px;
  color: #c2d3e8;
}

.card-topline small {
  display: block;
  font-size: 8.5px;
  margin-top: 3px;
  color: #657d9c;
  letter-spacing: 1.2px;
}

.ship-art {
  height: 126px;
  display: grid;
  place-items: center;
  position: relative;
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--card-color) 16%, transparent), transparent 68%);
}

.ship-art :is(svg, img) {
  width: 118px;
  height: 118px;
  filter: drop-shadow(0 10px 18px color-mix(in srgb, var(--card-color) 26%, transparent));
  transition: transform .25s ease;
}

.ship-card:hover .ship-art :is(svg, img),
.ship-card.selected .ship-art :is(svg, img) {
  transform: translateY(-2px) scale(1.04);
}

.ship-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .8px;
}

.ship-label > span {
  font-weight: 500;
  color: var(--card-color);
  font-size: 9.5px;
  border: 1px solid color-mix(in srgb, var(--card-color) 35%, transparent);
  background: color-mix(in srgb, var(--card-color) 10%, transparent);
  border-radius: 4px;
  padding: 2px 7px;
  letter-spacing: .5px;
}

.ship-description {
  color: #8499b5;
  font-size: 10.5px;
  line-height: 1.75;
  margin-top: 8px;
  min-height: 36px;
}

.ship-meters {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 10px;
  padding: 8px 10px;
  border-radius: 7px;
  background: rgba(8, 15, 28, .52);
  border: 1px solid rgba(55, 77, 105, .32);
}

.meter-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 8.5px;
  color: #778fab;
}

.meter-row > span {
  width: 22px;
  flex-shrink: 0;
}

.meter-track {
  flex: 1;
  height: 4px;
  background: rgba(45, 63, 88, .65);
  border-radius: 99px;
  overflow: hidden;
}

.meter-track > i {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, color-mix(in srgb, var(--card-color) 55%, #2a486b), var(--card-color));
  box-shadow: 0 0 8px color-mix(in srgb, var(--card-color) 50%, transparent);
}

.ship-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid rgba(52, 73, 100, .55);
  padding-top: 10px;
  margin-top: 10px;
  font-size: 9px;
  color: #7e94b1;
  gap: 4px;
}

.ship-stats b {
  font-weight: 600;
  color: #d2e1f3;
  margin-left: 2px;
}

.choice-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: #758faa;
  line-height: 1.7;
  margin: 16px 0 0;
}

.choice-note .icon {
  width: 14px;
  height: 14px;
  color: #78c6cf;
}

/* Supply Cards */
.supply-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 22px;
}

.supply-card {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  min-height: 126px;
  border: 1px solid rgba(63, 86, 117, .65);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(24, 39, 63, .6), rgba(13, 23, 40, .88));
  padding: 18px 16px;
  text-align: left;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}

.supply-icon {
  width: 44px;
  height: 46px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--card-color) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-color) 35%, transparent);
  box-shadow: inset 0 0 12px color-mix(in srgb, var(--card-color) 15%, transparent);
  border-radius: 10px;
  color: var(--card-color);
  flex-shrink: 0;
}

.supply-icon img {
  display: block;
  width: 90%;
  height: 90%;
  object-fit: contain;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--card-color) 35%, transparent));
}

.supply-body {
  display: block;
  padding-right: 28px;
}

.supply-card strong {
  font-size: 14px;
  font-weight: 600;
  color: #eaf2fc;
}

.supply-card small {
  display: block;
  font: 500 8.5px var(--mono);
  letter-spacing: 1px;
  color: #6c88a8;
  margin-top: 4px;
}

.supply-card p {
  font-size: 10px;
  line-height: 1.75;
  color: #869bb7;
  margin: 8px 0 0;
}

.supply-card em {
  position: absolute;
  bottom: 12px;
  right: 14px;
  font-style: normal;
  font: 600 9.5px var(--mono);
  color: var(--card-color);
  background: color-mix(in srgb, var(--card-color) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--card-color) 28%, transparent);
  padding: 2px 7px;
  border-radius: 5px;
}

/* Step 3 Launch Summary & Quick Switch */
.launch-summary {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  border: 1px solid rgba(65, 102, 130, .55);
  background:
    radial-gradient(ellipse at 12% 50%, rgba(46, 114, 130, .24), transparent 62%),
    linear-gradient(145deg, rgba(16, 29, 48, .9), rgba(10, 19, 34, .95));
  border-radius: 12px;
  margin-top: 20px;
  padding: 16px 22px;
}

.summary-art {
  width: 132px;
  height: 136px;
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(126, 240, 228, .14), transparent 70%);
}

.summary-art :is(svg, img) {
  width: 124px;
  height: 124px;
  filter: drop-shadow(0 8px 18px rgba(126, 240, 228, .22));
}

.launch-summary h3 {
  font-size: 22px;
  font-weight: 700;
  margin: 8px 0 6px;
}

.launch-summary p {
  font-size: 10.5px;
  color: #8ba1bd;
  margin: 0;
  line-height: 1.7;
}

.summary-supply {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 12px;
  font-size: 11px;
  color: #9ef0e6;
  background: rgba(31, 78, 86, .35);
  border: 1px solid rgba(108, 206, 200, .35);
  padding: 5px 11px;
  border-radius: 6px;
}

.summary-supply .icon {
  width: 14px;
  height: 14px;
}

.summary-quick-switch {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 1px solid rgba(58, 82, 112, .45);
  padding-left: 18px;
}

.quick-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.quick-group small {
  font: 500 8.5px var(--mono);
  letter-spacing: 1.2px;
  color: #6b85a3;
}

.quick-pills {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}

.quick-pill {
  font-size: 10px;
  padding: 4px 9px;
  border-radius: 5px;
  border: 1px solid rgba(67, 92, 124, .55);
  background: rgba(18, 31, 52, .7);
  color: #8fa6c2;
  transition: all .15s ease;
}

.quick-pill:hover {
  border-color: rgba(126, 240, 228, .6);
  color: #d6f7f3;
}

.quick-pill.selected {
  border-color: var(--accent);
  background: rgba(38, 92, 96, .55);
  color: #b8fff5;
  font-weight: 600;
}

.launch-settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 15px;
}

.setting-toggle {
  border: 1px solid rgba(58, 82, 112, .6);
  background: rgba(18, 31, 52, .55);
  border-radius: 9px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  font-size: 11.5px;
  transition: border-color .18s, background .18s;
}

.setting-toggle:hover {
  border-color: rgba(126, 240, 228, .48);
  background: rgba(24, 42, 68, .68);
}

.setting-toggle > .icon {
  width: 17px;
  height: 17px;
  color: #8fa9c4;
}

.setting-toggle small {
  display: block;
  font-size: 8.5px;
  color: #6c85a3;
  margin-top: 4px;
}

.switch {
  width: 30px;
  height: 17px;
  background: #2c3d55;
  border-radius: 10px;
  position: relative;
  margin-left: auto;
  flex-shrink: 0;
  transition: background .2s;
}

.switch:before {
  content: '';
  position: absolute;
  left: 3px;
  top: 3px;
  background: #8799b0;
  height: 11px;
  width: 11px;
  border-radius: 50%;
  transition: transform .2s, background .2s;
}

.setting-toggle[aria-pressed="true"] {
  border-color: rgba(110, 214, 204, .45);
}

.setting-toggle[aria-pressed="true"] .switch {
  background: #35756f;
}

.setting-toggle[aria-pressed="true"] .switch:before {
  background: #adffef;
  transform: translateX(13px);
}

.launch-controls {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  font-size: 9.5px;
  color: #778fab;
  margin-top: 18px;
}

kbd {
  font: 500 9px var(--mono);
  border: 1px solid #39506b;
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 2.5px 6px;
  color: #a9bed8;
  background: #16263b;
  margin-right: 4px;
}

/* Setup Bottom & Buttons */
.setup-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 17px 30px;
  border-top: 1px solid rgba(52, 74, 102, .55);
  background: rgba(9, 17, 30, .52);
}

.back-button {
  border: 0;
  background: none;
  padding: 10px 4px;
  font-size: 11.5px;
  color: #93a8c4;
  transition: color .15s;
}

.back-button > span {
  margin-right: 6px;
}

.back-button:hover:enabled {
  color: var(--accent);
}

#step-counter {
  font: 500 9.5px var(--mono);
  letter-spacing: 1.5px;
  color: #5e7897;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  background: linear-gradient(135deg, #8cf3e7, #64dcd0);
  color: #0b272e;
  border: 1px solid #aff9ef;
  box-shadow: 0 6px 22px rgba(126, 240, 228, .24);
  border-radius: 8px;
  padding: 12px 22px;
  min-height: 45px;
  font-weight: 700;
  font-size: 12.5px;
  transition: all .16s ease;
}

.primary-button:hover {
  background: linear-gradient(135deg, #b2fff4, #7debe0);
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(126, 240, 228, .35);
}

.primary-button > span {
  font-size: 17px;
  font-weight: 500;
}

.setup-footer {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 18px 0 20px;
  font-size: 9.5px;
  color: #567391;
  letter-spacing: .5px;
}

.setup-footer > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.setup-footer > span:last-child {
  font: 500 8.5px var(--mono);
  letter-spacing: 2px;
}

.setup-footer i {
  width: 4px;
  height: 4px;
  box-shadow: none;
  background: #4e9491;
}

/* Battle HUD */
body[data-mode="setup"] .battle-only {
  display: none;
}

.battle-hud {
  position: absolute;
  left: 36px;
  right: 36px;
  top: 90px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  pointer-events: none;
  z-index: 1;
}

.hud-card {
  background: linear-gradient(145deg, rgba(11, 21, 38, .72), rgba(7, 14, 27, .52));
  border: 1px solid rgba(72, 108, 148, .32);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .32), inset 0 1px 0 rgba(255, 255, 255, .06);
  backdrop-filter: blur(8px);
  border-radius: 11px;
  padding: 10px 16px 11px;
  min-width: 164px;
}

.hud-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.battle-hud small {
  font: 600 9.5px var(--mono);
  letter-spacing: 1.8px;
  color: #86a2c2;
  display: block;
}

.combo-badge {
  font: 700 9px var(--mono);
  color: #ffd984;
  background: rgba(255, 196, 86, .16);
  border: 1px solid rgba(255, 206, 112, .45);
  padding: 1.5px 6px;
  border-radius: 4px;
  letter-spacing: .5px;
}

.hud-score strong {
  display: block;
  font: 600 32px var(--mono);
  letter-spacing: 2px;
  margin-top: 4px;
  color: #eef6ff;
  text-shadow: 0 0 18px rgba(126, 240, 228, .22);
}

.hud-wave {
  text-align: right;
}

.wave-tag {
  font: 500 8.5px var(--mono);
  color: #77c6ce;
  background: rgba(34, 82, 92, .38);
  border: 1px solid rgba(102, 192, 198, .3);
  padding: 1.5px 6px;
  border-radius: 4px;
}

.wave-value {
  margin-top: 4px;
}

.hud-wave strong {
  font: 600 30px var(--mono);
  display: inline-block;
  color: #eef6ff;
}

.hud-wave .wave-value > span {
  font: 500 16px var(--mono);
  color: #6d86a4;
}

/* Flight Systems (Bottom-left HUD) */
.flight-systems {
  position: absolute;
  z-index: 1;
  left: 36px;
  bottom: 84px;
  pointer-events: none;
  max-width: 330px;
  background: linear-gradient(145deg, rgba(10, 19, 35, .74), rgba(7, 14, 27, .52));
  border: 1px solid rgba(68, 102, 138, .32);
  backdrop-filter: blur(8px);
  border-radius: 12px;
  padding: 12px 15px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .32);
}

.hull {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  color: #8fa9c6;
}

.sys-label {
  font-weight: 500;
  white-space: nowrap;
}

.health-segments {
  display: flex;
  gap: 4px;
}

.health-segments i {
  display: block;
  width: 17px;
  height: 7px;
  background: linear-gradient(180deg, #9df7e1, #5fd6ba);
  border-radius: 1.5px;
  transform: skewX(-15deg);
  box-shadow: 0 0 9px rgba(126, 240, 208, .38);
  transition: background .2s, box-shadow .2s;
}

.health-segments.low i:not(.lost) {
  background: linear-gradient(180deg, #ffb199, #ff6b6b);
  box-shadow: 0 0 10px rgba(255, 107, 107, .55);
}

.health-segments i.lost {
  background: rgba(43, 59, 82, .75);
  box-shadow: none;
}

.hull > small {
  font: 600 10px var(--mono);
  color: #9bb5d1;
  margin-left: auto;
}

.weapon {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 11px;
  margin-top: 10px;
  padding-top: 9px;
  border-top: 1px solid rgba(55, 79, 108, .38);
  color: #b4cde6;
}

.weapon-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
}

.weapon small {
  font: 600 9px var(--mono);
  color: #86d8e0;
  border: 1px solid rgba(86, 165, 182, .45);
  background: rgba(25, 62, 78, .45);
  padding: 1.5px 6px;
  border-radius: 4px;
  margin-left: auto;
}

.active-effects {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 9px;
}

.active-effects:empty {
  display: none;
}

.effect-chip {
  position: relative;
  overflow: hidden;
  font-size: 9.5px;
  border: 1px solid color-mix(in srgb, var(--effect-color) 42%, transparent);
  background: rgba(11, 22, 41, .85);
  border-radius: 5px;
  padding: 5px 8px 7px;
  color: var(--effect-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.effect-chip::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: var(--effect-progress, 100%);
  background: var(--effect-color);
  box-shadow: 0 0 6px var(--effect-color);
  transition: width .2s linear;
}

.effect-chip b {
  font: 600 9px var(--mono);
}

/* Battle Toolbar */
.battle-toolbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 36px max(15px, env(safe-area-inset-bottom));
  background: linear-gradient(180deg, transparent, rgba(6, 12, 26, .9));
  z-index: 2;
  pointer-events: none;
}

.battle-toolbar > span {
  font-size: 10.5px;
  color: #82a0bc;
  letter-spacing: .5px;
  background: rgba(10, 20, 36, .6);
  border: 1px solid rgba(64, 92, 124, .28);
  padding: 6px 12px;
  border-radius: 999px;
  backdrop-filter: blur(6px);
}

.battle-toolbar > button {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(94, 166, 188, .65);
  background: linear-gradient(145deg, rgba(26, 63, 86, .85), rgba(16, 40, 58, .9));
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4), 0 0 18px rgba(105, 210, 230, .15);
  color: #c2f2f2;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 9px;
  font-size: 11.5px;
  font-weight: 600;
  pointer-events: auto;
  backdrop-filter: blur(10px);
  transition: all .18s ease;
}

.battle-toolbar > button:hover:enabled {
  border-color: var(--accent);
  background: linear-gradient(145deg, rgba(36, 86, 110, .92), rgba(22, 56, 76, .95));
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .45), 0 0 22px rgba(126, 240, 228, .28);
}

.battle-toolbar b {
  font: 700 12.5px var(--mono);
  color: #8ff7eb;
  margin: 0 4px;
}

.battle-toolbar kbd {
  font-size: 8.5px;
  background: rgba(18, 38, 58, .85);
  color: #8eb0ce;
  border-color: #3d5d78;
  margin-right: 0;
}

/* Overlays & Dialog */
.screen-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: rgba(5, 11, 24, .82);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 85px 20px 25px;
  overflow: auto;
}

.overlay-panel {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
  min-width: 320px;
  max-width: 420px;
  width: 100%;
  padding: 32px 28px;
  background: linear-gradient(155deg, rgba(20, 34, 56, .9), rgba(11, 20, 36, .95));
  border: 1px solid rgba(76, 112, 148, .45);
  border-radius: 18px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(255, 255, 255, .08);
}

.overlay-symbol {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  color: #97f2e3;
  border: 1px solid rgba(92, 178, 170, .55);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(38, 82, 82, .45), rgba(20, 44, 52, .45));
  box-shadow: 0 0 24px rgba(126, 240, 228, .16);
  margin-bottom: 20px;
}

.overlay-symbol .icon {
  width: 28px;
  height: 28px;
}

.overlay-panel h2 {
  font-size: 27px;
  letter-spacing: 1.5px;
  margin: 14px 0 6px;
}

.overlay-panel p {
  color: #859db8;
  font-size: 11.5px;
  margin: 10px 0 22px;
  line-height: 1.8;
}

.overlay-panel .primary-button {
  width: 100%;
  max-width: 265px;
  margin-top: 12px;
}

.secondary-button {
  border: 1px solid rgba(68, 96, 128, .65);
  color: #a8bed8;
  background: rgba(22, 37, 60, .65);
  border-radius: 8px;
  width: 100%;
  max-width: 265px;
  padding: 12px;
  font-size: 11.5px;
  font-weight: 500;
  margin-top: 10px;
  transition: all .16s ease;
}

.secondary-button:hover {
  border-color: #7ea8c4;
  color: #d7e9f8;
  background: rgba(30, 50, 78, .75);
}

.text-button {
  border: 0;
  background: none;
  color: #7e9ab6;
  font-size: 11.5px;
  padding: 10px 18px;
  margin-top: 8px;
  transition: color .15s;
}

.text-button:hover {
  color: #a4f2e8;
}

.result-score {
  font: 600 54px var(--mono);
  color: #b4f7e9;
  letter-spacing: 2px;
  margin-top: 14px;
  text-shadow: 0 0 26px rgba(126, 240, 228, .28);
}

.result-caption {
  font-size: 10px;
  color: #7f98b3;
  margin-top: 4px;
}

.result-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  width: 100%;
  max-width: 265px;
  font-size: 10px;
  color: #829cb8;
  margin: 20px 0 12px;
}

.result-stat {
  background: rgba(13, 24, 43, .7);
  border: 1px solid rgba(62, 88, 118, .4);
  border-radius: 10px;
  padding: 11px 10px;
}

.result-details strong {
  display: block;
  color: #dceaf8;
  font: 600 22px var(--mono);
  margin-top: 5px;
}

dialog {
  background: linear-gradient(155deg, #132238, #0c1729);
  color: #d6e3f2;
  border: 1px solid rgba(76, 110, 145, .55);
  max-width: 500px;
  width: calc(100% - 32px);
  max-height: calc(100dvh - 40px);
  padding: 34px;
  border-radius: 16px;
  box-shadow: 0 24px 100px rgba(0, 0, 0, .72);
}

dialog::backdrop {
  background: rgba(3, 8, 20, .76);
  backdrop-filter: blur(8px);
}

dialog h2 {
  font-size: 21px;
  margin: 16px 0;
}

dialog p {
  font-size: 12px;
  line-height: 1.95;
  color: #93aac5;
}

dialog b {
  color: #a5efe3;
  font-weight: 600;
}

dialog .primary-button {
  width: 100%;
  margin-top: 22px;
}

.dialog-close {
  position: absolute;
  right: 12px;
  top: 12px;
}

.toast {
  position: absolute;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(23, 49, 68, .95);
  border: 1px solid #59849c;
  border-radius: 8px;
  padding: 12px 18px;
  color: #c5e8e9;
  font-size: 11px;
  z-index: 20;
  width: max-content;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .45);
}

body[data-mode="battle"] .header-sector {
  opacity: .75;
}

body[data-mode="battle"] .topbar {
  height: 74px;
}

.game-shell:fullscreen {
  height: 100dvh;
  width: 100vw;
}

@keyframes appear {
  from {
    transform: translateY(6px);
  }
  to {
    transform: translateY(0);
  }
}

/* Responsive Breakpoints */
@media (min-width: 1500px) {
  .setup-layout {
    gap: 88px;
    grid-template-columns: 330px minmax(0, 1fr);
  }
  .step-content {
    padding: 32px 36px;
    min-height: 460px;
  }
  .ship-art {
    height: 146px;
  }
  .ship-art :is(svg, img) {
    width: 136px;
    height: 136px;
  }
  .ship-card {
    padding: 19px 17px;
  }
  .ship-description {
    font-size: 11px;
  }
  .supply-card {
    min-height: 142px;
    padding: 21px;
  }
  .setup-bottom {
    padding: 20px 36px;
  }
}

@media (max-width: 1100px) {
  .setup-layout {
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 28px;
  }
  .setup-screen {
    padding: 15px 25px 0;
  }
  .setup-intro h1 {
    font-size: 38px;
  }
  .setup-intro .eyebrow {
    font-size: 8px;
    letter-spacing: 1.2px;
  }
  .stepper {
    padding: 16px 20px;
  }
  .step-meta small {
    display: none;
  }
  .step-content {
    padding: 22px;
  }
  .setup-bottom {
    padding: 16px 22px;
  }
  .ship-options {
    gap: 10px;
  }
  .ship-card {
    padding: 14px 11px;
  }
  .ship-label {
    font-size: 15px;
  }
  .ship-label > span {
    font-size: 8.5px;
  }
  .ship-art {
    height: 108px;
  }
  .ship-art :is(svg, img) {
    width: 102px;
    height: 102px;
  }
  .ship-description {
    font-size: 9.5px;
  }
  .ship-stats {
    font-size: 8.5px;
  }
  .card-topline {
    font-size: 9px;
  }
  .supply-card {
    gap: 10px;
    padding: 15px 12px;
  }
  .supply-icon {
    width: 36px;
    height: 40px;
  }
  .supply-card p {
    font-size: 9px;
  }
  .launch-summary {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 14px;
    padding: 14px 16px;
  }
  .summary-quick-switch {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: space-between;
    border-left: 0;
    border-top: 1px solid rgba(58, 82, 112, .45);
    padding-left: 0;
    padding-top: 12px;
  }
  .launch-summary h3 {
    font-size: 20px;
  }
  .summary-art {
    width: 100px;
    height: 105px;
  }
  .summary-art :is(svg, img) {
    width: 100px;
    height: 100px;
  }
  .launch-controls {
    gap: 10px;
  }
  .setting-toggle {
    padding: 11px 10px;
  }
  .setting-toggle small {
    font-size: 7.5px;
  }
  .topbar {
    padding: 0 25px;
  }
}

@media (max-width: 850px) {
  .setup-layout {
    display: block;
    max-width: 650px;
    padding: 12px 0;
  }
  .setup-intro {
    display: none;
  }
  .setup-screen {
    inset: 76px 0 0;
    padding: 12px 22px 0;
  }
  .setup-footer {
    max-width: 650px;
  }
  .topbar {
    height: 76px;
  }
  .header-sector {
    display: none;
  }
  .step-content {
    min-height: 400px;
  }
  .ship-art {
    height: 120px;
  }
  .ship-art :is(svg, img) {
    height: 115px;
    width: 115px;
  }
  .supply-card {
    min-height: 124px;
    padding: 16px 13px;
  }
  .supply-card p {
    font-size: 9.5px;
  }
  .setup-bottom {
    padding: 17px 22px;
  }
  .battle-hud {
    top: 84px;
    left: 22px;
    right: 22px;
  }
  .flight-systems {
    left: 22px;
  }
  .battle-toolbar {
    padding-left: 22px;
    padding-right: 22px;
  }
}

@media (max-width: 520px) {
  .topbar {
    height: 68px;
    padding: 0 16px;
  }
  .brand {
    font-size: 15px;
    gap: 9px;
  }
  .brand small {
    font-size: 7px;
    letter-spacing: 3px;
  }
  .brand-mark {
    width: 34px;
    height: 36px;
    border-radius: 9px;
  }
  .brand-mark svg {
    width: 24px;
  }
  .top-actions {
    gap: 4px;
  }
  .icon-button {
    width: 33px;
    height: 34px;
  }
  .icon-button .icon {
    height: 17px;
    width: 17px;
  }
  .setup-screen {
    inset: 68px 0 0;
    padding: 10px 14px 0;
  }
  .setup-layout {
    padding: 0;
  }
  .setup-panel {
    border-radius: 13px;
  }
  .stepper {
    padding: 14px 14px;
    gap: 7px;
  }
  .step {
    gap: 6px;
    padding: 4px 6px;
  }
  .step-meta b {
    font-size: 9.5px;
  }
  .step > span {
    width: 23px;
    height: 23px;
    font-size: 9px;
    border-radius: 6px;
  }
  .stepper > i {
    min-width: 5px;
  }
  .step-content {
    padding: 18px 16px;
    min-height: 0;
  }
  .step-title > span {
    font-size: 8.5px;
    letter-spacing: 1.6px;
  }
  .step-title h2 {
    font-size: 20px;
    margin-top: 8px;
  }
  .step-title p {
    font-size: 10px;
  }
  .ship-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 16px;
  }
  .ship-card {
    display: grid;
    grid-template-columns: 82px 1fr;
    grid-template-rows: auto auto auto auto;
    column-gap: 12px;
    padding: 13px 14px 12px 10px;
    min-height: 118px;
  }
  .ship-art {
    grid-column: 1;
    grid-row: 1 / 5;
    width: 82px;
    height: 100%;
    align-self: center;
  }
  .ship-art :is(svg, img) {
    width: 84px;
    height: 92px;
  }
  .ship-meters {
    display: none;
  }
  .card-topline {
    grid-column: 2;
    grid-row: 1;
    font-size: 8.5px;
  }
  .card-topline small {
    display: inline;
    margin-left: 6px;
    font-size: 7.5px;
  }
  .ship-label {
    grid-column: 2;
    grid-row: 2;
    justify-content: flex-start;
    gap: 10px;
    margin-top: 4px;
    font-size: 15.5px;
  }
  .ship-label > span {
    font-size: 8px;
  }
  .ship-description {
    grid-column: 2;
    grid-row: 3;
    min-height: 0;
    margin: 5px 0 0;
    font-size: 9.5px;
  }
  .ship-stats {
    grid-column: 2;
    grid-row: 4;
    margin-top: 7px;
    padding-top: 7px;
    justify-content: flex-start;
    gap: 16px;
    font-size: 8.5px;
  }
  .selection-mark {
    width: 16px;
    height: 16px;
    right: 9px;
    top: 9px;
    font-size: 9px;
  }
  .choice-note {
    font-size: 9.5px;
    align-items: flex-start;
    margin-top: 14px;
    line-height: 1.75;
  }
  .choice-note .icon {
    margin-top: 2px;
  }
  .setup-bottom {
    padding: 14px 16px;
    gap: 10px;
  }
  #step-counter {
    display: none;
  }
  .back-button {
    font-size: 10.5px;
  }
  .primary-button {
    font-size: 11.5px;
    min-height: 42px;
    padding: 11px 16px;
    gap: 16px;
  }
  .setup-bottom .primary-button {
    margin-left: auto;
  }
  .setup-footer {
    font-size: 8.5px;
    padding: 14px 2px 18px;
  }
  .setup-footer > span:last-child {
    display: none;
  }
  .supply-options {
    gap: 10px;
    margin-top: 18px;
  }
  .supply-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    min-height: 156px;
    padding: 14px 12px 26px;
  }
  .supply-body {
    padding-right: 0;
  }
  .supply-icon {
    height: 34px;
    width: 34px;
    border-radius: 8px;
  }
  .supply-icon .icon {
    height: 17px;
    width: 17px;
  }
  .supply-card strong {
    font-size: 12.5px;
  }
  .supply-card small {
    font-size: 7.5px;
    letter-spacing: .6px;
  }
  .supply-card p {
    font-size: 8.5px;
    line-height: 1.65;
    margin-top: 6px;
  }
  .supply-card em {
    font-size: 8px;
    bottom: 8px;
    right: 9px;
  }
  .launch-summary {
    grid-template-columns: 76px 1fr;
    padding: 12px;
    gap: 10px;
    margin-top: 16px;
  }
  .summary-art {
    width: 76px;
    height: 96px;
    flex-shrink: 0;
  }
  .summary-art :is(svg, img) {
    width: 76px;
    height: 86px;
  }
  .launch-summary .eyebrow {
    font-size: 7.5px;
    letter-spacing: 1.3px;
  }
  .launch-summary h3 {
    font-size: 17px;
    margin: 6px 0;
  }
  .launch-summary p {
    font-size: 8.5px;
  }
  .summary-supply {
    font-size: 9.5px;
    margin-top: 8px;
    padding: 4px 8px;
  }
  .summary-quick-switch {
    flex-direction: column;
    gap: 8px;
    padding-top: 10px;
  }
  .launch-settings {
    grid-template-columns: 1fr;
    gap: 9px;
    margin-top: 12px;
  }
  .setting-toggle {
    padding: 11px 12px;
    gap: 10px;
  }
  .setting-toggle small {
    font-size: 8px;
  }
  .launch-controls {
    gap: 10px;
    line-height: 1.9;
    justify-content: flex-start;
    font-size: 8.5px;
    margin-top: 14px;
  }
  .launch-controls kbd {
    font-size: 8px;
  }
  .battle-hud {
    top: 76px;
    left: 14px;
    right: 14px;
  }
  .hud-card {
    min-width: 126px;
    padding: 8px 12px;
  }
  .battle-hud small {
    font-size: 8px;
  }
  .hud-score strong {
    font-size: 24px;
  }
  .hud-wave strong {
    font-size: 23px;
  }
  .hud-wave .wave-value > span {
    font-size: 12px;
  }
  .wave-tag {
    display: none;
  }
  .flight-systems {
    left: 14px;
    bottom: 78px;
    max-width: 215px;
    padding: 9px 11px;
  }
  .hull {
    font-size: 8.5px;
    gap: 6px;
  }
  .health-segments {
    gap: 3px;
  }
  .health-segments i {
    width: 11px;
    height: 5px;
  }
  .hull small {
    font-size: 8.5px;
  }
  .weapon {
    font-size: 9.5px;
    margin-top: 7px;
    padding-top: 7px;
  }
  .active-effects {
    margin-top: 7px;
    gap: 4px;
  }
  .effect-chip {
    font-size: 8px;
    padding: 3.5px 6px 5px;
    gap: 5px;
  }
  .effect-chip b {
    font-size: 8px;
  }
  .battle-toolbar {
    padding: 12px 14px max(12px, env(safe-area-inset-bottom));
    justify-content: flex-end;
  }
  .battle-toolbar > span {
    display: none;
  }
  .battle-toolbar > button {
    min-height: 42px;
    font-size: 10.5px;
    padding: 0 13px;
    gap: 7px;
  }
  .battle-toolbar > button .icon {
    width: 17px;
    height: 17px;
  }
  .battle-toolbar kbd {
    display: none;
  }
  .battle-toolbar b {
    font-size: 12px;
    margin-left: 6px;
  }
  .overlay-panel {
    padding: 24px 20px;
    min-width: 0;
  }
  .overlay-panel h2 {
    font-size: 22px;
    letter-spacing: 1px;
  }
  .overlay-panel p {
    font-size: 10.5px;
  }
  .overlay-symbol {
    height: 56px;
    width: 56px;
  }
  .result-score {
    font-size: 44px;
  }
  .screen-overlay {
    padding-top: 70px;
  }
  dialog {
    padding: 26px 22px;
  }
  dialog h2 {
    font-size: 18px;
  }
  dialog p {
    font-size: 11px;
  }
  .toast {
    bottom: 75px;
    font-size: 10px;
  }
}

@media (max-height: 650px) and (min-width: 851px) {
  .topbar {
    height: 64px;
  }
  .setup-screen {
    inset: 64px 0 0;
    padding-top: 0;
  }
  .setup-layout {
    padding: 12px 0;
  }
  .stepper {
    padding: 12px 24px;
  }
  .step-content {
    padding: 18px 24px;
    min-height: 0;
  }
  .step-title h2 {
    font-size: 20px;
    margin: 6px 0;
  }
  .ship-options,
  .supply-options {
    margin-top: 14px;
  }
  .ship-art {
    height: 84px;
  }
  .ship-art :is(svg, img) {
    height: 82px;
    width: 82px;
  }
  .ship-meters {
    display: none;
  }
  .ship-description {
    min-height: 28px;
    margin-top: 6px;
  }
  .ship-card {
    padding: 11px;
  }
  .ship-stats {
    padding-top: 7px;
    margin-top: 6px;
  }
  .choice-note {
    margin-top: 10px;
    font-size: 9px;
  }
  .setup-bottom {
    padding: 12px 24px;
  }
  .setup-footer {
    padding: 10px 0;
  }
  .supply-card {
    min-height: 92px;
  }
  .launch-summary {
    margin-top: 12px;
  }
  .summary-art {
    height: 96px;
  }
  .summary-art :is(svg, img) {
    height: 96px;
  }
  .launch-settings {
    margin-top: 10px;
  }
  .launch-controls {
    margin-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
}
