

.icons {
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
}

.team_row {
  padding: 2px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  align-items: stretch;

  &:hover > .icons {
    opacity: 1;
    pointer-events: all;
  }

  &:not(:first-of-type) {
    margin-top: 8px;
  }
}

@media screen and (max-width: 700px) {
  .icons {
    opacity: 1;
    pointer-events: all;
    align-items: stretch;

    button {
      height: inherit;
      width: 48px;
    }
  }
}