.referee-page-season-fallback-root {
  position: relative;
}

.referee-page-season-fallback-root[aria-busy="true"] {
  min-height: 1160px;
}

.referee-page-season-fallback-root[aria-busy="true"] > [data-referee-page-season-fallback-loader] {
  position: absolute;
  inset: 0;
  min-height: 0;
}

@media (max-width: 1023px) {
  .referee-profile-summary {
    padding: 24px 20px 18px;
    text-align: center;
  }

  .referee-profile-summary .referee-profile-content {
    align-items: center;
    gap: 0;
  }

  .referee-profile-summary .referee-profile-title {
    max-width: 28ch;
    font-size: 18px;
    line-height: 1.4;
    text-wrap: balance;
    overflow-wrap: anywhere;
  }

  .referee-profile-summary .referee-profile-original-name {
    display: block;
    margin-top: 6px;
    color: var(--text-tetriary);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
  }

  .referee-profile-summary .referee-profile-description {
    max-width: 38ch;
    margin-top: 16px;
    color: var(--grayscale-body-light);
    font-size: 13px;
    line-height: 1.65;
    text-wrap: pretty;
  }

  .referee-profile-summary .referee-profile-tournament {
    width: 100%;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid var(--grayscale-gray-light);
    font-size: 13px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }

  .referee-profile-tournament a {
    color: var(--accent-darkgreen);
    font-weight: 600;
    text-underline-offset: 3px;
  }

  .referee-profile-tournament a:focus-visible {
    outline: 2px solid var(--accent-darkgreen);
    outline-offset: 4px;
    border-radius: 2px;
  }

  .referee-page-season-fallback-root[aria-busy="true"] {
    min-height: 1840px;
  }
}

.referee-sidebar-counter-table table {
    table-layout: fixed;
    width: 100%;
  }

  .referee-sidebar-counter-table .table-standar-th,
  .referee-sidebar-counter-table .table-standar-td {
    height: 30px;
    padding-left: 2px;
    padding-right: 2px;
    font-size: 10px;
  }

  .referee-sidebar-counter-table .table-standar-th > div {
    display: flex;
    width: 100%;
    justify-content: center;
  }

  .referee-sidebar-counter-table .table-standar-th:first-child {
    text-align: left !important;
  }

  .referee-sidebar-counter-table .table-standar-th:first-child > div {
    justify-content: flex-start;
  }

  .referee-sidebar-counter-table .table-standar-th:not(:first-child) {
    text-align: center !important;
  }

  .referee-sidebar-counter-table .standart-table-p-l {
    padding-left: 2px !important;
  }

  .referee-sidebar-counter-table .table-standar-th:first-child,
  .referee-sidebar-counter-table .table-standar-td:first-child {
    padding-left: 2px !important;
    width: 34%;
    min-width: 0;
    max-width: 0;
    font-weight: 700;
  }

  .referee-sidebar-counter-table .table-standar-th:not(:first-child),
  .referee-sidebar-counter-table .table-standar-td:not(:first-child) {
    width: 20.2%;
    min-width: 34px;
  }

  .referee-sidebar-counter-table .referee-counter-label-cell {
    overflow: hidden;
  }

  .referee-sidebar-counter-table .referee-counter-label-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .referee-sidebar-counter-table .referee-counter-total-row .table-standar-td {
    background-color: transparent;
    border-top: 2px solid #ECEEEF;
  }

  @media (max-width: 1023px) {
    .referee-sidebar-counter-table--mobile-tight table {
      min-width: 100% !important;
    }

    .referee-sidebar-counter-table--mobile-tight .table-standar-th,
    .referee-sidebar-counter-table--mobile-tight .table-standar-td {
      height: 26px;
      padding-left: 1px;
      padding-right: 1px;
      font-size: 12px;
    }

    .referee-sidebar-counter-table--mobile-tight .table-standar-th:first-child,
    .referee-sidebar-counter-table--mobile-tight .table-standar-td:first-child {
      width: 38%;
    }

    .referee-sidebar-counter-table--mobile-tight .table-standar-th:not(:first-child),
    .referee-sidebar-counter-table--mobile-tight .table-standar-td:not(:first-child) {
      width: 12.4%;
      min-width: 0;
    }
  }

  .referee-colleagues-table .table-standar-th,
  .referee-colleagues-table .table-standar-td {
    height: 30px;
    font-size: 10px;
  }

  .referee-colleagues-table .table-standar-th:first-child,
  .referee-colleagues-table .table-standar-td:first-child {
    font-weight: 700;
  }

  @media (max-width: 1023px) {
    .referee-colleagues-table {
      table-layout: fixed;
      width: 100%;
      min-width: 100%;
    }

    .referee-colleagues-table .table-standar-th,
    .referee-colleagues-table .table-standar-td {
      height: 26px;
      padding-left: 2px;
      padding-right: 2px;
      font-size: 12px;
    }

    .referee-colleagues-table .table-standar-th:first-child,
    .referee-colleagues-table .table-standar-td:first-child {
      width: 50%;
    }

    .referee-colleagues-table .table-standar-th:not(:first-child),
    .referee-colleagues-table .table-standar-td:not(:first-child) {
      width: 25%;
    }
  }
