:root {
  --bg: #050b16;
  --panel: rgba(7, 15, 28, 0.78);
  --panel-strong: rgba(9, 19, 35, 0.92);
  --line: rgba(148, 163, 184, 0.22);
  --text: #edf6ff;
  --muted: #9fb1c8;
  --blue: #38bdf8;
  --green: #34d399;
  --amber: #f59e0b;
  --red: #fb7185;
  --violet: #c084fc;
  --mobile-chrome-offset: 0px;
  --font:
    "Microsoft YaHei UI", "Microsoft YaHei", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  width: 100vw;
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle, rgba(17, 24, 39, 0.035) 0 0.7px, transparent 0.8px),
    #f7f8fa;
  background-size: 12px 12px;
  color: var(--text);
  font-family: var(--font);
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
}

button,
select,
input {
  font: inherit;
}

button {
  min-height: 30px;
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 8px;
  padding: 5px 10px;
  background: rgba(15, 23, 42, 0.72);
  color: var(--text);
  font-weight: 900;
  cursor: pointer;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

button:hover,
button.is-active {
  border-color: rgba(56, 189, 248, 0.82);
  background: rgba(56, 189, 248, 0.18);
}

button:active {
  transform: translateY(1px) scale(0.99);
}

button:focus-visible,
select:focus-visible,
input:focus-visible {
  outline: 2px solid rgba(125, 211, 252, 0.72);
  outline-offset: 2px;
}

.graph-app,
.graph-stage {
  width: 100%;
  min-height: 100dvh;
}

.graph-app {
  position: relative;
  display: block;
  height: 100dvh;
  padding: 6px;
}

.scene-board {
  position: absolute;
  z-index: 8;
  top: 12px;
  left: 14px;
  right: clamp(360px, 32vw, 430px);
  max-width: 760px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
  pointer-events: auto;
}

.top-strip {
  position: relative;
  z-index: 5;
  margin: 0;
  display: grid;
  grid-template-columns: max-content minmax(360px, 1fr);
  grid-template-areas: "brand scale" "entry entry";
  gap: 7px 10px;
  align-items: stretch;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  pointer-events: auto;
}

.brand {
  grid-area: brand;
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  align-self: start;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-left-color: rgba(255, 255, 255, 0.34);
  border-radius: 2px;
  padding: 4px 11px 5px;
  background: rgba(15, 23, 42, 0.82);
  box-shadow:
    0 10px 24px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.brand strong,
.brand span {
  display: block;
}

.brand strong {
  font-size: 18px;
  line-height: 1.05;
  color: rgba(255, 255, 255, 0.96);
  letter-spacing: 0;
  text-shadow: 0 1px 12px rgba(5, 11, 22, 0.64);
}

.brand span {
  display: none;
}

.asset-scale {
  grid-area: scale;
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(104px, 1fr));
  gap: 6px 11px;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  padding: 8px 10px;
  background: rgba(7, 15, 28, 0.72);
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.asset-scale div {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
  border-left: 1px solid rgba(148, 163, 184, 0.22);
  padding-left: 9px;
}

.asset-scale span {
  display: inline;
  color: rgba(159, 177, 200, 0.88);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.asset-scale strong {
  display: inline;
  margin-top: 0;
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
  color: rgba(237, 246, 255, 0.96);
}

.asset-scale div:nth-child(1) strong,
.asset-scale div:nth-child(2) strong {
  color: #7dd3fc;
}

.asset-scale div:nth-child(5) strong,
.asset-scale div:nth-child(6) strong {
  color: #fbbf24;
}

.asset-scale div:nth-child(7) strong,
.asset-scale div:nth-child(8) strong,
.asset-scale div:nth-child(9) strong {
  color: #6ee7b7;
}

.entry-strip {
  grid-area: entry;
  position: relative;
  z-index: 6;
  display: flex;
  width: max-content;
  max-width: 100%;
  gap: 6px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 8px;
  padding: 5px;
  background: rgba(7, 15, 28, 0.74);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.scene-board button {
  min-height: 30px;
  border-color: rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.72);
  color: rgba(226, 232, 240, 0.88);
  padding: 4px 14px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
}

.scene-board button:hover,
.scene-board button.is-active,
.entry-strip [role="tab"][aria-selected="true"] {
  border-color: transparent;
  background: rgba(56, 189, 248, 0.18);
  color: rgba(237, 246, 255, 0.96);
  box-shadow:
    inset 0 0 0 1px rgba(125, 211, 252, 0.2),
    0 8px 22px rgba(14, 165, 233, 0.1);
}

.entry-panel {
  position: fixed;
  z-index: 10;
  top: 112px;
  left: 18px;
  right: auto;
  width: min(360px, calc(100vw - 36px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: var(--panel-strong);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
  transform: translateY(-8px) scale(0.98);
  transform-origin: top left;
  opacity: 0;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.entry-panel.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.entry-panel label {
  display: grid;
  gap: 6px;
}

.entry-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.entry-panel select,
.entry-panel input {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(148, 163, 184, 0.32);
  border-radius: 8px;
  padding: 7px 10px;
  background: rgba(15, 23, 42, 0.86);
  color: var(--text);
  outline: none;
}

.entry-panel input::placeholder {
  color: rgba(159, 177, 200, 0.62);
}

.entry-status {
  min-height: 17px;
  margin: 8px 0 0;
  color: rgba(125, 211, 252, 0.8);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.45;
}

.graph-stage {
  position: relative;
  height: calc(100dvh - 12px);
  min-height: calc(100dvh - 12px);
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, 0.88);
  border-radius: clamp(18px, 1.65vw, 28px);
  background:
    radial-gradient(
      circle at 50% 36%,
      rgba(56, 189, 248, 0.12),
      transparent 34%
    ),
    radial-gradient(
      circle at 78% 64%,
      rgba(52, 211, 153, 0.08),
      transparent 30%
    ),
    radial-gradient(
      circle at 14% 78%,
      rgba(14, 165, 233, 0.08),
      transparent 34%
    ),
    linear-gradient(135deg, #07111d, #020711 62%, #050713);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 32px 52px rgba(7, 17, 31, 0.34),
    inset 0 -42px 68px rgba(0, 0, 0, 0.4),
    inset 0 0 140px rgba(0, 0, 0, 0.24),
    0 18px 46px rgba(15, 23, 42, 0.16),
    0 1px 2px rgba(15, 23, 42, 0.08);
  perspective: 900px;
  contain: layout paint style;
}

.graph-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.075), transparent 14%),
    radial-gradient(
      circle at 50% -10%,
      rgba(255, 255, 255, 0.08),
      transparent 28%
    );
}

.graph-stage .starfield {
  position: absolute;
  inset: -25%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    radial-gradient(circle, rgba(237, 246, 255, 0.72) 0 1px, transparent 1.6px),
    radial-gradient(circle, rgba(56, 189, 248, 0.34) 0 1px, transparent 1.5px);
  background-size:
    132px 132px,
    211px 211px;
  background-position:
    calc(var(--space-x, 0px) * 0.16) calc(var(--space-y, 0px) * 0.16),
    calc(var(--space-x, 0px) * -0.08) calc(var(--space-y, 0px) * -0.08);
}

.graph-stage .starfield::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(237, 246, 255, 0.42) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(52, 211, 153, 0.25) 0 1px, transparent 1.5px);
  background-size:
    371px 371px,
    487px 487px;
  background-position:
    calc(var(--space-x, 0px) * -0.26) calc(var(--space-y, 0px) * -0.26),
    calc(var(--space-x, 0px) * 0.34) calc(var(--space-y, 0px) * 0.34);
  opacity: 0.58;
}

.graph-stage::after {
  content: "";
  position: absolute;
  z-index: 3;
  pointer-events: none;
}

.graph-stage::after {
  left: 50%;
  top: 50%;
  width: 26px;
  height: 26px;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 50%;
  box-shadow:
    0 -18px 0 -12px rgba(148, 163, 184, 0.38),
    0 18px 0 -12px rgba(148, 163, 184, 0.38),
    -18px 0 0 -12px rgba(148, 163, 184, 0.38),
    18px 0 0 -12px rgba(148, 163, 184, 0.38);
  opacity: 0.58;
}

@keyframes starDrift {
  0% {
    transform: translate3d(-1.8%, -1.2%, 0) scale(1);
  }
  100% {
    transform: translate3d(1.4%, 1.8%, 0) scale(1.015);
  }
}

#graphSvg {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  background: transparent;
  filter: saturate(1.03);
  touch-action: none;
  contain: strict;
}

#graphSvg:active {
  cursor: grabbing;
}

.intro-camera {
  animation: introZoom 1.25s cubic-bezier(0.18, 0.8, 0.22, 1) both;
  transform-origin: center;
}

@keyframes introZoom {
  0% {
    opacity: 0.22;
    transform: scale(0.42) rotate(-3deg);
  }
  70% {
    opacity: 0.95;
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }
}

.edge {
  fill: none;
  stroke: rgba(56, 189, 248, 0.28);
  vector-effect: non-scaling-stroke;
}

.edge.is-neighbor {
  stroke: rgba(56, 189, 248, 0.62);
}

.edge.is-scenario-link {
  stroke: rgba(94, 234, 212, 0.24);
  stroke-dasharray: 4 9;
}

.node {
  cursor: pointer;
  user-select: none;
  touch-action: none;
  transform-box: fill-box;
  transform-origin: center;
}

.node[data-kind="technology"],
.node[data-kind="scenario"] {
  animation: nodeFloat var(--float-duration, 7s) ease-in-out infinite alternate;
  animation-delay: var(--float-delay, 0s);
  will-change: transform;
}

.node[data-kind="product"],
.node[data-kind="enterprise"] {
  animation: none;
  will-change: auto;
}

.graph-stage.is-interacting .node {
  animation-play-state: paused;
}

@keyframes nodeFloat {
  0% {
    transform: translate3d(
      calc(var(--float-x, 0px) * -0.7),
      calc(var(--float-y, 0px) * 0.8),
      0
    );
  }
  45% {
    transform: translate3d(
      calc(var(--float-y, 0px) * 0.35),
      calc(var(--float-x, 0px) * -0.35),
      0
    );
  }
  100% {
    transform: translate3d(
      var(--float-x, 0px),
      calc(var(--float-y, 0px) * -0.9),
      0
    );
  }
}

.node circle {
  stroke: rgba(255, 255, 255, 0.74);
  stroke-width: 1.15px;
  filter: none;
}

.node[data-kind="product"] circle {
  stroke: rgba(237, 246, 255, 0.48);
  filter: none;
}

.node[data-kind="enterprise"] circle {
  stroke: rgba(255, 255, 255, 0.72);
  filter: none;
}

.node[data-kind="technology"] circle {
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.22));
}

.node[data-kind="scenario"] circle:not(.scenario-halo) {
  stroke: rgba(236, 253, 245, 0.82);
  filter: drop-shadow(0 0 8px rgba(94, 234, 212, 0.14));
}

.node .scenario-halo {
  fill: rgba(94, 234, 212, 0.03);
  stroke: rgba(94, 234, 212, 0.12);
  stroke-width: 0.8px;
  filter: none;
}

.node.depth-near circle {
  filter: drop-shadow(0 0 9px rgba(56, 189, 248, 0.2));
}

.node.depth-far circle {
  stroke-width: 0.9px;
  filter: none;
}

.node text {
  fill: rgba(237, 246, 255, 0.92);
  stroke: rgba(5, 11, 22, 0.92);
  stroke-width: 3px;
  paint-order: stroke;
  font-size: 10px;
  font-weight: 900;
  pointer-events: none;
  letter-spacing: 0;
  text-shadow: 0 0 10px rgba(5, 11, 22, 0.9);
}

.node[data-kind="technology"] text {
  font-size: 12px;
  fill: rgba(237, 246, 255, 0.96);
}

.node[data-kind="enterprise"] text {
  fill: rgba(255, 226, 169, 0.94);
  stroke-width: 2.6px;
  font-size: 10.5px;
}

.node[data-kind="product"] text {
  fill: rgba(187, 247, 208, 0.92);
  stroke-width: 2.3px;
  font-size: 8.8px;
}

.node[data-kind="scenario"] text {
  fill: rgba(236, 253, 245, 0.98);
  font-size: 12px;
}

.node.is-active circle {
  stroke: #fff;
  stroke-width: 3px;
  filter: drop-shadow(0 0 14px rgba(56, 189, 248, 0.4));
}

.cockpit {
  position: absolute;
  z-index: 5;
  right: 28px;
  top: 28px;
  width: clamp(300px, 26vw, 390px);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 116px;
  gap: 10px 14px;
  align-items: center;
  background: rgba(7, 15, 28, 0.66);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cockpit-readout span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.cockpit-readout strong {
  display: block;
  margin-top: 4px;
  font-size: 20px;
  line-height: 1.25;
  color: var(--text);
}

.cockpit-readout small {
  display: block;
  margin-top: 7px;
  color: rgba(237, 246, 255, 0.72);
  font-size: 13px;
  font-weight: 800;
}

.cockpit-radar {
  width: 116px;
  height: 88px;
  overflow: visible;
}

.cockpit ellipse {
  fill: none;
  stroke: rgba(148, 163, 184, 0.24);
  stroke-width: 1;
}

.nav-vector {
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.2;
  stroke-linecap: round;
  opacity: 0.42;
  filter: none;
}

.viewport-zone {
  fill: rgba(56, 189, 248, 0.16);
  stroke: rgba(56, 189, 248, 0.18);
  stroke-width: 1;
}

.viewport-ring {
  fill: rgba(56, 189, 248, 0.08);
  stroke: rgba(56, 189, 248, 0.52);
  stroke-width: 1.1;
  stroke-dasharray: 2.5 2.5;
}

.viewport-dot {
  fill: #fff;
  stroke: var(--blue);
  stroke-width: 1.4;
  filter: none;
}

.cockpit circle {
  fill: rgba(148, 163, 184, 0.56);
}

.cockpit circle.is-current {
  fill: var(--blue);
  stroke: rgba(255, 255, 255, 0.92);
  stroke-width: 1.2;
  filter: none;
}

.product-panel {
  position: absolute;
  z-index: 6;
  right: 18px;
  bottom: 18px;
  width: min(420px, calc(100vw - 36px));
  max-height: calc(100% - 36px);
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 8px;
  padding: 14px;
  background: rgba(7, 15, 28, 0.78);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
  transform: translateY(14px);
  opacity: 0;
  transition:
    transform 0.22s ease,
    opacity 0.22s ease;
}

.product-panel.is-open {
  transform: translateY(0);
  opacity: 1;
}

.product-close {
  position: sticky;
  z-index: 2;
  top: 0;
  display: grid;
  place-items: center;
  margin: -4px -4px 2px auto;
  width: 28px;
  min-height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.82);
  color: rgba(237, 246, 255, 0.86);
  font-size: 19px;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.product-panel > span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.product-panel > strong {
  display: block;
  margin-top: 5px;
  padding-right: 28px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.25;
}

.product-meta {
  margin-top: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.product-meta em {
  border: 1px solid rgba(148, 163, 184, 0.18);
  border-radius: 999px;
  padding: 3px 7px;
  color: rgba(237, 246, 255, 0.78);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.product-body {
  margin-top: 12px;
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  gap: 12px;
}

.product-image {
  display: grid;
  place-items: center;
  width: 118px;
  aspect-ratio: 1;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-image b {
  color: #667085;
  font-size: 12px;
}

.product-specs {
  display: grid;
  gap: 7px;
}

.product-specs div {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  padding-bottom: 5px;
}

.product-specs span {
  color: rgba(159, 177, 200, 0.86);
  font-size: 11px;
  font-weight: 900;
}

.product-specs b {
  color: rgba(237, 246, 255, 0.94);
  font-size: 12px;
  line-height: 1.35;
}

.product-specs p,
.product-panel > p {
  margin: 10px 0 0;
  color: rgba(159, 177, 200, 0.88);
  font-size: 12px;
  line-height: 1.55;
}

.product-description {
  max-height: 116px;
  overflow: auto;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  padding-top: 9px;
}

@media (max-width: 1180px) {
  .scene-board {
    right: 330px;
  }

  .asset-scale {
    grid-template-columns: repeat(2, minmax(118px, 1fr));
  }
}

@media (max-width: 980px) {
  .scene-board {
    left: 12px;
    right: 12px;
    max-width: none;
  }

  .top-strip {
    grid-template-columns: minmax(148px, max-content) minmax(260px, 1fr);
  }

  .asset-scale {
    grid-template-columns: repeat(2, minmax(112px, 1fr));
  }

  .cockpit {
    top: auto;
    right: 14px;
    bottom: 14px;
    width: min(320px, calc(100vw - 28px));
  }
}

@media (max-width: 760px) {
  .graph-app {
    padding: 6px;
  }

  .scene-board {
    left: 12px;
    right: 12px;
    max-width: none;
  }

  .top-strip {
    grid-template-columns: 1fr;
    grid-template-areas: "brand" "scale" "entry";
  }

  .asset-scale {
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .entry-strip {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .entry-strip::-webkit-scrollbar {
    display: none;
  }

  .entry-panel {
    top: 170px;
    left: 12px;
    width: calc(100vw - 24px);
  }

  .cockpit {
    display: none;
  }

  .cockpit-radar {
    width: 88px;
    height: 70px;
  }

  .product-panel {
    right: 12px;
    bottom: 12px;
  }
}

@media (max-width: 560px) {
  :root {
    --mobile-chrome-offset: 48px;
  }

  body {
    min-height: 100svh;
  }

  .graph-app,
  .graph-stage {
    min-height: 100svh;
  }

  .graph-app {
    height: 100svh;
    padding: 5px;
  }

  .graph-stage {
    height: calc(100svh - 10px);
    min-height: calc(100svh - 10px);
    border-radius: 20px;
  }

  .scene-board {
    top: calc(8px + env(safe-area-inset-top, 0px));
    left: 9px;
    right: 9px;
  }

  .is-hosted .scene-board {
    top: calc(
      8px + var(--mobile-chrome-offset) + env(safe-area-inset-top, 0px)
    );
  }

  .top-strip {
    grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
    grid-template-areas: "brand entry" "scale scale";
    gap: 5px;
    align-items: stretch;
  }

  .brand {
    min-height: 34px;
    min-width: 0;
    padding: 5px 9px;
    overflow: hidden;
  }

  .brand strong {
    overflow: hidden;
    font-size: 15px;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .asset-scale {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    padding: 7px 8px;
  }

  .asset-scale div {
    display: grid;
    gap: 2px;
    padding-left: 7px;
  }

  .asset-scale div:nth-child(n + 4) {
    display: none;
  }

  .asset-scale span {
    overflow: hidden;
    font-size: 10px;
    line-height: 1;
    text-overflow: ellipsis;
  }

  .asset-scale strong {
    overflow: hidden;
    font-size: 14px;
    line-height: 1.12;
    text-overflow: ellipsis;
  }

  .entry-strip {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    padding: 3px;
    overflow: hidden;
  }

  .scene-board button {
    min-height: 34px;
    padding: 4px 3px;
    border-radius: 6px;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
  }

  .entry-panel {
    top: calc(86px + env(safe-area-inset-top, 0px));
    left: 10px;
    width: calc(100vw - 20px);
    max-height: calc(100svh - 104px);
    overflow: auto;
  }

  .is-hosted .entry-panel {
    top: calc(
      86px + var(--mobile-chrome-offset) + env(safe-area-inset-top, 0px)
    );
    max-height: calc(100svh - 152px);
  }

  .product-panel {
    right: 10px;
    bottom: 10px;
    left: 10px;
    width: auto;
    max-height: min(58svh, 440px);
  }

  .product-body {
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 10px;
  }

  .product-image {
    width: 86px;
  }
}

@supports not (
  (backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
) {
  .brand,
  .asset-scale,
  .entry-strip,
  .entry-panel,
  .cockpit,
  .product-panel {
    background: rgba(7, 15, 28, 0.94);
  }
}

@media (prefers-reduced-motion: reduce) {
  .node,
  .graph-stage .starfield {
    animation: none;
  }

  .asset-scale,
  .entry-strip,
  .entry-panel,
  .product-panel {
    transition: none;
  }
}
