.account-market {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;

  .account {
    width: calc(25% - 8px);
    border-radius: 5px;
    background-color: #b7b5b5;

    &:hover {
      text-decoration: none;
      color: #4d4d4d;
    }

    &:nth-child(n+4) {
      margin-right: 0;
    }

    .name {
      text-align: center;
      font-size: 1.2rem;
      font-weight: bold;
      margin-bottom: 5px;
    }

    ul {
      margin-left: 25px;
    }

    .price {
      margin-bottom: 10px;
      display: flex;
      justify-content: center;

      span {
        border-radius: 50px;
        font-weight: bold;
        padding: 2px 10px;
        font-size: 1rem;
        background: #ebe56f;
      }
    }

    &-characters {
      display: flex;
      flex-wrap: wrap;
      gap: 5px;
      border-top: 1px solid #f5f7f1;
      padding: 5px;
    }

    &-character {
      border: 1px solid #000;
      width: 35px;
      height: 35px;
      border-radius: 3px;
      display: flex;
      align-content: center;
      justify-content: center;
      background-color: #f5f7f1;

      img {
        max-width: 100%;
        max-height: 100%;
      }
    }
  }
}