.match-center-team-bets-special-blocks .match-center-bets-special-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  width: 100%;
}

.match-center-team-bets-special-blocks .match-center-bets-special-item {
  flex: 1 1 100%;
  min-width: 0;
}

@media (max-width: 767px) {
  .match-center-team-bets-special-blocks.match-center-bets-special-mobile-inline .match-center-bets-special-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .match-center-team-bets-special-blocks.match-center-bets-special-mobile-inline .match-center-bets-special-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .match-center-team-bets-special-blocks.match-center-bets-special-mobile-inline .match-center-bets-special-item {
    flex: none;
  }
}

@media (min-width: 768px) {
  .match-center-team-bets-special-blocks .match-center-bets-special-grid {
    margin-inline: auto;
  }

  .match-center-team-bets-special-blocks .match-center-bets-special-item {
    flex-basis: calc((100% - 24px) / 3);
    max-width: calc((100% - 24px) / 3);
  }

  .match-center-team-bets-special-blocks .match-center-bets-special-grid--two .match-center-bets-special-item {
    flex-basis: calc((100% - 12px) / 2);
    max-width: calc((100% - 12px) / 2);
  }
}

.match-center-bets-tables > div {
  flex: 0 0 auto;
  max-width: 100%;
  min-width: 132px;
  width: auto;
}

.match-center-bets-tables--even-mobile {
  align-items: start;
  grid-template-columns: repeat(2, minmax(132px, max-content));
  justify-content: center;
}

.match-center-bets-tables--even-mobile > div {
  justify-self: center;
}

.match-center-bets-tables.bets-grid-custom table {
  width: auto;
}

.match-center-bets-tables.bets-grid-custom th,
.match-center-bets-tables.bets-grid-custom td {
  max-width: none;
  width: auto;
}

@media (max-width: 767px) {
  .match-center-bets-tables--even-mobile {
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .match-center-bets-tables--even-mobile > div {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

@media (min-width: 768px) {
  .match-center-bets-tables {
    --match-center-bets-tables-width: 568px;
    margin-inline: auto;
    width: 100%;
  }

  .match-center-bets-tables--even-mobile {
    display: flex !important;
  }

  .match-center-bets-tables > div {
    flex: 1 1 220px;
    max-width: 320px;
    width: 100%;
  }

  .match-center-bets-tables.bets-grid-custom table {
    width: 100%;
  }

  .match-center-bets-tables--compact-desktop {
    flex-wrap: nowrap;
    gap: 8px;
    justify-content: space-between;
    max-width: none;
    width: 100%;
  }

  .match-center-bets-tables--compact-desktop > div {
    flex: 1 1 0;
    max-width: 240px;
    min-width: 0;
  }

  .match-center-bets-tables--compact-desktop table {
    min-width: 0 !important;
    width: 100%;
  }

  .match-center-bets-tables--compact-desktop.bets-grid-custom th,
  .match-center-bets-tables--compact-desktop.bets-grid-custom td {
    box-sizing: border-box;
    max-width: none;
    min-width: 28px;
    width: auto;
  }
}

.match-center-bets-tables .table-standar-th > .inline-flex {
  justify-content: center;
  width: 100%;
}
