/* Font */
:root {
  --main-font: "Lato", sans-serif;
}

.gwd-football-grid-matches {
  font-family: var(--main-font);
  font-style: normal;
  font-size: 0.875rem;
  line-height: 0.6rem;
}

.gwd-football-grid-matches .grid-match__odds-item.d-flex p {
  margin-bottom: 0;
}

/* Homepage and Sports Bars */
.gwd-football-grid-matches .home-page .page_bars {
  background: linear-gradient(0deg, #111213 0%, #262932 100%);
  border-radius: 7px;
  position: relative;
  margin-bottom: 20px;
}

.gwd-football-grid-matches .home-page .sports-bars {
  border-bottom: 1px solid #ffffff00;
  display: grid;
  grid-template-columns: 1fr 130px;
  gap: 10px;
  align-items: center;
  padding: 16px 16px 11px 16px;
  position: relative;
}

.gwd-football-grid-matches .home-page .sports-bars::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgb(255 255 255 / 5%);
}

.gwd-football-grid-matches .home-page .sports-bars ul {
  list-style: none;
  width: 100%;
  display: flex;
  gap: 26px;
  margin: 0;
  padding: 0;
  border-bottom: none;
}

.gwd-football-grid-matches .home-page .sports-bars ul li {
  position: relative;
  margin: 0;
}

.gwd-football-grid-matches .home-page .sports-bars ul li::after {
  content: "";
  display: block;
  width: 1px;
  height: 24px;
  background: linear-gradient(
    360deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 55%,
    rgba(255, 255, 255, 0) 100%
  );
  position: absolute;
  right: -10%;
  top: 50%;
  transform: translate(50%, -50%);
}

.gwd-football-grid-matches .home-page .sports-bars ul li:last-child::after {
  content: none;
}

.gwd-football-grid-matches .home-page .sports-bars ul li button {
  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;
  min-width: 125px;
  height: 39px;
  outline: 0;
  border-radius: 7px;
  padding: 0;
  margin: 0 !important;
  font-size: 14px;
}

.gwd-football-grid-matches .home-page .sports-bars ul li button span {
  background: linear-gradient(
    -82.9deg,
    rgb(255, 255, 255) 5.8%,
    rgb(153, 153, 153) 95.41%
  );
  background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.gwd-football-grid-matches .home-page .sports-bars ul li button.active,
.gwd-football-grid-matches .home-page .sports-bars ul li button:focus,
.gwd-football-grid-matches .home-page .sports-bars ul li button:hover {
  color: #00fffd;
  text-shadow: 0px 0.92px 3.678px rgba(0, 0, 0, 0.24);
  border-radius: 7px;
  position: relative;
  background: linear-gradient(
    360deg,
    rgba(37, 44, 135, 1),
    rgba(34, 42, 73, 0.2)
  );
}

.gwd-football-grid-matches .home-page .sports-bars ul li button.active::before,
.gwd-football-grid-matches .home-page .sports-bars ul li button:focus::before,
.gwd-football-grid-matches .home-page .sports-bars ul li button:hover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 7px;
  padding: 1px;
  background: linear-gradient(
    360deg,
    rgba(0, 200, 244, 1),
    rgba(66, 83, 243, 1)
  );
  -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;
}

.gwd-football-grid-matches .home-page .sports-bars ul li button.active span,
.gwd-football-grid-matches .home-page .sports-bars ul li button:focus span,
.gwd-football-grid-matches .home-page .sports-bars ul li button:hover span {
  background: unset;
  color: #00fffd;
  -webkit-text-fill-color: #00fffd;
}

.gwd-football-grid-matches .home-page .sports-bars ul li button.active svg,
.gwd-football-grid-matches .home-page .sports-bars ul li button:focus svg,
.gwd-football-grid-matches .home-page .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%);
}

.gwd-football-grid-matches .nav-tabs .nav-item {
  margin-bottom: -1px;
}

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

.gmd-match-footer__streamer {
  justify-content: center;
}

a.commentator {
  color: #bbbbbb;
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  font-family: "Roboto", sans-serif;
}

/* Filter Row */
.gwd-football-grid-matches .home-page .filter-row {
  display: none;
  padding: 20px 12px 16px;
  grid-template-columns: 1fr 190px;
  gap: 16px;
  position: relative;
}

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

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

.gwd-football-grid-matches .home-page .list-filter::-webkit-scrollbar {
  height: 4px;
}

.gwd-football-grid-matches .home-page .list-filter::-webkit-scrollbar-track {
  background: transparent;
}

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

.gwd-football-grid-matches .home-page .list-filter li {
  position: relative;
  z-index: 9;
  margin: 0;
}

.gwd-football-grid-matches .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;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
  color: #ffffff;
  background: #4a586736;
}

.gwd-football-grid-matches .home-page .list-filter li a.active,
.gwd-football-grid-matches .home-page .list-filter li a:hover {
  color: #9bffab;
  position: relative;
  font-weight: 600;
  z-index: 1;
  background: linear-gradient(
    360deg,
    rgba(31, 62, 171, 0.32),
    rgba(22, 89, 81, 0.2)
  );
}

.gwd-football-grid-matches .home-page .list-filter li a::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 6px;
  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;
}

.gwd-football-grid-matches .home-page .list-filter li a.active::before,
.gwd-football-grid-matches .home-page .list-filter li a:hover::before {
  background: linear-gradient(
    360deg,
    rgba(0, 101, 144, 1),
    rgba(35, 59, 83, 0)
  );
}

.gwd-football-grid-matches .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;
}

.gwd-football-grid-matches .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%
  );
}

.gwd-football-grid-matches .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;
}

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

/* Tab Content and Matches */
.gwd-football-grid-matches .tab-content > .active {
  display: block;
}

.gwd-football-grid-matches .grid-matches {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

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

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

.gwd-football-grid-matches .grid-matches__item .grid-match {
  background: #232324 url(/wp-content/uploads/2025/10/bg-match.webp) no-repeat
    bottom;
  border-radius: 11px;
  display: block;
  height: auto;
  color: #fff;
  padding: 0 12px;
}

.gwd-football-grid-matches .grid-match--is-hot {
  color: #fafafa !important;
  background-color: #fb5858ab;
}

.gwd-football-grid-matches
  .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;
}

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

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

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

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

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

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

.gwd-football-grid-matches .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;
}

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

.gwd-football-grid-matches .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;
  display: none;
}

.gwd-football-grid-matches .grid-matches__item .grid-match__date {
  color: #c2e598;
  text-align: center;
  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;
}

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

.gwd-football-grid-matches .team {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  align-items: center;
}

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

.gwd-football-grid-matches .grid-match__team {
  -webkit-box-flex: 1;
  flex: 1;
  min-width: 0;
}

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

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

.gwd-football-grid-matches .team-logo-group {
  display: flex;
  position: relative;
}

.gwd-football-grid-matches .team-logo-group img {
  object-fit: contain;
}

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

.gwd-football-grid-matches .team-name-group {
  display: flex;
  flex-direction: column;
  font-weight: 400;
  font-size: 13px;
  line-height: 20px;
  color: #bbbbbb;
}

.gwd-football-grid-matches .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;
}

.gwd-football-grid-matches .t_vs_num {
  display: flex;
  gap: 5px;
}

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

.gwd-football-grid-matches .grid-match__vs {
  color: #bbbbbb;
  white-space: nowrap;
}

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

.gwd-football-grid-matches
  .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-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-content: center;
  justify-content: center;
}

.gwd-football-grid-matches
  .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-size: 17px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  width: inherit;
  height: inherit;
  gap: 8px;
}

.gwd-football-grid-matches .t_vs_num span {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gwd-football-grid-matches
  .grid-matches__item
  .grid-match__status
  .grid-match__vs.t_vs_num
  span {
  color: #fff;
  text-align: center;
  font-size: 17px;
  font-style: normal;
  font-weight: 700;
  line-height: 20px;
  flex: 1;
}

.gwd-football-grid-matches .t_vs_num span.winner {
  background: linear-gradient(
    136deg,
    #3effff,
    #166def 31.07%,
    #5968f7 45.94%,
    #ad1bf1 80.51%
  );
  stroke-width: 1px;
  border-radius: 50%;
  text-align: center;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.gwd-football-grid-matches .grid-matches__item .grid-match-item__footer {
  border-radius: 7px;
  position: relative;
  padding: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6px;
  margin-bottom: 3px;
}

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

.gwd-football-grid-matches .grid-match--flag {
  background: #373737;
  color: #828b98;
  font-size: 12px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  border-radius: 24px;
  display: flex;
  padding: 3px 10px;
  gap: 10px;
}

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

.gwd-football-grid-matches .grid-match--flag .match-flag-item {
  display: flex;
}

.gwd-football-grid-matches .grid-match__goal-scoring span {
  color: #00c44d;
}

.gwd-football-grid-matches .grid-match__goal-scoring .grid-match__half-court {
  color: #969696;
}

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

.gwd-football-grid-matches .grid-match--flag .grid-match__yellow-ball {
  gap: 4px;
  align-items: center;
  gap: 5px;
}

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

.gwd-football-grid-matches .grid-matches__item .commentator {
  color: #bbb;
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  line-height: 16px;
  gap: 2px;
  display: flex;
  align-items: center;
}

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

.gwd-football-grid-matches .grid-match-item__footer-right {
  flex: 1;
  z-index: 2;
  align-items: center !important;
  justify-content: flex-end !important;
  display: flex;
  gap: 6px;
}

.gwd-football-grid-matches .grid-matches__item .grid-match__odds {
  color: #8d92a2;
  font-size: 11px;
  font-style: normal;
  font-weight: 400;
  line-height: 16px;
  position: relative;
  min-width: 105px;
  display: flex;
  flex-direction: column;
}

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

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

.gwd-football-grid-matches
  .grid-matches__item
  .grid-match-item__footer::before {
  content: "";
  position: absolute;
  height: 21px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 7px;
  padding: 1px;
  background: linear-gradient(
    360deg,
    rgba(25, 25, 32, 0) 0%,
    rgba(63, 65, 70, 1) 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;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.gwd-football-grid-matches .grid-match-item__footer-left .grid-match--flag img {
  padding-right: 2px;
  margin-right: 2px;
}

.gwd-football-grid-matches .d-flex.align-items-center {
  display: flex;
  align-items: center;
}

.gwd-football-grid-matches .d-flex.align-items-center.justify-content-end {
  justify-content: flex-end;
}

.gwd-football-grid-matches .progress-bar {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background-color: #007bff;
  transition: width 0.6s ease;
}

.no-h2h {
  background: transparent;
}

.no-h2h::before {
  background: transparent !important;
}

.show-dropdown {
  z-index: 10001;
}

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

#live-score {
  margin-top: 0px !important;
}

@media (max-width: 589px) {
  .main-page .sports-bars ul {
    padding-top: 5px;
  }

  .switch .switch-style {
    width: 36px !important;
  }

  .switch.active .switch-style:before {
    left: 6px;
  }

  .grid-matches__item .grid-match__odds .grid-match__odds-item p {
    font-size: 9px;
  }

  .gmd-match__odds::after {
    right: 25px;
  }

  .grid-match__odds::before {
    left: 25px;
  }

  .gmd-match__odds {
    min-width: 80px;
  }

  .gmd-match-footer__streamer {
    justify-content: flex-start;
  }
}

.main-grid-match.grid-matches__item--hot::before {
  background: linear-gradient(155deg, #ff0000 0%, #630606 100%) !important;
}

.btn-loadmore {
  background: -webkit-linear-gradient(72.67deg, #ff7f23 -19.2%, #ffbc09 87.67%);
  background: -o-linear-gradient(72.67deg, #ff7f23 -19.2%, #ffbc09 87.67%);
  background: linear-gradient(17.33deg, #ff7f23 -19.2%, #ffbc09 87.67%);
  border-radius: 3px;
  font-family: "Source Sans Pro", sans-serif;
  font-style: normal;
  font-weight: bold;
  font-size: 16px;
  line-height: 20px;
  text-transform: uppercase;
  color: #04060b;
  width: 100%;
}

/* ============================================================
   Skeleton Dark Gray Shimmer (Desktop + Mobile, Full WebKit Fix)
   ============================================================ */

/* ===== DESKTOP / DEFAULT ===== */
.gmd-skeleton {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 4px;

  /* Desktop gradient */
  background: linear-gradient(90deg, #4a4a4a 0%, #6b6b6b 40%, #4a4a4a 80%);
  background-size: 250% 100%;
  animation: gmd-shimmer 2.6s infinite ease-in-out;

  /* --- Mobile browser FIX (applied on desktop too, safe) --- */
  background-image: -webkit-linear-gradient(
    left,
    #4a4a4a 0%,
    #6b6b6b 40%,
    #4a4a4a 80%
  );
  -webkit-background-size: 250% 100%;
  -webkit-animation: gmd-shimmer 2.6s infinite ease-in-out;
}

/* KEYFRAMES DESKTOP */
@keyframes gmd-shimmer {
  0% {
    background-position: -150% 0;
  }

  100% {
    background-position: 150% 0;
  }
}

@-webkit-keyframes gmd-shimmer {
  0% {
    background-position: -150% 0;
  }

  100% {
    background-position: 150% 0;
  }
}

.gmd-tournament-header {
  padding: 8px 12px 5px;
}

.gmd-elapsed {
  margin-top: -10px;
}

/* ========= SKELETON SIZES ========= */
.gmd-skeleton-logo {
  width: 26px;
  height: 26px;
}

.gmd-skeleton-text-sm {
  height: 10px;
  width: 40px;
  margin-top: 4px;
}

.gmd-skeleton-text-md {
  height: 12px;
  width: 70px;
  margin-top: 4px;
}

.gmd-skeleton-text-lg {
  height: 14px;
  width: 90px;
  margin-top: 4px;
}

.gmd-skeleton-score {
  height: 20px;
  width: 60px;
  margin: 0 auto;
}

.grid-match__odds-skeleton {
  min-width: auto;
}

.gmd-skeleton-odds-line {
  height: 1px;
  width: 70px;
  margin-top: 4px;
}

.matches__item.is-skeleton a {
  pointer-events: none;
}

.gmd-match-date-skeleton {
  margin-left: 180px;
}

.gmd-tournament-header-skeleton {
  display: flex;
  justify-content: space-between;
}

.gmd-match-footer-skeleton {
  justify-content: space-between;
}

.gmd-match-footer__flag-skeleton {
  display: block;
  background: none;
  min-width: auto;
}

.gmd-match-footer__flag-skeleton::before {
  background: none;
}

.grid-match__odds-skeleton::before,
.grid-match__odds-skeleton::after {
  background: none;
}

.gmd-score-box-skeleton {
  background: none;
}

@media (min-width: 769px) {
  .gmd-content_match-skeleton {
    padding: 10px 0.5rem 28px;
  }

  .grid-match__header-skeleton {
    padding: 8px 0 13px 0 !important;
  }

  .grid-match__body-skeleton {
    padding: 16px 0 29.8px !important;
  }

  .gmd-skeleton-text-md {
    height: 16px;
  }

  .gmd-skeleton-text-lg {
    height: 16px;
  }

  .gmd-skeleton-odds-line {
    height: 16px;
  }
}

/* ============================================================
   MOBILE VERSION — Shimmer rõ hơn, sáng hơn, chạy chậm hơn
   ============================================================ */
@media (max-width: 768px) {
  .gmd-content_match-skeleton {
    padding: 12px 0.5rem 30px;
  }

  .gmd-skeleton-text-md {
    height: 18px;
  }

  .gmd-skeleton-text-lg {
    height: 18px;
  }

  .gmd-skeleton-odds-line {
    height: 18px;
  }

  .gmd-skeleton {
    /* Mobile gradient (tương phản cao hơn) */
    background: #3a3a3a;
    background-image: linear-gradient(
      90deg,
      #3a3a3a 0%,
      #888888 40%,
      #3a3a3a 80%
    );
    background-size: 300% 100%;
    animation: gmd-shimmer-mobile 3s infinite linear;

    /* --- Mobile WebKit Fix --- */
    background-image: -webkit-linear-gradient(
      left,
      #3a3a3a 0%,
      #888888 40%,
      #3a3a3a 80%
    );
    -webkit-background-size: 300% 100%;
    -webkit-animation: gmd-shimmer-mobile 3s infinite linear;
  }

  /* Keyframes cho mobile */
  @keyframes gmd-shimmer-mobile {
    0% {
      background-position: -200% 0;
    }

    100% {
      background-position: 200% 0;
    }
  }

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

    100% {
      background-position: 200% 0;
    }
  }
}

@media screen and (min-width: 550px) {
  .medium-8 {
    max-width: 100%;
  }
}

.home .a-heading {
  margin-top: 20px;
}

.gmd-match-footer__flag-hide {
  background: transparent;
  border: 0;
}

.gmd-match-footer__flag-hide::before {
  background: none;
}

.a-section-1 {
  padding-top: 10px;
}

@media (max-width: 768px) {
  .a-section-1 {
    padding-top: 7px;
  }
}

/* Wrapper chung */
.commentator-wrap {
  position: relative;
  display: inline-block; /* hoặc inline-flex nếu cần */
  margin: 0 auto;
}

/* Button BLV */
.commentator-wrap .toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  margin-right: 0px;
}

.commentator-wrap .toggle-btn img {
  display: block;
}

.commentator-wrap .blv-count {
  display: inline-flex;
  align-items: center;
  gap: 2px;
}

.commentator-wrap .blv-arrow {
  display: inline-block;
  transition: transform 0.18s ease;
}

/* Xoay mũi tên khi mở */
.commentator-wrap.is-open .blv-arrow {
  transform: rotate(90deg);
}

/* Popup ẩn mặc định, canh giữa theo button, sát ngay bên dưới */
.commentator-wrap .extra-info {
  position: absolute;
  top: 100%; /* ngay dưới button */
  left: 50%;
  transform: translateX(-50%) translateY(4px); /* dùng cho hiệu ứng */

  background: #1f1f1f;
  color: #fff;
  padding: 8px 12px;
  border-radius: 8px;
  min-width: 150px;
  width: max-content;
  z-index: 999;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

/* Khi mở: sát button, không bị cách xa */
.commentator-wrap.is-open .extra-info {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  display: block;
  z-index: 10001;
}

/* Khoảng cách giữa các BLV trong popup */
.commentator-wrap .extra-info_one + .extra-info_one {
  margin-top: 6px;
}

.commentator-wrap .toggle-btn {
  background: none;
  padding: 0px 8px;
}

.gmd-match-footer {
  display: flex;
}

/* ===============================
   MOBILE FIX for BLV Popup
   =============================== */
@media (max-width: 767.98px) {
  .commentator-wrap {
    margin-left: 0 !important;
  }

  /* Popup căn lề trái theo button */
  .extra-info {
    left: 0 !important; /* canh trái button */
    transform: translateX(0) translateY(4px) !important;
    min-width: 130px !important;
    width: max-content;
  }

  /* Khi mở popup */
  .commentator-wrap.is-open .extra-info {
    transform: translateX(0) translateY(0) !important;
  }

  .extra-info_one {
    display: flex;
  }

  .gmd-match-footer__streamer .toggle-btn img,
  .gmd-match-footer__streamer .toggle-btn span:first-child {
    display: block;
    font-weight: normal;
  }
}

@media screen and (max-width: 549px) {
  .padding-bottom-15 {
    padding-bottom: 15px !important;
  }
}

.row-brand-card {
  display: contents;
  width: 100%;
}

.row-brand-card::after {
  display: none;
}

.brand-card {
  display: contents;
}

.brand-card img {
  width: 100%;
}
