.bsw-page .bsw-switcher,
.bsw-masters-page .bsw-pool-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 26px;
}

.bsw-page .bsw-switcher a,
.bsw-masters-page .bsw-pool-tabs a {
  background: #fff;
  border: 1px solid var(--bsw-line);
  border-radius: 999px;
  color: var(--bsw-text) !important;
  font-weight: 700;
  padding: 9px 15px;
  text-decoration: none !important;
}

.bsw-page .bsw-switcher a:hover,
.bsw-masters-page .bsw-pool-tabs a:hover,
.bsw-page .bsw-switcher a:focus-visible,
.bsw-masters-page .bsw-pool-tabs a:focus-visible {
  border-color: var(--bsw-accent);
  color: var(--bsw-accent) !important;
}

.bsw-page .bsw-switcher a.is-active,
.bsw-masters-page .bsw-pool-tabs a.is-active {
  background: var(--bsw-accent);
  border-color: var(--bsw-accent);
  color: #fff !important;
}

.bsw-filters--masters {
  grid-template-columns: 150px 160px 210px minmax(220px, 1fr) auto;
}

.bsw-scroll-hint {
  color: var(--bsw-muted);
  display: none;
  font-size: 13px;
  margin: -4px 0 10px;
}

.bsw-table--masters {
  min-width: 900px;
  table-layout: fixed;
}

.bsw-table--masters thead th:first-child,
.bsw-table--masters tbody th {
  max-width: 145px;
  min-width: 145px;
  width: 145px;
}

.bsw-table--masters thead th:nth-child(2),
.bsw-table--masters tbody td:nth-child(2) {
  width: 105px;
}

.bsw-table--masters thead th:nth-child(3),
.bsw-table--masters tbody td:nth-child(3) {
  width: 90px;
}

.bsw-table--masters thead th:nth-child(n+4),
.bsw-table--masters tbody td:nth-child(n+4) {
  text-align: center;
  width: 92px;
}

.bsw-table--masters tbody th strong {
  display: block;
}

@media (max-width: 1180px) {
  .bsw-filters--masters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bsw-filters--masters .bsw-filter-search {
    grid-column: 1 / -1;
  }
}

@media (max-width: 680px) {
  .bsw-page .bsw-switcher,
  .bsw-masters-page .bsw-pool-tabs {
    flex-wrap: nowrap;
  }

  .bsw-page .bsw-switcher a,
  .bsw-masters-page .bsw-pool-tabs a {
    flex: 1 1 0;
    padding: 9px 10px;
    text-align: center;
  }

  .bsw-filters--masters,
  .bsw-filters--masters .bsw-filter-search {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .bsw-scroll-hint {
    display: block;
  }

  .bsw-table--masters {
    font-size: 13px;
    min-width: 790px;
  }

  .bsw-table--masters thead th:first-child,
  .bsw-table--masters tbody th {
    max-width: 112px;
    min-width: 112px;
    width: 112px;
  }

  .bsw-table--masters thead th:nth-child(2),
  .bsw-table--masters tbody td:nth-child(2) {
    width: 90px;
  }

  .bsw-table--masters thead th:nth-child(3),
  .bsw-table--masters tbody td:nth-child(3) {
    width: 76px;
  }

  .bsw-table--masters thead th:nth-child(n+4),
  .bsw-table--masters tbody td:nth-child(n+4) {
    width: 78px;
  }

  .bsw-table--masters th,
  .bsw-table--masters td {
    padding: 9px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bsw-page .bsw-switcher a,
  .bsw-masters-page .bsw-pool-tabs a {
    transition: none;
  }
}
