#title-screen {
  --kkfm-cream: #ead9a8;
  --kkfm-bright: #fff1bf;
  --kkfm-red: #ef2818;
  --kkfm-cyan: #37ddd0;
  --kkfm-black: #030505;
  --kkfm-shell: url("../assets/generated-art/ui/title-tv/kkfm-tv-shell-v1.webp");
  width: var(--game-width);
}

#title-screen > .title-screen__content {
  position: relative;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.title-screen > .title-build-version {
  position: absolute;
  z-index: 10;
  top: 20px;
  right: var(--menu-visible-edge-inset);
  margin: 0;
  padding: 6px 9px 5px;
  border: 1px solid rgba(234, 217, 168, 0.28);
  color: rgba(234, 217, 168, 0.72);
  background: rgba(2, 4, 4, 0.72);
  font-family: var(--font-ticker);
  font-size: 8px;
  letter-spacing: 0.13em;
  pointer-events: none;
}

.title-screen .title-hero {
  display: none;
}

.title-screen .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.kkfm-console {
  position: relative;
  width: calc(var(--game-width) + 48px);
  aspect-ratio: 16 / 9;
  isolation: isolate;
}

.kkfm-console__shell {
  position: absolute;
  z-index: 0;
  inset: 0;
  background: var(--kkfm-shell) center / 100% 100% no-repeat;
  filter: drop-shadow(0 24px 44px rgba(0, 0, 0, 0.68));
  pointer-events: none;
}

.kkfm-controls {
  position: absolute;
  z-index: 4;
  top: 7.3%;
  left: 4.1%;
  display: grid;
  grid-template-rows: repeat(4, minmax(0, 1fr));
  width: 20.9%;
  height: 85.2%;
}

.kkfm-control {
  position: relative;
  display: block;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--kkfm-cream);
  background: transparent;
  font-family: var(--font-ticker);
  text-align: center;
}

button.kkfm-control {
  width: 100%;
  cursor: pointer;
}

.kkfm-control__title {
  position: absolute;
  z-index: 3;
  top: 7%;
  left: 8%;
  right: 8%;
  margin: 0;
  color: rgba(206, 188, 137, 0.9);
  font-family: var(--font-ticker);
  font-size: clamp(8px, 0.82vw, 13px);
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1;
  text-shadow:
    0 -1px 1px rgba(0, 0, 0, 0.96),
    0 1px 0 rgba(255, 236, 181, 0.18),
    1px 0 0 rgba(43, 34, 19, 0.52);
}

.kkfm-mode-options,
.kkfm-screen-options {
  position: absolute;
  z-index: 4;
  inset: 27% 4% 2.5%;
  pointer-events: none;
}

.kkfm-mode-options button,
.kkfm-screen-options button,
.kkfm-toggle-options span {
  position: relative;
  min-width: 0;
  padding: 0;
  border: 0;
  color: rgba(199, 181, 130, 0.88);
  background: transparent;
  font-family: var(--font-ticker);
  font-size: clamp(6px, 0.64vw, 10px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-shadow:
    0 -1px 1px rgba(0, 0, 0, 0.96),
    0 1px 0 rgba(255, 235, 177, 0.16),
    1px 0 0 rgba(38, 29, 16, 0.58);
}

.kkfm-mode-options button,
.kkfm-screen-options button {
  position: absolute;
  cursor: pointer;
  pointer-events: auto;
}

.kkfm-mode-options button[aria-pressed="true"],
.kkfm-screen-options button[aria-pressed="true"] {
  color: rgba(235, 217, 161, 0.96);
}

.kkfm-mode-options button[data-menu-toggle="play"],
.kkfm-screen-options button[data-display-mode="standby"] {
  top: 52%;
  right: 0;
  transform: translateY(-50%) rotate(0.3deg);
}

.kkfm-mode-options button[data-menu-toggle="administration"],
.kkfm-screen-options button[data-display-mode="windowed"] {
  top: 52%;
  left: 0;
  transform: translateY(-50%) rotate(-0.35deg);
}

.kkfm-mode-options button[data-menu-toggle="prepare"],
.kkfm-screen-options button[data-display-mode="fullscreen"] {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(0.2deg);
}

.kkfm-toggle-options {
  position: absolute;
  z-index: 4;
  top: 27%;
  left: 27%;
  right: 27%;
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.kkfm-detent-lights {
  position: absolute;
  z-index: 5;
  inset: 0;
  display: block;
  pointer-events: none;
}

.kkfm-detent-lights > span {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid rgba(182, 157, 96, 0.62);
  border-radius: 50%;
  background: #0a0b09;
  box-shadow:
    inset 0 1px 2px rgba(0, 0, 0, 0.96),
    0 1px 0 rgba(255, 229, 157, 0.07);
  transform: translate(-50%, -50%);
}

.kkfm-detent-lights--triple > span[data-detent-light="administration"],
.kkfm-detent-lights--triple > span[data-detent-light="windowed"] {
  top: 64%;
  left: 32%;
}

.kkfm-detent-lights--triple > span[data-detent-light="play"],
.kkfm-detent-lights--triple > span[data-detent-light="standby"] {
  top: 64%;
  left: 68%;
}

.kkfm-detent-lights--triple > span[data-detent-light="prepare"],
.kkfm-detent-lights--triple > span[data-detent-light="fullscreen"] {
  top: 34%;
  left: 50%;
}

.kkfm-detent-lights--toggle > span[data-detent-light="on"] {
  top: 74%;
  left: 33%;
}

.kkfm-detent-lights--toggle > span[data-detent-light="off"] {
  top: 74%;
  left: 67%;
}

.kkfm-control--mode:has(.kkfm-selector[data-detent="administration"]) [data-detent-light="administration"],
.kkfm-control--mode:has(.kkfm-selector[data-detent="prepare"]) [data-detent-light="prepare"],
.kkfm-control--mode:has(.kkfm-selector[data-detent="play"]) [data-detent-light="play"],
.kkfm-control--screen:has(.kkfm-selector[data-detent="windowed"]) [data-detent-light="windowed"],
.kkfm-control--screen:has(.kkfm-selector[data-detent="fullscreen"]) [data-detent-light="fullscreen"],
.kkfm-control--screen:has(.kkfm-selector[data-detent="standby"]) [data-detent-light="standby"],
.kkfm-control--toggle[data-detent="on"] [data-detent-light="on"],
.kkfm-control--toggle[data-detent="off"] [data-detent-light="off"] {
  border-color: rgba(92, 255, 240, 0.88);
  background: var(--kkfm-cyan);
  box-shadow:
    0 0 5px rgba(55, 221, 208, 0.96),
    0 0 11px rgba(55, 221, 208, 0.5),
    inset 0 0 2px rgba(229, 255, 251, 0.86);
}

.kkfm-selector {
  position: absolute;
  z-index: 3;
  bottom: 9%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 22%;
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  transform: translateX(-50%);
  cursor: pointer;
}

.kkfm-selector--toggle {
  pointer-events: none;
}

.kkfm-knob {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(213, 192, 145, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 40% 35%, rgba(255, 255, 255, 0.11), transparent 18%),
    radial-gradient(circle, #252421 0 30%, #111210 32% 57%, #030404 60% 72%, #171713 75% 82%, #050606 84%);
  box-shadow:
    inset 0 0 0 2px rgba(0, 0, 0, 0.78),
    inset 0 5px 8px rgba(255, 255, 255, 0.035),
    0 5px 6px rgba(0, 0, 0, 0.7);
  transform: rotate(0deg);
  transition: transform 70ms steps(1, end);
}

.kkfm-knob::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: -18%;
  left: 50%;
  width: 46%;
  height: 74%;
  border: 1px solid rgba(220, 205, 168, 0.2);
  border-radius: 48% 48% 30% 30% / 20% 20% 38% 38%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 30% 70%, rgba(0, 0, 0, 0.54)),
    linear-gradient(180deg, #242522, #080909 68%, #171713);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.62), inset 0 1px rgba(255, 255, 255, 0.08);
  clip-path: polygon(50% 0, 100% 68%, 77% 100%, 23% 100%, 0 68%);
  transform: translateX(-50%);
}

.kkfm-selector[data-detent="play"] .kkfm-knob { transform: rotate(90deg); }
.kkfm-selector[data-detent="prepare"] .kkfm-knob { transform: rotate(180deg); }
.kkfm-selector[data-detent="administration"] .kkfm-knob { transform: rotate(-90deg); }
.kkfm-selector--screen[data-detent="windowed"] .kkfm-knob { transform: rotate(-90deg); }
.kkfm-selector--screen[data-detent="fullscreen"] .kkfm-knob { transform: rotate(180deg); }
.kkfm-selector--screen[data-detent="standby"] .kkfm-knob { transform: rotate(90deg); }
.kkfm-control--toggle[data-detent="on"] .kkfm-knob { transform: rotate(-47deg); }
.kkfm-control--toggle[data-detent="off"] .kkfm-knob { transform: rotate(47deg); }

.kkfm-control:focus-visible,
.kkfm-selector:focus-visible,
.kkfm-mode-options button:focus-visible,
.kkfm-screen-options button:focus-visible {
  outline: 2px solid var(--kkfm-cyan);
  outline-offset: 3px;
}

.kkfm-control:hover .kkfm-knob,
.kkfm-selector:hover .kkfm-knob,
.kkfm-mode-options button:hover ~ .kkfm-selector .kkfm-knob {
  filter: brightness(1.16);
}

.kkfm-control:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.kkfm-screen-options button:disabled {
  cursor: not-allowed;
  opacity: 0.34;
}

.kkfm-crt {
  position: absolute;
  z-index: 2;
  top: 8%;
  left: 28.1%;
  width: 66.4%;
  height: 84%;
  overflow: hidden;
  border-radius: 6.8% / 8.5%;
  color: var(--kkfm-cream);
  background: #000;
  box-shadow: inset 0 0 42px rgba(0, 0, 0, 0.94);
  isolation: isolate;
}

.kkfm-crt::before,
.kkfm-crt::after {
  content: "";
  position: absolute;
  z-index: 7;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.kkfm-crt::before {
  background:
    radial-gradient(ellipse at 50% 50%, transparent 50%, rgba(0, 0, 0, 0.58) 100%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.035), transparent 22% 74%, rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 22px rgba(0, 0, 0, 0.84);
}

.kkfm-crt::after {
  opacity: 0.28;
  background: repeating-linear-gradient(90deg, transparent 0 3px, rgba(255, 34, 18, 0.045) 3px 4px, rgba(50, 220, 208, 0.025) 4px 5px);
  mix-blend-mode: screen;
}

.kkfm-crt__noise {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.09;
  filter: brightness(1.35) contrast(1.45);
  image-rendering: pixelated;
  mix-blend-mode: screen;
  pointer-events: none;
}

.kkfm-crt__scanlines {
  position: absolute;
  z-index: 6;
  inset: -12% 0 0;
  opacity: 0.24;
  background: repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.5) 0 1px, rgba(255, 255, 255, 0.025) 1px 2px, transparent 2px 4px);
  animation: none;
  pointer-events: none;
}

.kkfm-crt__signal-tear {
  position: absolute;
  z-index: 5;
  top: 31%;
  left: -3%;
  width: 106%;
  height: 2.5%;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(239, 40, 24, 0.34) 18% 62%, rgba(55, 221, 208, 0.2), transparent);
  filter: blur(0.5px);
  animation: none;
  pointer-events: none;
}

.kkfm-crt__logo {
  position: absolute;
  z-index: 2;
  top: 7%;
  left: 50%;
  width: 42%;
  height: auto;
  max-height: 68%;
  opacity: 0;
  visibility: hidden;
  filter: saturate(1.2) contrast(1.14) drop-shadow(0 0 12px rgba(239, 40, 24, 0.45));
  transform: translateX(-50%);
  transform-origin: center;
  animation: none;
  pointer-events: none;
}

#title-screen[data-display-state="standby"] .kkfm-crt__noise {
  opacity: 0.24;
}

#title-screen[data-display-state="standby"] .kkfm-crt__scanlines {
  opacity: 0.46;
}

#title-screen[data-display-state="standby"] .kkfm-crt__logo {
  opacity: 0.58;
  visibility: visible;
  animation: kkfm-logo-undulate 3.8s ease-in-out infinite;
}

#title-screen[data-display-state="standby"] .command-menu,
#title-screen[data-display-state="standby"] .system-ticker {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.command-menu {
  --menu-icon-play: url("../assets/generated-art/ui/advanced-scifi/icon-play-v1.png");
  --menu-icon-game: url("../assets/generated-art/ui/advanced-scifi/icon-game-v1.png");
  --menu-icon-list: url("../assets/generated-art/ui/advanced-scifi/icon-list-v1.png");
  --menu-icon-trophy: url("../assets/generated-art/ui/advanced-scifi/icon-trophy-v1.png");
  --menu-icon-profile: url("../assets/generated-art/ui/advanced-scifi/icon-profile-v1.png");
  --menu-icon-cart: url("../assets/generated-art/ui/advanced-scifi/icon-cart-v1.png");
  --menu-icon-question: url("../assets/generated-art/ui/advanced-scifi/icon-question-v1.png");
  --menu-icon-group: url("../assets/generated-art/ui/advanced-scifi/icon-group-v1.png");
  position: absolute;
  z-index: 3;
  inset: 5.5% 6.5% 11.5%;
  display: block;
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-align: left;
}

.command-menu::before,
.command-menu::after {
  display: none;
}

.command-menu__group {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 3.2%;
  min-width: 0;
  padding: 0;
  border: 0;
}

.command-menu__group:not(.is-open) {
  visibility: hidden;
  pointer-events: none;
}

.command-menu__heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  margin: 0;
  padding: 0 1% 1.5%;
  border-bottom: 1px solid rgba(234, 217, 168, 0.28);
  font-family: var(--font-display);
  font-weight: 400;
}

.command-menu__heading span {
  color: var(--kkfm-bright);
  font-size: clamp(12px, 1.25vw, 20px);
  letter-spacing: 0.16em;
}

.command-menu__heading small {
  color: rgba(55, 221, 208, 0.72);
  font-family: var(--font-ticker);
  font-size: clamp(7px, 0.58vw, 10px);
  letter-spacing: 0.1em;
}

.command-menu__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(0, 1fr);
  gap: 2.4%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.command-menu__group[data-menu-section="play"] .command-menu__items {
  grid-template-rows: 1.18fr 1fr 1fr;
}

.command-menu__group[data-menu-section="administration"] .command-menu__items {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: minmax(0, 1fr) minmax(34px, 0.22fr);
}

.command-menu__items[hidden] {
  display: none;
}

.command-menu__item {
  position: relative;
  display: grid;
  grid-template-columns: 14% minmax(0, 1fr);
  align-items: center;
  gap: 4%;
  min-width: 0;
  min-height: 0;
  padding: 2.5% 4%;
  overflow: hidden;
  border: 1px solid rgba(234, 217, 168, 0.26);
  border-radius: 2px;
  color: var(--kkfm-cream);
  background:
    linear-gradient(90deg, rgba(239, 40, 24, 0.07), transparent 46%),
    rgba(1, 5, 5, 0.66);
  box-shadow: inset 0 0 18px rgba(55, 221, 208, 0.025);
  font-family: var(--font-title);
  text-align: left;
  cursor: pointer;
  transition: border-color 120ms ease, color 120ms ease, background 120ms ease, transform 90ms ease;
}

.command-menu__item::after {
  content: "";
  position: absolute;
  top: 10%;
  right: 2.4%;
  width: 5px;
  height: 5px;
  border: 1px solid rgba(191, 169, 109, 0.48);
  border-radius: 50%;
  background: #070908;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.88);
  transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}

.command-menu__item.is-primary,
.command-menu__item--wide {
  grid-column: 1 / -1;
}

.command-menu__item:hover,
.command-menu__item:focus-visible {
  border-color: rgba(55, 221, 208, 0.78);
  color: var(--kkfm-bright);
  background:
    linear-gradient(90deg, rgba(239, 40, 24, 0.18), transparent 56%),
    rgba(3, 12, 12, 0.88);
  box-shadow: inset 0 0 24px rgba(55, 221, 208, 0.08), 0 0 12px rgba(55, 221, 208, 0.12);
  outline: 2px solid rgba(55, 221, 208, 0.3);
  outline-offset: 2px;
  transform: translateY(-1px);
}

.command-menu__item:hover::after,
.command-menu__item:focus-visible::after {
  border-color: rgba(138, 255, 244, 0.88);
  background: var(--kkfm-cyan);
  box-shadow: 0 0 5px rgba(55, 221, 208, 0.95), 0 0 11px rgba(55, 221, 208, 0.5);
}

.command-menu__item:active {
  transform: translateY(1px);
}

.command-menu__icon {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-height: 0;
  border-right: 1px solid rgba(234, 217, 168, 0.18);
}

.command-menu__icon::before {
  content: "";
  width: min(26px, 65%);
  aspect-ratio: 1;
  background: var(--menu-icon-game) center / contain no-repeat;
  filter: sepia(0.85) saturate(1.4) brightness(1.4) drop-shadow(0 0 6px rgba(234, 217, 168, 0.35));
}

.command-menu__icon--play::before { background-image: var(--menu-icon-play); }
.command-menu__icon--flag::before,
.command-menu__icon--daily::before,
.command-menu__icon--chart::before,
.command-menu__icon--relaxation::before { background-image: var(--menu-icon-trophy); }
.command-menu__icon--cards::before,
.command-menu__icon--gear::before { background-image: var(--menu-icon-list); }
.command-menu__icon--manual::before { background-image: var(--menu-icon-question); }
.command-menu__icon--multi::before { background-image: var(--menu-icon-group); }
.command-menu__icon--sim::before,
.command-menu__icon--custom::before,
.command-menu__icon--basecamp::before,
.command-menu__icon--fullscreen::before { background-image: var(--menu-icon-game); }
.command-menu__icon--crate::before { background-image: var(--menu-icon-cart); }

.command-menu__copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.command-menu__copy strong {
  overflow: hidden;
  color: inherit;
  font-family: var(--font-title);
  font-size: clamp(9px, 0.9vw, 15px);
  font-weight: 400;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command-menu__copy small {
  overflow: hidden;
  color: rgba(234, 217, 168, 0.58);
  font-family: var(--font-ui);
  font-size: clamp(7px, 0.62vw, 10px);
  line-height: 1.15;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.command-menu__item--dev {
  border-color: rgba(239, 40, 24, 0.3);
}

.command-menu__group[data-menu-section="administration"] .command-menu__item--dev {
  grid-column: 1 / -1;
  grid-template-columns: 5% minmax(0, 1fr);
  gap: 2%;
  min-height: 34px;
  padding: 0.8% 2%;
  border-color: rgba(239, 40, 24, 0.22);
  background:
    linear-gradient(90deg, rgba(239, 40, 24, 0.08), transparent 32%),
    rgba(1, 5, 5, 0.62);
}

.command-menu__group[data-menu-section="administration"] .command-menu__item--dev .command-menu__icon {
  min-height: 24px;
}

.command-menu__group[data-menu-section="administration"] .command-menu__item--dev .command-menu__icon::before {
  width: 18px;
}

.command-menu__group[data-menu-section="administration"] .command-menu__item--dev .command-menu__copy {
  grid-template-columns: auto minmax(0, 1fr);
  align-items: baseline;
  gap: 14px;
}

.command-menu__group[data-menu-section="administration"] .command-menu__item:not(.command-menu__item--dev) .command-menu__copy strong,
.command-menu__group[data-menu-section="administration"] .command-menu__item:not(.command-menu__item--dev) .command-menu__copy small {
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
}

.command-menu__group[data-menu-section="administration"] .command-menu__item:not(.command-menu__item--dev) .command-menu__copy strong {
  font-size: clamp(8px, 0.72vw, 12px);
  line-height: 1.28;
}

.command-menu__group[data-menu-section="prepare"] .command-menu__items {
  grid-template-columns: 1fr;
}

.command-menu__group[data-menu-section="prepare"] .command-menu__item:not([hidden]) {
  grid-column: 1;
  min-height: 46%;
}

.title-menu__notice {
  position: absolute;
  z-index: 4;
  right: 0;
  bottom: -5%;
  left: 0;
  margin: 0;
  color: var(--kkfm-cyan);
  font-family: var(--font-ticker);
  font-size: 8px;
  letter-spacing: 0.08em;
  text-align: center;
}

.system-ticker {
  position: absolute;
  z-index: 4;
  right: 1.5%;
  bottom: 1.5%;
  left: 1.5%;
  display: block;
  height: 7.2%;
  min-height: 24px;
  overflow: hidden;
  border-top: 1px solid rgba(234, 217, 168, 0.28);
  border-bottom: 1px solid rgba(234, 217, 168, 0.14);
  color: rgba(234, 217, 168, 0.82);
  background: rgba(1, 4, 4, 0.88);
  font-family: var(--font-ticker);
  pointer-events: none;
}

.system-ticker::before {
  content: "BUREAU WIRE";
  position: absolute;
  z-index: 2;
  top: 0;
  bottom: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 18%;
  border-right: 1px solid rgba(234, 217, 168, 0.24);
  color: var(--kkfm-bright);
  background: rgba(4, 7, 6, 0.98);
  font-size: clamp(7px, 0.62vw, 10px);
  letter-spacing: 0.08em;
}

.system-ticker__track {
  position: absolute;
  top: 0;
  left: 18%;
  display: flex;
  align-items: center;
  gap: 44px;
  width: max-content;
  height: 100%;
  padding-left: 30px;
  white-space: nowrap;
  animation: system-ticker-scroll 139.75s linear infinite;
  will-change: transform;
}

.system-ticker__item {
  font-size: clamp(7px, 0.62vw, 10px);
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.system-ticker__item::after {
  content: "//";
  margin-left: 44px;
  color: var(--kkfm-cyan);
}

.system-ticker strong {
  color: var(--kkfm-cyan);
  font-weight: 600;
}

.system-ticker__live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@keyframes system-ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes kkfm-logo-undulate {
  0%, 100% { transform: translateX(-50%) skewX(-0.35deg) scaleX(0.995); }
  32% { transform: translateX(calc(-50% - 2px)) skewX(0.55deg) scaleX(1.008); }
  68% { transform: translateX(calc(-50% + 2px)) skewX(-0.2deg) scaleX(0.988); }
}

@media (max-width: 1100px), (max-height: 700px) {
  .kkfm-console {
    width: calc(var(--game-width) + 48px);
  }

  .command-menu {
    inset-inline: 5.5%;
  }

  .command-menu__copy small {
    display: none;
  }
}

@media (max-width: 760px) and (orientation: portrait), (pointer: coarse) and (orientation: portrait) {
  #title-screen > .title-screen__content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    height: auto;
    min-height: 100svh;
    padding: max(18px, var(--safe-top)) 16px 22px;
  }

  .title-screen .title-hero {
    display: grid;
  }

  .kkfm-console {
    display: none;
  }

  .title-screen > .title-build-version {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kkfm-knob {
    transition: none;
  }

  .kkfm-crt__scanlines,
  .kkfm-crt__signal-tear,
  .kkfm-crt__logo,
  .system-ticker__track {
    animation: none;
  }

  .kkfm-crt__noise {
    opacity: 0.08;
  }
}

/* Bureau command archive -------------------------------------------------
   The title screen now shares the physical file-viewer language used by
   Basecamp and the Campaign Archive. The legacy KKFM class names remain as
   stable interaction hooks, but no television chassis or CRT treatment is
   presented in the production desktop layout. */
@media (min-width: 901px) and (min-height: 521px) {
  #title-screen {
    --bureau-cream: #ead9a8;
    --bureau-bright: #fff1bf;
    --bureau-brass: #9c7a3d;
    --bureau-signal: #37ddd0;
    --bureau-alert: #d97232;
    --bureau-row-art: url("../assets/generated-art/ui/shockframe/table-row-v1.png");
    --bureau-row-active-art: url("../assets/generated-art/ui/shockframe/table-row-highlight-v1.png");
    width: var(--menu-fluid-width, var(--game-width));
    height: var(--menu-fluid-height, var(--game-height));
    transform: translate(-50%, -50%) scale(var(--menu-scale));
  }

  #title-screen::after,
  #title-screen > .title-screen__scanlines {
    display: none;
  }

  #title-screen > .title-screen__content {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
  }

  .title-screen > .title-build-version {
    z-index: 12;
    top: 28px;
    right: 48px;
    padding: 0;
    border: 0;
    color: rgba(55, 221, 208, 0.62);
    background: transparent;
    font-size: 7px;
  }

  .title-screen .title-hero {
    position: absolute;
    z-index: 8;
    top: 31px;
    left: 50%;
    display: block;
    width: min(850px, 72%);
    min-width: 0;
    transform: translateX(-50%);
    pointer-events: none;
  }

  .title-screen .game-logo,
  .title-screen .game-logo--image {
    display: grid;
    gap: 1px;
    justify-items: center;
    width: 100%;
    height: auto;
    min-height: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    color: var(--bureau-bright);
    background: transparent;
    box-shadow: none;
    filter: none;
    transform: none;
  }

  .title-screen .game-logo__image {
    display: none;
  }

  .title-screen .game-logo::before {
    content: "KILLER KOSMONAUTS";
    position: static;
    display: block;
    width: auto;
    height: auto;
    color: var(--bureau-bright);
    background: none;
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.07em;
    line-height: 1;
    text-align: center;
    transform: none;
    white-space: nowrap;
  }

  .title-screen .game-logo::after {
    content: "FROM MARS // DEFENCE BUREAU";
    position: static;
    display: block;
    width: auto;
    height: auto;
    margin-top: 5px;
    color: rgba(55, 221, 208, 0.76);
    background: none;
    font-family: var(--font-menu);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.18em;
    line-height: 1;
    opacity: 1;
    transform: none;
  }

  .title-screen .title-screen__strapline,
  .title-screen .operation-panel,
  .title-screen .title-primary-actions {
    display: none;
  }

  .kkfm-console {
    position: relative;
    width: calc(var(--menu-fluid-width, var(--game-width)) - 32px);
    height: calc(var(--game-height) - 24px);
    aspect-ratio: auto;
  isolation: isolate;
}

  .kkfm-console__shell {
    position: absolute;
    z-index: 0;
    inset: 0;
    border: 2px solid rgba(176, 145, 83, 0.62);
    border-radius: 18px;
    background:
      radial-gradient(ellipse at 50% 40%, rgba(55, 221, 208, 0.05), transparent 58%),
      linear-gradient(180deg, rgba(14, 14, 11, 0.97), rgba(2, 7, 7, 0.99)),
      repeating-linear-gradient(90deg, rgba(234, 217, 168, 0.018) 0 1px, transparent 1px 7px),
      #020505;
    box-shadow:
      0 22px 58px rgba(0, 0, 0, 0.58),
      inset 0 0 0 4px rgba(4, 5, 4, 0.9),
      inset 0 0 0 6px rgba(176, 145, 83, 0.2),
      inset 0 0 64px rgba(0, 0, 0, 0.72);
    filter: none;
  }

  .kkfm-console__shell::before,
  .kkfm-console__shell::after {
    position: absolute;
    z-index: 2;
    top: 12px;
    color: rgba(234, 217, 168, 0.54);
    font-family: var(--font-ticker);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.13em;
  }

  .kkfm-console__shell::before {
    content: "BUREAU OF EXTRA-PLANETARY DEFENCE // COMMAND TERMINAL 01";
    left: 48px;
  }

  .kkfm-console__shell::after {
    content: "ORBITAL LINK // VERIFIED";
    right: 48px;
    color: rgba(55, 221, 208, 0.62);
  }

  .kkfm-controls {
    position: absolute;
    z-index: 4;
    top: 102px;
    bottom: 38px;
    left: 32px;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto auto auto;
    gap: 8px;
    width: 216px;
    height: auto;
    padding: 14px;
    border: 1px solid rgba(176, 145, 83, 0.3);
    color: var(--bureau-cream);
    background:
      linear-gradient(180deg, rgba(11, 13, 11, 0.94), rgba(2, 8, 8, 0.97)),
      radial-gradient(circle at 50% 16%, rgba(54, 226, 207, 0.04), transparent 44%);
    box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.32),
      inset 0 0 0 1px rgba(234, 217, 168, 0.035),
      inset 0 0 28px rgba(0, 0, 0, 0.34);
  }

  .kkfm-control {
    min-width: 0;
    color: var(--bureau-cream);
    font-family: var(--font-menu);
    text-align: left;
  }

  .kkfm-control__title {
    position: static;
    display: block;
    margin: 0 0 9px;
    color: rgba(55, 221, 208, 0.72);
    font-family: var(--font-menu);
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.14em;
    line-height: 1;
    text-align: left;
    text-shadow: none;
  }

  .kkfm-mode-options {
    position: static;
    display: grid;
    gap: 7px;
    margin: 0;
    pointer-events: auto;
  }

  .kkfm-mode-options button,
  .kkfm-screen-options button {
    position: relative;
    inset: auto;
    min-width: 0;
    min-height: 42px;
    padding: 0 12px;
    border: 1px solid rgba(176, 145, 83, 0.22);
    color: rgba(234, 217, 168, 0.68);
    background: linear-gradient(90deg, rgba(30, 28, 21, 0.66), rgba(3, 10, 10, 0.54));
    font-family: var(--font-menu);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.08em;
    line-height: 1;
    text-align: left;
    text-shadow: none;
    transform: none !important;
  }

  .kkfm-mode-options button[data-menu-toggle],
  .kkfm-screen-options button[data-display-mode] {
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    transform: none !important;
  }

  .kkfm-mode-options button::before {
    content: "";
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    width: 3px;
    background: transparent;
  }

  .kkfm-mode-options button:hover,
  .kkfm-mode-options button:focus-visible,
  .kkfm-mode-options button[aria-pressed="true"] {
    border-color: rgba(230, 194, 112, 0.54);
    color: var(--bureau-bright);
    background: linear-gradient(90deg, rgba(93, 70, 31, 0.46), rgba(5, 19, 19, 0.82));
    box-shadow: none;
    outline: 0;
  }

  .kkfm-mode-options button:hover::before,
  .kkfm-mode-options button:focus-visible::before,
  .kkfm-mode-options button[aria-pressed="true"]::before {
    background: rgba(55, 221, 208, 0.7);
  }

  .kkfm-control--toggle,
  .kkfm-control--screen {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 44px;
    padding: 9px 10px;
    border: 1px solid rgba(176, 145, 83, 0.2);
    background:
      linear-gradient(180deg, rgba(36, 31, 22, 0.74), rgba(7, 9, 8, 0.9)),
      var(--bureau-row-art) center / 100% 100% no-repeat;
    background-blend-mode: normal, soft-light;
  }

  button.kkfm-control--toggle {
    width: auto;
  }

  .kkfm-control--toggle .kkfm-control__title,
  .kkfm-control--screen .kkfm-control__title {
    margin: 0;
    color: rgba(234, 217, 168, 0.72);
    font-size: 8px;
  }

  .kkfm-control--toggle::after {
    content: attr(data-detent);
    color: rgba(55, 221, 208, 0.8);
    font-family: var(--font-ticker);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
  }

  .kkfm-control--toggle:hover,
  .kkfm-control--toggle:focus-visible {
    border-color: rgba(55, 221, 208, 0.48);
    outline: 1px solid rgba(55, 221, 208, 0.22);
    outline-offset: 1px;
  }

  .kkfm-control--screen {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-bottom: 10px;
  }

  .kkfm-screen-options {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
    pointer-events: auto;
  }

  .kkfm-screen-options button {
    min-height: 25px;
    padding: 0 3px;
    font-size: 6px;
    text-align: center;
  }

  .kkfm-screen-options button:hover,
  .kkfm-screen-options button:focus-visible,
  .kkfm-screen-options button[aria-pressed="true"] {
    border-color: rgba(55, 221, 208, 0.5);
    color: var(--bureau-bright);
    background: rgba(12, 43, 41, 0.74);
    outline: 0;
  }

  .kkfm-selector,
  .kkfm-toggle-options,
  .kkfm-detent-lights {
    display: none;
  }

  .kkfm-crt {
    position: absolute;
    z-index: 2;
    top: 102px;
    right: 32px;
    bottom: 38px;
    left: 264px;
    width: auto;
    height: auto;
    overflow: hidden;
    border: 1px solid rgba(176, 145, 83, 0.3);
    border-radius: 0;
    color: var(--bureau-cream);
    background:
      radial-gradient(circle at 50% 18%, rgba(54, 226, 207, 0.045), transparent 46%),
      linear-gradient(180deg, rgba(7, 11, 10, 0.96), rgba(1, 6, 7, 0.985));
    box-shadow:
      0 14px 34px rgba(0, 0, 0, 0.3),
      inset 0 0 0 1px rgba(234, 217, 168, 0.03),
      inset 0 0 32px rgba(0, 0, 0, 0.32);
  }

  .kkfm-crt::before,
  .kkfm-crt::after,
  .kkfm-crt__noise,
  .kkfm-crt__scanlines,
  .kkfm-crt__signal-tear,
  .kkfm-crt__logo {
    display: none !important;
  }

  .command-menu {
    position: absolute;
    z-index: 3;
    inset: 16px 16px 36px;
    display: grid;
    grid-template-columns: minmax(420px, 1.62fr) minmax(220px, 0.78fr);
    gap: 18px;
    width: auto;
    min-height: 0;
    overflow: hidden;
  }

  .command-menu__group {
    position: relative;
    inset: auto;
    grid-column: 1;
    grid-row: 1;
    display: grid;
    grid-template-rows: 66px minmax(0, 1fr);
    gap: 0;
    min-height: 0;
  }

  .command-menu__heading {
    position: relative;
    display: grid;
    align-content: center;
    justify-content: start;
    gap: 4px;
    padding: 7px 12px 12px;
    border-bottom: 1px solid rgba(176, 145, 83, 0.3);
  }

  .command-menu__heading::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    width: 34%;
    height: 1px;
    background: rgba(55, 221, 208, 0.34);
  }

  .command-menu__heading span {
    color: var(--bureau-bright);
    font-family: var(--font-title);
    font-size: clamp(25px, 2.35vw, 34px);
    font-weight: 400;
    letter-spacing: 0.08em;
    line-height: 1;
  }

  .command-menu__heading small {
    grid-row: 1;
    color: rgba(55, 221, 208, 0.72);
    font-size: 7px;
    letter-spacing: 0.14em;
  }

  .command-menu__items,
  .command-menu__group[data-menu-section="play"] .command-menu__items,
  .command-menu__group[data-menu-section="administration"] .command-menu__items,
  .command-menu__group[data-menu-section="prepare"] .command-menu__items {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, minmax(0, 1fr));
    grid-auto-rows: minmax(54px, 1fr);
    gap: 0;
    min-height: 0;
    overflow: hidden;
  }

  .command-menu__group[data-menu-section="administration"] .command-menu__items {
    grid-template-rows: repeat(4, minmax(0, 1fr));
  }

  .command-menu__group[data-menu-section="prepare"] .command-menu__items {
    grid-template-rows: minmax(74px, 0.24fr);
    align-content: start;
  }

  .command-menu__item,
  .command-menu__item.is-primary,
  .command-menu__item--wide,
  .command-menu__group[data-menu-section="administration"] .command-menu__item--dev,
  .command-menu__group[data-menu-section="prepare"] .command-menu__item:not([hidden]) {
    grid-column: 1;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 18px;
    align-items: center;
    gap: 12px;
    min-height: 0;
    padding: 7px 10px;
    overflow: hidden;
    border: 0;
    border-bottom: 1px solid rgba(176, 145, 83, 0.2);
    border-radius: 0;
    color: rgba(234, 217, 168, 0.72);
    background: linear-gradient(90deg, rgba(24, 23, 18, 0.34), rgba(2, 8, 8, 0.52));
    box-shadow: none;
    transform: none;
  }

  .command-menu__item::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 3px;
    background: transparent;
  }

  .command-menu__item::after {
    content: "›";
    position: static;
    display: grid;
    place-items: center;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    color: rgba(234, 217, 168, 0.34);
    background: transparent;
    box-shadow: none;
    font-family: var(--font-menu);
    font-size: 18px;
  }

  .command-menu__item:hover,
  .command-menu__item:focus-visible,
  .command-menu__item.is-selected {
    border-color: rgba(176, 145, 83, 0.32);
    color: var(--bureau-bright);
    background: linear-gradient(90deg, rgba(84, 61, 29, 0.5), rgba(5, 27, 26, 0.9));
    box-shadow: inset 0 0 0 1px rgba(234, 217, 168, 0.035);
    outline: 0;
    transform: none;
  }

  .command-menu__item:hover::before,
  .command-menu__item:focus-visible::before,
  .command-menu__item.is-selected::before {
    background: var(--bureau-alert);
  }

  .command-menu__item:hover::after,
  .command-menu__item:focus-visible::after,
  .command-menu__item.is-selected::after {
    color: var(--bureau-signal);
    background: transparent;
    box-shadow: none;
  }

  .command-menu__icon,
  .command-menu__group[data-menu-section="administration"] .command-menu__item--dev .command-menu__icon {
    align-self: stretch;
    min-height: 0;
    border-right: 1px solid rgba(176, 145, 83, 0.18);
  }

  .command-menu__icon::before,
  .command-menu__group[data-menu-section="administration"] .command-menu__item--dev .command-menu__icon::before {
    width: 20px;
    filter: sepia(0.9) saturate(0.9) brightness(1.25) drop-shadow(0 0 5px rgba(234, 217, 168, 0.24));
  }

  .command-menu__copy,
  .command-menu__group[data-menu-section="administration"] .command-menu__item--dev .command-menu__copy {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
  }

  .command-menu__copy strong,
  .command-menu__group[data-menu-section="administration"] .command-menu__item:not(.command-menu__item--dev) .command-menu__copy strong {
    color: inherit;
    font-family: var(--font-menu);
    font-size: clamp(9px, 0.9vw, 12px);
    font-weight: 400;
    letter-spacing: 0.055em;
    line-height: 1.1;
    white-space: nowrap;
  }

  .command-menu__copy small,
  .command-menu__group[data-menu-section="administration"] .command-menu__item:not(.command-menu__item--dev) .command-menu__copy small {
    overflow: hidden;
    color: rgba(55, 221, 208, 0.56);
    font-family: var(--font-ticker);
    font-size: 6px;
    font-weight: 600;
    letter-spacing: 0.08em;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .command-briefing {
    position: relative;
    grid-column: 2;
    grid-row: 1;
    display: grid;
    align-content: start;
    grid-template-rows: auto auto auto minmax(58px, auto) 1fr auto;
    min-width: 0;
    padding: 77px 14px 16px 18px;
    border-left: 1px solid rgba(176, 145, 83, 0.22);
    color: var(--bureau-cream);
    background: linear-gradient(180deg, rgba(25, 22, 16, 0.1), rgba(3, 9, 9, 0.36));
  }

  .command-briefing::before {
    content: "COMMAND REVIEW";
    position: absolute;
    top: 20px;
    left: 18px;
    color: rgba(55, 221, 208, 0.58);
    font-family: var(--font-ticker);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.13em;
  }

  .command-briefing__code {
    color: var(--bureau-alert);
    font-family: var(--font-ticker);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.12em;
  }

  .command-briefing__kicker {
    margin: 16px 0 0;
    color: rgba(55, 221, 208, 0.68);
    font-family: var(--font-ticker);
    font-size: 7px;
    font-weight: 700;
    letter-spacing: 0.12em;
  }

  .command-briefing h2 {
    margin: 8px 0 0;
    color: var(--bureau-bright);
    font-family: var(--font-menu);
    font-size: clamp(15px, 1.4vw, 20px);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: 0.055em;
  }

  .command-briefing__description {
    margin: 16px 0 0;
    color: rgba(234, 217, 168, 0.72);
    font-family: var(--font-menu);
    font-size: 8px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.035em;
  }

  .command-briefing__rule {
    align-self: end;
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
  }

  .command-briefing__rule::before,
  .command-briefing__rule::after {
    content: "";
    height: 3px;
  }

  .command-briefing__rule::before {
    background: rgba(55, 221, 208, 0.72);
  }

  .command-briefing__rule::after {
    background: linear-gradient(90deg, rgba(176, 145, 83, 0.42), rgba(176, 145, 83, 0.08));
  }

  .command-briefing__rule span {
    display: none;
  }

  .command-briefing__status {
    display: grid;
    gap: 14px;
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid rgba(176, 145, 83, 0.2);
  }

  .command-briefing__status div {
    display: grid;
    gap: 4px;
  }

  .command-briefing__status dt {
    color: rgba(55, 221, 208, 0.46);
    font-family: var(--font-ticker);
    font-size: 6px;
    letter-spacing: 0.12em;
  }

  .command-briefing__status dd {
    margin: 0;
    color: rgba(234, 217, 168, 0.7);
    font-family: var(--font-ticker);
    font-size: 6px;
    letter-spacing: 0.08em;
  }

  .system-ticker {
    position: absolute;
    right: 14px;
    bottom: 8px;
    left: 14px;
    z-index: 4;
    height: 22px;
    border-top: 1px solid rgba(176, 145, 83, 0.24);
    color: rgba(234, 217, 168, 0.48);
    background: transparent;
  }

  .system-ticker__track {
    opacity: 0.68;
  }

  .title-menu__notice {
    right: 0;
    bottom: 0;
    left: 0;
  }

  #title-screen[data-display-state="standby"] .command-menu,
  #title-screen[data-display-state="standby"] .system-ticker {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }

  #title-screen[data-display-state="standby"] .kkfm-crt::before {
    content: "COMMAND TERMINAL STANDBY\A INPUT SUSPENDED // ORBITAL LINK MAINTAINED";
    position: absolute;
    inset: 0;
    display: grid !important;
    place-items: center;
    padding: 40px;
    color: rgba(234, 217, 168, 0.62);
    background:
      radial-gradient(circle at 50% 48%, rgba(55, 221, 208, 0.08), transparent 42%),
      rgba(1, 7, 7, 0.96);
    font-family: var(--font-ticker);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 2;
    text-align: center;
    white-space: pre-line;
  }
}

/* Edge-to-edge command field --------------------------------------------
   Production implementation of the approved Figma main-menu composition.
   The title keeps one uniform scale, while its logical surface can grow on
   taller displays so fullscreen does not leave horizontal letterbox bands. */
@media (min-width: 901px) and (min-height: 521px) {
  #title-screen {
    --bureau-cream: #f2dfb0;
    --bureau-muted-cream: #b9a982;
    --bureau-gold: #f0b94d;
    --bureau-signal: #36e2cf;
    --bureau-panel: rgba(4, 11, 11, 0.9);
    --bureau-border: rgba(242, 223, 176, 0.28);
    --bureau-row-art: url("../assets/ui/vendor-derived/shockframe/table-row-alpha.png");
    --bureau-row-active-art: url("../assets/ui/vendor-derived/shockframe/table-row-highlight-alpha.png");
    width: var(--menu-fluid-width, var(--game-width));
    height: var(--menu-fluid-height, var(--game-height));
    overflow: hidden;
    background: #030808;
    transform: translate(-50%, -50%) scale(var(--menu-scale));
  }

  #title-screen::before,
  #title-screen::after,
  #title-screen > .title-screen__scanlines {
    display: none;
  }

  #title-screen > .title-screen__backdrop {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    opacity: 1;
    background: url("../assets/generated-art/environment/mars-station-15-campaign-one-v1.png") center / cover no-repeat;
    filter: none;
    transform: none;
  }

  #title-screen > .title-screen__vignette {
    position: absolute;
    z-index: 1;
    inset: 0;
    display: block;
    opacity: 1;
    background: linear-gradient(
      90deg,
      #000 0%,
      #000 23%,
      rgba(0, 0, 0, 0.96) 30%,
      rgba(0, 0, 0, 0.78) 40%,
      rgba(0, 0, 0, 0.52) 52%,
      rgba(0, 0, 0, 0.28) 64%,
      rgba(0, 0, 0, 0.1) 78%,
      rgba(0, 0, 0, 0.02) 100%
    );
    pointer-events: none;
  }

  #title-screen > .title-screen__vignette::before,
  #title-screen > .title-screen__vignette::after {
    display: none;
  }

  #title-screen > .title-screen__content {
    position: relative;
    z-index: 2;
    display: block;
    width: 100%;
    height: 100%;
  }

  .title-screen > .title-build-version {
    display: none;
  }

  .title-screen .title-hero {
    position: absolute;
    z-index: 7;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    transform: none;
    pointer-events: none;
  }

  .title-screen .game-logo,
  .title-screen .game-logo--image {
    position: absolute;
    top: 4.444%;
    left: 1.5%;
    display: block;
    width: 15.5%;
    height: 30.333%;
    min-height: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
    filter: none;
    transform: none;
  }

  .title-screen .game-logo::before {
    display: none;
    content: none;
  }

  .title-screen .game-logo::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    display: block;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.18) 0%,
      rgba(0, 0, 0, 0.18) 78%,
      rgba(0, 0, 0, 0.04) 86%,
      rgba(0, 0, 0, 0) 90%,
      rgba(0, 0, 0, 0) 100%
    );
    box-shadow: none;
    mix-blend-mode: multiply;
    pointer-events: none;
  }

  .title-screen .game-logo__image {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .title-screen .title-screen__strapline {
    position: absolute;
    right: 6.6667%;
    bottom: 10.222%;
    display: grid;
    gap: 2px;
    width: 24.1667%;
    margin: 0;
    padding: 0;
    border: 0;
    color: #ffe39e;
    background: transparent;
    box-shadow: none;
    font-family: var(--font-menu);
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.45;
    text-align: right;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.98), 0 0 9px rgba(255, 202, 91, 0.22);
  }

  .title-screen .title-screen__strapline span:first-child {
    color: #ffd675;
    font-size: 12.25px;
  }

  .title-screen .title-screen__strapline span {
    display: block;
    width: 100%;
    min-width: 0;
    white-space: nowrap;
  }

  .title-screen .title-screen__strapline::before,
  .title-screen .title-screen__strapline::after {
    display: none;
    content: none;
  }

  .title-screen .operation-panel,
  .title-screen .title-primary-actions {
    display: none;
  }

  .kkfm-console {
    position: absolute;
    z-index: 3;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    isolation: isolate;
  }

  .kkfm-console::before {
    content: "";
    position: absolute;
    z-index: 10;
    top: 2.667%;
    bottom: 8.444%;
    left: 19.375%;
    width: 1px;
    background: rgba(240, 185, 77, 0.72);
    box-shadow: 0 0 5px rgba(240, 185, 77, 0.08);
    pointer-events: none;
  }

  .kkfm-console__shell {
    display: none;
  }

  .kkfm-controls {
    position: absolute;
    z-index: 8;
    top: 41.111%;
    left: 2.25%;
    display: block;
    width: 13.75%;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .kkfm-controls .kkfm-control:not(.kkfm-control--mode),
  .kkfm-control--mode > .kkfm-control__title,
  .kkfm-control--mode > .kkfm-detent-lights,
  .kkfm-control--mode > .kkfm-selector {
    display: none;
  }

  .kkfm-control--mode,
  .kkfm-mode-options {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
  }

  .kkfm-mode-options {
    display: grid;
    gap: 9px;
    pointer-events: auto;
  }

  .kkfm-mode-options button,
  .kkfm-mode-options button[data-menu-toggle] {
    position: relative;
    inset: auto;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    height: 33px;
    min-height: 33px;
    padding: 0 0 0 19px;
    border: 0;
    color: var(--bureau-muted-cream);
    background: transparent;
    box-shadow: none;
    font-family: var(--font-menu);
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 0.035em;
    line-height: 1;
    text-align: left;
    text-shadow: none;
    transform: none !important;
    cursor: pointer;
    transition: color 140ms ease;
  }

  .kkfm-mode-options button::before {
    content: "";
    position: absolute;
    top: 7px;
    bottom: auto;
    left: 0;
    width: 3px;
    height: 28.5px;
    border-radius: 2px;
    background: var(--bureau-muted-cream);
    transition: background-color 140ms ease, box-shadow 140ms ease;
  }

  .kkfm-mode-options button:hover,
  .kkfm-mode-options button:focus-visible,
  .kkfm-mode-options button[aria-pressed="true"] {
    border: 0;
    color: var(--bureau-gold);
    background: transparent;
    box-shadow: none;
    outline: 0;
  }

  .kkfm-mode-options button:hover::before,
  .kkfm-mode-options button:focus-visible::before,
  .kkfm-mode-options button[aria-pressed="true"]::before {
    background: var(--bureau-signal);
    box-shadow: 0 0 7px rgba(54, 226, 207, 0.28);
  }

  .kkfm-mode-options button:focus-visible {
    outline: 1px solid rgba(54, 226, 207, 0.42);
    outline-offset: 3px;
  }

  .kkfm-crt {
    position: absolute;
    z-index: 4;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible;
    border: 0;
    border-radius: 0;
    color: var(--bureau-cream);
    background: transparent;
    box-shadow: none;
  }

  .kkfm-crt::before,
  .kkfm-crt::after,
  .kkfm-crt__noise,
  .kkfm-crt__scanlines,
  .kkfm-crt__signal-tear,
  .kkfm-crt__logo {
    display: none !important;
  }

  .command-menu {
    position: absolute;
    z-index: 6;
    top: 40.667%;
    left: 24.375%;
    display: block;
    width: 31.6667%;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .command-menu__group {
    position: absolute;
    inset: 0 auto auto 0;
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
  }

  .command-menu__group:not(.is-open) {
    visibility: hidden;
    pointer-events: none;
  }

  .command-menu__heading {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    height: 12px;
    margin: 0 0 9px;
    padding: 0;
    border: 0;
    color: var(--bureau-signal);
    font-family: var(--font-ticker);
    font-size: 6.75px;
    font-weight: 700;
    letter-spacing: 0.13em;
    line-height: 1;
  }

  .command-menu__heading::after {
    display: none;
  }

  .command-menu__heading span,
  .command-menu__heading small {
    grid-row: auto;
    color: inherit;
    font-family: var(--font-ticker);
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
  }

  .command-menu__heading span::after {
    content: " //";
  }

  .command-menu__items,
  .command-menu__group[data-menu-section="play"] .command-menu__items,
  .command-menu__group[data-menu-section="administration"] .command-menu__items,
  .command-menu__group[data-menu-section="prepare"] .command-menu__items {
    counter-reset: bureau-command;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-rows: 45px;
    gap: 9px;
    min-height: 0;
    overflow: visible;
  }

  .command-menu__items[hidden] {
    display: none;
  }

  .command-menu__item,
  .command-menu__item.is-primary,
  .command-menu__item--wide,
  .command-menu__group[data-menu-section="administration"] .command-menu__item--dev,
  .command-menu__group[data-menu-section="prepare"] .command-menu__item:not([hidden]) {
    counter-increment: bureau-command;
    position: relative;
    grid-column: 1;
    display: grid;
    grid-template-columns: 3px 24px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    width: 100%;
    height: 45px;
    min-height: 45px;
    padding: 0 12px;
    overflow: hidden;
    border: 1px solid var(--bureau-border);
    border-radius: 3px;
    color: var(--bureau-cream);
    background:
      linear-gradient(90deg, rgba(4, 16, 18, 0.94), rgba(4, 11, 11, 0.84)),
      var(--bureau-panel);
    background-blend-mode: normal;
    box-shadow: none;
    font-family: var(--font-menu);
    text-align: left;
    transform: none;
    cursor: pointer;
    transition: border-color 140ms ease, color 140ms ease, background-color 140ms ease, box-shadow 140ms ease;
  }

  .command-menu__item::before {
    content: "";
    position: relative;
    inset: auto;
    display: block;
    width: 3px;
    height: 31.5px;
    border-radius: 2px;
    background: var(--bureau-muted-cream);
    transition: background-color 140ms ease, box-shadow 140ms ease;
  }

  .command-menu__item::after {
    display: none;
    content: none;
  }

  .command-menu__icon,
  .command-menu__group[data-menu-section="administration"] .command-menu__item--dev .command-menu__icon {
    display: grid;
    place-items: center;
    align-self: center;
    width: 24px;
    height: 100%;
    min-height: 0;
    border: 0;
  }

  .command-menu__icon::before,
  .command-menu__group[data-menu-section="administration"] .command-menu__item--dev .command-menu__icon::before {
    content: counter(bureau-command, decimal-leading-zero);
    width: auto;
    aspect-ratio: auto;
    color: var(--bureau-signal);
    background: none;
    filter: none;
    font-family: var(--font-ticker);
    font-size: 6px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  html[data-app-mode="demo"] #open-settings .command-menu__icon::before {
    content: "02";
  }

  .command-menu__copy,
  .command-menu__group[data-menu-section="administration"] .command-menu__item--dev .command-menu__copy {
    display: block;
    min-width: 0;
  }

  .command-menu__copy strong,
  .command-menu__group[data-menu-section="administration"] .command-menu__item:not(.command-menu__item--dev) .command-menu__copy strong {
    display: block;
    overflow: hidden;
    color: inherit;
    font-family: var(--font-menu);
    font-size: 10.5px;
    font-weight: 400;
    letter-spacing: 0.035em;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .command-menu__copy small,
  .command-menu__group[data-menu-section="administration"] .command-menu__item:not(.command-menu__item--dev) .command-menu__copy small {
    display: none;
  }

  .command-menu__item:hover,
  .command-menu__item:focus-visible,
  .command-menu__item.is-selected {
    border-color: rgba(240, 185, 77, 0.85);
    color: var(--bureau-gold);
    background:
      linear-gradient(90deg, rgba(31, 83, 80, 0.88), rgba(14, 43, 43, 0.9)),
      rgba(4, 18, 18, 0.96);
    background-blend-mode: normal;
    box-shadow: 0 0 11px rgba(240, 185, 77, 0.14), inset 0 0 16px rgba(54, 226, 207, 0.05);
    outline: 0;
    transform: none;
  }

  .command-menu__item:hover::before,
  .command-menu__item:focus-visible::before,
  .command-menu__item.is-selected::before {
    background: var(--bureau-signal);
    box-shadow: 0 0 7px rgba(54, 226, 207, 0.32);
  }

  .command-menu__item:focus-visible {
    outline: 1px solid rgba(54, 226, 207, 0.54);
    outline-offset: 3px;
  }

  .command-menu__item:active {
    transform: none;
  }

  .command-briefing {
    display: none;
  }

  .title-menu__notice {
    top: calc(100% + 9px);
    right: auto;
    bottom: auto;
    left: 0;
    width: 100%;
    color: var(--bureau-signal);
    font-size: 6px;
    text-align: left;
  }

  .system-ticker {
    position: absolute;
    z-index: 9;
    right: 0;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 36px;
    min-height: 36px;
    overflow: hidden;
    border: 1px solid var(--bureau-border);
    color: var(--bureau-cream);
    background: rgba(4, 11, 11, 0.94);
  }

  .system-ticker::before {
    width: 16.563%;
    border-right: 1px solid var(--bureau-border);
    color: var(--bureau-gold);
    background: #040b0b;
    font-size: 7.75px;
    letter-spacing: 0.08em;
  }

  .system-ticker__track {
    left: 16.563%;
    gap: 39px;
    height: 100%;
    padding-left: 23px;
    opacity: 1;
    animation: system-ticker-scroll 139.75s linear infinite;
  }

  .system-ticker__item {
    font-size: 7.75px;
    letter-spacing: 0.045em;
  }

  .system-ticker__item::after {
    margin-left: 39px;
  }

  #title-screen[data-display-state="standby"] .command-menu,
  #title-screen[data-display-state="standby"] .system-ticker {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}
