.ecosystem {
  margin: 30px auto 90px;
  border: 1px solid #ffffff18;
  border-radius: 22px;
  background: #121417;
  overflow: hidden;
}
.ecosystem__space {
  position: relative;
  height: clamp(380px, 52vw, 590px);
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 52% 46%,#34302357,transparent 66%),
    radial-gradient(ellipse at 23% 28%,#28354655,transparent 33%),
    radial-gradient(ellipse at 80% 74%,#2c213b55,transparent 33%),
    #111419;
}
.ecosystem__space.has-line-hover { cursor: pointer; }
.ecosystem__space.is-dragging,.ecosystem__space.is-dragging button { cursor: grabbing; }
.ecosystem__wires { position:absolute; inset:0; width:100%; height:100%; pointer-events:none; }
.ecosystem__wire {
  fill: none;
  stroke: #b0a692;
  stroke-opacity: .43;
  stroke-width: .85;
  vector-effect: non-scaling-stroke;
}
.ecosystem__wire.is-related { stroke:#bf9b60; stroke-opacity:.69; }
.ecosystem__wire.is-selected,.ecosystem__wire.is-hovered,.ecosystem__wire:focus-visible {
  stroke: #efcf8c;
  stroke-opacity: 1;
  stroke-width: 2.25;
  filter: drop-shadow(0 0 4px #ce9b5366);
}
.ecosystem__arrow { fill:none; stroke:#efcf8c; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
.ecosystem__node {
  position: absolute;
  transform: translate(-50%,-50%);
  user-select: none;
  touch-action: none;
  cursor: grab;
}
.ecosystem__node {
  display:flex;
  width:max-content;
  align-items:center;
  gap:8px;
  z-index:2;
  padding:8px 12px 8px 8px;
  border:1px solid #ffffff30;
  border-radius:12px;
  color:var(--text);
  background:#1b2027;
  box-shadow:0 8px 25px #0007;
  font-size:17px;
  font-weight:600;
}
.ecosystem__node img { display:block; width:43px; height:43px; border-radius:7px; pointer-events:none; }
.ecosystem__node.is-selected,.ecosystem__node:hover { border-color:var(--gold-light); }
.ecosystem__connections {
  padding:20px 25px;
  border-top:1px solid #ffffff16;
}
.ecosystem__detail { min-height:91px; }
.ecosystem__direction { color:var(--gold-light); font-size:12px; margin:0 0 3px; }
.ecosystem__detail h3 { font-size:20px; line-height:1.25; margin:0 0 6px; }
.ecosystem__detail p:not(.ecosystem__direction) { color:var(--muted); font-size:14px; line-height:1.5; }
.ecosystem noscript details { padding:15px; }
@media(max-width:650px) {
  .ecosystem { margin:20px auto 68px; border-radius:16px; }
  .ecosystem__space { height:clamp(320px,92vw,460px); }
  .ecosystem__node { gap:5px; padding:5px 8px 5px 5px; font-size:13px; }
  .ecosystem__node img { width:30px; height:30px; }
  .ecosystem__connections { padding:15px; }
  .ecosystem__detail { min-height:100px; }
  .ecosystem__detail h3 { font-size:18px; }
}
