@media (max-width: 1024px) {
  #tools-mobile {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 11px;
  }
  #filter-match-type {
    display: flex;
    justify-content: start;
    gap: 6px;
  }
  #filter-match-type .filter-button,
  #CompanySelMobile .dropdown-toggle {
    font-size: 12px;
    width: 90px;
    padding: 10px 20px;
    text-align: center;
    color: #5f5f5f;
    background-color: #f2f2f2;
    border: 0;
    border-radius: 4px;
    font-weight: bold;
    white-space: nowrap;
  }

  #CompanySelMobile {
    height: 100%;
    flex-grow: 1;
    display: flex;
    justify-content: end;
  }

  #CompanySelMobile .dropdown-toggle {
    max-width: 181px;
    width: 100%;
    height: 100%;
    position: relative;
    margin-right: 0;
  }

  #filter-match-type .filter-button.active {
    color: white;
    background-color: #205c04;
  }

  #basketball #showoptional2 {
    max-width: calc(100dvw - 20px);
    left: 0 !important;
  }

  #basketball #myleague2 ul {
    display: flex;
    flex-direction: column;
  }

  #basketball #myleague2 ul li {
    width: 100%;
  }

  .match-list-mobile {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #fff;
  }
  .league-box {
    display: flex;
    flex-direction: column;
  }
  .dark .odds-table-bg {
    background-color: #353535;
  }
  .league-box.league-box--hidden {
    display: none;
  }
  .league-box--content {
    display: none;
  }
  .league-box--content.league-show {
    display: flex;
    flex-direction: column;
  }

  .league-box .league-box--detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5px;
    background-color: var(--bgcolor);
    color: #fff;
  }
  .league-box .league-box--detail .league-box--detail_name {
    flex-grow: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-left: 14px;
  }

  .league-box .league-box--detail .league-box--detail_close {
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 200 linear;
  }
  .league-box--match_item__info___close img {
    width: 10px;
    height: 10px;
  }

  .league-box .league-box--matches {
    display: flex;
    flex-direction: column;
  }
  .league-box .league-box--matches > *:not(:last-child) {
    border-bottom: 1px solid #070f03;
  }

  .league-box--match_detail {
    display: flex;
    gap: 20px;
    padding: 12px;
  }

  .league-box--detail:not(.league-show) .league-box--detail_close img {
    transform: rotate(180deg);
  }
  .league-box--match_item.league-box--match_item__hidden {
    display: none;
  }
  .league-box--match_item__time {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-items: center;
    border-right: 1px solid #e5e5e5;
    padding-right: 20px;
  }
  .league-box--match_item__time span:first-child {
    color: #f75000;
  }
  .league-box--match_item__time span:last-child {
    text-align: center;
    width: 52px;
  }
  .league-box--match_item__team {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 10px;
    justify-content: center;
  }
  .league-box--match_item__info {
    display: flex;
    flex-direction: column;
    align-items: end;
    gap: 12px;
  }
  .league-box--match_info___icon {
    display: flex;
    gap: 18px;
    color: #888888;
  }

  .league-box--match_item:not(:last-child) {
    border-bottom: 1px solid #909090;
  }

  .league-box--match_odds {
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .league-box--match_odds_box {
    display: none;
  }
  .league-box--match_odds_box:is(.odd-show, .odd-title) {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding-bottom: 8px;
  }
  .league-box--match_odds_box strong {
    text-align: center;
  }
  .league-box--match_odds_box .league-box--match_odds__item {
    display: flex;
    justify-content: center;
    gap: 14px;
  }
  .league-box--match_odds_box.odd-show
    > .league-box--match_odds__item:nth-child(2)
    span {
    color: #0000bb;
  }
  .dark .league-box--match_odds_box.odd-show
    > .league-box--match_odds__item:nth-child(2)
    span {
    color: #7aa4e2;
  }



  .league-box--match_odds_box.odd-show
    > .league-box--match_odds__item:nth-child(3)
    span {
    color: #880000;
  }
  .dark .league-box--match_odds_box.odd-show
    > .league-box--match_odds__item:nth-child(3)
    span {
    color: #dc4232;
  }

  .layui-layer-page {
    width: 100% !important;
    left: 0 !important;
  }
  .match-odds-menu {
    display: flex;
    gap: 1px;
  }
  .match-odds-menu > * {
    margin: 0;
  }
}
