<style>
  body {
    margin: 0;
    font-family: Arial, sans-serif;
    overflow: hidden;
    background: #222;
  }

  svg {
    width: 100vw;
    height: 100vh;
    display: block;
  }

  .node {
    cursor: pointer;
  }

  .link {
    stroke-opacity: 0.7;
  }

  .node text {
    pointer-events: none;
    font-size: 10px;
    fill: #fff;
    font-weight: bold;
    text-shadow: 0 0 3px #000;
    opacity: 1;
  }
</style>

<script type="module">
  import * as d3 from "https://cdn.jsdelivr.net/npm/d3@7/+esm";
