.st-v3-ecosystem-map__diagram {
  border-radius: 32px;
  padding: clamp(20px, 3vw, 32px);
  display: grid;
  gap: clamp(24px, 3vw, 36px);
}

.st-v3-ecosystem-map__orbit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.st-v3-ecosystem-map__spine {
  display: flex;
  gap: 16px;
  align-items: stretch;
}

.st-v3-ecosystem-map__spine-item-wrap {
  display: flex;
  gap: 16px;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
}

.st-v3-ecosystem-map__node {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  border-radius: 24px;
  padding: 18px;
  text-decoration: none;
  color: inherit;
}

a.st-v3-ecosystem-map__node:hover {
  border-color: var(--st-v2-line-1);
}

.st-v3-ecosystem-map__node--spine {
  flex: 1 1 0;
  min-width: 0;
  min-height: 210px;
}

.st-v3-ecosystem-map__node--orbit {
  min-height: 180px;
}

.st-v3-ecosystem-map__media {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-height: 88px;
}

.st-v3-ecosystem-map__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.st-v3-ecosystem-map__chip {
  align-self: flex-start;
}

.st-v3-ecosystem-map__node-title {
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.08;
  color: var(--st-v2-text-0);
}

.st-v3-ecosystem-map__node-body {
  margin: 0;
  color: var(--st-v2-text-1);
  font-size: 15px;
  line-height: 1.5;
  flex: 1 1 auto;
}

.st-v3-ecosystem-map__node-link {
  margin-top: auto;
  font-size: 14px;
  color: var(--st-v2-accent-0, #58d7ff);
}

.st-v3-ecosystem-map__connector {
  width: 28px;
  min-width: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(88, 215, 255, 0.52), rgba(107, 109, 255, 0.52));
}

.st-v3-ecosystem-map__participation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  padding-top: 8px;
  border-top: 1px solid var(--st-v2-line-0, rgba(255, 255, 255, 0.08));
}

.st-v3-ecosystem-map__participation-label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--st-v2-text-2, rgba(255, 255, 255, 0.56));
}

.st-v3-ecosystem-map__participation-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.st-v3-ecosystem-map__participation-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--st-v2-line-0, rgba(255, 255, 255, 0.12));
  color: var(--st-v2-text-0);
  text-decoration: none;
  font-size: 14px;
}

.st-v3-ecosystem-map__participation-link:hover {
  border-color: var(--st-v2-line-1);
}

@media (max-width: 1100px) {
  .st-v3-ecosystem-map__orbit {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .st-v3-ecosystem-map__spine {
    flex-direction: column;
  }

  .st-v3-ecosystem-map__spine-item-wrap {
    flex-direction: column;
    width: 100%;
  }

  .st-v3-ecosystem-map__connector {
    width: 2px;
    height: 24px;
    min-width: 2px;
    background: linear-gradient(180deg, rgba(88, 215, 255, 0.52), rgba(107, 109, 255, 0.52));
  }
}

@media (max-width: 640px) {
  .st-v3-ecosystem-map__orbit {
    grid-template-columns: minmax(0, 1fr);
  }

  .st-v3-ecosystem-map__node--spine,
  .st-v3-ecosystem-map__node--orbit {
    min-height: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  a.st-v3-ecosystem-map__node:hover {
    border-color: inherit;
  }
}
