.league_table_wrap {
  border: 1px solid rgb (230, 231, 232);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.league_table_wrap::-webkit-scrollbar {
  height: 6px;
}

.league_table_wrap::-webkit-scrollbar-thumb {
  background-color: #fb4c35;
}

.league_table_wrap::-webkit-scrollbar-track {
  background-color: #ffffff;
}

.league_table {
  width: 100%;
  table-layout: fixed;
}

.league_table_head_line {
  background: #0d0d0d;
}

.league_table_head_point_border_left {
  position: relative;
}

.league_table_head_point_border_left::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: rgb(251, 76, 53);
}

.league_table_head_point {
  /* padding: 6px; */
  padding: 8px;
}

.league_name_wrap {
  align-items: center;
  display: flex;
  justify-content: flex-start;
  /* gap: 15px; */
  gap: 16px;
  justify-content: center;
}

.league_name_img {
  height: 20px;
  width: 20px;
  filter: invert(100%);
  object-fit: contain;
}

.league_name_text {
  display: none;
}

.league_table_head_point_text {
  font-size: 16px;
  font-weight: 500;
  color: rgb(255, 255, 255);
  text-align: center;
}

.league_table_body_line {
  background: #ffffff;
  transition: ease 0.5s;
}

.league_table_body_line:hover {
  background: #e6e7e8;
}

.league_table_body_point {
  padding: 8px;
}

.league_table_point_position {
  display: none;
}

.team_name_wrap {
  align-items: center;
  display: flex;
  /* gap: 20px; */
  gap: 24px;
  justify-content: center;
}

.team_name_text {
  font-size: 16px;
  font-weight: 500;
  /* width: 2%; */
  width: 6%;
  color: rgb(18, 18, 18);
  text-align: center;
}

.team_name_link {
  align-items: center;
  display: flex;
  /* gap: 10px; */
  gap: 16px;
  color: rgb(18, 18, 18);
  transition: ease 0.5s;
}

.team_name_link:hover {
  color: rgb(251, 76, 53);
}

.team_name_link_img {
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.team_name_link_title {
  display: none;
}

.league_table_body_point_text {
  font-size: 16px;
  font-weight: 500;
  color: rgb(18, 18, 18);
  text-align: center;
}

.league_table_head td:first-child,
.league_table_body td:first-child {
  position: sticky;
  left: 0;
  z-index: 5;
  width: 75px;
}

/* .aside_table_head {
  display: none;
} */

@media screen and (min-width: 768px) {
  .league_name_wrap {
    justify-content: flex-start;
  }

  .league_name_text {
    font-size: 16px;
    font-weight: 700;
    color: rgb(255, 255, 255);
    display: flex;
  }

  .team_name_wrap {
    gap: 16px;
    justify-content: flex-start;
  }

  .team_name_link_title {
    font-size: 16px;
    font-weight: 700;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .league_table_head td:first-child,
  .league_table_body td:first-child {
    width: 225px;
  }
}

@media (max-width: 1023px) {
  .league_table {
    width: 1000px;
  }
}

@media (min-width: 1024px) {
  .league_table_head_point {
    /* padding: 12px 16px; */
    padding: 8px 16px;
  }

  .league_name_wrap {
    /* gap: 25px; */
    gap: 24px;
  }

  .league_name_img {
    width: 30px;
    height: 30px;
  }

  .league_name_text {
    font-size: 18px;
  }

  .league_table_head_point_text {
    font-size: 18px;
  }

  .league_table_body_point {
    /* padding: 12px 16px; */
    padding: 16px;
  }

  .league_table_head_point_border_left::before {
    width: 5px;
  }

  .team_name_wrap {
    /* gap: 25px; */
    gap: 24px;
  }

  .team_name_text {
    font-size: 18px;
  }

  /* .team_name_link_title {
    font-size: 12px;
  } */

  .team_name_link_img {
    width: 30px;
    height: 30px;
  }

  .team_name_link_title {
    font-size: 18px;
  }

  .league_table_body_point_text {
    font-size: 18px;
  }

  .league_table_head td:first-child,
  .league_table_body td:first-child {
    width: 325px;
  }
}

@media (min-width: 1200px) {
  .league_table_point_position {
    display: table-cell;
  }

  :root {
    --form-size: 25px;
    --form-gap: 8px;
    --form-count: 5;
    --cell-pad-x: 32px;
    --form-col-w: calc(
      var(--form-count) * var(--form-size) + (var(--form-count) - 1) *
        var(--form-gap) + var(--cell-pad-x)
    );
  }

  .league_table_head .league_table_head_line > td:nth-child(10),
  .league_table_body tr > td:nth-child(10) {
    width: var(--form-col-w);
    min-width: var(--form-col-w);
  }

  .point_result_link_wrap {
    display: flex;
    justify-content: center;
    gap: var(--form-gap);
  }

  .point_result_link {
    align-items: center;
    display: flex;
    font-size: 16px;
    font-weight: 500;
    color: rgb(255, 255, 255);
    justify-content: center;
    flex: 0 0 auto;
    width: var(--form-size);
    height: var(--form-size);
  }

  .league_table_body tr > td:nth-child(10) {
    overflow: hidden;
  }
}
