.home-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 375px;
  gap: 26px;
  width: 100%;
}

@media (max-width: 992px) {
  .home-row {
    grid-template-columns: 1fr;
  }
}

/* Start: home-page */
.home-page {
  /* border-radius: 7px; */
  /* background: url(../images/home/bg-home-top.svg) no-repeat; */
  /* background-size: 100%; */
  margin-bottom: 16px;
  font-family: "Oswald", sans-serif;
}

div#home-sidebar {
  margin-top: 127px;
}

.sidebar__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  border-radius: 7px;
  background: #1C1C1D;
  padding-top: 10px;
  padding-inline: 20px;
  padding-bottom: 10px;
}

.sidebar__menu .menu-item {
  flex: 0 0 calc(50% - 5px);
  box-sizing: border-box;
}

.sidebar__menu .menu-item a {
  color: #B8C2C5;
  font-family: Barlow;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase;
  padding: 0;
}

/* Start: home-league */
.home-league {
  background: #1C1C1D;
  border-radius: 7px;
  padding: 12px;
}

.home-league .title_box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
}

.home-league .title_box h4 {
  margin: 0;
  font-size: 14px;
  font-family: Barlow;
  font-weight: 600;
  text-transform: uppercase;
}

.home-league .title_box h4 a {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
}

.home-league .view-move-league {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #8a93a8;
  font-size: 12px;
  text-decoration: none;
  transition: color 0.2s;
}

.home-league .view-move-league:hover {
  color: #ffffff;
}

/* League list - dạng danh sách dọc */
.home-league .league-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 8px;
}

/* Mỗi item là 1 hàng ngang: logo + tên */
.home-league .league-list .league-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 10px;
  text-decoration: none;
  transition: background 0.15s;
  border-radius: 6px;
}

.home-league .league-list .league-item:last-child {
  border-bottom: none;
}

.home-league .league-list .league-item:hover {
  background: #25252b;
}

.home-league .league-list .league-item img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 4px;
}

.home-league .league-list .league-item .league-name {
  color: white;
  font-size: 14px;
  font-family: Barlow;
  font-weight: 600;
  line-height: 24px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Skeleton */
.home-league .league-list .skeleton-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-bottom: 1px solid #22283a;
}

.home-league .league-list .skeleton-item:last-child {
  border-bottom: none;
}

.home-league .league-list .skeleton-logo {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  background: linear-gradient(90deg, #25252b 25%, #323a50 50%, #25252b 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  flex-shrink: 0;
}

.home-league .league-list .skeleton-name {
  height: 13px;
  width: 120px;
  border-radius: 4px;
  background: linear-gradient(90deg, #25252b 25%, #323a50 50%, #25252b 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
}

@keyframes shimmer {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}
/* End: home-league */

.title_box_h1 {
  background: linear-gradient(277deg, #FFF -1.35%, #999 132.05%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 24px !important;
}

/* START: page_bars */
.home-page .page_bars {
  border-radius: 7px;
  position: relative;
  margin-bottom: 29px;
}

.sports-bars {
  gap: 10px;
  align-items: center;
  padding: 11px 16px 11px 16px;
  position: relative;
}

.page_bars .sports-bars {
  padding: 0;
}

.sports-bars ul {
  list-style: none;
  width: 100%;
  display: flex;
  margin: 0;
  padding: 0;
  border-bottom: none;
  gap: 2px;
}

.sports-bars ul li {
  position: relative;
  margin-bottom: 0;
}

.nav-tabs .nav-item {
  margin-bottom: -1px;
}

.sports-bars ul li button.active,
.sports-bars ul li button:focus,
.sports-bars ul li button:hover {
  color: #00fffd;
  text-shadow: 0px 0.92px 3.678px rgba(0, 0, 0, 0.24);
  position: relative;
  /* background: linear-gradient(360deg,
      rgba(37, 44, 135, 1),
      rgba(34, 42, 73, 0.2)) !important; */
  border-color: transparent !important;
  border-radius: 37px !important;

  background: linear-gradient(to top, #252C87 0%, rgba(34, 42, 73, 0.2) 100%) !important;
}

.sports-bars ul li button.active span,
.sports-bars ul li button:focus span,
.sports-bars ul li button:hover span {
  background: unset;
  color: #00FFFD;
  -webkit-text-fill-color: #00FFFD;
}

.sports-bars ul li button.active svg,
.sports-bars ul li button:focus svg,
.sports-bars ul li button:hover svg {
  filter: brightness(0) saturate(100%) invert(99%) sepia(71%) saturate(4947%) hue-rotate(102deg) brightness(101%) contrast(107%);
}

.sports-bars ul li button.active::before,
.sports-bars ul li button:focus::before,
.sports-bars ul li button:hover::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 37px !important;
  padding: 1px;

  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  pointer-events: none;
  inset: -1.5px;
  padding: 1.5px;
  background: linear-gradient(to top, #00C8F4 0%, #4253F3 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box,
                linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.main-page .sports-bars ul li button#football-tab.active path {
  stroke: none;
}

.sports-bars ul li button#basketball-tab.active path,
.sports-bars ul li button#football-tab.active path,
.sports-bars ul li button#tennis-tab.active path,
.sports-bars ul li:hover button#basketball-tab path,
.sports-bars ul li:hover button#football-tab path,
.sports-bars ul li:hover button#tennis-tab path {
  fill: #00fffd;
}

.sports-bars ul li button#badminton-tab.active path,
.sports-bars ul li button#volleyball-tab.active path,
.sports-bars ul li:hover button#badminton-tab path,
.sports-bars ul li:hover button#volleyball-tab path {
  stroke: #00fffd;
  fill: none;
}

.sports-bars ul li {
  position: relative;
}

.sports-bars ul li:last-child::after {
  content: none;
}

.nav-tabs .nav-item.show .nav-link,
.nav-tabs .nav-link.active {
  color: #495057;
  background-color: #fff;
  border-color: #dee2e6 #dee2e6 #fff;
}

.sports-bars ul li button {
  font-family: Oswald;
  background: transparent;
  border: none;
  color: #FFEDED;
  text-shadow: 0px 0.92px 3.678px rgba(0, 0, 0, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  gap: 7px;
  font-weight: 600;
  height: 39px;
  outline: 0;
  border-radius: 7px;

  background: linear-gradient(277deg, #FFF -1.27%, #999 105.05%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sports-bars ul li button span {
  text-align: center;
  text-shadow: 0 0.92px 3.678px rgba(0, 0, 0, 0.24);
  font-family: Barlow;
  font-size: 13.793px;
  font-style: normal;
  font-weight: 600;
  line-height: 16.552px;
  /* 120% */
  text-transform: uppercase;
}

/* START: switch */
.btn-livescore {
  position: relative;
  width: 125px;
  height: 32px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  cursor: pointer;
  color: #fff;
  font-family: Oswald;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  border-radius: 30px;
  padding: 0 10px;
  margin-bottom: 0;
  border-radius: 25px;
  border: 1px solid #3A3A3A;
  background: #1B1D21;
  gap: 8px;
}

.btn-livescore>input[type="checkbox"]:checked+.switch-style {
  background: linear-gradient(93deg, #0157ff 12.13%, #a3ffff 101.78%);
}

.btn-livescore>input[type="checkbox"]:checked+.switch-style:before {
  left: 16px;
}

.btn-livescore input {
  display: none;
}

.btn-livescore .switch-custom {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 25px;
  background: transparent;
  overflow: hidden;
  z-index: 1;
}

.btn-livescore>input[type="checkbox"]:checked~.switch-custom::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(to top, #00c8f4, #4253f3);
  border-radius: 25px;
  z-index: -1;
}

.btn-livescore>input[type="checkbox"]:checked~.switch-custom:after {
  content: "";
  position: absolute;
  top: 1.5px;
  left: 1.5px;
  right: 1.5px;
  bottom: 1.5px;
  background: #000;
  border-radius: 25px;
  z-index: -1;
  background: linear-gradient(to top, #2532d5, #070e59);
  border-image-source: linear-gradient(to bottom, #00c8f4, #4253f3);
}

.btn-livescore>input[type="checkbox"]:checked+.switch-style {
  background: linear-gradient(93deg, #0157ff 12.13%, #a3ffff 101.78%);
}

.btn-livescore .txt {
  position: relative;
  z-index: 2;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: white;
  font-family: Raleway;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
  /* 138.462% */
}

.btn-livescore:has(input:checked) .txt {
  color: #9BFFAB;
}

.btn-livescore span.txt-pc {
  display: block;
}

.btn-livescore span.txt-sm {
  display: none;
}

/* END: switch */

/* filter */
.home-page .filter-row {
  display: none;
  grid-template-columns: 1fr 190px;
  gap: 16px;
  position: relative;
}

.home-page .filter-row#filter-esports {
  grid-template-columns: 1fr 370px;
}

.home-page .filter-row.active {
  display: grid;
}

.home-page .list-filter {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  list-style: none;
  gap: 12px;
  margin-bottom: 0;
}

.home-page .list-filter::-webkit-scrollbar {
  height: 4px;
}

.home-page .list-filter::-webkit-scrollbar-track {
  background: transparent;
}

.home-page .list-filter::-webkit-scrollbar-thumb {
  background: #202229;
}

.home-page .list-filter li a {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  min-width: 120px;
  height: 34px;
  padding: 0 8px;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
  font-family: Raleway;
  color: #ffffff;
  border-radius: 33px;
  background: #1C1C1D;
}

.home-page .list-filter li {
  position: relative;
  z-index: 9;
}

.home-page .list-filter li a.active,
.home-page .list-filter li a:hover {
  color: #9BFFAB;
  position: relative;
  font-weight: 600;
  z-index: 1;
  background: linear-gradient(180deg, #042104 39.71%, #045830 119.12%);
}

.home-page .list-filter li a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 32px;
  padding: 1px;
  background: transparent;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.home-page .list-filter li a.active,
.home-page .list-filter li a:hover {
  background: linear-gradient(180deg, #042104 39.71%, #045830 119.12%);
}

.home-page .list-filter li a.active::before,
.home-page .list-filter li a:hover::before {
  background: linear-gradient(-3.19deg, rgb(62, 212, 106) 2.71%, rgb(0, 42, 12) 97.57%);
}

.home-page .list-filter li a.now {
  color: #9bffab;
  background: linear-gradient(180deg, #042104 39.71%, #045830 119.12%);
  width: 129px;
  justify-content: flex-end;
}

.home-page .list-filter li a.now::before {
  background: linear-gradient(-3.19deg, rgb(62, 212, 106) 2.71%, rgb(0, 42, 12) 97.57%);
}

.home-page .list-filter li a .num {
  background: #162737;
  border: none;
  color: #ffffff;
  font-weight: 700;
  border-radius: 38px;
  width: 22px;
  height: 18px;
  display: inline-flex;
  justify-content: center;
  align-items: flex-start;
  font-size: 11px;
  font-family: Oswald;
}

.home-page .list-filter li a.now .num {
  background: #202229;
}

@media (max-width: 1444px) {
  .home-page .list-filter {
    overflow-x: scroll;
    overflow-y: hidden;
  }
}

@media (max-width: 1250px) {
  .home-page .list-filter {
    gap: 10px;
    padding-bottom: 6px;
  }
}

@media (max-width: 1199px) {
  .home-page .list-filter li a.now {
    width: auto;
    justify-content: center;
  }

  .home-page .list-filter li a {
    min-width: fit-content;
    gap: 7px;
    min-width: 100px;
  }

  .football-tab .row.ft__rows {
    flex-direction: column;
  }

  .match__settings {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .sports-bars {
    align-items: center;
  }

  .sports-bars ul li button {
    min-width: 100px;
    padding: 0 5px;
  }
}

@media (max-width: 1250px) {
  .home-page .list-filter {
    gap: 6px;
  }
}

@media (max-width: 992px) {
  .sports-bars {
    grid-template-columns: 1fr 120px;
  }

  .sports-bars ul {
    gap: 8px;
  }

  .sports-bars ul li::after {
    right: -4px;
  }

  .sports-bars ul li button {
    min-width: 90px;
    padding: 10px 5px;
    font-size: 12px;
  }

  .btn-livescore {
    font-size: 12px;
  }

  .btn-livescore .txt {
    font-size: 12px;
  }
}

@media (max-width: 1199px) {
  .sports-bars-mb {
    display: grid !important;
    grid-template-columns: 1fr 110px;
    padding: 3px 6px 8px;
  }

  .sports-bars ul {
    gap: 6px;
  }

  .sports-bars ul li button {
    display: grid;
    grid-template-columns: 1fr;
    font-size: 11px;
    border-radius: 7px;
    flex-direction: column;
    gap: 4px;
    min-width: 67px;
    height: 44px;
    display: flex;
    padding: 5px 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    background: linear-gradient(277deg, #FFF -1.27%, #999 105.05%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  .sports-bars ul li button.active,
  .sports-bars ul li button:focus,
  .sports-bars ul li button:hover,
  .sports-bars ul li button.active::before,
  .sports-bars ul li button:focus::before,
  .sports-bars ul li button:hover::before {
    border-radius: 7px;
  }

  .sports-bars ul li button svg {
    margin: 0 auto;
    height: 14px;
    width: 14px;
    object-fit: contain;
  }

  .sports-bars ul li button span {
    line-height: 18px;
    font-size: 12px;
  }

  .btn-livescore {
    width: 77px;
    display: inline-flex;
    height: 42px;
    padding: 2px 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0px !important;
  }

  .btn-livescore .switch-style {
    height: 16px;
    margin-right: 6px;
  }

  .btn-livescore .switch-style:before {
    width: 12px;
    height: 12px;
  }

  .btn-livescore span.txt {
    width: auto;
    overflow: hidden;
    text-overflow: ellipsis;
    text-wrap: nowrap;
    font-size: 11px;
  }

  .home-page .list-filter li a {
    gap: 5px;
  }

  .home-page .list-filter li a.active,
  .home-page .list-filter li a:hover {
    font-weight: 500;
  }

  .sports-bars ul li button.active,
  .sports-bars ul li button:focus,
  .sports-bars ul li button:hover {
    background: linear-gradient(0deg, #252C87 0%, rgba(34, 42, 73, 0.20) 76.25%);
  }

  .grid-matches__item .grid-match-item__footer {
    margin-inline: -3px !important;
  }
}

@media (max-width: 1325px) {
  .btn-livescore {
    width: auto !important;
  }

  .btn-livescore span.txt-pc {
    display: none !important;
  }

  .btn-livescore span.txt-sm {
    display: block !important;
  }
}

@media (max-width: 1199px) {
  .sports-bars {
    grid-template-columns: 1fr 68px;
    padding: 3px 6px 8px;
  }

  .sports-bars ul {
    justify-content: start;
    gap: 0;
  }

  .sports-bars ul li::after {
    right: -1px;
  }

  .btn-livescore .switch-style {
    height: 14px;
    width: 24px;
    margin-right: 4px;
  }

  .btn-livescore .switch-style:before {
    width: 11px;
    height: 11px;
  }

  .btn-livescore>input[type="checkbox"]:checked+.switch-style:before {
    left: 11px;
  }

  .btn-livescore span.txt {
    font-size: 9px;
  }

  .btn-livescore span.txt-pc {
    display: none !important;
  }

  .btn-livescore span.txt-sm {
    display: block;
    width: auto;
  }

  .home-page .list-filter li a.now img {
    width: 45px;
  }

  .home-page .filter-row,
  .home-page .filter-row#filter-esports {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 6px 0;
  }

  .home-page .list-filter li a {
    font-size: 11px;
    font-weight: 600;
    min-width: 104px;
    padding: 0 6px;
    gap: 4px;
    height: 34px;
    font-family: Barlow;
    font-size: 13px;
  }

  .home-page .list-filter li a .num {
    font-size: 8px;
    width: 20px;
    height: 16px;
    line-height: 15px;
  }
}

@media (max-width: 350px) {
  .sports-bars {
    padding: 10px 0;
  }
}

/* END: home-page */
:root {
  --background-wrapper: linear-gradient(180deg, #282a2c 0.08%, #282a2c 10.42%, #1e2021 40.82%);
  --hpu-bar-wrapper: #292c30;
  --statistics-home-bg: #007dbb;
  --statistics-win-bg: #06be46;
  --statistics-title: #FFFFFF;
  --statistics-win-bg-text-color: #06be46;
  --border-bottom-color: #343940;
  --btn-text-color: #afb4ba;
  --btn--bg: linear-gradient(180deg, #393d41, #282a2c);
  --btn-active-text-color: #4cf446;
  --btn-active-bg: linear-gradient(180deg, #042104 39.71%, #045830 119.12%);
  --btn-active-border-color: transparent;
}

/* START: match popup */
/* START: nav-tabs */
.hpu-nav-tabs {
  background: transparent;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  gap: .5rem;
  list-style: none;
  overflow: hidden;
  overflow-x: auto;
  white-space: nowrap;
  border-bottom: 1px solid var(--border-bottom-color) !important;
  padding-top: 6px;
  padding-bottom: 12px;
}

.hpu-nav-tabs .hpu-nav-item {
  padding: 0 !important;
  margin: 0 !important;
}

.hpu-nav-tabs .hpu-nav-item a {
  align-items: center;
  background: var(--btn--bg);
  border: none;
  border-radius: 6px;
  color: var(--btn-text-color) !important;
  cursor: pointer;
  display: flex;
  font-family: "Roboto Condensed";
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 9px;
  padding: 8px 12px;
  text-align: center;
  text-transform: uppercase;
}

.hpu-nav-tabs .hpu-nav-item a:hover,
.hpu-nav-tabs .hpu-nav-item a.active {
  background: var(--btn-active-bg);
  border: 1px solid var(--btn-active-border-color);
  color: var(--btn-active-text-color) !important;
  position: relative;
}

.hpu-nav-tabs .hpu-nav-item a:hover::before,
.hpu-nav-tabs .hpu-nav-item a.active::before {
  background: var(--as-primary-btn-border-before-bg);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(19.71%, #002a0c), color-stop(119.12%, #3ed46a));
  background: linear-gradient(180deg, #002a0c 19.71%, #3ed46a 119.12%);
  border-radius: 6px;
  bottom: 0;
  content: "";
  left: 0;
  -webkit-mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0, #fff)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0, #fff));
  -webkit-mask: linear-gradient(#fff, #fff 0) content-box, linear-gradient(#fff, #fff 0);
  mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0, #fff)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff), color-stop(0, #fff));
  mask: linear-gradient(#fff, #fff 0) content-box, linear-gradient(#fff, #fff 0);
  -webkit-mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff)) content-box, -webkit-gradient(linear, left top, left bottom, color-stop(0, #fff));
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  padding: 1px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-transform: none;
  transform: none;
  width: 100%;
}

/* END: nav-tabs */
.match-popup {
  position: absolute;
  top: 100px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 999;
}

.match-popup.statistic-section {
  top: 40px;
}

.match-popup .statics-popup,
.match-popup .incident-popup {
  width: 420px;
  background: var(--background-wrapper);
  border-radius: 13px;
  padding: 8px;
}

.hpu-home-scrollable-content {
  max-height: 380px;
  overflow-y: auto;
}

/* START: statistics */
.hpu-stats {
  border-radius: 4px;
  padding: 35px 1rem 1rem;
}

.hpu-stats__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hpu-stats__line {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
  gap: 0.69rem;
  position: relative;
}

.hpu-stats__value {
  color: #fff;
  font-family: "Be Vietnam Pro";
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  line-height: 1rem;
  position: absolute;
  left: 0;
  bottom: 100%;
  margin-bottom: 0.38rem;
}

.hpu-stats__value--away {
  right: 0;
  left: auto;
}

.hpu-stats__value.hpu-stats__home-win,
.hpu-stats__value.hpu-stats__away-win {
  color: var(--statistics-win-bg-text-color);
  font-weight: 700;
}

.hpu-stats__bar {
  border-radius: 0;
}

.hpu-stats__bar-wrapper {
  flex: 1;
  background: var(--hpu-bar-wrapper);
  height: 0.5625rem;
  overflow: hidden;
  display: flex;
  border-radius: 0;
}

.hpu-stats__bar-wrapper--home {
  justify-content: flex-end;
}

.hpu-stats__bar-wrapper--away {
  display: flex;
  justify-content: flex-start;
}

.hpu-stats__bar-wrapper.hpu-stats__home-win .hpu-stats__bar,
.hpu-stats__bar-wrapper.hpu-stats__away-win .hpu-stats__bar {
  background: var(--statistics-win-bg);
}

.hpu-stats__bar {
  background: var(--statistics-home-bg);
  height: 100%;
  display: block;
}

.hpu-stats__title {
  position: absolute;
  color: #fff;
  text-align: center;
  font-family: "Raleway";
  font-size: 12px;
  line-height: 18px;
  font-style: normal;
  font-weight: bold;
  bottom: 100%;
  margin-bottom: 6px;
}

/* END: statistics */

/* START: summary */
.hpu-summary-block {
  position: relative;
  font-family: 'Roboto';
}

.hpu-summary-block__start {
  text-align: center;
  padding-left: 25px;
  z-index: 2;
  padding: 3px 12px 18px 48px;
}

.hpu-summary-block__event {
  padding: 10px 12px;
  position: relative;
  justify-content: flex-end;
}

.hpu-summary-block__event-time {
  min-width: 24px;
  text-align: center;
  color: #fff;
  font-size: 12px;
  font-family: "Roboto Condensed";
  flex-basis: 39px;
}

.hpu-summary-block__event-icon {
  display: flex;
  justify-content: flex-start;
  padding: 0px 12px;
  position: relative;
}

.hpu-summary-block__event-icon::before {
  height: 54px;
  display: block;
  width: 1px;
  background: #5D5D5D;
  content: "";
  position: absolute;
  left: 49%;
  z-index: 1;
  top: 0px;
}

.hpu-summary-block__event-icon .hpu-icon {
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  background: #1A1A1A;
  border: 2px solid #535353;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.hpu-summary-block__event-score {
  align-items: center;
  justify-content: flex-end;
}

.hpu-summary-block__event-score button {
  border-radius: 30px;
  border: 1px solid #1B842E;
  background: #303339;
  white-space: nowrap;
  height: 24px;
  min-width: 60px;
  color: #fff;
  font-weight: 700;
  font-family: 'Roboto';
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
}

.hpu-summary-block__player {
  width: 100%;
  gap: 6px;
}

.hpu-summary-block__player .hpu-player-avatar {
  width: 32px;
  height: 32px;
}

.hpu-summary-block__player-logo img {
  object-fit: contain;
}

.hpu-summary-block__player-logo--in {
  border-radius: 50%;
  border: 3px solid #2187E5;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
}

.hpu-summary-block__player-logo--out {
  border-radius: 50%;
  border: 3px solid #E53030;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
}

.hpu-summary-block__player-name {
  color: #fff;
  font-size: 13px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  justify-content: center;
}

.hpu-summary-block__player-name--sub {
  opacity: 0.5;
}

.hpu-summary-block__player-name span {
  max-width: 70px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hpu-summary-block__midfield {
  white-space: nowrap;
  min-width: 87px;
  height: 24px;
  color: #fff;
  font-weight: 700;
  font-family: 'Roboto';
  font-size: 13px;
  border-radius: 30px;
  border: 1px solid #1456FF;
  background: linear-gradient(113deg, #1553EF 7.37%, #0C3089 57.22%, #0B2A79 66.05%, #000 131.67%);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
}

.hpu-summary-block__event--home {
  flex-direction: row-reverse;
}

.hpu-summary-block__event--home .hpu-summary-block__player {
  flex-direction: row-reverse;
  align-items: center;
}

.hpu-summary-block__event--home .hpu-summary-block__event-score {
  justify-content: flex-start;
}

.hpu-summary-block__event--home .hpu-summary-block__event-score .hpu-score-home {
  color: #00EB1F;
}

.hpu-summary-block__event--away .hpu-summary-block__event-icon {
  justify-content: flex-end;
}

.hpu-summary-block__event--away .hpu-summary-block__event-score .hpu-score-away {
  color: #00EB1F;
}

@media (max-width: 576px) {
  .hpu-summary-block__player {
    gap: 4px;
  }

  .hpu-summary-block__player .hpu-player-avatar {
    width: 24px;
    height: 24px;
  }

  .hpu-summary-block__player-logo--in,
  .hpu-summary-block__player-logo--out {
    border-width: 1px;
  }

  .hpu-summary-block__player-name {
    font-size: 12px;
  }

  .hpu-summary-block__player-name span {
    max-width: 60px;
  }
}

/* END: summary */
/* END: match popup */


/* START: odd btn */
.odds-btn {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  font-style: normal;
  width: 100%;
}

.odds-btn .odds-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 3px;
  height: 17px;
  padding: 0 2px;
  min-width: 82px;
  border-radius: 16px;
  border: 1px solid #edffb959;
}

.odds-btn .odds-item.odds-item-center {
  border: 1px solid #8deaff54;
}

.odds-btn .odds-item span {
  color: #8D92A2;
  font-size: 10px;
  font-weight: 400;
  flex: 1;
  display: flex;
  justify-content: center;
}

.odds-btn .odds-item .down {
  color: #FF0000;
}

.odds-btn .odds-item .up {
  color: #00C44D;
}

@media (max-width: 576px) {
  .odds-btn {
    grid-template-columns: 1fr;
    width: auto;
    position: relative;
    gap: 0;
  }

  .odds-btn::before,
  .odds-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 2px;
    height: 35px;
    background: url(../images/bg-odd-1.svg) no-repeat;
  }

  .odds-btn::before {
    left: 24px;
  }

  .odds-btn::after {
    right: 24px;
  }

  .odds-btn .odds-item {
    border: 1px solid transparent;
    gap: 14px;
    padding: 0;
    height: 12px;
  }

  .odds-btn .odds-item.odds-item-center {
    border: 1px solid transparent;
  }

  .odds-btn .odds-item span {
    font-size: 9px;
  }
}

/* END: odd btn */

/* matches__filter-leagues */
.home-page .filter-row .home-filter-dropdown {
  display: flex;
  gap: 10px;
  justify-content: end;
}

.matches__filter--leagues .sl-leagues {
  position: relative;
  width: 100%;
  margin: 0;
}

.custom-dropdown-trigger {
  background-color: #1C1C1D;
  color: white;
  padding: 8px 26px 8px 10px;
  border-radius: 5px;
  font-size: 13px;
  cursor: pointer;
  border: none;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-dropdown-trigger img {
  height: 16px;
  width: 16px;
  object-fit: contain;
}

.custom-dropdown-content {
  display: none;
  position: absolute;
  top: 38px;
  right: 0;
  min-width: 200px;
  width: max-content;
  z-index: 999;
  border-radius: 6px;
  background: #141516;
  box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.50);
  border: 1px solid #ffffff1c;
}

.custom-dropdown-content .custom-dropdown-head {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff1c;
  padding: 13px 15px;
}

.custom-dropdown-content .custom-dropdown-head span {
  color: #00FF4B;
  text-shadow: 0px 0.92px 3.678px rgba(0, 0, 0, 0.24);
  font-family: Oswald;
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
  line-height: 20px;
  text-transform: uppercase;
}

.custom-dropdown-content .custom-dropdown-head .custom-dropdown-close {
  cursor: pointer;
}

.custom-dropdown-list {
  max-height: 450px;
  overflow: auto;
}

.show-dropdown {
  display: block;
}

.custom-dropdown-option {
  color: white;
  padding: 13px 15px;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid transparent;
  border-bottom: 1px solid #ffffff1c;
  font-family: Roboto;
  font-weight: 400;
}

.custom-dropdown-option .league-name {
  display: flex;
  align-items: center;
  gap: 10px;
}

.custom-dropdown-option img {
  height: 16px;
  width: 16px;
  object-fit: contain;
}

.custom-dropdown-option .count {
  font-family: Roboto;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-dropdown-option:hover,
.custom-dropdown-option.active {
  border-top: 1px solid #006590;
  border-bottom: 1px solid #006590;
  color: #00FF4B;
  background: linear-gradient(270deg, rgba(11, 13, 12, 0.32) 42.28%, rgba(22, 53, 89, 0.20) 50.82%);
}

.custom-dropdown-option:hover .count svg g,
.custom-dropdown-option.active .count svg g {
  opacity: 1;
}

.custom-dropdown-option:hover .count svg path,
.custom-dropdown-option.active .count svg path {
  fill: #00FFFD;
}

.custom-dropdown-trigger::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 15px;
  width: 8px;
  height: 8px;
  border: solid #00EB1F;
  border-width: 0 1px 1px 0;
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
}

.custom-dropdown-trigger span {
  width: 120px;
  text-overflow: ellipsis;
  text-wrap: nowrap;
  overflow: hidden;
  white-space: nowrap;
  font-weight: 700;
  font-size: 13px;
  line-height: 18px;
  color: #FFF;
  font-family: Barlow;
}

@media (max-width: 576px) {
  .custom-dropdown-content {
    width: 100%;
    top: 45px;
  }

  .custom-dropdown-trigger span {
    width: 220px;
  }
}

/* END: matches__filter-leagues */

/* START: Match List */
.grid-matches {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  margin-bottom: 20px;
  flex-direction: column
}

.grid-matches .sport-league-title {
  flex: 0 0 100%;
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 0;
  margin-bottom: -8px;
}

.grid-matches .sport-league-title img {
  height: 20px;
  max-width: 20px;
  object-fit: contain;
}

.grid-matches .sport-league-title span {
  color: #FFF;
  text-align: center;
  font-family: Roboto;
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
}

.grid-matches .sport-league-title span .sport-name {
  text-transform: uppercase;
}

.grid-match {
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  background: #506b4e54;
  color: #000;
  height: 100%;
}

.grid-match__team-home {
  padding: 0px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.grid-match__vs {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0px;
  width: 100%;
  align-items: center;
}

.grid-match__vs .home-score {
  text-align: left;
}

.grid-match__vs .away-score {
  text-align: right;
}

.grid-match__team-away {
  padding: 0px;
}

.grid-match__info {
  color: #fff;
  font-size: 14px;
  padding: 15px 10px 15px 10px;
  line-height: 20px;
}

.grid-match__vs {
  color: #BBBBBB;
  white-space: nowrap;
}

.grid-matches__item {
  display: block;
  cursor: pointer;
  position: relative;
  cursor: pointer;
  flex: 0 0 calc(50% - 10px);
}

.match-football-item {
  max-height: 162px;
}

.grid-matches__item .redirectPopup {
  height: 71%;
}

.grid-matches__item a,
.teambox a,
#tv_links a {
  text-decoration: none;
}

.grid-matches__item a:hover,
.teambox a:hover {
  color: #34495e;
}

.grid-match--flag {
  color: #828B98;
  font-family: 'Roboto';
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  border-radius: 24px;
  display: flex;
  padding: 3px 10px;
  gap: 10px;
}

.grid-match--flag-h2h {
  background-color: transparent;
  padding: 0px;
  gap: 3px;
}

.grid-match__h2h-vs {
  gap: 3px;
  align-items: center;
  background-color: #141516;
  padding: 4px 6px;
  border-radius: 24px;
}

.grid-match__h2h-vs img {
  height: 12px;
  width: 12px;
  object-fit: contain;
}

.grid-match--flag .grid-match__goal-scoring {
  gap: 4px;
}

.grid-match--flag .grid-match__corner-ball {
  gap: 3px;
  align-items: center;
}

.xltv-title_box h4 {
  color: var(--Text-1---Main, #FFF);
  font-family: Barlow;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
  line-height: 24px;
  text-transform: uppercase;
}

section.highlights_box .title_box h4 {
  color: #FFF !important;
  font-family: Barlow !important;
  font-size: 22px !important;
  font-style: normal !important;
  font-weight: 600 !important;
  line-height: 30px !important;
  text-transform: capitalize !important;
}

.grid-match--flag .match-flag-item {
  display: flex;
  position: relative;
}

.match-flag-item:before {
  position: absolute;
  width: 1px;
  height: 16px;
  content: "";
  background: #283342;
  right: -6px;
}

.grid-match--flag-h2h .match-flag-item:before,
.grid-match--flag .match-flag-item:last-child:before {
  display: none;
}

.grid-match--flag .grid-match__yellow-ball {
  gap: 4px;

  align-items: center;
  gap: 5px;
}

.grid-match--flag .match-flag-item-dota2 {
  display: flex;
  align-items: center;
  gap: 3px;
}

.grid-match-item__footer-football {
  display: none;
  justify-content: center;
  margin-bottom: 10px;
}

.grid-match-item__footer-football .grid-match--flag {
  justify-content: space-between;
}

.grid-match__goal-scoring span {
  color: #00C44D;
}

.grid-match__goal-scoring .grid-match__half-court {
  color: #fff;
  color: #969696;
}

.grid-matches__item .grid-match__odds {
  color: #8D92A2;
  font-family: 'Roboto';
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  /* 145.455% */
  position: relative;
  min-width: 105px;
}

.grid-matches__item .grid-match__odds .grid-match__odds-item {
  display: flex;
  justify-content: space-between;
  line-height: 15px;
  gap: 15px;
  position: relative;
}

.grid-matches__item .grid-match__odds .grid-match__odds-item p {
  color: #8D92A2;
  font-family: 'Roboto';
  font-size: 11px;
  margin: 0px;
  position: relative;
  display: flex;
  flex: 1;
  justify-content: center;
}

div[odds]:not([odds=""]) .grid-match__odds::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 1px;
  height: 24px;
  opacity: 0.3;
  background: linear-gradient(360deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 55%, rgba(255, 255, 255, 0) 100%);
}

div[odds]:not([odds=""]) .grid-match__odds::after {
  content: '';
  position: absolute;
  right: 30px;
  top: 50%;
  transform: translateY(-50%);
  display: block;
  width: 1px;
  height: 24px;
  opacity: 0.3;
  background: linear-gradient(360deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.5) 55%, rgba(255, 255, 255, 0) 100%);
}

div[odds=""] .grid-match__odds {
  opacity: 0 !important;
}

.grid-match__odds-item .down {
  color: #FF0000;
}

.grid-match__odds-item .up {
  color: #00C44D;
}

.grid-match__time {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 2;
}

.grid-match__time .icon-haflt {
  position: relative;
}

.grid-match__time .progress-bar {
  position: absolute;
  left: 3px;
  top: 2px;
  height: 86%;
  background: rgba(18, 117, 37, 0.63);
  border-bottom-left-radius: 60px;
  width: 20%;
  border-bottom-right-radius: 0px;
}

.grid-match__time .icon-haflt text {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.grid-match--is-today .grid-match__day {
  display: none;
}

.grid-match__team {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 0;
}

.grid-matches__item .blv li .avatar-round {
  width: 24px;
  height: 24px;
  overflow: hidden;
}

.grid-matches__item .blv li .avatar-round:before {
  content: '';
  position: absolute;
  background: url(../images/border-avatar.svg) no-repeat;
}

.grid-matches__item .blv li span {
  color: #FFF;
  text-align: center;
  font-family: 'Raleway';
  font-size: 0.688rem;
  font-style: normal;
  font-weight: 500;
  line-height: 1rem;
}

.grid-matches__item .blv li img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.grid-match__team .team-logo-group-away-logo {
  margin-left: 0;
}

.grid-match--is-hot {
  color: #fafafa !important;
}

.grid-match--is-hot a:hover {
  color: #ecf0f1 !important;
}

.grid-match--is-hot .grid-match__vs {
  color: #fff;
}

.grid-matches__item p {
  margin-bottom: 0px !important;
}

.grid-matches__item .grid-match {
  /* background: #232324 url(../images/bg-match/bg-match.png) no-repeat bottom; */
  border-radius: 11px;
  display: block;
  height: auto;
  color: #fff;
  padding: 0 12px;
  background: #1C1C1D;
}

/* .grid-matches__item .grid-match-basketball {
  background: #232324 url(../images/bg-match/bg-match-basketball.png) no-repeat bottom;
}
.grid-matches__item .grid-match-tennis {
  background: #232324 url(../images/bg-match/bg-match-tennis.png) no-repeat bottom;
}
.grid-matches__item .grid-match-badminton {
  background: #232324 url(../images/bg-match/bg-match-badminton.png) no-repeat bottom;
  background-size: cover;
}
.grid-matches__item .grid-match-volleyball {
  background: #232324 url(../images/bg-match/bg-match-volleyball.png) no-repeat bottom;
}
.grid-matches__item .grid-match-lol,
.grid-matches__item .grid-match-dota2,
.grid-matches__item .grid-match-csgo {
  background: #232324 url(../images/bg-match/bg-match-esports.png) no-repeat bottom;
} */
.grid-matches__item .grid-match.grid-match--is-hot:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 11px;
  padding: 1px;
  background: linear-gradient(155deg, #FF0000 0%, #630606 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

.grid-matches__item .grid-match__header {
  display: flex;
  justify-content: space-between;
  padding: 8px 0 9px 0;
}

.grid-matches__item .grid-match__league img {
  width: 14px;
  height: 14px;
}

.grid-matches__item .grid-match__league {
  font-family: Roboto;
  font-size: 12px;
  line-height: 14px;
  color: #fff;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
}

.grid-matches__item .grid-match__league .text-ellipsis {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: Roboto;
  font-weight: 400;
  font-size: 11px;
  line-height: 14px;
  letter-spacing: 0px;
  text-transform: uppercase;
  color: #828B98;
}

.grid-match-item__footer-center {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.commentator-more {
  display: flex;
  padding-left: 2px;
}

.commentator-more.show {
  padding-left: 0;
}

.commentator-more .commentator-toggle-btn {
  background: none;
  border: none;
  color: #bbbbbb;
  border: 1px solid transparent;
  border-radius: 38px;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  z-index: 2;
  position: relative;
  padding: 0;
  order: 2
}

.commentator-more .commentator-toggle-btn::after {
  display: none;
}

.commentator-more .blv-count {
  display: flex;
  align-items: center;
  font-size: 11px;
  color: #BBBBBB;
  gap: 6px;
}

.commentator-more.show .blv-count .blv-arrow svg {
  transform: rotate(180deg);
}

.commentator-more .blv-count svg path {
  fill: #BBBBBB;
}

.commentator-more.show .blv-count {
  color: #0CC956;
  gap: 2px;
}

.commentator-more.show .blv-count svg path {
  fill: #0CC956;
}

.commentator-more a,
.commentator-more a:hover,
.commentator-more span.blv-arrow {
  color: #bbbbbb;
}

.commentator-more .commentator-toggle-btn span {
  font-size: 11px;
  line-height: 10px;
}

.commentator-more .commentator-toggle-btn:focus {
  outline: none;
}

.commentator-more .commentator-toggle-btn:hover {
  border: 1px solid #262d3f;
  background: transparent;
}

.commentator-more .commentator-list {
  width: auto;
  min-width: auto;
  gap: 4px;
  padding: 0 6px 0 0;
  position: relative !important;
  background: transparent;
  transform: none !important;
  border: none;
  z-index: 9;
}

.commentator-more .commentator-list.show {
  display: flex;
}

.commentator-more.show .commentator-icon,
.commentator-more.show .blv-count .count-value,
.commentator-more .commentator-list .commentator-item_0 {
  display: none;
}

.grid-matches__item .commentator {
  color: #BBB;
  font-family: 'Roboto';
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  gap: 2px;
  display: flex;
  align-items: center;
}

.grid-matches__item .commentator svg {
  width: 26px;
  height: 26px;
}

/* BLV toggle */

.grid-matches__item .grid-match__date {
  color: #C2E598;
  text-align: center;
  font-family: "Proxima Nova", "Inter", sans-serif;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  border-radius: 13px;
  padding: 1px 8px;
  background: linear-gradient(#1a1e23, #1a1e23) padding-box, linear-gradient(180deg, #1a1e23 0%, #01a441 100%) border-box;
  border: 1px solid transparent;
  height: 23px;
}

.grid-matches__item .grid-match__body {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 13px 0 19px;
}

.grid-matches__item .grid-match-tennis .grid-match__body {
  padding: 10px 6px;
}

.grid-matches__item .grid-match__team {
  position: static;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: flex-start;
  -ms-flex-pack: flex-start;
  justify-content: flex-start;
  flex-direction: row;
  gap: 10px;
}

.grid-matches__item .grid-match__team--name {
  max-height: 19px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
  max-width: 140px;
}

.grid-matches__item .grid-match__team-home {
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.grid-matches__item .grid-match__team-home .grid-match__team--name {
  text-align: right;
}

.grid-matches__item .grid-match__team img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.grid-matches__item .grid-match__team .grid-match__team--name {
  color: #fff;
  font-family: 'Roboto';
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  /* 153.846% */
}

.grid-matches__item .grid-match__status {
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-basis: 100px;
  padding: 0px 5px;
  flex-direction: column;
  height: 32px;
}

.grid-matches__item .grid-match__status .grid-match__vs {
  background: linear-gradient(125deg, #1553ef, #0c3089 27.66%, #0c1a4c 68.97%);
  stroke-width: 1px;
  stroke: #1456FF;
  color: #FFF;
  text-align: center;
  font-family: 'Roboto';
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  /* 100% */
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-content: center;
  justify-content: center;
}

.grid-matches__item .grid-match__status .grid-match__vs.t_vs_num {
  border-radius: 36px;
  border: 1px solid #1456ff;
  background: linear-gradient(113deg, #1553ef 7.37%, #0c3089 57.22%, #0b2a79 66.05%, #000 131.67%);
  color: #FFF;
  text-align: center;
  font-family: 'Roboto';
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  /* 117.647% */
  width: inherit;
  height: inherit;
  gap: 8px;
}

.grid-matches__item .grid-match__status .grid-match__vs.t_vs_num span {
  color: #FFF;
  text-align: center;
  font-family: 'Roboto';
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  /* 117.647% */
  flex: 1;
}

.grid-matches__item .grid-match__status .grid-match__vs.t_vs_num span.score-size-min {
  font-size: 15px;
}

.grid-matches__item .grid-match__status .t_time {
  color: #FFF;
  text-align: center;
  font-family: 'Raleway';
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  line-height: 17px;
  text-align: center;
  color: #fff;
  margin-bottom: 6px;
  display: block;
  padding: 1px 8px;
  border-radius: 2px;
}

.grid-matches__item .t_time.t_time_num {
  text-align: center;
  font-family: 'Roboto';
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
}

.grid-matches__item .grid-match-item__footer {
  border-radius: 0 0 7px 7px;
  position: relative;
  padding: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  background: rgba(35, 35, 36, 0.60);
  margin-inline: -10px;
}

.grid-match-item__footer-tennis {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  gap: 12px;
}

.grid-match-item__footer-tennis .t-incident-tennis {
  width: 230px;
  gap: 4px;
}

.grid-match-item__footer-tennis .t-incident-tennis-5 {
  width: 260px;
}

.grid-match-item__footer-tennis .t-incident-tennis .tib-row-head {
  display: none;
}

.grid-match-item__footer-tennis .grid-pt {
  color: #B8D891;
  text-align: center;
  font-family: Roboto;
  font-size: 13px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
}

.grid-match-item__footer-tennis .grid-pt div {
  height: 24px;
  display: flex;
  align-items: center;
}

.grid-match-item__footer-tennis .grid-pt .grid-pt-home {
  margin-bottom: 8px;
}

.grid-match-item__footer-left {
  flex: 1;
  display: flex;
  z-index: 2;
}

.grid-match-item__footer-right {
  flex: 1;
  z-index: 2;
  gap: 6px;
}

.grid-match-item__footer-right .odds-comp-logo img {
  height: 24px;
  width: auto;
  position: relative;
  z-index: 2;
}

.grid-matches__item .redirectPopup {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.grid-matches__item .redirectPopup:hover {
  color: #fff;
}

.grid-matches__item .btn-detail,
.grid-matches__item .btn-odds {
  border-radius: 4px;
  background: linear-gradient(139deg, #008360 0%, #49EC44 100%);
  color: #FFF;
  text-align: center;
  font-family: 'Oswald';
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  line-height: 18px;
  text-transform: uppercase;
  padding: 4px 12px;
}

.grid-matches__item .btn-detail:hover,
.grid-matches__item .btn-odds:hover {
  color: #FFFFFF;
}

.grid-matches__item .btn-detail {
  background: #2A3038;
}

.grid-match--is-hot {
  background-color: #fb5858ab;
}

@media screen and (max-width: 1200px) {
  .grid-match-item__footer-football {
    display: flex;
  }

  .grid-match-item__footer .grid-match-item__footer-left {
    display: none;
  }

  .grid-matches__item .grid-match__body {
    padding: 10px 0px;
  }

  .grid-matches__item .grid-match__team .grid-match__team--name {
    font-size: 12px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 100px;
  }
}

@media (max-width: 1350px) {
  .grid-match--flag-h2h {
    font-size: 10px;
    gap: 2px;
    padding: 0;
    padding: 3px;
  }

  .grid-match__h2h-vs img {
    height: 10px;
    width: 10px;
  }
}

@media (max-width: 992px) {
  .sports-bars ul.nav-tabs::-webkit-scrollbar {
    display: none;
  }

  .sports-bars ul.nav-tabs {
    flex-wrap: nowrap;
    overflow-x: scroll;
    position: relative;
    padding-bottom: 2px;
        padding-top: 2px;
  }

  .grid-matches {
    gap: 16px;
  }

  .grid-matches__item {
    flex: 0 0 100%;
  }

  .grid-matches__item .grid-match__body {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .grid-matches__item .grid-match__league .text-ellipsis {
    display: flex;
    font-size: 0;
  }

  .grid-matches__item .grid-match__league .text-ellipsis::after {
    content: attr(data-attr);
    font-size: 12px;
  }

  .grid-matches__item .grid-match-item__footer {
    padding: 0px;
  }

  .grid-matches__item .grid-match__league {
    font-size: 12px;
  }

  .full-league-name span.text-ellipsis {
    max-width: 100% !important;
  }
}

@media screen and (max-width: 768px) {
  .grid-match-item__footer-center {
    gap: 6px;
  }

  .grid-matches__item .commentator {
    font-size: 10px;
  }

  .grid-matches__item .commentator svg {
    width: 24px;
    height: 24px;
  }

  .grid-matches__item .odds-comp-logo img {
    height: auto;
    width: 52px;
  }

  .commentator-more .commentator-toggle-btn .line-left {
    display: none;
  }
}

@media screen and (max-width: 575px) {
  .grid-matches__item .grid-match__status .grid-match__vs.t_vs_num {
    gap: 5px;
  }

  .grid-match-item__footer-center {
    gap: 3px;
  }

  .grid-matches__item .commentator {
    gap: 2px;
  }

  .grid-matches__item .commentator svg {
    width: 16px;
    height: 16px;
  }

  .grid-matches__item .commentator-icon {
    display: none;
  }

  .commentator-more .blv-count {
    gap: 2px;
  }

  .commentator-more .blv-count .blv-arrow svg {
    transform: rotate(90deg);
  }

  .commentator-more.show .blv-count .blv-arrow svg {
    transform: rotate(-90deg);
  }

  .commentator-more.show .blv-count .count-value {
    display: block;
  }

  .commentator-more .commentator-toggle-btn span {
    font-size: 9px;
  }

  .commentator-more .commentator-list {
    background: #232324;
    border-radius: 8px;
    padding: 0;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    left: auto !important;
    top: 100% !important;
    right: -5px !important;
    width: 72px;
    position: absolute !important;
    flex-direction: column;
    z-index: 3;
  }

  .commentator-more .commentator-list .commentator-item_0 {
    display: flex;
  }

  .dropdown-menu.commentator-list svg {
    width: 22px;
    height: 22px;
  }

  .commentator-more .commentator-list a {
    padding: 8px;
    border-bottom: 1px solid #40485259;
  }

  .commentator-more .commentator-list a:last-child {
    border-bottom: 1px solid transparent;
  }

  .grid-match-item__footer-right svg {
    width: 52px;
  }

  .grid-matches__item .grid-match__odds {
    min-width: inherit;
  }

  .grid-matches__item .grid-match__odds,
  .grid-matches__item .grid-match__odds .grid-match__odds-item p {
    font-size: 8px;
    line-height: 10px;
  }

  div[odds]:not([odds=""]) .grid-match__odds::before,
  div[odds]:not([odds=""]) .grid-match__odds::after {
    display: none;
  }

  .grid-matches__item .grid-match__odds .grid-match__odds-item {
    gap: 10px;
  }

  .grid-matches__item .grid-match__header {
    padding-bottom: 0;
  }

  .grid-matches__item .grid-match__body {
    padding: 16px 0px 13px;
  }

  .grid-matches__item .grid-match__status {
    flex-basis: 85px;
  }

  .grid-matches__item .grid-match__odds .grid-match__odds-item p {
    text-align: center;
    display: flex;
    flex: 1;
    justify-content: center;
    white-space: nowrap;
  }

  .grid-matches__item .grid-match-tennis .grid-match__body {
    padding: 10px 6px;
  }

  .grid-matches__item .grid-match__team .grid-match__team--name {
    max-width: 85px;
  }

  .grid-matches__item .grid-match__team img {
    width: 32px;
    height: 32px;
  }

  .grid-match__team .team-logo-group {
    flex-direction: column;
  }

  .grid-match__team .team-logo-group .team-logo-1 {
    margin-left: 0;
    margin-top: -10px;
  }

  .grid-match__team .team-name-group {
    gap: 6px;
  }
}

@media screen and (max-width: 450px) {
  .sports-bars ul.nav-tabs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    background: linear-gradient(270deg, rgba(25, 28, 33, 0) 0%, #191C21 100%);
    pointer-events: none;
    width: calc(100% - 25px);
    height: 100%;
    z-index: 1;
  }

  .sports-bars ul.nav-tabs.hide-blur::before {
    background: linear-gradient(270deg, #191C21 0%, rgba(25, 28, 33, 0) 100%);
    left: 80px;
  }
}

@media screen and (max-width: 391px) {
  .grid-matches__item .grid-match__team .grid-match__team--name {
    max-width: 70px;
  }
}

@media screen and (max-width: 380px) {
  .grid-matches__item .odds-comp-logo img {
    height: auto;
    width: 40px;
  }
}

@media screen and (max-width: 768px) {
  .grid-match--flag {
    padding: 3px 6px 2px 6px;
    font-size: 10px;
  }

  .grid-match--flag-h2h {
    padding: 0;
    font-size: 9px;
  }

  .home #matches .col-md-12 {
    padding-left: 10px;
    padding-right: 10px;
  }

  .home #matches .col-md-12 {
    padding-left: 10px;
    padding-right: 10px;
  }

  .grid-matches__item .grid-match__league .text-ellipsis::after {
    color: #828B98;
    font-family: Roboto;
    font-size: 11px;
    line-height: 15px;
    font-style: normal;
    font-weight: 400;
  }

  .grid-matches__item .grid-match__date {
    font-size: 11px;
  }

  #football {
    .grid-match-item__footer-football {
      display: none;
    }

    .grid-match-item__footer .grid-match-item__footer-left {
      display: flex;
    }

    .grid-matches__item .grid-match-item__footer {
      padding: 0px !important;
      gap: 0 !important;
      height: 37px;
      padding-left: 4px !important;
      padding-right: 4px !important;
    }

    .grid-matches__item .grid-match {
      padding: 0px 6px;
    }

    .grid-match__odds-item {
      gap: 5px;
    }
  }
}

@media screen and (max-width: 576px) {
  .grid-match--flag {
    gap: 6px;
  }

  .grid-match--flag-h2h {
    gap: 2px;
    padding: 0;
  }

  .grid-match__h2h-vs {
    gap: 2px;
    padding: 0px 3px;
  }

  .grid-match__h2h-vs img {
    height: 9px;
    width: 9px;
  }

  .home-page .filter-row .home-filter-dropdown {
    flex-direction: column;
  }
}

@media screen and (max-width: 391px) {
  .grid-match__h2h-vs .grid-match__goal {
    font-size: 8px !important;
  }

  .grid-match__h2h-vs img {
    height: 8px;
    width: 8px;
  }
}

.sport-playing {
  position: absolute;
  font-size: 10px;
  vertical-align: baseline;
  font-style: normal;
  background: #DF2C2C;
  color: #fff;
  width: 28px;
  height: 16px;
  line-height: 16px;
  text-align: center;
  border-radius: 8px;
  top: -5px;
  right: -13px;
  z-index: 1;
  display: none;
}

.sport-playing.is-sport-playing {
  display: inline-block;
}

@media only screen and (max-width: 992px) {
  .sport-playing {}
}

/* Container chính */
.home-news {
  color: #fff;
  font-family: Arial, sans-serif;
}

.home-news__header {
  display: inline-block;
  background: linear-gradient(90deg, #0f0, #008000);
  color: #fff;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 20px;
}

/* Grid layout */
.home-news__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

section.box_content_home.section-about {
  margin-top: 16px !important;
  padding-top: 16px;
  padding-bottom: 18px;
}

.box_content_home .title_box {
  display: none;
}

/* Phần tin chính (Main item) */
.xltv-news_box-wrapper {
  background: #1c1e1f;
  padding-inline: 18px;
  border-radius: 8px;
  padding-bottom: 16px;
  padding-top: 16px;
}

.home-news__main {
  border-radius: 8px;
  overflow: hidden;
  position: relative;
}

.home-news__main img {
  width: 100%;
  margin-bottom: 8px;
  height: 392px;
  object-fit: cover;
}

.home-news__info {
  padding-inline: 19px;
  padding-top: 0;
  position: absolute;
  bottom: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(12, 14, 14, 0.00) 0%, #0C0E0E 67.36%);
  padding-bottom: 12px;
}

.home-news__main .home-news__title {
  font-size: 20px;
  font-weight: bold;
  margin: 0;
  color: white;
font-size: 14px;
font-family: Barlow;
font-weight: 600;
line-height: 20px;
word-wrap: break-word
}

.home-news__main .home-news__desc {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 8px;
  color: var(--Text-2, #CDCDCD);
  font-family: Barlow;
  font-style: normal;
  font-weight: 400;
  line-height: 20px; /* 153.846% */
}

.home-news__main .home-news__date {
  font-size: 12px;
  color: #888;
  display: none;
}

/* Phần cột phụ và Thumbnail */
.home-news__col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.home-news__col img {
  max-height: 180px;
  width: 100%;
  border-radius: 8px;
  margin-bottom: 8px;
  height: 195px;
  /* Ưu tiên thuộc tính từ code cũ */
  object-fit: cover;
}

.home-news__thumb .home-news__subtitle {
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 4px;
}

.home-news__thumb .home-news__date {
  font-size: 12px;
  color: #888;
}

/* Danh sách tin tức bên dưới */
.home-news__list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0 0;
}

.home-news__list li {
  border-top: 1px solid #333;
  padding: 8px 0;
}

.home-news__list li a {
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.home-news__list li a:hover {
  color: #0f0;
}

/* Link đặc biệt bên trái */
.home-news__left a {
  color: white;
  font-size: 20px;
  font-family: 'Barlow', sans-serif;
  font-weight: 600;
  line-height: 32px;
}

/* Các class bổ trợ khác */
.xltv-highlights_box .xltv-title_box {
  margin-top: 24px;
  margin-bottom: 12px;
}

.xltv-news_box {
  margin-top: 12px;
  margin-bottom: 16px;
}

.xltv-news_box .xltv-title_box {
  margin-bottom: 12px;
      display: flex;
    justify-content: space-between;
}
a.view-move-news {
    color: var(--Pre-1, #FDC954);
    text-align: center;
    font-family: Barlow;
    font-size: 12px;
    font-style: normal;
    font-weight: 400;
    line-height: 16px;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    align-items: center;
}
.xltv-sports-bars ul li button.active svg,
.xltv-sports-bars ul li button:hover svg {
  filter: brightness(0) saturate(100%) invert(69%) sepia(64%) saturate(2193%) hue-rotate(92deg) brightness(98%) contrast(127%);
}

.highlights_box_wrapper .title_box {
  margin-bottom: 4px !important;
  margin-top: 0px !important;
}

/* Responsive */
@media (max-width: 992px) {
  .home-news__grid {
    grid-template-columns: 1fr;
  }
}

.highlights_box_wrapper {
  padding-top: 12px;
}

@media all and (max-width: 991px) {
  .home-news__col {
    grid-template-columns: 1fr;
  }

  .events_box .title_box h1 {
    font-size: 16px;
  }

  .events_box .title_box {
    margin-bottom: 15px !important;
  }

  div#home-sidebar {
    margin-top: 0;
  }

  .sidebar__menu {
    display: none;
  }

  .xltv-news_box-wrapper {
    padding-inline: 10px;
    padding-bottom: 10px;
    padding-top: 13px;
  }

  .home-news__left .home-news__date {
    display: none;
  }

  .home-news__info {
    padding-inline: 9px;
    bottom: -6px;
  }

  .home-news__grid {
    gap: 14px;
  }

  .home-news__col img {
    margin-bottom: 0;
  }

  .home-news__main img {
    height: 231px;
  }

  .home-news__col .home-news__main {
    display: flex;
  }

  .home-news__col .home-news__main .home-news__info {
    position: static;
    background: transparent;
  }

  .home-news__col .home-news__main a {
    display: block;
    flex: 0 0 50%;
  }

  .home-news__col img {
    height: 114px;
    width: 191px;
  }

  .home-news__desc {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
    font-size: 13px !important;
  }

  .home-news__left a {
    font-size: 16px;
    line-height: 22px;
  }

  button#volleyball-tab {
    min-width: 96px;
  }

  button#badminton-tab {
    min-width: 74px;
  }

  .post-item-video {
    flex-direction: column;
  }

  .highlights_box_wrapper {
    border-radius: 8px;
    background: #1A1A1B;
    padding: 12px;
  }

}

section.highlights_box .title_box h4 {
  padding: 0;
}

ul.toc_list li a {
  padding-left: 20px;
  padding-top: 16px;
  display: block;
  padding-bottom: 16px;
  color: white;
  font-size: 13px;
  font-family: Barlow;
  font-weight: 700;
  line-height: 18px;
  word-wrap: break-word;
  border-radius: 12px;
}

ul.toc_list li a:hover {
  background: #1F1F1F;
  color: #00FF5D;
}

.sports-bars-mb {
  display: none;
}