@font-face {
  font-family: "SUIT-Regular";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_suit@1.0/SUIT-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

:root {
  --primary-color: #1163ad;
  --page-background: #f7f8fa;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0 !important;
  padding: 0;
}

body {
  background: var(--page-background);
}

button {
  font: inherit;
}

#livestream_wrap {
  width: 100%;
  height: auto;
  margin: 0;
  overflow: hidden;
  background: var(--page-background);
  font-family: "SUIT-Regular", sans-serif;
}

#livestream_wrap li {
  list-style: none;
}

#players_area {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  overflow: hidden;
}

.player_cell {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
}

#players_area.mode-2 .player_cell,
#players_area.mode-4 .player_cell {
  flex-basis: calc(50% - 2px);
  width: calc(50% - 2px);
}

#players_area.mode-2 .player_cell:nth-child(even),
#players_area.mode-4 .player_cell:nth-child(even) {
  margin-left: 4px;
}

#players_area.mode-3 .player_1 {
  flex-basis: 100%;
  width: 100%;
}

#players_area.mode-3 .player_2,
#players_area.mode-3 .player_3 {
  flex-basis: calc(50% - 2px);
  width: calc(50% - 2px);
}

#players_area.mode-3 .player_3 {
  margin-left: 4px;
}

.player_stage {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  overflow: hidden;
  border-radius: 5px;
  background: #000;
}

.player_bg,
.player_bg img,
.player_stage video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.player_bg {
  overflow: hidden;
}

.player_bg img {
  display: block;
  object-fit: cover;
}

.player_stage video {
  z-index: 2;
  display: block;
  border: 0;
  object-fit: contain;
  background: #000;
}

.player_title {
  width: 100%;
  height: 22px;
  margin-top: 1px;
  color: #000;
  font-size: 14px;
  line-height: 22px;
  text-align: center;
}

#sport_category_wrap {
  clear: both;
  width: calc(100% - 20px);
  margin-top: 10px;
  padding: 10px;
  border-radius: 15px;
  background: #fff;
}

.icon_grid {
  display: grid;
  gap: 10px;
}

.icon_grid .item {
  position: relative;
  box-sizing: border-box;
  padding: 10px 5px;
  border-radius: 10px;
  background: #e5e5e5;
  text-align: center;
}

.icon_grid .item:hover {
  background: #0d55d7;
}

.icon_grid .item:hover img {
  filter: brightness(100%);
}

.icon_grid .item img {
  display: block;
  width: 80%;
  max-width: 60px;
  margin: 0 auto;
  filter: brightness(0%);
}

.cat_icon {
  position: relative;
  display: inline-block;
  width: 100%;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
}

.cat_icon .count {
  position: absolute;
  top: 3px;
  left: 8px;
  z-index: 10;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
  background: #0d55d7;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  font-size: 12px;
  font-weight: bold;
  line-height: 20px;
  text-align: center;
  transform: translate(-50%, -50%);
}

@media (min-width: 621px) {
  .icon_grid {
    grid-template-columns: repeat(12, 1fr);
    align-items: center;
    justify-items: center;
  }

  .icon_grid .item {
    margin: 0 1px;
  }
}

@media (max-width: 620px) {
  #livestream_wrap {
    width: 100%;
    padding: 0;
  }

  .icon_grid {
    grid-template-columns: repeat(6, 1fr);
    align-items: center;
    justify-items: center;
  }

  .icon_grid .item {
    margin: 1px;
  }
}

#multi_select_wrap {
  width: 100%;
  margin-top: 10px;
  overflow: hidden;
}

#multi_select_wrap ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

#multi_select_wrap ul > li {
  flex: 1 0 calc(20% - 10px);
  padding: 15px 0;
  border-radius: 15px;
  background: #fff;
  text-align: center;
}

#multi_select_wrap ul > li button {
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  color: #000;
  background: transparent;
  cursor: pointer;
  font-size: 15px;
}

#multi_select_wrap ul > li:hover {
  background: #0d55d7;
}

#multi_select_wrap ul > li:hover button {
  color: #fff;
}

#sports_list_area .sports_on_list,
#sports_list_area .sports_off_list {
  width: 100%;
  height: auto;
  margin-top: 10px;
  overflow: hidden;
}

#sports_list_area .on_list_title,
#sports_list_area .off_list_title {
  height: 34px;
  margin-bottom: 10px;
  border-radius: 15px;
  line-height: 34px;
}

#sports_list_area .on_list_title {
  background: var(--primary-color);
}

#sports_list_area .off_list_title {
  background: #bbb;
}

#sports_list_area .on_list_title .title,
#sports_list_area .off_list_title .title {
  padding-left: 5px;
}

#sports_list_area .on_list_title .title span,
#sports_list_area .off_list_title .title span {
  margin: 0;
  color: #fff;
  font-size: 17px;
}

#sports_list_area table.table-p1 {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 15px;
  overflow: hidden;
}

#sports_list_area table.table-p1 thead th {
  padding: 15px 5px;
  border: 1px solid #e5e5e5;
  color: #fff;
  background: #bbb;
  font-weight: bold;
  text-align: center;
}

#sports_list_area table.table-p1 tbody td {
  padding: 13px 5px;
  border: 1px solid #e5e5e5;
  color: #000;
  background: #efefef;
  text-align: center;
}

#sports_list_area .cat {
  width: 5%;
  min-width: 50px;
}

#sports_list_area .cat img {
  width: 100%;
  max-width: 40px;
  filter: brightness(0%);
}

#sports_list_area .datetime {
  width: 6%;
  min-width: 60px;
}

#sports_list_area .thumb {
  width: 100px;
  height: 54px;
  margin: 0 !important;
  padding: 3px !important;
}

#sports_list_area .thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

#sports_list_area .league {
  width: 12%;
  min-width: 120px;
}

#sports_list_area .noteam {
  width: 100%;
  text-align: center;
}

#sports_list_area .bold span {
  color: var(--primary-color) !important;
}

#sports_list_area .stat {
  width: 12%;
  min-width: 120px;
}

#sports_list_area .stat a {
  color: inherit;
  text-decoration: none;
}

#sports_list_area .stat span.on,
#sports_list_area .stat span.off,
#sports_list_area .stat span.channel_number {
  display: inline-block;
  border-radius: 15px;
  padding: 3px 8px;
  line-height: normal;
}

#sports_list_area .stat span.on {
  cursor: pointer;
  color: #fff;
  background: var(--primary-color);
}

#sports_list_area .stat span.off {
  color: #8c8c8c;
  background: #e1e1e1;
}

#sports_list_area .stat span.channel_number {
  width: 24px;
  height: 26px;
  margin: 0 1px;
  padding: 0;
  border-radius: 6px;
  color: #fff;
  background: #0d55d7;
  line-height: 26px;
  text-align: center;
}

#sports_list_area .stat span.channel_number:hover,
#sports_list_area .stat span.channel_number.selected {
  background: var(--primary-color);
}

.loading-row td,
.empty-row td {
  height: 58px;
  color: #8c8c8c !important;
}

@media (max-width: 900px) {
  #sports_list_area .league {
    display: none;
  }
}

@media (max-width: 620px) {
  #sports_list_area {
    font-size: 12px;
  }

  #multi_select_wrap {
    display: none;
  }

  #sports_list_area .cat {
    width: 3%;
    min-width: 30px;
  }

  #sports_list_area .cat img {
    max-width: 34px;
  }

  #sports_list_area .datetime {
    width: 3%;
    min-width: 30px;
  }

  #sports_list_area .thumb {
    width: 80px;
  }

  #sports_list_area .stat {
    width: 6%;
    min-width: 60px;
  }
}

[hidden] {
  display: none !important;
}
