section#mat {
  .mat-bg {
    display: flex;
    flex-direction: column;
    row-gap: var(--row-gap);
    justify-content: center;
    align-items: center;
    background-color: transparent;
    .bg-row {
      display: flex;
      column-gap: var(--col-gap);
      &.opponent {
        flex-direction: row-reverse;
      }
    }
  }

  .block {
    height: var(--block-height-m);
    width: var(--block-width);
    // background-color: rgba(128, 128, 128, 0.447);
    background: radial-gradient(#1d1d1d, #222);
    // box-shadow: 0 0 0 1px purple;
    position: relative;
    &.extra {
      margin-inline: calc(var(--block-width) / 2 + var(--col-gap) / 2);
    }
    &.szone {
      height: var(--block-height-s);
    }
    &.highlight {
      // box-shadow: 0 0 0 1px #00b0ff, 0 0 13px 0px #0077ff,
      //   0 0 11px 0 skyblue inset;
      background: #142f47;
      .triangle {
        --color: #006eff;
      }
    }
    .triangle {
      width: 0;
      height: 0;
      --color: #333;
      border-width: 4px;
      border-style: solid;
      position: absolute;
      &:nth-of-type(1) {
        border-color: var(--color) transparent transparent var(--color);
      }
      &:nth-of-type(2) {
        border-color: var(--color) var(--color) transparent transparent;
        right: 0;
      }
      &:nth-of-type(3) {
        border-color: transparent var(--color) var(--color) transparent;
        right: 0;
        bottom: 0;
      }
      &:nth-of-type(4) {
        border-color: transparent transparent var(--color) var(--color);
        bottom: 0;
      }
    }
  }
}
