/* Linux-inspired topology scene. Loaded last to keep the board skin isolated. */
.board-panel {
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(115, 239, 173, 0.1);
  background: #0b0f0d;
  box-shadow: 0 24px 70px rgba(5, 12, 9, 0.22);
}

body[data-view="board"] {
  background: #0b0f0d;
}

body[data-view="board"] .topbar {
  display: none;
}

body[data-view="board"] .workspace {
  width: 100%;
  padding: 0 0 100px;
  background: #0b0f0d;
}

body[data-view="board"] .view-root {
  gap: 0;
}

body[data-view="board"] .board-panel,
body[data-view="board"] .linux-board-scene {
  width: 100%;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.board-panel > .linux-board-scene {
  min-height: 720px;
  margin: 0;
  padding: 0 26px 22px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  color: #f4f8f6;
  background-color: #0b0f0d;
  background-image:
    linear-gradient(rgba(94, 255, 170, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(94, 255, 170, 0.04) 1px, transparent 1px),
    linear-gradient(135deg, rgba(203, 33, 127, 0.08), transparent 36%),
    linear-gradient(315deg, rgba(34, 211, 238, 0.06), transparent 42%);
  background-size: 34px 34px, 34px 34px, 100% 100%, 100% 100%;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.07);
  animation: board-scene-in 260ms ease-out both;
}

.board-panel > .linux-board-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 0;
  background: repeating-linear-gradient(180deg, transparent 0 3px, rgba(255, 255, 255, 0.012) 3px 4px);
  pointer-events: none;
}

.board-boot {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 12px;
  color: #73efad;
  background: #0b0f0d;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
  text-transform: uppercase;
  pointer-events: none;
  animation: board-boot-out 540ms ease 120ms forwards;
}

.board-boot i {
  width: 92px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(115, 239, 173, 0.12);
}

.board-boot i::after {
  content: "";
  width: 40%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: #73efad;
  box-shadow: 0 0 14px rgba(115, 239, 173, 0.55);
  animation: board-boot-progress 420ms ease-out both;
}

@keyframes board-scene-in {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes board-boot-progress {
  from { width: 8%; }
  to { width: 100%; }
}

@keyframes board-boot-out {
  0%, 68% { opacity: 1; visibility: visible; }
  100% { opacity: 0; visibility: hidden; }
}

.board-app-header {
  min-height: 94px;
  margin: 0 -26px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(110deg, rgba(203, 33, 127, 0.1), transparent 38%),
    #101512;
}

.board-app-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.board-app-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(115, 239, 173, 0.2);
  border-radius: 10px;
  color: #73efad;
  background: rgba(115, 239, 173, 0.07);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 0 24px rgba(115, 239, 173, 0.05);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 21px;
  font-weight: 800;
}

.board-app-identity > div {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.board-app-identity span,
.board-app-identity p {
  color: #68776f;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0;
}

.board-app-identity h3 {
  margin: 0;
  color: #f3f7f5;
  font-size: 19px;
  letter-spacing: 0;
}

.board-app-identity p {
  max-width: min(52vw, 520px);
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.board-app-header .board-header-actions {
  color: #f3f7f5;
}

.board-app-header .board-switcher-label { color: #78867f; }

.board-app-header .board-switcher-tab:not(.is-active) {
  border-color: rgba(255, 255, 255, 0.08);
  color: #dbe5df;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.board-app-header .board-switcher-tab:not(.is-active) .board-tab-copy strong { color: #dbe5df; }

.linux-legend-note {
  width: min(1180px, 100%);
  margin: -8px auto 14px;
  border-color: rgba(254, 188, 46, 0.16);
  color: #dccf9d;
  background: rgba(254, 188, 46, 0.06);
}

.board-terminal-bar {
  min-height: 42px;
  margin: 0 -26px 22px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  color: #89958f;
  background: #151a17;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 10px;
}

.terminal-lights {
  display: flex;
  gap: 6px;
}

.terminal-lights i {
  width: 8px;
  height: 8px;
  display: block;
  border-radius: 50%;
  background: #ff5f57;
  box-shadow: 0 0 10px rgba(255, 95, 87, 0.24);
}

.terminal-lights i:nth-child(2) { background: #febc2e; }
.terminal-lights i:nth-child(3) { background: #28c840; }

.terminal-path {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.terminal-path b {
  color: #73efad;
  font-weight: 700;
}

.terminal-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #a6b2ac;
  text-transform: uppercase;
}

.terminal-live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #54e394;
  box-shadow: 0 0 12px #54e394;
}

.terminal-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.board-terminal-bar .board-switcher {
  max-width: min(46vw, 620px);
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.board-terminal-bar .board-switcher-label { display: none; }

.board-terminal-bar .board-switcher-tabs {
  padding: 0;
  gap: 5px;
  border: 0;
  background: transparent;
}

.board-terminal-bar .board-switcher-tab {
  min-height: 28px;
  padding: 3px 7px;
  border-color: rgba(255, 255, 255, 0.08);
  border-radius: 7px;
  color: #cad5cf;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
}

.board-terminal-bar .board-switcher-tab.is-active {
  border-color: rgba(115, 239, 173, 0.2);
  color: #73efad;
  background: rgba(115, 239, 173, 0.08);
}

.board-terminal-bar .board-tab-level {
  width: 22px;
  min-width: 22px;
  height: 22px;
  border-radius: 5px;
}

.board-terminal-bar .board-tab-copy { display: none; }

.board-system-hud {
  width: min(1180px, 100%);
  margin: 0 auto 18px;
  display: grid;
  grid-template-columns: minmax(270px, 0.7fr) minmax(520px, 1.3fr);
  align-items: stretch;
  gap: 12px;
}

.linux-board-scene .level-pass {
  width: 100%;
  min-height: 118px;
  margin: 0;
  border: 1px solid rgba(115, 239, 173, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(110deg, rgba(115, 239, 173, 0.13), transparent 44%),
    #111714;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 18px 40px rgba(0, 0, 0, 0.22);
  transform: none;
}

.linux-board-scene .level-pass-serial {
  min-height: 25px;
  padding: 7px 12px;
  border-radius: 9px 9px 0 0;
  color: #6e7e75;
  background: rgba(0, 0, 0, 0.28);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.linux-board-scene .level-pass-kicker,
.linux-board-scene .level-pass-body small {
  color: #73efad;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  letter-spacing: 0;
}

.linux-board-scene .level-pass-body > strong {
  color: #f5f8f6;
}

.linux-board-scene .level-pass-value span { color: #73efad; }

.linux-board-scene .level-pass-mark i {
  border-color: rgba(115, 239, 173, 0.44);
  background: rgba(115, 239, 173, 0.12);
}

.linux-board-scene .board-meta {
  width: 100%;
  height: 100%;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  background: rgba(18, 24, 21, 0.84);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04), 0 18px 40px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(12px);
}

.linux-board-scene .board-meta div {
  min-width: 0;
  min-height: 116px;
  padding: 17px 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  box-shadow: none;
}

.linux-board-scene .board-meta div:first-child { border-left: 0; }

.linux-board-scene .board-meta small {
  color: #718078;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0;
}

.linux-board-scene .board-meta strong {
  color: #f3f6f4;
  font-size: clamp(12px, 1.2vw, 16px);
  overflow-wrap: anywhere;
}

.topology-heading {
  width: min(1180px, 100%);
  margin: 0 auto 4px;
  padding: 0 4px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
}

.topology-heading > div {
  display: grid;
  gap: 2px;
}

.topology-heading span,
.topology-heading small {
  color: #66736c;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.topology-heading strong {
  color: #e8eeea;
  font-size: 15px;
}

.linux-board-scene .board-tree {
  position: relative;
  width: min(1180px, 100%);
  min-height: 370px;
  margin: 0 auto;
  padding: 10px 0 0;
  display: grid;
  grid-template-columns: minmax(120px, 0.82fr) minmax(150px, 1fr) minmax(190px, 1.18fr) minmax(150px, 1fr) minmax(120px, 0.82fr);
  grid-template-rows: 1fr;
  grid-template-areas: "leftDonors leftBuilder legend rightBuilder rightDonors";
  align-items: center;
  gap: 12px 24px;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.linux-board-scene .board-tree::before { display: none; }

.topology-links {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.topology-links path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.topology-links .link-glow {
  stroke-width: 5;
  opacity: 0.11;
  filter: blur(2px);
}

.topology-links .link-glow.core { stroke: #e14f9f; }
.topology-links .link-glow.left { stroke: #53e895; }
.topology-links .link-glow.right { stroke: #33c6e2; }

.topology-links .link-flow {
  stroke-width: 1.35;
  stroke-dasharray: 3 7;
  animation: topology-flow 1.25s linear infinite;
}

.topology-links .link-core { stroke: rgba(242, 132, 191, 0.78); }
.topology-links .link-left { stroke: rgba(115, 239, 173, 0.72); }
.topology-links .link-right { stroke: rgba(99, 217, 239, 0.74); }
.topology-links .link-node { stroke: #0b0f0d; stroke-width: 3; }
.topology-links .link-node.core { fill: #e14f9f; }
.topology-links .link-node.left { fill: #53e895; }
.topology-links .link-node.right { fill: #33c6e2; }

.topology-links .data-packet {
  filter: drop-shadow(0 0 5px currentColor);
}

.topology-links .data-packet.core { color: #f284bf; fill: #f284bf; }
.topology-links .data-packet.left { color: #73efad; fill: #73efad; }
.topology-links .data-packet.right { color: #63d9ef; fill: #63d9ef; }
.topology-links .data-packet.delay { opacity: 0.72; }

@keyframes topology-flow {
  to { stroke-dashoffset: -20; }
}

.linux-board-scene .board-tree > :not(.topology-links) {
  position: relative;
  z-index: 1;
}

.linux-board-scene .donor-stack {
  align-self: stretch;
  padding: 8px;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  background: rgba(15, 21, 18, 0.68);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.03), 0 16px 36px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
}

.linux-board-scene .left-donors { border-color: rgba(83, 232, 149, 0.16); }
.linux-board-scene .right-donors { border-color: rgba(51, 198, 226, 0.18); }

.linux-board-scene .donor-stack-title {
  min-height: 24px;
  padding: 0 7px;
  display: flex;
  align-items: center;
  color: #6f7c75;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0;
}

.linux-board-scene .position-card,
.linux-board-scene .position-card.legend,
.linux-board-scene .position-card.left_builder,
.linux-board-scene .position-card.right_builder {
  min-height: 138px;
  padding: 10px;
  align-self: center;
  align-content: center;
  justify-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: #eef4f0;
  background: rgba(17, 24, 20, 0.86);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.26), inset 0 1px rgba(255, 255, 255, 0.04);
}

.linux-board-scene .position-card.legend {
  min-height: 218px;
  border-color: rgba(225, 79, 159, 0.35);
  background: linear-gradient(160deg, rgba(225, 79, 159, 0.14), transparent 52%), rgba(18, 23, 21, 0.94);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.34), 0 0 44px rgba(225, 79, 159, 0.08), inset 0 1px rgba(255, 255, 255, 0.06);
}

.linux-board-scene .position-card.left_builder { border-color: rgba(83, 232, 149, 0.28); }
.linux-board-scene .position-card.right_builder { border-color: rgba(51, 198, 226, 0.3); }

.linux-board-scene .position-card.empty {
  border-style: dashed;
  background: rgba(14, 20, 17, 0.56);
}

.linux-board-scene .board-tree .position-head {
  min-height: 34px;
}

.linux-board-scene .board-tree .slot-label {
  color: #7e8b84;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0;
}

.linux-board-scene .position-card.legend .slot-label { color: #f284bf; }
.linux-board-scene .position-card.left_builder .slot-label { color: #73efad; }
.linux-board-scene .position-card.right_builder .slot-label { color: #63d9ef; }

.linux-board-scene .board-tree .status-pill {
  min-height: 19px;
  border-color: rgba(255, 255, 255, 0.1);
  color: #9aaca2;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: none;
}

.linux-board-scene .board-tree .position-user,
.linux-board-scene .board-tree .position-user-button {
  color: #eef4f0;
}

.linux-board-scene .board-tree > .position-card.left_builder .position-user,
.linux-board-scene .board-tree > .position-card.right_builder .position-user,
.linux-board-scene .board-tree > .position-card.legend .position-user {
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.linux-board-scene .board-tree .position-user-button:hover {
  background: transparent;
}

.linux-board-scene .board-tree .position-user strong { color: #f3f7f5; }
.linux-board-scene .board-tree .position-user small { color: #718078; }

.linux-board-scene .board-tree .avatar-mini {
  width: 58px;
  height: 58px;
  flex-basis: 58px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  color: #f7fbf9;
  background: linear-gradient(145deg, #be2f7c, #6657bd 54%, #198761);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), inset 0 1px rgba(255, 255, 255, 0.2);
}

.linux-board-scene .board-tree .position-card.legend .avatar-mini {
  width: 88px;
  height: 88px;
  flex-basis: 88px;
  border-color: rgba(242, 132, 191, 0.46);
  box-shadow: 0 0 0 5px rgba(225, 79, 159, 0.08), 0 18px 34px rgba(0, 0, 0, 0.4);
}

.linux-board-scene .board-tree .position-card.left_builder .avatar-mini {
  box-shadow: 0 0 0 4px rgba(83, 232, 149, 0.07), 0 14px 30px rgba(0, 0, 0, 0.34);
}

.linux-board-scene .board-tree .position-card.right_builder .avatar-mini {
  box-shadow: 0 0 0 4px rgba(51, 198, 226, 0.07), 0 14px 30px rgba(0, 0, 0, 0.34);
}

.linux-board-scene .board-tree .position-card.empty .avatar-mini {
  border-color: rgba(255, 255, 255, 0.1);
  color: #58645e;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: none;
}

.linux-board-scene .board-tree .position-actions button {
  border-color: rgba(115, 239, 173, 0.18);
  color: #dff8e9;
  background: rgba(115, 239, 173, 0.08);
  box-shadow: none;
}

.linux-board-scene .board-scene-progress {
  width: min(420px, 100%);
  margin: 5px auto 0;
  grid-template-columns: minmax(80px, 1fr) auto;
}

.linux-board-scene .board-scene-progress > span {
  height: 5px;
  background: rgba(255, 255, 255, 0.07);
}

.linux-board-scene .board-scene-progress > span::after {
  background: linear-gradient(90deg, #53e895, #33c6e2 55%, #e14f9f);
  box-shadow: 0 0 14px rgba(83, 232, 149, 0.32);
}

.linux-board-scene .board-scene-progress small {
  color: #68756e;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 9px;
  letter-spacing: 0;
}

.linux-board-scene .board-scene-progress b { color: #dbe6e0; }

@media (min-width: 901px) and (min-height: 700px) {
  body[data-view="board"] {
    overflow: hidden;
    background: #0b0f0d;
  }

  body[data-view="board"] .workspace {
    width: 100%;
    height: calc(100dvh - 76px);
    min-height: 0;
    padding: 0;
    overflow: hidden;
    background: #0b0f0d;
  }

  body[data-view="board"] .notice-host {
    position: fixed;
    z-index: 50;
    top: 88px;
    left: 50%;
    width: min(720px, calc(100% - 32px));
    margin: 0;
    transform: translateX(-50%);
  }

  body[data-view="board"] .view-root,
  body[data-view="board"] .board-panel,
  body[data-view="board"] .linux-board-scene {
    width: 100%;
    height: 100%;
    min-height: 0;
  }

  body[data-view="board"] .view-root {
    display: block;
  }

  body[data-view="board"] .board-panel,
  body[data-view="board"] .linux-board-scene {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  body[data-view="board"] .linux-board-scene {
    padding: 0 24px 8px;
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  body[data-view="board"] .board-app-header {
    min-height: 70px;
    margin: 0 -24px;
    padding: 9px 24px;
  }

  body[data-view="board"] .board-app-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  body[data-view="board"] .board-app-identity h3 { font-size: 17px; }

  body[data-view="board"] .board-terminal-bar {
    min-height: 34px;
    margin: 0 -24px 8px;
  }

  body[data-view="board"] .linux-legend-note {
    margin: 0 auto 6px;
    min-height: 34px;
    padding: 6px 10px;
  }

  body[data-view="board"] .board-system-hud {
    margin: 0 auto 7px;
  }

  body[data-view="board"] .level-pass {
    min-height: 86px;
  }

  body[data-view="board"] .level-pass-body {
    padding: 35px 0 10px 14px;
  }

  body[data-view="board"] .level-pass-body > strong { font-size: 21px; }

  body[data-view="board"] .level-pass-value {
    padding: 0 14px 11px 0;
  }

  body[data-view="board"] .level-pass-value strong { font-size: 21px; }

  body[data-view="board"] .linux-board-scene .board-meta div {
    min-height: 86px;
    padding: 11px;
  }

  body[data-view="board"] .topology-heading {
    min-height: 34px;
    margin: 0 auto;
  }

  body[data-view="board"] .linux-board-scene .board-tree {
    flex: 1 1 auto;
    width: min(1440px, 100%);
    min-height: 0;
    height: 100%;
    padding-top: 0;
  }

  body[data-view="board"] .linux-board-scene .donor-stack {
    max-height: 100%;
    padding: 5px;
    gap: 4px;
  }

  body[data-view="board"] .linux-board-scene .position-card,
  body[data-view="board"] .linux-board-scene .position-card.left_builder,
  body[data-view="board"] .linux-board-scene .position-card.right_builder {
    min-height: 108px;
    padding: 6px;
    gap: 4px;
  }

  body[data-view="board"] .linux-board-scene .position-card.legend {
    min-height: 174px;
  }

  body[data-view="board"] .linux-board-scene .donor-stack .position-card {
    min-height: 112px;
  }

  body[data-view="board"] .linux-board-scene .board-tree .avatar-mini {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  body[data-view="board"] .linux-board-scene .board-tree .position-card.legend .avatar-mini {
    width: 70px;
    height: 70px;
    flex-basis: 70px;
  }

  body[data-view="board"] .linux-board-scene .board-scene-progress {
    margin-top: 1px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .board-panel > .linux-board-scene,
  .board-boot,
  .board-boot i::after,
  .topology-links .link-flow {
    animation: none;
  }

  .board-boot { display: none; }
  .topology-links .data-packet { display: none; }
}

@media (max-width: 980px) {
  .board-system-hud {
    grid-template-columns: 1fr;
  }

  .linux-board-scene .board-meta div {
    min-height: 76px;
  }

  .linux-board-scene .board-tree {
    gap: 10px;
  }
}

@media (max-width: 620px) {
  .board-app-header {
    min-height: 82px;
    margin: 0 -12px;
    padding: 11px 12px;
  }

  .board-app-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .board-app-identity h3 {
    max-width: 190px;
    font-size: 15px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .board-app-identity p {
    max-width: 180px;
  }

  .board-app-header .board-switcher {
    max-width: 124px;
  }

  .board-app-header .board-switcher-label,
  .board-app-header .board-switcher-tab .board-tab-copy {
    display: none;
  }

  .board-panel > .linux-board-scene {
    min-height: 0;
    padding: 0 12px 18px;
  }

  .board-terminal-bar {
    min-height: 38px;
    margin: 0 -12px 14px;
    padding: 0 11px;
    grid-template-columns: auto minmax(0, 1fr);
  }

  .terminal-live { display: none; }

  .linux-board-scene .level-pass {
    min-height: 110px;
  }

  .linux-board-scene .board-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .linux-board-scene .board-meta div,
  .linux-board-scene .board-meta div:first-child {
    min-height: 68px;
    padding: 10px;
    border: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .linux-board-scene .board-meta div:nth-child(odd) { border-left: 0; }
  .linux-board-scene .board-meta div:nth-child(-n + 2) { border-top: 0; }
  .linux-board-scene .board-meta div:last-child { grid-column: 1 / -1; }

  .topology-heading {
    margin-top: 2px;
  }

  .topology-heading small { display: none; }

  .linux-board-scene .board-tree {
    min-height: 0;
    padding-top: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    grid-template-areas:
      "legend legend"
      "leftBuilder rightBuilder"
      "leftDonors rightDonors";
    align-items: start;
    gap: 10px;
  }

  .topology-links { display: none; }

  .linux-board-scene .position-card,
  .linux-board-scene .position-card.legend,
  .linux-board-scene .position-card.left_builder,
  .linux-board-scene .position-card.right_builder {
    min-height: 150px;
    padding: 9px 5px;
  }

  .linux-board-scene .position-card.legend {
    min-height: 184px;
  }

  .linux-board-scene .donor-stack {
    padding: 6px;
  }

  .linux-board-scene .donor-stack .position-card {
    min-height: 132px;
  }

  .linux-board-scene .board-tree .avatar-mini {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .linux-board-scene .board-tree .position-card.legend .avatar-mini {
    width: 72px;
    height: 72px;
    flex-basis: 72px;
  }
}
