:global {
  .my-port {
    width: 100%;
    height: 100%;
    background: #eee;
    border: 1px solid #808080;
    border-radius: 100%;

    &.connected {
      width: 0;
      height: 0;
      margin-top: 5px;
      margin-left: 1px;
      background-color: transparent;
      border-color: #808080 transparent transparent;
      border-style: solid;
      border-width: 5px 4px 0;
      border-radius: 0;
    }
  }

  .x6-node.available {
  }

  .x6-port-body.available {
    overflow: visible;

    body {
      overflow: visible;
    }

    body > div::before {
      float: left;
      box-sizing: border-box;
      width: 20px;
      height: 20px;
      margin-top: -5px;
      margin-left: -5px;
      background-color: rgb(57 202 116 / 60%);
      border-radius: 50%;
      content: ' ';
    }

    body > div::after {
      position: relative;
      z-index: 10;
      float: left;
      clear: both;
      box-sizing: border-box;
      width: 10px;
      height: 10px;
      margin-top: -15px;
      background-color: #fff;
      border: 1px solid #39ca74;
      border-radius: 50%;
      content: ' ';
    }
  }

  .x6-port-body.adsorbed {
    overflow: visible;

    body {
      overflow: visible;
    }

    body > div::before {
      float: left;
      box-sizing: border-box;
      width: 28px;
      height: 28px;
      margin-top: -9px;
      margin-left: -9px;
      background-color: rgb(57 202 116 / 60%);
      border-radius: 50%;
      content: ' ';
    }

    body > div::after {
      position: relative;
      z-index: 10;
      float: left;
      clear: both;
      box-sizing: border-box;
      width: 10px;
      height: 10px;
      margin-top: -19px;
      background-color: #fff;
      border: 1px solid #39ca74;
      border-radius: 50%;
      content: ' ';
    }
  }
}
