.mobile-command-header,
.mobile-home-menu__brief,
.mobile-home-menu__status,
.mobile-home-audio,
.mobile-account-panel,
.mobile-program-header {
  display: none;
}

@media (max-width: 540px) and (orientation: portrait) {
  /* Basecamp is a directory first, with one scrollable task workspace at a time. */
  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] {
    display: grid;
    grid-template-rows: calc(64px + env(safe-area-inset-top)) minmax(0, 1fr);
    width: 100vw;
    height: 100svh;
    min-height: 0;
    overflow: hidden;
    background:
      radial-gradient(circle at 80% 0, rgba(55, 221, 208, 0.1), transparent 34%),
      linear-gradient(180deg, #06100f, #020706 78%);
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"]::after {
    content: none;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-header {
    position: relative;
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
    width: 100%;
    min-height: calc(64px + env(safe-area-inset-top));
    padding: calc(9px + env(safe-area-inset-top)) 14px 7px;
    border-bottom: 1px solid rgba(55, 221, 208, 0.28);
    background: rgba(2, 9, 9, 0.97);
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] :is(.bureau-shell-brand, .new-basecamp-header__kicker, .new-basecamp-header__status) {
    display: none;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-menu {
    position: relative;
    width: 44px;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-menu__toggle {
    display: block;
    width: 44px;
    min-height: 40px;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-menu__toggle strong {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-menu__toggle span {
    position: relative;
    display: block;
    width: 100%;
    height: 40px;
    border: 1px solid rgba(55, 221, 208, 0.3);
    background: rgba(55, 221, 208, 0.04);
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-menu__toggle span::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 17px;
    height: 2px;
    background: #ead9a8;
    box-shadow: 0 -5px #ead9a8, 0 5px #ead9a8;
    transform: translate(-50%, -50%);
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-menu__list {
    top: calc(100% + 5px);
    width: min(240px, calc(100vw - 28px));
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .bureau-shell-title {
    display: grid;
    place-items: center end;
    min-width: 0;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .bureau-shell-title h1 {
    margin: 0;
    color: #ead9a8;
    font-size: 20px;
    letter-spacing: 0.09em;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-workspace {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 14px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-basecamp-intro {
    display: grid;
    gap: 8px;
    margin: 4px 0 14px;
    padding: 10px 3px 13px;
    border-bottom: 1px solid rgba(224, 183, 88, 0.34);
  }

  .mobile-basecamp-intro span {
    color: #37ddd0;
    font: 700 8px/1 var(--font-label);
    letter-spacing: 0.15em;
  }

  .mobile-basecamp-intro h2 {
    margin: 0;
    color: #ead9a8;
    font: 400 19px/1.15 var(--font-label);
    letter-spacing: 0.07em;
  }

  .mobile-basecamp-intro p {
    margin: 0;
    color: rgba(234, 217, 168, 0.64);
    font-size: 11px;
    line-height: 1.45;
    text-transform: none;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-nav {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    width: 100%;
    height: auto;
    max-height: none;
    padding: 0;
    overflow: visible;
    border: 0;
    background: none;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-nav__kicker {
    display: none;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-task {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 16px;
    gap: 12px;
    align-items: center;
    width: 100%;
    min-height: 70px;
    padding: 10px 12px;
    border: 1px solid rgba(55, 221, 208, 0.24);
    color: #ead9a8;
    background: linear-gradient(100deg, rgba(55, 221, 208, 0.07), transparent 62%), rgba(3, 12, 12, 0.94);
    box-shadow: inset 3px 0 rgba(55, 221, 208, 0.36);
    text-align: left;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-task::after {
    content: "›";
    color: rgba(234, 217, 168, 0.54);
    font: 24px/1 var(--font-label);
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-task__icon {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(55, 221, 208, 0.32);
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-task__icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: #37ddd0;
    stroke-width: 1.5;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-task strong {
    font: 400 12px/1.25 var(--font-label);
    letter-spacing: 0.06em;
  }

  #new-basecamp-screen.is-mobile-basecamp-workspace :is(.new-basecamp-nav, .new-basecamp-topbar),
  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-wire {
    display: none;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-monitor {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-monitor__header {
    display: grid;
    gap: 7px;
    min-height: 0;
    padding: 0 2px 14px;
    border-bottom: 1px solid rgba(224, 183, 88, 0.34);
  }

  .mobile-basecamp-back {
    display: block;
    justify-self: start;
    min-height: 34px;
    margin-bottom: 5px;
    padding: 0 10px;
    border: 1px solid rgba(55, 221, 208, 0.34);
    color: #37ddd0;
    background: rgba(4, 14, 14, 0.9);
    font: 700 8px/1 var(--font-label);
    letter-spacing: 0.12em;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-monitor__header > span {
    color: #37ddd0;
    font-size: 7px;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-monitor__header h2 {
    margin: 0;
    font-size: 21px;
    line-height: 1.12;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-monitor__header p {
    display: block;
    margin: 0;
    color: rgba(234, 217, 168, 0.64);
    font-size: 11px;
    line-height: 1.4;
    text-transform: none;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-category-filters {
    display: grid;
    gap: 9px;
    width: 100%;
    margin-top: 7px;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] :is(.new-basecamp-category-tabs, .new-basecamp-requisition-filters) {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-catalogue-filter {
    flex: 1 0 100px;
    min-width: 0;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-catalogue-filter__label {
    display: block;
    margin-bottom: 5px;
    color: #37ddd0;
    font-size: 7px;
    letter-spacing: 0.12em;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-catalogue-filter__choices {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-content: start;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-catalogue-filter__choices button {
    min-height: 28px;
    padding: 4px 7px;
    border: 1px solid rgba(55, 221, 208, 0.22);
    border-radius: 0;
    color: rgba(234, 217, 168, 0.72);
    background: rgba(3, 12, 12, 0.94);
    font: 700 8px/1.1 var(--font-label);
    letter-spacing: 0.04em;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-catalogue-filter__choices button.is-active {
    border-color: #37ddd0;
    color: #02100f;
    background: #37ddd0;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-monitor__body {
    display: block;
    min-height: 0;
    padding: 14px 0 30px;
    overflow: visible;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-entry-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    width: 100%;
    max-height: none;
    padding: 0;
    overflow: visible;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-entry-list__header {
    position: static;
    display: grid;
    gap: 8px;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-entry {
    display: grid;
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    min-height: 86px;
    padding: 8px;
    border: 1px solid rgba(55, 221, 208, 0.2);
    color: #ead9a8;
    background: rgba(3, 12, 12, 0.9);
    text-align: left;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-entry.is-selected {
    border-color: rgba(55, 221, 208, 0.72);
    box-shadow: inset 3px 0 #37ddd0;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-entry__thumb {
    width: 62px;
    height: 70px;
    overflow: hidden;
    border: 1px solid rgba(224, 183, 88, 0.28);
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-entry__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-entry strong {
    font-size: 12px;
    line-height: 1.25;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-entry small {
    color: #37ddd0;
    font-size: 8px;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
    margin-top: 16px;
    padding: 12px;
    border: 1px solid rgba(224, 183, 88, 0.28);
    background: rgba(3, 10, 9, 0.92);
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-detail--mobile-inline {
    margin: 0 0 4px;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-detail__visual {
    width: min(76vw, 280px);
    max-width: 100%;
    margin: 0 auto;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-detail__visual :is(.card, .new-basecamp-card-preview) {
    width: 100%;
    max-width: 100%;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] .new-basecamp-detail__dossier {
    max-height: none;
    overflow: visible;
  }

  #new-basecamp-screen[data-basecamp-presentation="mobile-command"] :is(.new-basecamp-detail, .new-basecamp-intelligence-results, .new-basecamp-deck-overview, .new-basecamp-loadout-editor) {
    width: 100%;
    max-height: none;
    overflow: visible;
  }

  /* Direct entries from the mobile home are focused programmes. */
  .relaxation-screen.is-mobile-direct-program :is(.relaxation-header, .relaxation-program-tabs, .gorodki-shell-menu) {
    display: none !important;
  }

  .relaxation-screen.is-mobile-direct-program[data-relaxation-program="gorodki"] {
    display: flex;
    flex-direction: column;
    height: 100svh;
    min-height: 0;
    overflow: hidden;
  }

  .relaxation-screen.is-mobile-direct-program[data-relaxation-program="gorodki"] .relaxation-canvas {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }

  .relaxation-screen.is-mobile-direct-program[data-relaxation-program="gorodki"] .relaxation-gorodki-program {
    flex: 1 1 auto;
    height: auto;
    min-height: 0;
    overflow-y: auto;
  }

  .relaxation-screen.is-mobile-direct-program[data-relaxation-program="gorodki"] .gorodki-workspace {
    min-height: 100%;
    padding: 10px 8px calc(12px + env(safe-area-inset-bottom));
  }

  .relaxation-screen.is-mobile-direct-program[data-relaxation-program="card-protocol"] {
    display: flex;
    flex-direction: column;
    height: 100svh;
  }

  .relaxation-screen.is-mobile-direct-program[data-relaxation-program="card-protocol"] .relaxation-canvas {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    height: 100%;
    min-height: 0;
  }

  .relaxation-screen.is-mobile-direct-program[data-relaxation-program="card-protocol"] .relaxation-card-protocol-program {
    flex: 1 1 auto;
    height: auto;
  }
}

@media (max-width: 760px) and (orientation: portrait), (pointer: coarse) and (orientation: portrait) {
  #title-screen {
    color: #ead9a8;
    background:
      radial-gradient(circle at 82% 5%, rgba(55, 221, 208, 0.14), transparent 30%),
      linear-gradient(180deg, rgba(0, 6, 7, 0.82), rgba(0, 3, 4, 0.97) 58%, #000 88%),
      var(--menu-bg) 54% top / auto 62vh no-repeat,
      #000;
  }

  body #title-screen > .title-screen__content {
    gap: 0;
    padding: 0;
  }

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

  #mobile-home-menu {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    min-height: 100svh;
    margin: 0 auto;
    padding: max(10px, var(--safe-top)) 14px max(12px, var(--safe-bottom));
    overflow: hidden;
  }

  .mobile-command-header {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr) 10px;
    gap: 12px;
    align-items: center;
    min-height: 62px;
    padding: 0 3px 9px;
    border-bottom: 1px solid rgba(224, 183, 88, 0.45);
  }

  .mobile-command-header img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    filter: drop-shadow(0 5px 8px rgba(0, 0, 0, 0.52));
  }

  .mobile-command-header > span {
    display: grid;
    gap: 4px;
  }

  .mobile-command-header small,
  .mobile-command-header strong,
  .mobile-home-menu__status,
  .mobile-companion-programmes > header,
  .mobile-companion-dock button,
  .mobile-lobby-hero,
  .mobile-programme-card {
    font-family: var(--font-label);
    text-transform: uppercase;
  }

  .mobile-command-header small {
    color: #37ddd0;
    font-size: 7px;
    letter-spacing: 0.15em;
  }

  .mobile-command-header strong {
    color: #ead9a8;
    font-size: clamp(15px, 4.5vw, 19px);
    letter-spacing: 0.11em;
  }

  .mobile-command-header > i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #37ddd0;
    box-shadow: 0 0 12px rgba(55, 221, 208, 0.84);
  }

  .mobile-lobby-hero {
    position: relative;
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: end;
    min-height: 176px;
    padding: 17px 16px;
    overflow: hidden;
    border: 1px solid rgba(240, 193, 94, 0.88);
    border-radius: 12px 12px 4px 4px;
    color: #fff0be;
    background:
      linear-gradient(90deg, rgba(0, 7, 8, 0.98) 0 34%, rgba(0, 7, 8, 0.42) 74%, rgba(0, 7, 8, 0.78)),
      linear-gradient(0deg, rgba(0, 5, 6, 0.88), transparent 72%),
      url("../assets/generated-art/environment/mars-station-15-campaign-one-v1.png") 62% center / cover no-repeat;
    box-shadow: inset 4px 0 #f0c15e, 0 14px 34px rgba(0, 0, 0, 0.5);
    text-align: left;
  }

  .mobile-lobby-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      repeating-linear-gradient(90deg, transparent 0 41px, rgba(55, 221, 208, 0.055) 42px 43px),
      linear-gradient(135deg, transparent 72%, rgba(240, 193, 94, 0.12));
    pointer-events: none;
  }

  .mobile-lobby-hero__signal {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    border: 1px solid rgba(240, 193, 94, 0.82);
    color: #f0c15e;
    background: rgba(0, 8, 9, 0.72);
    box-shadow: inset 0 0 22px rgba(240, 193, 94, 0.08);
  }

  .mobile-lobby-hero__signal svg {
    width: 42px;
    height: 42px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linejoin: round;
  }

  .mobile-lobby-hero__signal rect {
    fill: currentColor;
    stroke: none;
  }

  .mobile-lobby-hero__copy {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
  }

  .mobile-lobby-hero__copy small {
    color: #37ddd0;
    font-size: 7px;
    letter-spacing: 0.14em;
  }

  .mobile-lobby-hero__copy strong {
    font-size: clamp(22px, 7vw, 30px);
    line-height: 0.95;
    letter-spacing: 0.04em;
  }

  .mobile-lobby-hero__copy > span {
    color: rgba(255, 236, 182, 0.72);
    font: 600 11px/1.25 var(--font-copy);
    text-transform: none;
  }

  .mobile-lobby-hero > b {
    position: absolute;
    z-index: 1;
    top: 15px;
    right: 14px;
    padding: 7px 9px;
    color: #04100f;
    background: #f0c15e;
    font-size: 8px;
    letter-spacing: 0.09em;
  }

  .mobile-home-notice {
    min-height: 16px;
    margin: -6px 3px 0;
    color: rgba(234, 217, 168, 0.55);
    font-size: 9px;
    line-height: 1.35;
    text-transform: none;
  }

  .mobile-companion-programmes {
    display: grid;
    gap: 10px;
    min-width: 0;
  }

  .mobile-companion-programmes > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3px;
  }

  .mobile-companion-programmes > header span {
    display: grid;
    gap: 3px;
  }

  .mobile-companion-programmes > header small {
    color: #37ddd0;
    font-size: 7px;
    letter-spacing: 0.15em;
  }

  .mobile-companion-programmes > header strong {
    color: #ead9a8;
    font-size: 11px;
    letter-spacing: 0.1em;
  }

  .mobile-companion-programmes > header > i {
    color: rgba(224, 183, 88, 0.62);
    font-size: 7px;
    font-style: normal;
    letter-spacing: 0.13em;
  }

  .mobile-companion-programmes__rail {
    display: flex;
    gap: 11px;
    margin: 0 -14px;
    padding: 0 14px 8px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding-inline: 14px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .mobile-companion-programmes__rail::-webkit-scrollbar {
    display: none;
  }

  .mobile-programme-card {
    --programme-accent: #37ddd0;
    position: relative;
    display: grid;
    flex: 0 0 min(72vw, 286px);
    grid-template-rows: 126px minmax(92px, auto);
    min-height: 224px;
    padding: 0;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--programme-accent) 52%, transparent);
    border-radius: 5px;
    color: #ead9a8;
    background: #03100f;
    box-shadow: inset 0 -3px var(--programme-accent), 0 10px 24px rgba(0, 0, 0, 0.36);
    scroll-snap-align: start;
    text-align: left;
  }

  .mobile-programme-card--protocol { --programme-accent: #ef6b4c; }
  .mobile-programme-card--gorodki { --programme-accent: #a7c914; }
  .mobile-programme-card--basecamp { --programme-accent: #37ddd0; }

  .mobile-programme-card__art {
    display: block;
    width: 100%;
    height: 126px;
    border-bottom: 1px solid color-mix(in srgb, var(--programme-accent) 45%, transparent);
    background-position: center;
    background-size: cover;
    filter: saturate(0.9) contrast(1.05);
  }

  .mobile-programme-card__art::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 9, 9, 0.88), transparent 72%);
  }

  .mobile-programme-card--protocol .mobile-programme-card__art {
    background-image: url("../assets/generated-art/ui/dossier-duel/card-table-render-v1.jpg");
  }

  .mobile-programme-card--gorodki .mobile-programme-card__art {
    background-image: url("../assets/generated-art/environment/martian-city-menu-arcade-v2.webp");
  }

  .mobile-programme-card--basecamp .mobile-programme-card__art {
    background-image: url("../assets/generated-art/ui/basecamp-v2/mars-station.png");
  }

  .mobile-programme-card__copy {
    display: grid;
    align-content: start;
    gap: 5px;
    padding: 12px 13px 28px;
  }

  .mobile-programme-card__copy small {
    color: var(--programme-accent);
    font-size: 7px;
    letter-spacing: 0.13em;
  }

  .mobile-programme-card__copy strong {
    font-size: 14px;
    line-height: 1.05;
    letter-spacing: 0.055em;
  }

  .mobile-programme-card__copy > span {
    color: rgba(234, 217, 168, 0.62);
    font: 600 10px/1.3 var(--font-copy);
    text-transform: none;
  }

  .mobile-programme-card > i {
    position: absolute;
    right: 12px;
    bottom: 10px;
    color: var(--programme-accent);
    font-size: 8px;
    font-style: normal;
    letter-spacing: 0.1em;
  }

  .mobile-companion-dock {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr);
    gap: 8px;
  }

  .mobile-companion-dock button {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 62px;
    padding: 9px 10px;
    border: 1px solid rgba(55, 221, 208, 0.25);
    color: #ead9a8;
    background: linear-gradient(115deg, rgba(55, 221, 208, 0.08), transparent 70%), rgba(1, 10, 10, 0.88);
    text-align: left;
  }

  .mobile-companion-dock svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: #37ddd0;
    stroke-width: 1.5;
    stroke-linecap: round;
  }

  .mobile-companion-dock button > span {
    display: grid;
    gap: 4px;
    min-width: 0;
  }

  .mobile-companion-dock small {
    color: rgba(55, 221, 208, 0.72);
    font-size: 6px;
    letter-spacing: 0.12em;
  }

  .mobile-companion-dock strong {
    overflow: hidden;
    font-size: clamp(8px, 2.5vw, 11px);
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-overflow: ellipsis;
  }

  .mobile-home-audio {
    display: none;
  }

  .mobile-home-menu__status {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 24px;
    margin-top: auto;
    padding: 7px 3px 0;
    border-top: 1px solid rgba(55, 221, 208, 0.13);
    color: #37ddd0;
    font-size: 7px;
    letter-spacing: 0.13em;
  }

  .mobile-home-menu__status small {
    color: rgba(224, 183, 88, 0.62);
    font-size: 7px;
  }

  :is(.mobile-lobby-hero, .mobile-programme-card, .mobile-companion-dock button):focus-visible {
    outline: 2px solid #fff0be;
    outline-offset: 2px;
  }

  :is(.mobile-lobby-hero, .mobile-programme-card, .mobile-companion-dock button):active {
    transform: translateY(1px);
    filter: brightness(1.12);
  }

  .mobile-account-panel:not([hidden]) {
    position: fixed;
    z-index: 500;
    inset: 0;
    display: block;
    overflow-y: auto;
    color: #ead9a8;
    background:
      radial-gradient(circle at 75% 0, rgba(55, 221, 208, 0.14), transparent 32%),
      linear-gradient(180deg, rgba(0, 9, 10, 0.98), #000 76%);
  }

  .mobile-account-panel__sheet {
    display: flex;
    flex-direction: column;
    width: min(100%, 520px);
    min-height: 100svh;
    margin: 0 auto;
    padding: max(12px, var(--safe-top)) 16px max(18px, var(--safe-bottom));
  }

  .mobile-account-panel__sheet > header {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) 8px;
    gap: 12px;
    align-items: center;
    min-height: 64px;
    border-bottom: 1px solid rgba(224, 183, 88, 0.45);
  }

  .mobile-account-panel__sheet > header button {
    min-height: 44px;
    border: 1px solid rgba(55, 221, 208, 0.36);
    color: #37ddd0;
    background: rgba(55, 221, 208, 0.04);
    font: 600 8px/1 var(--font-label);
    letter-spacing: 0.1em;
  }

  .mobile-account-panel__sheet > header span {
    display: grid;
    gap: 4px;
  }

  .mobile-account-panel__sheet > header small {
    color: #37ddd0;
    font: 600 7px/1 var(--font-label);
    letter-spacing: 0.14em;
  }

  .mobile-account-panel__sheet > header strong {
    font: 400 16px/1 var(--font-label);
    letter-spacing: 0.09em;
  }

  .mobile-account-panel__sheet > header i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #37ddd0;
    box-shadow: 0 0 10px rgba(55, 221, 208, 0.8);
  }

  .mobile-account-panel__body {
    display: grid;
    gap: 18px;
    padding: 24px 0 12px;
  }

  .mobile-account-panel__body[hidden] {
    display: none;
  }

  .mobile-account-panel__body > p {
    margin: 0;
    color: rgba(234, 217, 168, 0.68);
    font-size: 12px;
    line-height: 1.5;
    text-transform: none;
  }

  .mobile-account-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .mobile-account-tabs button {
    min-height: 46px;
    border: 1px solid rgba(55, 221, 208, 0.25);
    color: rgba(234, 217, 168, 0.66);
    background: rgba(2, 12, 12, 0.86);
    font: 600 9px/1 var(--font-label);
    letter-spacing: 0.08em;
  }

  .mobile-account-tabs button.is-active {
    border-color: #37ddd0;
    color: #03100f;
    background: #37ddd0;
  }

  .mobile-account-form {
    display: grid;
    gap: 14px;
  }

  .mobile-account-form[hidden] {
    display: none;
  }

  .mobile-account-form label {
    display: grid;
    gap: 7px;
  }

  .mobile-account-form label > span {
    color: #37ddd0;
    font: 600 8px/1 var(--font-label);
    letter-spacing: 0.12em;
  }

  .mobile-account-form input {
    width: 100%;
    min-height: 48px;
    padding: 0 12px;
    border: 1px solid rgba(224, 183, 88, 0.35);
    border-radius: 0;
    color: #fff0be;
    background: rgba(0, 5, 6, 0.92);
    font: 600 16px/1 var(--font-copy);
    text-transform: none;
    user-select: text;
  }

  .mobile-account-form input:focus {
    border-color: #37ddd0;
    outline: 1px solid #37ddd0;
  }

  .mobile-account-form__submit,
  .mobile-account-form__text {
    min-height: 48px;
    border: 1px solid rgba(55, 221, 208, 0.45);
    color: #04100f;
    background: #37ddd0;
    font: 600 10px/1.2 var(--font-label);
    letter-spacing: 0.08em;
  }

  .mobile-account-form__text {
    color: rgba(234, 217, 168, 0.72);
    background: transparent;
  }

  .mobile-account-form__submit:disabled,
  .mobile-account-form__text:disabled {
    opacity: 0.45;
  }

  .mobile-account-identity {
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(224, 183, 88, 0.42);
    background: linear-gradient(115deg, rgba(224, 183, 88, 0.09), transparent 70%);
  }

  .mobile-account-identity > span {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border: 1px solid #f0c15e;
    color: #f0c15e;
    font-size: 25px;
  }

  .mobile-account-identity p {
    display: grid;
    gap: 5px;
    min-width: 0;
    margin: 0;
  }

  .mobile-account-identity small {
    color: #37ddd0;
    font: 600 7px/1 var(--font-label);
    letter-spacing: 0.13em;
  }

  .mobile-account-identity strong {
    overflow: hidden;
    font: 400 18px/1.15 var(--font-label);
    letter-spacing: 0.06em;
    text-overflow: ellipsis;
  }

  .mobile-account-identity p > span {
    overflow: hidden;
    color: rgba(234, 217, 168, 0.58);
    font-size: 10px;
    text-overflow: ellipsis;
    text-transform: none;
  }

  .mobile-account-sync-summary {
    display: grid;
    gap: 8px;
    margin: 0;
  }

  .mobile-account-sync-summary div {
    display: grid;
    gap: 5px;
    padding: 12px;
    border: 1px solid rgba(55, 221, 208, 0.18);
    background: rgba(3, 12, 12, 0.72);
  }

  .mobile-account-sync-summary dt {
    color: #37ddd0;
    font: 600 7px/1 var(--font-label);
    letter-spacing: 0.13em;
  }

  .mobile-account-sync-summary dd {
    margin: 0;
    color: #ead9a8;
    font: 600 10px/1.3 var(--font-label);
    letter-spacing: 0.05em;
  }

  .mobile-account-status {
    min-height: 18px;
    margin: auto 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(55, 221, 208, 0.12);
    color: rgba(234, 217, 168, 0.66);
    font-size: 10px;
    line-height: 1.4;
    text-transform: none;
  }

  @media (min-width: 560px) {
    #mobile-home-menu {
      max-width: 540px;
    }

    .mobile-programme-card {
      flex-basis: 300px;
    }
  }

  .mobile-program-header {
    position: sticky;
    z-index: 40;
    top: 0;
    display: grid;
    grid-template-columns: 68px minmax(0, 1fr) 10px;
    gap: 10px;
    align-items: center;
    min-height: 58px;
    padding: max(8px, var(--safe-top)) 12px 8px;
    border-bottom: 1px solid rgba(224, 183, 88, 0.5);
    background: rgba(0, 4, 4, 0.98);
  }

  #relaxation-screen .relaxation-header {
    display: none;
  }

  #relaxation-screen .gorodki-shell-menu {
    display: none;
  }

  .mobile-program-header button {
    min-height: 44px;
    border: 1px solid rgba(224, 183, 88, 0.46);
    color: #ead9a8;
    background: transparent;
    font-family: var(--font-label);
    font-size: 9px;
    letter-spacing: 0.1em;
  }

  .mobile-program-header span {
    display: grid;
    gap: 3px;
    min-width: 0;
  }

  .mobile-program-header small {
    color: #37ddd0;
    font-family: var(--font-label);
    font-size: 7px;
    letter-spacing: 0.13em;
  }

  .mobile-program-header strong {
    overflow: hidden;
    color: #ead9a8;
    font-family: var(--font-label);
    font-size: 12px;
    letter-spacing: 0.07em;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .mobile-program-header i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #37ddd0;
    box-shadow: 0 0 8px rgba(55, 221, 208, 0.72);
  }
}
