:root {
  color-scheme: dark;
  --bg: #080c18;
  --panel: #0d1523;
  --cyan: #efc36d;
  --violet: #c8a4eb;
  --text: #eef3ff;
  --muted: #91a3bd;
  --line: #243449;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font:
    13px/1.6 'Sora',
    sans-serif;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
  color: inherit;
  border: 1px solid var(--line);
  background: #111e30;
  border-radius: 9px;
  padding: 10px 14px;
  transition:
    background 0.18s,
    border-color 0.18s;
}
button:hover {
  background: #1a3044;
  border-color: #4b697b;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
a {
  color: var(--cyan);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}
[hidden] {
  display: none !important;
}
.world-header {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  padding: 0 27px;
  gap: 24px;
  background: #080d18;
  position: relative;
  z-index: 20;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  min-width: 213px;
  font:
    600 26px 'Space Grotesk',
    sans-serif;
  letter-spacing: 4px;
}
.wordmark:hover {
  text-decoration: none;
}
.wordmark small {
  display: block;
  font:
    8px 'Sora',
    sans-serif;
  letter-spacing: 2px;
  color: #779cb1;
  margin-top: 5px;
}
.world-header nav {
  display: flex;
  height: 100%;
  gap: 22px;
}
.world-header nav button {
  border: 0;
  border-radius: 0;
  background: none;
  padding: 0 7px;
  position: relative;
  color: #9eadc4;
}
.world-header nav button.active {
  color: var(--cyan);
}
.world-header nav button.active:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 5px;
  right: 5px;
  height: 2px;
  background: var(--cyan);
  box-shadow: 0 0 15px #efc36d;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 11px;
  white-space: nowrap;
}
.icon-button {
  border: 0;
  background: none;
  font-size: 21px;
  padding: 6px;
}
.avatar-button {
  border-radius: 50%;
  border-color: #466674;
  color: var(--cyan);
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 23px;
}
#world-shell {
  display: flex;
  height: calc(100dvh - 76px);
  min-height: 430px;
}
#sidebar {
  width: 238px;
  flex-shrink: 0;
  padding: 28px 19px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: linear-gradient(170deg, #0c1522, #080d17);
  border-right: 1px solid var(--line);
  z-index: 15;
  overflow: auto;
}
.rail-heading {
  font-size: 9px;
  letter-spacing: 1.9px;
  color: #7199b0;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#rail-close {
  display: none;
}
#company-shortcuts {
  display: grid;
  gap: 5px;
}
.company-shortcut {
  display: flex;
  align-items: center;
  text-align: left;
  gap: 12px;
  padding: 11px 7px;
  border: 0;
  background: none;
  width: 100%;
  border-radius: 6px;
  font-size: 11px;
}
.company-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: linear-gradient(130deg, #305273, #352152);
  display: grid;
  place-items: center;
  color: #bfeaff;
  font: 600 15px 'Space Grotesk';
}
.company-shortcut .arrow {
  margin-left: auto;
  color: #5a758b;
}
.add-link {
  color: var(--cyan);
  background: none;
  font-size: 10px;
  margin-top: 10px;
  padding: 9px;
}
.rail-rule {
  height: 1px;
  background: var(--line);
  margin: 20px 0;
}
#destinations {
  display: grid;
  gap: 7px;
}
#destinations button {
  border-color: transparent;
  background: #101b2b;
  text-align: left;
  font-size: 10px;
  padding: 10px 12px;
}
#destinations button span {
  color: var(--cyan);
  margin-right: 10px;
}
.rail-bottom {
  margin-top: auto;
  padding-top: 28px;
  display: grid;
  gap: 12px;
}
.rail-bottom a {
  font-size: 10px;
  color: #7a90aa;
  padding-left: 8px;
}
.rail-bottom button {
  font-size: 11px;
  text-align: left;
  background: transparent;
}
#viewport {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  background: radial-gradient(ellipse at 60% 15%, #374769, #101b31 60%);
}
#scene,
#labels,
.scene-vignette {
  position: absolute;
  inset: 0;
}
#scene canvas {
  width: 100%;
  height: 100%;
  display: block;
  touch-action: none;
}
.scene-vignette {
  pointer-events: none;
  background: linear-gradient(
    0deg,
    #050916ad,
    transparent 35%,
    transparent 70%,
    #07112170
  );
  z-index: 2;
}
#labels {
  pointer-events: none;
  z-index: 3;
}
.agent-label {
  position: absolute;
  transform: translate(-50%, -100%);
  background: #06101ddc;
  border: 1px solid #43828c;
  border-radius: 5px;
  color: #dceeff;
  padding: 3px 8px;
  white-space: nowrap;
  font-size: 9px;
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.world-top {
  position: absolute;
  left: 26px;
  right: 26px;
  top: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 4;
}
.glass {
  background: #0a1423df;
  border: 1px solid #526d8447;
  box-shadow: 0 8px 35px #02071126;
  backdrop-filter: blur(14px);
  border-radius: 12px;
}
.location {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 15px;
  min-width: 173px;
}
.location strong {
  font-size: 11px;
  font-weight: 500;
}
.location small {
  display: block;
  font-size: 8px;
  color: #90a8bd;
}
.live-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #70e6cb;
  border-radius: 50%;
  box-shadow: 0 0 10px #70e6cb80;
  flex-shrink: 0;
}
.search-button {
  padding: 13px 18px;
  color: #aebbd0;
  font-size: 10px;
  display: flex;
  gap: 14px;
  align-items: center;
  flex: 1;
  max-width: 370px;
  text-align: left;
}
.search-button > span {
  font-size: 22px;
  line-height: 1;
  color: var(--cyan);
}
.search-button kbd {
  margin-left: auto;
}
.map-button {
  margin-left: auto;
  font-size: 20px;
  padding: 8px 14px;
}
.map-button span {
  font-size: 10px;
  margin-left: 7px;
}
.district-title {
  position: absolute;
  top: 112px;
  left: 32px;
  pointer-events: none;
  z-index: 3;
  text-shadow: 0 2px 20px #081629;
}
.district-title > span {
  font-size: 8px;
  letter-spacing: 2.8px;
  color: #b4dcf3;
}
.district-title h1 {
  font:
    500 clamp(26px, 3.5vw, 48px)/1.1 'Space Grotesk',
    sans-serif;
  letter-spacing: -1.5px;
  margin: 9px 0;
}
.district-title p {
  font-size: 11px;
  color: #c9d9ec;
  margin: 0;
}
.feed {
  position: absolute;
  bottom: 88px;
  left: 26px;
  width: 280px;
  padding: 14px 16px;
  z-index: 4;
}
.feed-heading {
  font-size: 8px;
  letter-spacing: 1.6px;
  display: flex;
  gap: 9px;
  align-items: center;
  color: #a2c7d8;
}
.feed-heading button {
  margin-left: auto;
  border: 0;
  background: none;
  padding: 0;
  font-size: 17px;
}
.feed-item {
  padding: 8px 0;
  border-bottom: 1px solid #36495e55;
  font-size: 9px;
  display: flex;
  gap: 8px;
  align-items: center;
}
.feed-item span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}
.feed-item time {
  font-size: 8px;
  color: #8096ad;
}
.feed-caption {
  display: block;
  color: #7a8ea6;
  font-size: 8px;
  margin-top: 9px;
}
.world-bottom {
  position: absolute;
  bottom: 23px;
  left: 26px;
  right: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  z-index: 4;
}
.world-bottom button {
  font-size: 10px;
}
.movement-hint {
  font-size: 9px;
  padding: 11px 18px;
  color: #b3c5da;
  display: flex;
  gap: 12px;
  align-items: center;
}
kbd {
  font:
    9px 'Sora',
    sans-serif;
  border: 1px solid #58728755;
  border-radius: 4px;
  padding: 1px 5px;
  color: #c3ebf5;
}
.context {
  position: absolute;
  bottom: 88px;
  right: 26px;
  width: 235px;
  padding: 19px;
  z-index: 4;
}
.eyebrow {
  font-size: 8px;
  letter-spacing: 2px;
  color: var(--cyan);
  font-weight: 500;
}
.context h2 {
  font: 500 20px 'Space Grotesk';
  margin: 7px 0;
}
.context p {
  font-size: 10px;
  color: var(--muted);
  margin-bottom: 14px;
}
.primary {
  background: #efc36d;
  border-color: #efc36d;
  color: #061320;
  font-weight: 600;
}
.primary:hover {
  background: #ffe2a2;
  border-color: #ffe2a2;
}
.primary kbd {
  color: inherit;
  margin-left: 15px;
  border-color: #20445140;
}
.context button {
  width: 100%;
  font-size: 11px;
}
.welcome {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -45%);
  width: 370px;
  padding: 34px;
  z-index: 8;
  background: linear-gradient(145deg, #122038f5, #0b1023ee);
  box-shadow: 0 20px 100px #020410a8;
  border-color: #658daf66;
}
.welcome h2 {
  font: 500 36px/1.15 'Space Grotesk';
  letter-spacing: -1px;
  margin: 16px 0;
}
.welcome p {
  font-size: 12px;
  color: #acbdd1;
  line-height: 1.9;
  margin-bottom: 24px;
}
.welcome .primary {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.text-button {
  display: block;
  border: 0;
  background: none;
  color: #aec3d8;
  padding: 12px 0;
  font-size: 10px;
  width: 100%;
}
.welcome small {
  display: block;
  font-size: 8px;
  color: #7e91aa;
  text-align: center;
}
.loading {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  background: #0a1220;
  z-index: 10;
}
.loading h1 {
  font: 400 25px 'Space Grotesk';
}
.loading p {
  color: var(--muted);
  font-size: 11px;
}
.loading-orbit {
  font-size: 55px;
  color: var(--cyan);
}
#rail-toggle,
#touch-pad {
  display: none;
}
dialog {
  padding: 0;
  background: #0b1322;
  color: var(--text);
  border: 1px solid #344c68;
  border-radius: 18px;
  width: min(680px, calc(100vw - 30px));
  max-height: 85dvh;
  box-shadow: 0 25px 120px #0009;
}
dialog::backdrop {
  background: #0307149c;
  backdrop-filter: blur(7px);
}
dialog > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px 19px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  background: #0b1322;
  z-index: 2;
}
dialog h2 {
  font: 500 28px 'Space Grotesk';
  margin: 5px 0 0;
}
dialog > header button {
  font-size: 24px;
  border: 0;
  background: none;
  padding: 0 8px;
}
#panel-body {
  padding: 24px 28px;
}
.muted {
  color: var(--muted);
  font-size: 12px;
}
.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.card {
  background: #111e30;
  border: 1px solid #26394f;
  border-radius: 12px;
  padding: 17px;
  min-width: 0;
}
.card h3 {
  font: 500 18px 'Space Grotesk';
  margin: 0 0 7px;
}
.card p {
  color: #94aac2;
  font-size: 11px;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.card small {
  color: #8597ae;
  font-size: 9px;
}
.card .actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 13px;
}
.card button,
.card a.button {
  font-size: 10px;
  padding: 8px 11px;
}
.button {
  display: inline-block;
  border: 1px solid #35556b;
  border-radius: 8px;
  padding: 9px 13px;
  background: #17293e;
}
.stack {
  display: grid;
  gap: 13px;
}
.tag {
  display: inline-block;
  padding: 2px 7px;
  background: #23364f;
  border-radius: 4px;
  color: #a9c6e0;
  font-size: 8px;
  margin-bottom: 9px;
}
.tag.live {
  color: #7cf4d5;
}
.notice {
  padding: 12px 15px;
  border: 1px solid #365065;
  background: #122339;
  border-radius: 8px;
  color: #b3cbdc;
  font-size: 11px;
  margin: 0 0 18px;
}
.form-row {
  display: grid;
  gap: 7px;
  margin: 14px 0;
}
label {
  font-size: 11px;
  color: #b4c9de;
}
input,
textarea,
select {
  width: 100%;
  color: var(--text);
  background: #080f1d;
  border: 1px solid #344760;
  border-radius: 8px;
  padding: 11px 12px;
}
textarea {
  resize: vertical;
  min-height: 94px;
}
.tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.tabs button {
  font-size: 10px;
}
.empty {
  padding: 25px;
  text-align: center;
  border: 1px dashed #344760;
  border-radius: 10px;
  color: #92a7c2;
}
.setting {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  gap: 24px;
}
.setting span {
  display: block;
  color: var(--muted);
  font-size: 10px;
}
.setting select {
  width: 150px;
}
.setting input[type='checkbox'] {
  width: 20px;
  height: 20px;
  accent-color: var(--cyan);
}
.setting input[type='color'] {
  width: 56px;
  height: 34px;
  padding: 3px;
  flex: 0 0 auto;
}
#toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  padding: 14px 23px;
  border-radius: 10px;
  background: #1c3549;
  border: 1px solid #4d8094;
  box-shadow: 0 10px 40px #0008;
  z-index: 100;
  font-size: 12px;
}
.map-grid {
  position: relative;
  height: 320px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(
      90deg,
      transparent 49%,
      #253f53 49%,
      #253f53 51%,
      transparent 51%
    ),
    linear-gradient(0deg, #132136, #0b1424);
  overflow: hidden;
}
.map-grid button {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 10px;
  background: #163044;
  border-color: #46768a;
}
.map-grid button:hover {
  background: #28566a;
}
#touch-pad {
  position: absolute;
  bottom: 78px;
  left: 20px;
  z-index: 5;
  text-align: center;
}
#touch-pad button {
  padding: 10px 17px;
  background: #0c1b2ac9;
  touch-action: none;
  user-select: none;
  margin: 2px;
  font-size: 20px;
}
.mobile-controls #touch-pad {
  display: block;
}
.mobile-controls .movement-hint {
  display: none;
}
.mobile-controls .feed {
  display: none;
}
body.directory-mode #scene,
body.directory-mode #labels {
  display: none;
}
body.directory-mode #viewport {
  background: radial-gradient(ellipse at center, #1a324a, #091426);
}
@media (min-width: 1500px) {
  #sidebar {
    width: 265px;
    padding: 32px 24px;
  }
  .world-header {
    padding: 0 32px;
  }
  .feed {
    width: 310px;
  }
  .context {
    width: 270px;
  }
}
@media (max-width: 1100px) {
  #sidebar {
    width: 195px;
    padding: 22px 14px;
  }
  .wordmark {
    min-width: 170px;
    font-size: 22px;
  }
  .world-header {
    gap: 12px;
    padding: 0 18px;
  }
  .world-header nav {
    gap: 11px;
  }
  .header-right {
    gap: 10px;
  }
  .search-button {
    max-width: 280px;
  }
  .location {
    min-width: 0;
  }
  .feed {
    width: 235px;
  }
  .context {
    width: 200px;
  }
  .district-title p {
    display: none;
  }
}
@media (max-width: 850px) {
  #sidebar {
    position: absolute;
    left: 0;
    top: 65px;
    bottom: 0;
    transform: translateX(-100%);
    width: 250px;
    transition: transform 0.2s;
  }
  body.rail-open #sidebar {
    transform: translateX(0);
  }
  #rail-close,
  #rail-toggle {
    display: block;
  }
  #rail-close {
    padding: 0 6px;
    background: none;
    border: 0;
    font-size: 20px;
  }
  .world-header {
    height: 65px;
    padding: 0 14px;
  }
  .wordmark {
    min-width: 0;
    font-size: 21px;
    letter-spacing: 2px;
  }
  .wordmark small {
    font-size: 6px;
    letter-spacing: 1px;
  }
  .wordmark img {
    width: 27px;
  }
  .world-header nav {
    gap: 4px;
  }
  .world-header nav button {
    font-size: 11px;
  }
  .header-right #balance {
    display: none;
  }
  #world-shell {
    height: calc(100dvh - 65px);
  }
  .world-top {
    left: 16px;
    right: 16px;
    top: 17px;
    gap: 8px;
  }
  .search-button {
    max-width: none;
  }
  .district-title {
    left: 22px;
    top: 97px;
  }
  .feed {
    left: 16px;
  }
  .context {
    right: 16px;
  }
  .world-bottom {
    left: 16px;
    right: 16px;
  }
}
@media (max-width: 600px) {
  .world-header nav {
    display: none;
  }
  .header-right {
    margin-left: auto;
  }
  .world-top .search-button {
    font-size: 0;
    width: 42px;
    max-width: 42px;
    flex: none;
    padding: 9px;
  }
  .search-button kbd {
    display: none;
  }
  .location {
    flex: 1;
    padding: 8px 10px;
  }
  .location strong {
    font-size: 10px;
  }
  .location small {
    font-size: 7px;
  }
  .map-button {
    padding: 5px 12px;
  }
  .map-button span {
    display: none;
  }
  .district-title {
    top: 95px;
  }
  .district-title h1 {
    font-size: 29px;
  }
  .district-title > span {
    font-size: 7px;
  }
  .welcome {
    width: calc(100% - 40px);
    max-width: 360px;
    padding: 26px;
    top: 49%;
  }
  .welcome h2 {
    font-size: 32px;
  }
  .feed {
    display: none;
  }
  .context {
    width: 170px;
    bottom: 90px;
    padding: 13px;
  }
  .context h2 {
    font-size: 17px;
  }
  .context p {
    font-size: 9px;
  }
  .world-bottom {
    justify-content: flex-end;
  }
  .movement-hint {
    font-size: 8px;
    gap: 5px;
    padding: 9px;
  }
  .movement-hint kbd {
    font-size: 7px;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  dialog > header,
  #panel-body {
    padding: 20px;
  }
  dialog h2 {
    font-size: 24px;
  }
  #touch-pad {
    left: 12px;
  }
  #touch-pad button {
    padding: 9px 14px;
  }
  .setting {
    gap: 10px;
  }
  .setting select {
    width: 125px;
  }
  .map-grid button {
    font-size: 8px;
    padding: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* Keep the district itself prominent, with compact controls around its edges. */
@media (min-width: 851px) {
  .world-header { height: 64px; padding: 0 22px; }
  #world-shell { height: calc(100dvh - 64px); }
  #sidebar { width: 205px; padding: 23px 15px 16px; }
  .wordmark { min-width: 180px; font-size: 24px; }
  .wordmark small { display: none; }
  .company-shortcut { padding: 9px 5px; }
  .rail-rule { margin: 14px 0; }
  .feed { bottom: 78px; width: 245px; }
  .context { bottom: 78px; }
}
.scene-vignette { background: linear-gradient(0deg, #111b3b44, transparent 24%); }
.world-header { background: #172135; }
#sidebar { background: linear-gradient(150deg, #222e43, #152031); }
.glass { background: #18263dde; }

/* The playable district shares the landing page's gold and navy identity. */
.world-header{background:#070f18}.wordmark{color:#f2c872;letter-spacing:2px}.wordmark img{object-fit:contain;width:43px;height:40px}.wordmark small{color:#c2b293}#sidebar{background:linear-gradient(160deg,#101b28,#08111c)}.glass{background:#0b1624e6;border-color:#a08c633f}.company-icon{background:linear-gradient(135deg,#6b5735,#2a2c3c);color:#ffe0a3}.agent-label{border-color:#95815d;background:#0a1420db}.context .primary{background:linear-gradient(120deg,#ce9946,#ffdc83)}.wallet-link{font-size:11px}.welcome{background:linear-gradient(135deg,#152333f5,#0c1422f5)}
/* District purpose and a persistent, collapsible guide. No SVG or icon library. */
.district-strip{position:absolute;top:94px;left:24px;max-width:580px;padding:12px 16px;z-index:3}.district-strip strong{font-size:11px;color:#e3c994}.district-strip p{font-size:12px;line-height:1.5;max-width:520px;margin:5px 0 10px}.district-strip .actions{gap:6px}.district-strip button{padding:7px 10px;font-size:10px}.cixy-guide{position:absolute;right:20px;bottom:82px;width:288px;z-index:5;overflow:hidden;border-color:#8c72484f}#guide-toggle{border:0;background:transparent;width:100%;display:flex;align-items:center;text-align:left;gap:10px;padding:12px}#guide-toggle img{border-radius:50%;object-fit:cover;object-position:60% 30%;border:1px solid #d6b16c}#guide-toggle span:nth-child(2){flex:1}#guide-toggle strong{display:block;font-size:14px;color:#f1d496}#guide-toggle small{display:block;font-size:9px;color:#b2bccc;margin-top:3px}#guide-content{padding:0 14px 14px}#guide-progress{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#d5b775}#guide-copy{font-size:12px;line-height:1.6;margin:8px 0 12px}#guide-content>button{padding:8px 9px;font-size:10px;margin:0 5px 5px 0}#guide-command{border-top:1px solid #ffffff12;margin-top:10px;padding-top:10px}#guide-command label{font-size:10px;display:block;margin-bottom:7px}#guide-command>div{display:flex;gap:6px}#guide-command select{min-width:0;flex:1;background:#172438;border:1px solid #526071;border-radius:7px;color:#fff;font:11px inherit;padding:7px}#guide-command button{padding:7px;font-size:10px}.guide-links{display:flex;justify-content:space-between;gap:6px;margin-top:9px}.guide-links button{font-size:9px;padding:5px;border:0;color:#d5be91;background:none}#context{right:325px;max-width:235px}.company-shortcut.active,#destinations .active{border-color:#c9a868;background:#5c492f66}.business-home-form{border-top:1px solid #ffffff1c;margin-top:12px;padding-top:10px}#scene{cursor:crosshair}#scene:active{cursor:grabbing}.world-bottom{pointer-events:none}.world-bottom button{pointer-events:auto}.directory-mode .district-strip,.directory-mode .cixy-guide{display:none}
@media(max-width:1050px){.cixy-guide{width:250px;right:14px}.district-strip{max-width:460px}.feed{max-width:255px}#context{right:280px;max-width:200px}}
@media(max-width:700px){.district-strip{left:12px;right:12px;top:79px;max-width:none;padding:9px 11px}.district-strip p{display:none}.district-strip .actions{margin-top:6px}.district-strip strong{font-size:10px}.district-strip button{font-size:9px;padding:6px 8px}.cixy-guide{width:min(275px,calc(100% - 24px));right:12px;bottom:65px}#guide-content{max-height:36dvh;overflow:auto}.cixy-guide #guide-toggle{padding:8px 10px}#context{display:none}.world-bottom .movement-hint{display:none}.feed{display:none}#guide-content>button{font-size:10px}#destinations{padding-bottom:8px}}
.network-fold{margin:0 14px;color:#b6c4d4}.network-fold summary{cursor:pointer;font-size:11px;padding:12px 0}.network-fold #company-shortcuts{padding:0}.network-fold .add-link{margin:8px 0;width:100%}.rail-bottom{padding-top:14px}#destinations button{min-height:43px}.map-grid button{min-width:120px}

/* Transparent Apixis Family Company world mark */
.wordmark img.family-logo { display:block; width:clamp(120px, 14vw, 160px); height:auto; max-height:52px; object-fit:contain; }
@media(max-width:700px) { .wordmark img.family-logo { width:clamp(108px, 34vw, 136px); max-height:46px; } }
