/*
  NODE ZERO web project page
  Web translation of the current NEXUS UI Toolkit visual language.

  Primary references:
  - NexusShared.uss
  - ClientBoot.uss
  - AccessGateway.uss
  - Dashboard.uss
  - Proof.uss
*/

:root {
  --nexus-root: rgb(4, 8, 6);
  --nexus-field: rgb(3, 7, 5);
  --nexus-dashboard: rgb(5, 9, 7);
  --nexus-footer: rgb(5, 10, 7);
  --nexus-chrome: rgb(7, 14, 10);
  --nexus-sidebar: rgb(7, 13, 10);
  --nexus-panel: rgb(8, 17, 12);
  --nexus-panel-hover: rgb(11, 24, 16);
  --nexus-button: rgb(12, 29, 19);
  --nexus-button-hover: rgb(17, 39, 25);

  --nexus-border-dim: rgb(18, 39, 26);
  --nexus-border: rgb(25, 53, 35);
  --nexus-border-bright: rgb(34, 66, 46);
  --nexus-border-hover: rgb(58, 104, 73);

  --nexus-green: rgb(105, 255, 166);
  --nexus-green-hover: rgb(145, 255, 190);
  --nexus-title: rgb(183, 230, 199);
  --nexus-panel-title: rgb(141, 195, 160);
  --nexus-value: rgb(171, 226, 190);
  --nexus-copy-strong: rgb(151, 204, 170);
  --nexus-copy: rgb(127, 172, 143);
  --nexus-copy-soft: rgb(118, 167, 136);
  --nexus-muted: rgb(66, 115, 84);
  --nexus-muted-2: rgb(54, 95, 68);

  --nexus-warning: rgb(215, 169, 65);
  --nexus-warning-bg: rgb(34, 28, 11);
  --nexus-warning-border: rgb(104, 82, 33);

  --nexus-font: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--nexus-root);
}

body {
  margin: 0;
}

.nz-body {
  min-width: 0;
  overflow-x: hidden;
  background:
    linear-gradient(rgba(105, 255, 166, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 255, 166, 0.015) 1px, transparent 1px),
    var(--nexus-root);
  background-size: 38px 38px;
  color: var(--nexus-copy);
  font-family: var(--nexus-font);
  font-size: 13px;
  line-height: 1.55;
}

.nz-body a {
  color: inherit;
  text-decoration: none;
}

.nz-body ::selection {
  color: rgb(205, 242, 218);
  background: rgba(79, 176, 112, 0.32);
}

/* ============================================================
   CLIENT BOOTSTRAP
   ============================================================ */

.bootstrap-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  overflow: hidden;
  background: rgba(2, 5, 3, 1);
  transition: opacity 0.22s ease-out, visibility 0.22s ease-out;
}

.bootstrap-overlay.bootstrap-complete {
  opacity: 0;
  visibility: hidden;
}

.bootstrap-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.36s ease-out, transform 0.36s ease-out;
}

.bootstrap-stage-visible {
  opacity: 1;
  transform: translateY(0);
}

.bootstrap-stage-studio {
  text-align: center;
}

.bootstrap-studio-mark {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  object-fit: contain;
}

.bootstrap-stage-studio strong {
  display: block;
  margin-bottom: 8px;
  color: var(--nexus-copy-strong);
  font-size: 23px;
  letter-spacing: 2px;
}

.bootstrap-stage-studio span {
  color: rgb(55, 97, 70);
  font-size: 9px;
  letter-spacing: 1px;
}

.bootstrap-stage-client {
  place-items: start;
}

.bootstrap-client-content {
  width: min(620px, calc(100% - 48px));
  margin-left: clamp(24px, 7vw, 86px);
  margin-top: clamp(82px, 10vw, 110px);
}

.bootstrap-client-content > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--nexus-green);
  font-size: 24px;
}

.bootstrap-client-content > span {
  display: block;
  margin-bottom: 22px;
  color: var(--nexus-muted);
  font-size: 10px;
}

.bootstrap-rule {
  width: min(560px, 100%);
  height: 1px;
  margin-bottom: 28px;
  background: var(--nexus-border);
}

.bootstrap-client-content pre {
  min-height: 160px;
  margin: 0;
  color: rgb(128, 177, 146);
  font: 13px/1.8 var(--nexus-font);
  white-space: pre-wrap;
}

.bootstrap-client-content b {
  display: block;
  margin-top: 22px;
  color: var(--nexus-green);
  font-size: 13px;
}

/* ============================================================
   ACCESS GATEWAY
   ============================================================ */

.access-gateway {
  min-height: 100svh;
  display: grid;
  grid-template-rows: 76px minmax(0, 1fr) 48px;
  background: rgba(4, 8, 6, 0.74);
  border-bottom: 1px solid var(--nexus-border-bright);
}

.start-header {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 30px;
  background: var(--nexus-chrome);
  border-bottom: 1px solid var(--nexus-border-bright);
}

.start-header-brand {
  min-width: 0;
  display: flex;
  align-items: center;
}

.start-brand-mark {
  width: 11px;
  height: 32px;
  flex: 0 0 11px;
  margin-right: 14px;
  background: var(--nexus-green);
}

.start-brand-copy {
  min-width: 0;
}

.start-brand-copy strong,
.start-brand-copy small {
  display: block;
}

.start-brand-copy strong {
  margin-bottom: 2px;
  color: rgb(153, 211, 173);
  font-size: 14px;
}

.start-brand-copy small {
  color: rgb(82, 150, 109);
  font-size: 10px;
}

.start-header-meta {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 10px;
}

.start-header-meta span {
  color: var(--nexus-muted);
}

.start-header-meta strong {
  color: rgb(108, 156, 126);
  font-size: 10px;
}

.start-layout {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  padding: 42px 64px;
}

.start-brand-block {
  width: min(520px, 100%);
}

.screen-enter {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.32s ease-out, transform 0.32s ease-out;
}

.screen-enter-visible {
  opacity: 1;
  transform: translateY(0);
}

.start-kicker {
  margin: 0 0 22px;
  color: var(--nexus-muted);
  font-size: 10px;
  font-weight: 700;
}

.start-title {
  width: fit-content;
  margin: 0 0 7px;
  color: var(--nexus-title);
  font-size: clamp(42px, 5.1vw, 58px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
}

.start-title-glitch-left {
  color: rgb(111, 190, 139);
  opacity: 0.72;
  transform: translateX(-2px);
}

.start-title-glitch-right {
  color: rgb(211, 247, 222);
  opacity: 0.92;
  transform: translateX(2px);
}

.start-title-glitch-dim {
  color: rgb(76, 132, 96);
  opacity: 0.58;
  transform: translateY(1px);
}

.start-subtitle {
  margin: 0 0 28px;
  color: var(--nexus-green);
  font-size: 13px;
}

.start-title-rule {
  width: min(420px, 100%);
  height: 1px;
  margin-bottom: 24px;
  background: var(--nexus-border-bright);
}

.start-description {
  margin: 0 0 8px;
  color: var(--nexus-copy-soft);
  font-size: 11px;
  font-weight: 700;
}

.start-description-secondary {
  width: min(475px, 100%);
  margin: 0;
  color: var(--nexus-muted);
  font-size: 10px;
}

.start-session-panel {
  width: min(410px, 100%);
  min-height: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 34px 28px 28px;
  background: var(--nexus-panel);
  border: 1px solid var(--nexus-border);
}

.start-panel-title {
  margin: 0 0 18px;
  color: var(--nexus-panel-title);
  font-size: 12px;
}

.start-session-line {
  min-height: 46px;
  display: flex;
  align-items: center;
  border-top: 1px solid var(--nexus-border-dim);
}

.start-session-line span {
  width: 44%;
  color: var(--nexus-muted);
  font-size: 9px;
}

.start-session-line strong {
  width: 56%;
  color: var(--nexus-copy-strong);
  font-size: 11px;
  text-align: right;
}

.start-session-divider {
  height: 1px;
  margin-bottom: 16px;
  background: var(--nexus-border-dim);
}

.start-action-area {
  width: 100%;
  margin-top: 14px;
}

.begin-session-button,
.quit-client-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.begin-session-button {
  height: 46px;
  color: var(--nexus-green);
  background: var(--nexus-button);
  border: 1px solid var(--nexus-border-bright);
  font-size: 11px;
  transition: color 0.12s, background-color 0.12s, border-color 0.12s;
}

.begin-session-button:hover {
  color: var(--nexus-green-hover);
  background: var(--nexus-button-hover);
  border-color: var(--nexus-border-hover);
}

.quit-client-button {
  height: 34px;
  margin-top: 6px;
  color: rgb(76, 132, 96);
  background: var(--nexus-panel);
  border: 0;
  font-size: 9px;
  transition: color 0.12s, background-color 0.12s;
}

.quit-client-button:hover {
  color: var(--nexus-value);
  background: var(--nexus-panel-hover);
}

.start-action-note {
  margin: 12px 0 0;
  color: var(--nexus-muted);
  font-size: 7px;
  text-align: center;
}

.start-footer {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 30px;
  background: var(--nexus-footer);
  border-top: 1px solid var(--nexus-border-dim);
  color: rgb(82, 150, 109);
  font-size: 9px;
}

.start-footer-route {
  margin-left: auto;
}

.start-version-label {
  position: absolute;
  inset-inline: 0;
  color: rgb(48, 88, 62);
  text-align: center;
  pointer-events: none;
}

/* ============================================================
   MANAGEMENT ENVIRONMENT
   ============================================================ */

.management-environment {
  min-height: 100svh;
  background: rgba(5, 9, 7, 0.76);
}

.top-bar {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
  background: var(--nexus-chrome);
  border-bottom: 1px solid var(--nexus-border-bright);
}

.top-bar-brand,
.top-bar-status {
  display: flex;
  align-items: center;
  min-width: 0;
}

.top-bar-brand strong {
  margin-right: 24px;
  color: var(--nexus-green);
  font-size: 21px;
}

.top-bar-brand span {
  overflow: hidden;
  color: rgb(80, 135, 101);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.top-bar-status {
  color: rgb(116, 158, 132);
  font-size: 12px;
}

.connection-indicator {
  margin-right: 28px;
  color: var(--nexus-green);
}

.workspace {
  min-width: 0;
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  align-items: stretch;
}

.sidebar {
  position: sticky;
  top: 74px;
  height: calc(100svh - 74px);
  display: flex;
  flex-direction: column;
  padding: 24px 14px 14px;
  background: var(--nexus-sidebar);
  border-right: 1px solid rgb(27, 51, 36);
}

.nav-button {
  min-height: 42px;
  display: flex;
  align-items: center;
  margin-bottom: 7px;
  padding-left: 16px;
  color: rgb(107, 154, 125);
  background: var(--nexus-sidebar);
  border-left: 0 solid transparent;
  font-size: 13px;
  transition: color 0.12s, background-color 0.12s, border-left-width 0.12s;
}

.nav-button:hover {
  color: var(--nexus-green);
  background: rgb(12, 25, 17);
}

.nav-button.nav-active {
  color: var(--nexus-green);
  background: var(--nexus-button);
  border-left: 2px solid var(--nexus-green);
}

.sidebar-spacer {
  flex: 1;
}

.sidebar-session-footer {
  padding-top: 14px;
  border-top: 1px solid var(--nexus-border-dim);
}

.sidebar-session-footer span {
  display: block;
  margin: 0 10px 8px;
  color: var(--nexus-muted-2);
  font-size: 8px;
}

.sidebar-session-footer a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nexus-green);
  background: var(--nexus-button);
  border: 1px solid var(--nexus-border-bright);
  font-size: 10px;
  font-weight: 700;
  transition: color 0.12s, background-color 0.12s, border-color 0.12s;
}

.sidebar-session-footer a:hover {
  color: var(--nexus-green-hover);
  background: var(--nexus-button-hover);
  border-color: var(--nexus-border-hover);
}

.content-area {
  min-width: 0;
}

.content-screen {
  min-height: 100svh;
  padding: 38px 42px 64px;
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.18s ease-out, transform 0.18s ease-out;
  scroll-margin-top: 74px;
  border-bottom: 1px solid var(--nexus-border-dim);
}

.content-screen.content-visible {
  opacity: 1;
  transform: translateX(0);
}

.page-title {
  margin: 0 0 5px;
  color: var(--nexus-title);
  font-size: 24px;
  font-weight: 700;
}

.page-subtitle {
  margin: 0 0 30px;
  color: var(--nexus-muted);
  font-size: 11px;
}

.panel-title {
  margin: 0 0 20px;
  color: var(--nexus-panel-title);
  font-size: 13px;
}

.detail-grid,
.stat-row,
.dashboard-lower-layout {
  display: flex;
  min-width: 0;
}

.detail-panel,
.stat-card,
.system-panel,
.data-table,
.console-panel {
  background: var(--nexus-panel);
  border: 1px solid var(--nexus-border);
}

.detail-panel {
  width: 420px;
  min-height: 360px;
  margin-right: 18px;
  padding: 20px 22px;
}

.detail-panel:last-child {
  margin-right: 0;
}

.error-panel {
  border-color: var(--nexus-warning-border);
}

.detail-label {
  display: block;
  margin-bottom: 5px;
  color: var(--nexus-muted);
  font-size: 10px;
}

.detail-spacing {
  margin-top: 23px;
}

.detail-value {
  display: block;
  color: var(--nexus-value);
  font-size: 13px;
}

.action-line {
  margin: 0 0 11px;
  color: var(--nexus-copy);
  font-size: 12px;
}

.error-text,
.error-message {
  color: var(--nexus-warning);
  font-size: 13px;
  font-weight: 700;
}

.error-message {
  margin-top: 46px;
  line-height: 1.9;
}

.detail-warning-badge {
  width: fit-content;
  display: block;
  padding: 7px 14px;
  color: var(--nexus-warning);
  background: var(--nexus-warning-bg);
  border: 1px solid var(--nexus-warning-border);
  font-size: 11px;
  font-weight: 700;
}

.detail-id {
  display: block;
  margin-bottom: 4px;
  color: var(--nexus-muted);
  font-size: 11px;
}

.stat-row {
  width: 100%;
  align-items: stretch;
  margin-bottom: 22px;
}

.stat-card {
  flex: 1 1 0;
  min-width: 0;
  min-height: 120px;
  margin-right: 14px;
  padding: 18px 19px 16px;
  transition: background-color 0.2s, border-color 0.2s;
}

.stat-card-last {
  margin-right: 0;
}

.stat-label {
  display: block;
  margin-bottom: 14px;
  color: rgb(69, 126, 91);
  font-size: 11px;
}

.stat-value {
  color: var(--nexus-value);
  font-size: 31px;
  font-weight: 700;
}

.stat-value-small {
  font-size: clamp(17px, 2vw, 25px);
}

.dashboard-lower-layout {
  align-items: stretch;
}

.system-panel {
  flex: 4 1 0;
  min-width: 0;
  min-height: 360px;
  padding: 20px 22px;
}

.dashboard-record {
  flex: 6 1 0;
  width: auto;
  min-width: 0;
  margin-left: 18px;
  margin-right: 0;
}

.status-line {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--nexus-border-dim);
}

.status-line span {
  color: rgb(102, 151, 120);
  font-size: 12px;
}

.status-line strong,
.row-status-ok,
.row-status-warning {
  font-size: 11px;
  font-weight: 400;
}

.status-ok,
.row-status-ok {
  color: var(--nexus-green);
}

.status-warning,
.row-status-warning {
  color: var(--nexus-warning);
}

.game-copy-panel,
.game-warning-panel {
  flex: 1 1 0;
  width: auto;
}

.warning-title {
  margin-top: 34px;
}

.console-panel {
  width: min(900px, 100%);
  min-height: 560px;
  padding: 20px 20px 18px;
  overflow: hidden;
  background: var(--nexus-field);
}

.console-output {
  display: grid;
  gap: 4px;
  min-height: 118px;
  color: rgb(132, 196, 155);
  font-size: 13px;
}

.trailer-placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: grid;
  place-items: center;
  min-height: 0;
  margin: 12px 0 18px;
  padding: 24px;
  background:
    linear-gradient(rgba(105, 255, 166, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(105, 255, 166, 0.025) 1px, transparent 1px),
    var(--nexus-root);
  background-size: 30px 30px;
  border: 1px solid var(--nexus-border);
  text-align: center;
}

.trailer-placeholder span {
  display: block;
  margin-bottom: 9px;
  color: var(--nexus-warning);
  font-size: 10px;
  font-weight: 700;
}

.trailer-placeholder strong {
  color: var(--nexus-muted);
  font-size: 11px;
}

.console-input-row {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid var(--nexus-border-dim);
}

.console-prompt {
  width: 48px;
  flex: 0 0 48px;
  color: var(--nexus-green);
  font-size: 13px;
  font-weight: 700;
}

.console-route {
  min-width: 0;
  flex: 1;
  overflow: hidden;
  color: var(--nexus-value);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.console-submit-button {
  width: 110px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-left: 10px;
  color: var(--nexus-green);
  background: var(--nexus-button);
  border: 1px solid var(--nexus-border-bright);
  font-size: 10px;
}

.data-table {
  width: 100%;
}

.data-header,
.data-row {
  min-width: 0;
  min-height: 52px;
  display: flex;
  align-items: center;
  padding: 0 18px;
}

.data-header {
  min-height: 42px;
  background: var(--nexus-chrome);
  border-bottom: 1px solid var(--nexus-border-bright);
  color: rgb(67, 119, 86);
  font-size: 10px;
  font-weight: 700;
}

.data-row {
  border-bottom: 1px solid var(--nexus-border-dim);
  color: var(--nexus-copy);
  font-size: 12px;
  transition: background-color 0.12s;
}

.data-row:last-child {
  border-bottom: 0;
}

.data-row:hover {
  background: var(--nexus-panel-hover);
}

.column-id {
  width: 90px;
  flex: 0 0 90px;
}

.column-name {
  width: 220px;
  flex: 0 0 220px;
}

.column-function {
  min-width: 0;
  flex: 1;
  padding-right: 20px;
}

.column-status {
  width: 120px;
  flex: 0 0 120px;
  text-align: right;
}

.assistance-grid .detail-panel {
  min-height: 430px;
}

.guided-panel {
  background: rgb(10, 11, 8);
  border-left: 2px solid rgb(132, 104, 45);
}

.guided-evidence-value {
  display: block;
  margin: 22px 0;
  padding: 5px 0 5px 10px;
  color: var(--nexus-warning);
  background: rgb(12, 12, 8);
  border-left: 2px solid rgb(132, 104, 45);
  font-size: 12px;
  line-height: 1.65;
}

.assistance-title {
  margin: 8px 0 28px;
  color: var(--nexus-title);
  font-size: 27px;
}

.status-table .status-key {
  width: 230px;
  flex: 0 0 230px;
}

.status-table .status-value {
  min-width: 0;
  flex: 1;
  padding-right: 20px;
}

.status-table .status-state {
  width: 130px;
  flex: 0 0 130px;
  text-align: right;
}

.reference-button {
  width: fit-content;
  min-width: 130px;
  min-height: 27px;
  display: flex;
  align-items: center;
  margin-top: 34px;
  padding-right: 8px;
  color: var(--nexus-green);
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 700;
  transition: color 0.12s, background-color 0.12s;
}

.reference-button:hover {
  color: rgb(171, 255, 201);
  background: var(--nexus-button);
}

.reference-large {
  font-size: 15px;
}

.nz-footer {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 30px;
  color: rgb(48, 88, 62);
  background: var(--nexus-footer);
  border-top: 1px solid var(--nexus-border-dim);
  font-size: 9px;
}

/* ============================================================
   RESPONSIVE CLIENT
   ============================================================ */

@media (max-width: 980px) {
  .start-layout {
    gap: 32px;
    padding-inline: 34px;
  }

  .start-session-panel {
    width: min(380px, 46%);
  }

  .workspace {
    grid-template-columns: 170px minmax(0, 1fr);
  }

  .sidebar {
    padding-inline: 10px;
  }

  .nav-button {
    padding-left: 12px;
    font-size: 11px;
  }

  .content-screen {
    padding-inline: 28px;
  }

  .detail-grid,
  .dashboard-lower-layout {
    flex-direction: column;
  }

  .detail-panel,
  .game-copy-panel,
  .game-warning-panel,
  .dashboard-record,
  .system-panel {
    width: 100%;
    flex-basis: auto;
    margin: 0 0 18px;
  }

  .column-name {
    width: 160px;
    flex-basis: 160px;
  }
}

@media (max-width: 760px) {
  .access-gateway {
    grid-template-rows: 76px auto 48px;
  }

  .start-header-meta {
    display: none;
  }

  .start-layout {
    flex-direction: column;
    align-items: stretch;
    padding: 54px 24px;
  }

  .start-brand-block,
  .start-session-panel {
    width: 100%;
  }

  .start-session-panel {
    min-height: 0;
  }

  .start-version-label {
    display: none;
  }

  .top-bar {
    height: auto;
    min-height: 74px;
    padding-block: 14px;
  }

  .top-bar-brand span,
  .top-bar-status > span:last-child {
    display: none;
  }

  .connection-indicator {
    margin-right: 0;
  }

  .workspace {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 74px;
    z-index: 20;
    height: auto;
    display: flex;
    flex-direction: row;
    gap: 5px;
    overflow-x: auto;
    padding: 8px 10px;
    border-right: 0;
    border-bottom: 1px solid rgb(27, 51, 36);
  }

  .nav-button {
    min-width: max-content;
    min-height: 36px;
    margin: 0;
    padding: 0 12px;
    border-left: 0;
    border-bottom: 0 solid transparent;
    font-size: 10px;
  }

  .nav-button.nav-active {
    border-left: 0;
    border-bottom: 2px solid var(--nexus-green);
  }

  .sidebar-spacer,
  .sidebar-session-footer {
    display: none;
  }

  .content-screen {
    min-height: auto;
    padding: 34px 22px 64px;
    scroll-margin-top: 126px;
  }

  .stat-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .stat-card {
    margin-right: 0;
  }

  .data-table {
    overflow-x: auto;
  }

  .data-header,
  .data-row {
    min-width: 760px;
  }

  .status-table .data-header,
  .status-table .data-row {
    min-width: 650px;
  }

  .console-panel {
    min-height: 0;
  }

  .console-output {
    font-size: 11px;
  }
}

@media (max-width: 520px) {
  .start-header,
  .start-footer,
  .nz-footer {
    padding-inline: 18px;
  }

  .start-layout {
    padding-inline: 18px;
  }

  .start-title {
    font-size: 42px;
  }

  .start-footer span:last-child {
    display: none;
  }

  .content-screen {
    padding-inline: 16px;
  }

  .page-title {
    font-size: 21px;
  }

  .detail-panel,
  .system-panel,
  .stat-card,
  .console-panel {
    padding-inline: 16px;
  }

  .bootstrap-client-content {
    margin-left: 24px;
  }

  .bootstrap-client-content pre {
    font-size: 11px;
  }

  .nz-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .bootstrap-overlay {
    display: none;
  }

  .screen-enter,
  .content-screen {
    opacity: 1;
    transform: none;
  }
}


/* ============================================================
   OFFICIAL NODE ZERO ASSET PASS
   ============================================================ */

.start-brand-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  margin-right: 14px;
  object-fit: contain;
}

.start-wordmark {
  display: block;
  width: min(520px, 100%);
  max-height: 102px;
  margin: 0 0 7px;
  object-fit: contain;
  object-position: left center;
}

@media (max-width: 520px) {
  .start-wordmark {
    max-height: 78px;
  }
}


/* ============================================================
   LAYOUT REFINEMENT PASS
   ============================================================ */

.start-brand-icon {
  margin-right: 12px;
}

.start-footer {
  justify-content: space-between;
}

.start-footer-context {
  color: rgb(82, 150, 109);
}

@media (max-width: 520px) {  .start-footer-context {
    display: none;
  }
}


/* Corrected main NODE ZERO wordmark alignment */
.start-wordmark {
  width: min(470px, 100%);
  margin-left: -7px;
  margin-bottom: 18px;
  object-position: left center;
}


/* ============================================================
   EARLY ACCESS TRAILER EMBED
   ============================================================ */

.trailer-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 12px 0 18px;
  overflow: hidden;
  background: var(--nexus-root);
  border: 1px solid var(--nexus-border);
}

.trailer-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.console-submit-button {
  text-decoration: none;
}
