html,
body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  background: rgb(255, 165, 0);
  color: #08080b;
  font-family: 'Space Mono', 'SF Mono', 'Fira Code', 'Consolas', monospace;
}

:root {
  --hud-color-rgb: 255, 165, 0;
  --hud-color: rgb(var(--hud-color-rgb));
  --hud-color-edge-rgb: 255, 231, 183;
  --hud-color-edge: rgb(var(--hud-color-edge-rgb));
  --start-splash-terrain-width: clamp(300px, 36vw, 430px);
}

#start-screen {
  --start-surface: #ffa500;
  --start-surface-rgb: 255, 165, 0;
  --start-surface-strong: #ffa500;
  --start-ink: #08080b;
  --start-paper: #f5f3ef;
  --start-terrain-width: var(--start-splash-terrain-width);
  --start-page-pad: clamp(30px, 4vw, 58px);
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      transparent 0,
      transparent var(--start-terrain-width),
      var(--start-surface) var(--start-terrain-width),
      var(--start-surface) 100%
    );
  color: var(--start-ink);
  isolation: isolate;
  transition: none;
  will-change: opacity;
}

#start-screen.hidden {
  display: none;
}

/* Default off: main.css loads later; without this, lock copy flashes in document flow on desktop. */
#mobile-lock-screen {
  display: none;
}

html.mobile-device.mobile-portrait #mobile-lock-screen.visible {
  display: flex !important;
}

/*
 * FOUC guard: ship/weapon blocks are styled in main.css (bundled with JS).
 * Until init finishes, hide all start-screen chrome except the load overlay.
 */
#start-screen.is-initializing > :not(.start-screen-load-overlay) {
  visibility: hidden !important;
}

.start-screen-load-overlay {
  position: absolute;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: var(--start-page-pad);
  pointer-events: auto;
  background: linear-gradient(152deg, #ffd040 0%, #ff9f1a 42%, #ff7a00 100%);
  cursor: wait;
  visibility: visible !important;
}

.start-screen-load-overlay.is-hidden {
  display: none;
}

.start-screen-load-overlay .start-load-word {
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  justify-content: center;
  gap: 0.02em;
  margin: 0;
  font-family: 'Antonio', 'Arial Narrow', sans-serif;
  font-weight: 700;
  font-size: clamp(2.25rem, 8.5vw, 5rem);
  line-height: 1;
  letter-spacing: -0.07em;
  text-transform: uppercase;
  color: var(--start-ink);
}

.start-screen-load-overlay .start-load-char {
  display: inline-block;
  flex: 0 0 auto;
  min-width: 0.42em;
  text-align: center;
}

#start-screen::before {
  display: none;
}

#start-screen::after {
  display: none;
}

#start-screen-terrain,
.start-screen-vignette,
.start-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--start-terrain-width);
  height: 100%;
  pointer-events: none;
}

.start-screen-reticle {
  display: none;
}

#start-screen-terrain {
  z-index: 1;
  overflow: hidden;
  border-right: 1px solid rgba(0, 0, 0, 0.24);
  background: transparent;
}

#start-screen-terrain canvas {
  display: block;
  width: 100%;
  height: 100%;
  filter: none;
}

.start-screen-vignette,
.start-noise {
  display: none;
  background: none;
}

.start-hud-layer {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  pointer-events: none;
}

.start-hud {
  position: absolute;
  color: rgba(242, 246, 249, 0.8);
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.42);
  pointer-events: none;
}

.start-hud-top-left {
  top: 24px;
  left: 20px;
  width: calc(var(--start-terrain-width) - 40px);
  transition: transform 720ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease;
}

.start-hud-top-right,
.start-hud-bottom-right {
  display: none;
}

.start-hud-bottom-left {
  left: calc(var(--start-terrain-width) + var(--start-page-pad));
  bottom: clamp(20px, 3vw, 36px);
  max-width: min(520px, calc(100vw - var(--start-terrain-width) - (var(--start-page-pad) * 2)));
  color: rgba(8, 8, 11, 0.74);
  text-shadow: none;
  transition: transform 720ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease;
}

.start-hud-block {
  margin-bottom: 6px;
}

.start-hud-value,
.start-status-active {
  color: rgba(255, 255, 255, 0.96);
  font-weight: 700;
}

#start-screen .start-screen-top-actions {
  position: absolute;
  top: max(var(--start-page-pad), env(safe-area-inset-top, 0px));
  right: max(var(--start-page-pad), env(safe-area-inset-right, 0px));
  z-index: 12;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 10px;
  pointer-events: none;
}

#start-screen .start-screen-top-actions .start-notify,
#start-screen .start-screen-top-actions .start-flight-settings {
  pointer-events: auto;
}

.start-console {
  position: relative;
  z-index: 6;
  margin-left: var(--start-terrain-width);
  width: calc(100% - var(--start-terrain-width));
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(260px, 330px) auto;
  grid-template-rows: 1fr auto;
  align-content: end;
  column-gap: 16px;
  row-gap: 12px;
  padding: var(--start-page-pad);
  box-sizing: border-box;
  background: transparent;
  pointer-events: auto;
  transition: none;
}

.start-console-brackets,
.start-title-kicker,
.start-input-prefix,
.start-status-lines,
.start-status-active {
  display: none;
}

.start-title-container {
  grid-column: 1 / -1;
  align-self: end;
  margin-bottom: 18px;
  text-align: left;
}

#start-screen .start-title {
  margin: 0;
  color: var(--start-ink);
  font-family: 'Antonio', 'Arial Narrow', sans-serif;
  font-size: clamp(7.1rem, 13.5vw, 11.4rem);
  font-weight: 700;
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.start-title span {
  display: inline-block;
}

.start-notify {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
  pointer-events: auto;
}

#start-screen .start-notify-toggle,
#start-screen .start-notify-submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.86);
  outline: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, opacity 180ms ease, box-shadow 180ms ease;
}

#start-screen .start-notify-toggle {
  width: 54px;
  height: 54px;
  background: var(--start-ink);
  color: var(--start-paper);
  clip-path: polygon(0 0, 100% 0, 100% 76%, calc(100% - 14px) 100%, 0 100%);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.14);
}

#start-screen .start-notify-toggle svg {
  width: 20px;
  height: 20px;
}

#start-screen .start-notify-toggle:hover:not(:disabled),
#start-screen .start-notify-toggle.is-active,
.start-notify.is-open .start-notify-toggle {
  transform: translate(2px, 2px);
  background: var(--start-surface-strong);
  color: var(--start-ink);
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.12);
}

.start-notify-form {
  position: absolute;
  top: 66px;
  right: 0;
  width: min(340px, calc(100vw - 48px));
  display: grid;
  gap: 12px;
  box-sizing: border-box;
  padding: 16px;
  background: rgba(8, 8, 11, 0.97);
  border: 1px solid rgba(0, 0, 0, 0.92);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.16);
  color: var(--start-paper);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px) scale(0.98);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

.start-notify.is-open .start-notify-form {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  transition-delay: 0s;
}

.start-notify-copy {
  display: grid;
  gap: 4px;
}

.start-notify-eyebrow {
  color: rgba(245, 243, 239, 0.54);
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.start-notify-title {
  color: var(--start-paper);
  font-family: 'Antonio', 'Arial Narrow', sans-serif;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.start-notify-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 8px;
}

#start-screen .start-notify-input {
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  background: transparent;
  border: 1px solid rgba(245, 243, 239, 0.2);
  outline: none;
  color: var(--start-paper);
  caret-color: var(--start-surface);
  font-family: 'Antonio', 'Arial Narrow', sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

#start-screen .start-notify-input::placeholder {
  color: rgba(245, 243, 239, 0.28);
}

#start-screen .start-notify-input:focus {
  border-color: rgba(255, 255, 255, 0.42);
}

#start-screen .start-notify-submit {
  min-width: 0;
  height: 48px;
  background: var(--start-surface-strong);
  color: var(--start-ink);
  font-family: 'Antonio', 'Arial Narrow', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  clip-path: polygon(0 0, 100% 0, 100% 76%, calc(100% - 14px) 100%, 0 100%);
}

#start-screen .start-notify-submit:disabled,
#start-screen .start-notify-toggle:disabled {
  cursor: wait;
  opacity: 0.58;
}

.start-notify-feedback {
  min-height: 1.2em;
  margin: 0;
  color: rgba(245, 243, 239, 0.58);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  line-height: 1.5;
  text-transform: uppercase;
}

.start-notify[data-state='success'] .start-notify-feedback {
  color: var(--start-surface);
}

.start-notify[data-state='error'] .start-notify-feedback {
  color: #ffb19a;
}

.start-notify[data-state='success'] .start-notify-input {
  border-color: rgba(255, 165, 0, 0.46);
}

.start-input-section {
  grid-column: 1;
  width: 100%;
  margin: 0;
}

.start-input-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

#start-screen .callsign-field {
  margin: 0;
  color: rgba(8, 8, 11, 0.85);
  font-size: 0.8rem;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

#char-count {
  color: rgba(8, 8, 11, 0.48);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.start-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  background: var(--start-ink);
  border: 1px solid rgba(0, 0, 0, 0.72);
}

#start-screen .callsign-input {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 16px;
  background: transparent;
  border: none;
  outline: none;
  caret-color: var(--start-paper);
  color: var(--start-paper);
  font-family: 'Antonio', 'Arial Narrow', sans-serif;
  font-size: clamp(1.5rem, 3vw, 1.95rem);
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

#start-screen .callsign-input::placeholder {
  color: rgba(245, 243, 239, 0.24);
}

.start-blinking-cursor {
  position: absolute;
  right: 14px;
  width: 2px;
  height: 30px;
  background-color: var(--start-paper);
  display: none !important;
}

.start-input-wrapper.focused .start-blinking-cursor,
.start-input-wrapper:focus-within .start-blinking-cursor {
  display: none !important;
}

@keyframes startTitleShutdownFlicker {
  0%,
  14% {
    opacity: 1;
  }
  15%,
  22% {
    opacity: 0;
  }
  23%,
  46% {
    opacity: 1;
  }
  47%,
  56% {
    opacity: 0;
  }
  57%,
  72% {
    opacity: 1;
  }
  73%,
  100% {
    opacity: 0;
  }
}

#start-screen .deploy-btn {
  position: relative;
  grid-column: 2;
  align-self: end;
  width: 196px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  outline: none;
  cursor: pointer;
}

#start-screen .deploy-btn:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.deploy-btn-bg {
  position: absolute;
  inset: 0;
  background: var(--start-surface-strong);
  border: 2px solid rgba(0, 0, 0, 0.86);
  clip-path: polygon(0 0, 100% 0, 100% 74%, calc(100% - 16px) 100%, 0 100%);
}

.deploy-btn-shadow {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 100%;
  height: 100%;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.55);
  clip-path: polygon(0 0, 100% 0, 100% 74%, calc(100% - 16px) 100%, 0 100%);
  z-index: 0;
}

.deploy-btn-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--start-ink);
  font-family: 'Antonio', 'Arial Narrow', sans-serif;
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.035em;
}

.deploy-btn-arrow {
  position: relative;
  font-size: 0;
  line-height: 1;
}

.deploy-btn-arrow::before {
  content: '\2192';
  font-size: 1.45rem;
}

#start-screen .deploy-btn::before,
#start-screen .deploy-btn::after {
  content: '';
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--start-ink);
  z-index: 2;
}

#start-screen .deploy-btn::before {
  top: 8px;
  right: 10px;
}

#start-screen .deploy-btn::after {
  left: 8px;
  bottom: 8px;
}

#start-screen .start-status {
  max-width: 520px;
  margin-top: 0;
  color: rgba(8, 8, 11, 0.7);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

#start-screen .start-status a,
#start-screen .start-status a:visited {
  color: rgba(8, 8, 11, 0.9);
}

body.start-screen-deploying #start-screen {
  pointer-events: none;
  background: transparent;
}

body.start-screen-deploying #start-screen::before {
  opacity: 0;
  transform: translateY(-10px);
}

body.start-screen-deploying #start-screen-terrain,
body.start-screen-deploying .start-screen-vignette,
body.start-screen-deploying .start-screen-reticle,
body.start-screen-deploying .start-noise {
  opacity: 0;
  border-color: transparent;
}

body.start-screen-deploying .start-hud-top-left,
body.start-screen-deploying .start-hud-top-right,
body.start-screen-deploying .start-hud-bottom-left,
body.start-screen-deploying .start-hud-bottom-right,
body.start-screen-deploying .start-screen-top-actions,
body.start-screen-deploying .start-input-section,
body.start-screen-deploying .deploy-btn,
body.start-screen-deploying #char-count {
  opacity: 0;
  transition: opacity 70ms linear;
}

body.start-screen-deploying .start-console {
  opacity: 1;
  transform: none;
  background: transparent;
  border-color: transparent;
  box-shadow: none;
}

body.start-screen-deploying .start-title {
  color: transparent;
}

body.start-screen-deploying .start-title-word-null,
body.start-screen-deploying .start-title-word-range {
  color: var(--start-surface-strong);
  text-shadow: 0 0 10px rgba(var(--start-surface-rgb), 0.16);
}

body.start-screen-deploying .start-title-word-null {
  animation: startTitleShutdownFlicker 280ms steps(1, end) 90ms both;
}

body.start-screen-deploying .start-title-word-range {
  animation: startTitleShutdownFlicker 280ms steps(1, end) 170ms both;
}

#mobile-hud {
  display: none !important;
}

#mobile-hud.visible {
  display: block !important;
}

#canvas-container {
  position: fixed;
  inset: 0;
}

#app-container {
  transition: none;
}

body.splash-preview-active:not(.start-screen-deploying) #app-container {
  clip-path: polygon(0 0, var(--start-splash-terrain-width) 0, var(--start-splash-terrain-width) 100%, 0 100%);
}

body.start-screen-deploying #app-container {
  clip-path: inset(0 0 0 0);
}

body.splash-preview-active:not(.start-screen-deploying) #crt-overlay {
  display: none !important;
}

body.splash-preview-active:not(.start-screen-deploying) #hud-controls,
body.splash-preview-active:not(.start-screen-deploying) #curved-gauge,
body.splash-preview-active:not(.start-screen-deploying) #radar-gauge-layer,
body.splash-preview-active:not(.start-screen-deploying) #weapon-gauge-layer,
body.splash-preview-active:not(.start-screen-deploying) #system-hud,
body.splash-preview-active:not(.start-screen-deploying) #hunt-hud,
body.splash-preview-active:not(.start-screen-deploying) #aim-reticle,
body.splash-preview-active:not(.start-screen-deploying) #mobile-hud,
body.splash-preview-active:not(.start-screen-deploying) #footer-background,
body.splash-preview-active:not(.start-screen-deploying) #app-container #pause-overlay,
body.splash-preview-active:not(.start-screen-deploying) #crash-overlay,
body.splash-preview-active:not(.start-screen-deploying) #damage-overlay,
body.splash-preview-active:not(.start-screen-deploying) #payload-markers,
body.splash-preview-active:not(.start-screen-deploying) #remote-player-label-layer {
  display: none !important;
}

.panel-hidden {
  display: none;
}

@media (max-width: 900px) {
  #start-screen {
    --start-terrain-width: clamp(250px, 32vw, 330px);
    --start-page-pad: 24px;
  }

  #start-screen .start-title {
    font-size: clamp(5.6rem, 12vw, 8.8rem);
  }

  .start-console {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: 1fr auto auto;
    row-gap: 12px;
  }

  .start-notify-form {
    width: min(320px, calc(100vw - 48px));
  }

  #start-screen .deploy-btn {
    grid-column: 1;
    width: 100%;
    max-width: 260px;
  }
}

@media (max-width: 760px) {
  body.splash-preview-active:not(.start-screen-deploying) #app-container {
    clip-path: polygon(0 0, 100% 0, 100% 34vh, 0 34vh);
  }

  #start-screen {
    --start-terrain-width: 100%;
    --start-page-pad: 22px;
  }

  #start-screen::before {
    width: 100%;
  }

  #start-screen::after {
    display: none;
  }

  #start-screen-terrain,
  .start-screen-vignette,
  .start-noise {
    width: 100%;
    height: 34vh;
  }

  .start-hud-top-left {
    width: calc(100% - 40px);
  }

  .start-console {
    margin-left: 0;
    margin-top: 34vh;
    width: 100%;
    min-height: calc(100% - 34vh);
    align-content: start;
    padding-top: 28px;
  }

  .start-notify-form {
    top: 62px;
    width: min(320px, calc(100vw - 44px));
  }

  #start-screen .start-title {
    font-size: clamp(4.9rem, 20vw, 7.4rem);
    white-space: normal;
  }

  #start-screen .callsign-input {
    font-size: 1.65rem;
  }

  .start-hud-bottom-left {
    left: 22px;
    right: 22px;
    bottom: 18px;
    max-width: none;
  }
}

@media (max-width: 560px) {
  .start-notify-form {
    width: calc(100vw - 44px);
    padding: 14px;
  }

  #start-screen .start-title {
    font-size: clamp(4.2rem, 22vw, 6.2rem);
  }

  #start-screen .callsign-input {
    font-size: 1.4rem;
  }

  .start-input-label {
    font-size: 0.68rem;
  }

  #start-screen .deploy-btn {
    max-width: none;
  }
}

@media (orientation: landscape) and (max-height: 520px) {
  html.mobile-device #start-screen.mobile-start .start-console {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    align-content: center;
    justify-items: center;
    justify-content: center;
    margin-left: 0;
    width: 100%;
    min-height: 100%;
    gap: 6px;
    padding:
      max(8px, env(safe-area-inset-top))
      max(14px, env(safe-area-inset-right))
      max(8px, env(safe-area-inset-bottom))
      max(14px, env(safe-area-inset-left));
  }

  html.mobile-device #start-screen.mobile-start .start-title-container {
    margin-bottom: 0;
    width: min(320px, 100%);
    text-align: center;
  }

  html.mobile-device #start-screen.mobile-start .start-title {
    font-size: clamp(1.85rem, 7.2vh, 3rem);
    line-height: 0.8;
    letter-spacing: -0.05em;
    text-align: center;
  }

  html.mobile-device #start-screen.mobile-start .start-input-section {
    width: min(280px, 100%);
    max-width: none;
  }

  html.mobile-device #start-screen.mobile-start .start-input-wrapper {
    height: 38px;
    width: 100%;
    max-width: 320px;
  }

  html.mobile-device #start-screen.mobile-start .callsign-input {
    padding: 0 14px;
    font-size: clamp(0.96rem, 3vh, 1.12rem);
    letter-spacing: 0.025em;
  }

  html.mobile-device #start-screen.mobile-start .deploy-btn {
    width: min(320px, 100%);
    height: 40px;
    max-width: 320px;
  }

  html.mobile-device #start-screen.mobile-start .deploy-btn-content {
    font-size: clamp(1.05rem, 3.4vh, 1.28rem);
    gap: 6px;
  }

  html.mobile-device #start-screen.mobile-start .deploy-btn-arrow::before {
    font-size: clamp(1rem, 3vh, 1.2rem);
  }
}

html.mobile-device #start-screen.mobile-start {
  --start-terrain-width: 0px;
  --start-page-pad: 0px;
  display: block;
  height: 100dvh;
  min-height: 100dvh;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: linear-gradient(135deg, rgba(255, 181, 58, 0.96), rgba(255, 134, 0, 0.98));
}

html.mobile-device #start-screen.mobile-start::before,
html.mobile-device #start-screen.mobile-start::after,
html.mobile-device #start-screen.mobile-start #start-screen-terrain,
html.mobile-device #start-screen.mobile-start .start-screen-vignette,
html.mobile-device #start-screen.mobile-start .start-screen-reticle,
html.mobile-device #start-screen.mobile-start .start-noise,
html.mobile-device #start-screen.mobile-start .start-hud {
  display: none !important;
}

html.mobile-device #start-screen.mobile-start .start-screen-top-actions {
  position: sticky;
  top: 0;
  right: auto;
  justify-content: flex-end;
  padding: max(8px, env(safe-area-inset-top)) max(10px, env(safe-area-inset-right)) 4px max(10px, env(safe-area-inset-left));
}

html.mobile-device #start-screen.mobile-start .start-console {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 10px;
  width: min(560px, 100%);
  min-height: auto;
  margin: 0 auto;
  padding: 4px max(12px, env(safe-area-inset-right)) max(18px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
}

html.mobile-device #start-screen.mobile-start .start-hud-layer {
  display: block;
  height: auto;
  min-height: auto;
}

html.mobile-device #start-screen.mobile-start .start-title {
  display: flex;
  gap: 0.12em;
  flex-wrap: wrap;
  font-size: clamp(2.55rem, 12vw, 4.8rem);
  text-align: left;
  white-space: normal;
}

html.mobile-device #start-screen.mobile-start .start-selection-grid,
html.mobile-device #start-screen.mobile-start .start-weapon-grid {
  grid-template-columns: 1fr;
  gap: 6px;
}

html.mobile-device #start-screen.mobile-start .start-ship-preview {
  display: none;
}

html.mobile-device.mobile-portrait #start-screen.mobile-start {
  pointer-events: auto;
}

html.mobile-device.mobile-portrait #start-screen.mobile-start:not(.hidden) + #mobile-lock-screen.visible {
  display: none !important;
}
