/*
Theme Name: Cakhia Theme
Theme URI: https://cakhia.example.com
Author: Cakhia TV
Author URI: https://cakhia.example.com
Description: Cakhia TV Custom Theme
Version: 1.1
License: GNU General Public License v2 or later
Text Domain: cakhia
*/
/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base */
:root {
  --color-primary: #0dbd49;
  --color-lime: #83b43f;
  --color-lime-lighter: rgba(131, 180, 63, 0.15);
  --color-lime-light: rgba(131, 180, 63, 0.25);
  --color-lime-dark: rgb(26, 35, 26);
  --color-secondary: #f2152d;
  --color-tertiary: #ffd608;
  --color-warning: #e5a000;
  --color-danger: #f2152d;
  --color-dark: #1a1d23;
  --color-darker: #15171c;
  --color-gray-2: #686b71;
  --color-gray-3: #8f9196;
  --color-gray-4: #515e5a;
  --color-gray: #727782;
  --color-gray-dark: #4a4d54;
  --color-gray-darker: #36363d;
  --color-gray-5: #2d3034;
  --color-white: #ffffff;
  --color-telegram: #0088cc;
  --gradient-primary: linear-gradient(90deg, #f4af61 0%, #ec376e 100%);
  --gradient-gray: linear-gradient(-180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
}

body {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: 1.21;
  color: var(--color-white);
  background-color: #222;
  max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    background-size: cover;
}

main {
    background-color: #000000c9;
}

h1 {
    margin-top: 1.7rem;
  margin-bottom: 1.3rem;
  color: #f7c700;
  text-transform: uppercase !important;
}

h2 {
  color: #f7c700;
  margin: 0.9rem 0 0.4rem 0;
}
h3 {
  color: #f7c700;
  margin: 0.7rem 0 0.5rem 0;
}

p {
    margin-bottom: 1rem;
    line-height: 1.3rem;
}

li {
    margin-bottom: 0.6rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.text-primary {
  color: var(--color-primary) !important;
}

.text-warning {
  color: #e5a000 !important;
  padding: 4px !important;
  border-radius: 6px !important;
}


.text-danger {
  color: var(--color-danger) !important;
}

.text-secondary {
  color: #9a9a9a;
}

.text-uppercase {
  text-transform: uppercase !important;
}

.section-title {
  position: relative;
  text-transform: uppercase;
  padding-left: 0.5rem;
  border-left: 2px solid var(--color-primary);
}

img {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 12px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 12px;
  transition: opacity 0.3s;
}

.btn:hover {
  opacity: 0.9;
}

.btn img {
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

.btn--telegram {
  background-color: white;
  color: var(--color-telegram);
}

.btn--readmore {
  background-color: #272b32;
  border-radius: 20px;
  min-width: 120px;
  justify-content: center;
  color: white;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.btn--bet {
  background-color: var(--color-warning);
}

.btn--user {
  background-color: var(--color-gray-dark);
}

.btn--user img {
  margin-right: 0;
}

.btn--primary {
  padding: 0.5rem !important;
      background: linear-gradient(220deg, #00711b 7.37%, #00691a 57.22%, #005b16 66.05%, #2dbf1b 131.67%);
    box-shadow: inset 0 0 0 2px #3f9705;
}

.btn--secondary {
  padding: 0.5rem !important;
    background: linear-gradient(220deg, #f76700 7.37%, #f57c00 57.22%, #ef6c00 66.05%, #ffca28 131.67%);
    box-shadow: inset 0 0 0 2px #ff9800;
}

.btn--watch {
  background-color: var(--color-primary);
}

.btn--more {
  background-color: var(--color-gray-dark);
  padding: 12px 24px;
}

/* Top Contact */
.top-contact {
  background: var(--gradient-primary);
  padding: 10px 0;
  text-align: center;
}

.top-contact p {
  font-size: 20px;
  font-weight: 700;
}

/* Header */
.header {
  background-color: #070707;
  padding: 9px 0;
  position: sticky;
  top: 0;
  z-index: 10000;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__inner > div {
  gap: 1rem;
}

.logo {
  max-width: 200px;
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
}

.nav__toggle img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav__menu {
  display: flex;
  gap: 1rem;
}

.nav__item {
  position: relative;
  margin-bottom: 0px !important;
}

.nav__item a {
  font-weight: 700;
  transition: color 0.3s;
}

.nav__item a:hover,
.nav__item a.active {
  color: var(--color-primary);
}

.nav__close {
  display: none;
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-darker);
  min-width: 200px;
  border-radius: 10px;
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 100;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li {
  list-style: none;
}

.dropdown a {
  color: var(--color-white);
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  display: block;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.dropdown a:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.header__buttons {
  display: flex;
  gap: 8px;
}

.header__buttons .btn {
  font-weight: 700;
}

/* Ads */

.ads {
    padding-top: 1rem;
  margin-bottom: 1rem;
}

.ads img {
  width: 100%;
}

/* Hero */
.hero {
  text-align: center;
  font-size: 1.125rem;
  font-weight: 500;
}

/* Featured Matches */
.featured-matches {
  /* padding: 1rem 0; */
}

.featured-matches h2 {
  color: var(--color-white);
  font-size: 24px;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.featured-matches h2::before {
  content: " ";
  margin-right: 1rem;
  border: 2px solid var(--color-primary);
}

.matches {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.match-card {
  border-radius: 10px;
  overflow: hidden;
  background: #0c0c0c url(../uploads/2025/04/bg-match-2.webp) no-repeat;
  border: solid 2px #2b2b2b;
  background-position: center;
}

.match-card__body {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 1rem;
  gap: 1rem;
  position: relative;
}

.match-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.match-card__league {
  align-items: center;
  /*gap: 0.5rem;*/
  font-size: 14px;
  font-weight: 500;
  color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 140px;
    display: inline-block;
}

.match-card__league img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.streaming {
  padding: 6px;
  border-radius: 6px;
    background: linear-gradient(179deg, #00db02, #102b0e52);
    border: 1px solid #09db2a85;
}

.match-card__status {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  white-space: nowrap;
}

.match-card__time {
  text-align: right;
  min-width: 140px;
}

.match-card__time span {
  color: #acacac;
  font-size: 14px;
  font-weight: 500;
}

.match-card__teams {
  display: flex;
  align-items: center;
  text-align: center;
  /* margin-top: 1rem; */
}

.match-card__teams > div {
  flex: 1;
  min-width: 0; /* NGĂN team dài đẩy layout lệch */
}

.team {
    justify-content: center;
    padding: 5px;
    word-break: break-word;
    display: flex;
    flex-direction: row !important;
    align-items: center;
    gap: 0.5rem;
}

.team.home {
    flex-direction: row-reverse !important; /* Đảo lại: text trước, logo sau */
}

.team__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 4px;
}

.team__name {
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
      white-space: nowrap;        /* Không xuống dòng */
    overflow: hidden;           /* Ẩn phần vượt quá khung */
    text-overflow: ellipsis;    /* Thêm dấu "..." nếu bị cắt */
    max-width: 100px;           /* Chiều rộng tối đa, chỉnh theo giao diện */
    display: inline-block;      /* Đảm bảo áp dụng được */
}

.match-card__score {
  color: #ffffff;
  font-size: 35px;
  font-weight: 700;
}

.match-card__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid #ff7e07;
  padding-top: 1rem;
  position: relative;
}

.match-card__stats {
  display: flex;
}

.match-card__stats-content {
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 10px;
    background: linear-gradient(220deg, #00711b 7.37%, #00691a 57.22%, #005b16 66.05%, #2dbf1b 131.67%);
    box-shadow: inset 0 0 0 2px #3f9705;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 320px;
    display: inline-block;
}

.match-card__mic {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 100px;
  padding: 0.5rem;
}

.match-card__mic img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.match-card__stat {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
}

.match-card__stat span {
  color: #acacac;
  font-size: 12px;
  font-weight: 500;
}

.match-card__stat img {
  width: 16px;
  height: 16px;
}

.match-card__odds {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
}

.match-card__odds-logo {
  height: 30px;
  object-fit: contain;
  /* margin-left: 0.5rem; */
}

.match-card__odd {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: center;
  position: relative;
}

.match-card__odd:not(:last-of-type)::after {
  content: "";
  position: absolute;
  right: -0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 80%;
  background-color: #acacac;
}

.match-card__odd span {
  color: #acacac;
  font-size: 11px;
  font-weight: 500;
}

/* News */
/*.news {
  padding: 1.5rem 0;
}*/

.news__title {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #eeeeee;
  text-transform: uppercase;
  margin-bottom: 1rem;
  position: relative;
}

.news__title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100px;
  height: 3px;
  background-color: #2fb925;
}

.news__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 20px;
  margin-top: 2rem;
}

.news-card {
  background-color: #2d3034;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card__image {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 10px 10px 0 0;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card__play {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.news-card__play img {
  width: 2.5rem;
  height: 2.5rem;
}

.news-card__link h3 {
  padding: 0.75rem 1rem;
  font-weight: 400;
  font-size: 14px;
}

.news-card__content {
  padding: 15px;
}

.news-card__title {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: #ffffff;
  margin: 0;
}

.news-card__description {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.4;
  color: #ffffff;
  margin-top: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.news-card--featured .news-card__title {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 10px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: #2f3137;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  transition: background-color 0.3s;
}

.pagination__item:hover,
.pagination__item.active {
  background-color: #2fb925;
}

.news__divider {
  width: 100%;
  height: 1px;
  background-color: #616161;
  margin: 40px 0;
}

.footer {
  background-color: #000000;
  padding: 40px 0 20px;
  color: #ffffff;
}

.footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer__content {
  text-align: center;
  margin-bottom: 30px;
}

.footer__description {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
}

.footer__address {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
  margin-bottom: 30px;
}

.footer__nav {
  margin-bottom: 30px;
  border-top: 1px dashed #676161;
  border-bottom: 1px dashed #676161;
  padding: 20px 0;
}

.footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer__nav a {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 14px;
  color: #acacac;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer__nav a:hover {
  color: #ffffff;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.footer__social img {
  width: 32px;
  height: 32px;
  transition: opacity 0.3s ease;
}

.footer__social img:hover {
  opacity: 0.8;
}

.footer__copyright {
  text-align: center;
}

.footer__copyright p {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 11px;
  color: #acacac;
  margin: 0;
}

.footer__description,
.footer__address {
  font-size: 12px;
}

.footer__nav a {
  font-size: 13px;
}

.footer__social {
  gap: 10px;
}

.footer__social img {
  width: 28px;
  height: 28px;
}

.sports-filter {
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.sports-filter__inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px;
  max-width: 100%;
  border-radius: 10px;
    background: #0c0c0c;
    border: solid 2px #2b2b2b;
}

.sports-filter__group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
}

.sports-filter__button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #20242c;
  border: none;
  border-radius: 5px;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.sports-filter__button_child {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background-color: #20242c;
  border: none;
  border-radius: 5px;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
  cursor: pointer;
  transition: background-color 0.3s;
  white-space: nowrap;
}

.sports-filter__group.sports-categories .sports-filter__button {
  background-color: transparent;
}

.sports-filter__group.sports-categories
  .sports-filter__button
  .sports-filter__button-text {
  font-weight: 700;
}

.sports-filter__button-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.sports-filter__button-icon img {
  width: 1rem;
  height: 1rem;
  object-fit: contain;
}

.sports-filter__button_child.active .sports-filter__button-icon {
  transform: rotate(180deg);
}

.sports-filter__button.active .sports-filter__button-icon {
  transform: rotate(180deg);
}

.sports-filter__button-text {
  font-weight: 400;
  flex: 1;
  text-align: left;
}

.sports-filter__button-count {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  /* padding: 0 6px; */
  /* background-color: rgba(255, 255, 255, 0.1); */
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 500;
}

.sports-filter__button-count:empty {
  display: none;
}

.sports-filter__button:hover {
  background-color: #2a2f38;
}

.sports-filter__button.active {
  background-color: transparent;
  color: #00fffd;
}

.sports-filter__button.live {
  background-color: #f2152d;
}

.sports-filter__button.live .sports-filter__button-count {
  background-color: #f2152d;
  color: #ffffff;
}

.sports-filter__divider {
  width: 100%;
  height: 1px;
  background-color: #676161;
  margin: 8px 0;
}

.sports-filter__dropdown-wrapper {
  position: relative;
}

.sports-filter__button.has-dropdown {
  position: relative;
}

.sports-filter__button.has-dropdown.active::after {
  transform: translateY(-50%) rotate(180deg);
}

.sports-filter__button.has-dropdown.active .sports-filter__button-icon {
  transform: rotate(180deg);
}

.sports-filter__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 240px;
  background-color: #20242c;
  border-radius: 8px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.sports-filter__dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.sports-filter__dropdown-content {
  max-height: 300px;
  overflow-y: auto;
}

.sports-filter__dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  color: var(--color-white);
  transition: background-color 0.3s;
}

.sports-filter__dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.sports-filter__dropdown-item img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.sports-filter__dropdown-item span {
  font-size: 14px;
  font-weight: 500;
}

@media (max-width: 768px) {
  .sports-filter__dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 32px);
    max-width: 320px;
    max-height: calc(100vh - 32px);
    background-color: #2d3034;
  }

  .sports-filter__dropdown.active {
    transform: translate(-50%, -50%);
  }

  .sports-filter__dropdown::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
  }
}

@media (max-width: 480px) {
    h1 {
        margin: 1rem 0;
    }
    
  .sports-filter__button {
    padding: 4px 10px;
    font-size: 14px;
  }

  .sports-filter__button-icon img {
    width: 16px;
    height: 16px;
  }

  .sports-filter__button-count {
    min-width: 16px;
    height: 16px;
    font-size: 10px;
    padding: 0 4px;
  }
  .sports-filter__button_child {
      padding: 6px 14px;
      font-size: 13px;
  }
}

@media (max-width: 1200px) {
  .news__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .news__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news__grid {
    grid-template-columns: 1fr;
  }

  .news-card--featured {
    grid-column: auto;
    grid-row: auto;
  }

  .news-card--featured .news-card__title {
    font-size: 16px;
  }

  .match-card__teams .team:first-of-type {
    flex-direction: column;
  }

  .team {
    flex-direction: column;
    text-align: center;
  }

  .team__name {
    font-size: 15px;
  }

  .match-card__score {
    font-size: 30px;
  }

  .match-card__info {
display: flex !important;
    flex-direction: column;
    align-items: center;
  }

  .match-card__stats {
    display: flex;
  justify-content: center;
  gap: 0.5rem;
  }

  .match-card__mic {
    position: relative;
    left: auto;
    transform: none;
    margin: 0;
  }

  .match-card__odds {
    display: flex;
  justify-content: center;
  gap: 0.5rem;
  }

  .match-card__odds-logo {
    height: 26px;
  }

  .match-card__league {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 220px;
    display: inline-block;
  }

  .match-card__time {
    min-width: 100px;
  }

  .match-card__status {
    min-width: 60px;
  }
}

@media (max-width: 576px) {
  .match-card__time-info img {
    display: none;
  }

  .match-card__time-info .match-card__time {
    display: none;
  }

  .match-card__time-mobile {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    margin-top: 0.25rem;
  }

  .match-card__info {
  display: flex;
  flex-direction: column;
  align-items: center; /* căn giữa theo chiều ngang */
  gap: 0.5rem;
  padding: 1rem;
  }

  .match-card__stats-content {
    font-size: 15px;
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
    margin: 0.35rem 0;
    font-weight: 400;
  }

  .match-card__stat {
    gap: 0.25rem;
  }

  .match-card__stat span {
    font-size: 8px;
  }

  .match-card__stat img {
    width: 8px;
    height: 8px;
  }

  /* .match-card__mic {
    width: 20px;
    height: 20px;
  } */

  .match-card__mic img {
    width: 12px;
    height: 12px;
  }

  .match-card__odds {
    gap: 0.375rem;
  }

  .match-card__odd span {
    font-size: 8px;
  }

  .match-card__odd:not(:last-of-type)::after {
    display: none;
  }

  .match-card__odds-logo {
    height: 14px;
  }

  .match-card__league {
      white-space: nowrap;        /* Không xuống dòng */
    overflow: hidden;           /* Ẩn phần vượt quá khung */
    text-overflow: ellipsis;    /* Thêm dấu "..." nếu bị cắt */
    max-width: 200px;           /* Chiều rộng tối đa, chỉnh theo giao diện */
    display: inline-block;      /* Đảm bảo áp dụng được */
    font-size: 14px;
    text-align: center;
    justify-content: center;
    text-align: left;
  }

  .match-card__time {
    min-width: auto;
    width: 100%;
    flex: 1;
    text-align: center;
    font-size: 15px;
  }

  .match-card__time span {
    font-size: 12px;
  }

  .match-card__status {
    font-size: 13px;
    min-width: auto;
    width: 100%;
    flex: 1;
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .match-card__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .header__buttons .btn span {
    /* display: none; */
  }
  .news__grid {
    grid-template-columns: 1fr;
  }

  .match__buttons {
    flex-direction: column;
  }

  .match-card__info .match-card__time-info .btn {
    min-width: 97px;
    justify-content: center;
  }
  
  .match-card {
      margin-bottom: 0.5rem;
  }

.match-card__body {
    gap: 0.8rem !important;
    padding: 0.5rem;
}

  .match-card__header {
    display: flex;
    flex-direction: row !important;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
  }

  .match-card__league {
    white-space: nowrap;        /* Không xuống dòng */
    overflow: hidden;           /* Ẩn phần vượt quá khung */
    text-overflow: ellipsis;    /* Thêm dấu "..." nếu bị cắt */
    max-width: 200px;           /* Chiều rộng tối đa, chỉnh theo giao diện */
    display: inline-block;      /* Đảm bảo áp dụng được */
    font-size: 13px;
    order: 1;
    justify-content: center;
    flex: initial !important;
    text-align: left;
    flex: 1;
  }

  .match-card__time {
    min-width: auto;
    width: 100%;
    text-align: right;
    order: 1;
    font-size: 13px !important;
  }

  .match-card__time span {
    font-size: 12px;
  }

  .match-card__status {
    font-size: 12px;
    min-width: auto;
    width: 100%;
    text-align: center;
    order: 3;
    justify-content: center;
    flex-basis: 100%;
  }
  
  .match-card__info {
        padding: 0.5rem;
  }
  
  .match-card__stats-content {
      font-size: 13px !important;
      margin: 0.25rem 0;
  }
  
 .team__name {
     font-size: 12px;
 }
 
 img.team__logo {
     width: 40px !important;
     height: 40px  !important;
 }
 
 
  .pagination {
    gap: 5px;
  }

  .pagination__item {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .news-detail {
    padding: 30px 0;
  }

  .news-detail__content {
    padding: 15px;
    margin-bottom: 30px;
  }

  .footer__description,
  .footer__address {
    font-size: 12px;
  }

  .footer__nav a {
    font-size: 13px;
  }

  .footer__social {
    gap: 10px;
  }

  .footer__social img {
    width: 28px;
    height: 28px;
  }

  .news__title {
    font-size: 18px;
  }

  .news-card__title {
    font-size: 13px;
  }
}

#scrollTopBtn {
  display: none;
  position: fixed;
  width: 48px;
  height: 48px;
  bottom: 160px;
  right: 24px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  color: white;
  cursor: pointer;
  padding: 15px;
  border-radius: 100%;
  background-color: var(--color-primary);
  backdrop-filter: blur(70px);
  box-shadow: 4px 8px 8px hsl(0deg 0% 0% / 0.38);
}

#scrollTopBtn svg {
  display: block;
  width: 18px;
  height: 18px;
  fill: white;
}

.custom-scroll::-webkit-scrollbar {
  width: 6px;
}

.custom-scroll::-webkit-scrollbar-track {
  border-radius: 8px;
  background-color: rgba(255, 126, 7, 10%);
}

.custom-scroll::-webkit-scrollbar-thumb {
  width: 8px;
  border-radius: 8px;
  background-color: var(--color-primary);
}

.divider {
  height: 1px;
  width: 100%;
  margin-top: 2rem;
  margin-bottom: 2rem;
  background-color: var(--color-gray-darker);
}

@media (max-width: 1200px) {
  .nav__toggle {
    display: block;
  }

  .nav__menu {
    display: block;
    position: fixed;
    top: 0;
    left: -280px; /* Start off-screen */
    width: 280px;
    height: 100vh;
    background-color: var(--color-darker);
    padding: 2rem;
    z-index: 100;
    overflow-y: auto;
    transition: left 0.3s ease;
  }

  .nav__menu.active {
    left: 0; /* Slide in */
  }

  /* Overlay when menu is open */
  .nav__menu::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: -1;
  }

  .nav__menu.active::before {
    opacity: 1;
    visibility: visible;
  }

  /* Close button */
  .nav__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 24px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
  }

  .nav__close::before,
  .nav__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transform-origin: center;
  }

  .nav__close::before {
    transform: rotate(45deg);
  }

  .nav__close::after {
    transform: rotate(-45deg);
  }

  .nav__menu .nav__item {
    margin: 0;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav__menu .dropdown {
    position: static;
    background: none;
    padding-left: 1rem;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border-radius: 0;
  }

  .nav__menu .nav__item.active .dropdown {
    display: block;
  }

  .nav__menu .dropdown li {
    padding: 0;
  }

  .nav__menu .dropdown a {
    color: var(--color-white);
    opacity: 0.8;
  }

  .nav__menu .dropdown a:hover {
    opacity: 1;
  }
}

/* Responsive */
@media (max-width: 1100px) {
  .hero h1 {
    font-size: 24px;
  }

  .news__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-detail__content {
    padding: 20px;
  }

  .matches {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

@media (max-width: 768px) {
  .nav__toggle {
    display: block;
  }

  .hero .container {
    grid-template-columns: 1fr;
  }

  .news__grid-featured {
    grid-template-columns: 1fr;
  }

  .news__grid {
    grid-template-columns: 1fr;
  }

  .footer__nav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 15px;
    max-width: 500px;
    margin: 0 auto;
  }

  .footer__nav ul li {
    width: calc(50% - 10px);
    text-align: left;
  }

  .footer__description,
  .footer__address {
    font-size: 13px;
  }

  .footer {
    padding: 30px 0 15px;
  }

  .news-detail__content h1 {
    font-size: 18px;
  }

  .news-detail__meta {
    font-size: 14px;
  }

  .news-detail__text {
    font-size: 14px;
  }

  .matches {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 5px;
  }

  .featured-matches h2,
  .news h2 {
    font-size: 20px;
  }
}

@media (max-width: 576px) {
    .matches {
        grid-template-columns: 1fr;
    }
    
  .match-card__time-info img {
    display: none;
  }

  .match-card__time-info .match-card__time {
    display: none;
  }

  .match-card__time-mobile {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.25rem;
    margin-top: 0.25rem;
  }
}

.hero h1 {
    font-size: 1.2rem !important;
}

@media (max-width: 480px) {
  .logo {
    max-width: 110px;
  }

  .header__buttons .btn span {
    /* display: none; */
  }

  .hero h1 {
    font-size: 1rem !important;
  }

  .news__grid {
    grid-template-columns: 1fr;
  }

  .match__buttons {
    flex-direction: column;
  }

  .match-card__info .match-card__time-info .btn {
    min-width: 97px;
    justify-content: center;
  }

  .pagination {
    gap: 5px;
  }

  .pagination__item {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }

  .news-detail {
    padding: 30px 0;
  }

  .news-detail__content {
    padding: 15px;
    margin-bottom: 30px;
  }

  .footer__description,
  .footer__address {
    font-size: 12px;
  }

  .footer__nav a {
    font-size: 13px;
  }

  .footer__social {
    gap: 10px;
  }

  .footer__social img {
    width: 28px;
    height: 28px;
  }

  .match-card__odds-logo {
    height: 18px;
  }

  .news__title {
    font-size: 18px;
  }

  .news-card__title {
    font-size: 13px;
  }
  
  .ads {
    padding-top: 0rem !important;
  margin-bottom: 0rem !important;
}
    .ads-mobile {
        padding: 0px !important;
    }

}

/* Content Navigation Section */
.content-nav {
  margin-top: 1.5rem;
  padding-bottom: 1.5rem;
}

.content-nav__container {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 30px 30px 0px 30px;
    margin-top: 2rem;
    max-height: 800px !important;
    overflow-y: auto;
    border: solid 2px #2b2b2b;
}

.content-nav__lists {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
}

.content-nav__list {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.content-nav__item {
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.21;
  transition: color 0.3s;
}

.content-nav__item:hover {
  color: var(--color-primary);
}

.content-nav__text {
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 1.6;
}

.content-nav__divider {
  width: 100%;
  height: 1px;
  border-top: 1px dashed #676161;
  margin: 10px 0;
}

.content-nav__container::-webkit-scrollbar {
  width: 6px;
}

.content-nav__container::-webkit-scrollbar-track {
  border-radius: 8px;
  background-color: rgba(255, 126, 7, 10%);
}

.content-nav__container::-webkit-scrollbar-thumb {
  width: 8px;
  border-radius: 8px;
  background-color: var(--color-primary);
}

@media (max-width: 992px) {
  .content-nav__lists {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .content-nav__container {
    padding: 20px;
  }

  .content-nav__lists {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .content-nav__container {
    padding: 15px;
  }

  .content-nav__item,
  .content-nav__text {
    font-size: 13px;
  }
}

/* Livescore Switch */
@media (min-width: 876px) {
  .sports-filter__group .livescore-switch {
    flex: 1;
    display: flex;
    justify-content: flex-end;
  }
}

@media (min-width: 1024px) {
    .ads {
        margin: 0 10rem;
    }
}

.livescore-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-left: 1rem;
}

.livescore-label {
  color: #ffffff;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 480px) {
  .livescore-label {
    font-size: 0.75rem;
  }
}

.switch {
  position: relative;
  display: inline-block;
  width: 2rem;
  height: 1.125rem;
  cursor: pointer;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #3e3e3e;
  border-radius: 100px;
  transition: 0.4s;
}

.slider:before {
  content: "";
  position: absolute;
  height: 1.125rem;
  width: 1.125rem;
  left: 0px;
  bottom: 0px;
  background-color: white;
  border-radius: 50%;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #3e3e3e;
}

input:checked + .slider:before {
  transform: translateX(0.875rem);
}

.hashtag {
  color: var(--color-gray);
}

.news-detail {
  padding-top: 1rem;
}

.news-detail .news-content {
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  background-color: var(--color-gray-5);
}

.news-content .meta {
  margin-top: 1rem;
}

.news-content .divider {
  background-color: #616161;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.news-content .content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.related-news-section {
  margin-top: 2rem;
}

/* Sports Filter Buttons */
.sports-filter__button {
  cursor: pointer;
  transition: all 0.3s ease;
}

.sports-filter__button.active {
  background-color: var(--primary-color);
  color: #48e3ff;
}

.sports-filter__button_child.active{
    color: white;
    background: linear-gradient(220deg, #00711b 7.37%, #00691a 57.22%, #005b16 66.05%, #2dbf1b 131.67%);
    box-shadow: inset 0 0 0 2px #3f9705;
}

.match-card.d-none{
  display: none;
}

.header-watch {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.2rem 0 0 0;
    text-transform: uppercase;
}

.footer-logo{
    margin: 1rem 0;
}

.footer-descript {
    line-height: 1.3rem;
}

.footer-text {
    margin-bottom: 0.8rem !important;
}

li .nav__item {
    margin-bottom: 0px !important;
}

#custom-popup img {
    display: block !important;
}

@media (max-width: 425px) {
  #custom-popup img {
    max-width: 220px;
    height: auto;
  }
  
  #custom-popup {
      max-width: 230px;
  }
}

@media (max-width: 385px) {
    .header-text {
    font-size: 11px;
}
    
    .header-button {
    padding: 0.7rem 0.4rem !important;
}
}

.breadcrumb {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 330px) {
    .header-text {
    font-size: 9.6px;
}
    #catfish-ad img {
    max-height: 32px  !important;
}
    .logo {
        max-width: 90px;
    }
    
    .header-button {
        padding: 0.7rem 0.3rem !important;
    }
}

.link-match {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    left: 0;
}

.news-detail__title {
    margin-top: 0px !important;
    font-size: 1.3rem !important;
}

.news-hero {
    padding-top: 1.5rem;
}

.news-hero__title {
    margin-top: 0.5rem;
}

.news-card__excerpt {
    padding: 0rem 1rem;
}

.child_all {
    display: none !important;
}

.blv-name {
        white-space: nowrap;        /* Không xuống dòng */
    overflow: hidden;           /* Ẩn phần vượt quá khung */
    text-overflow: ellipsis;    /* Thêm dấu "..." nếu bị cắt */
    max-width: 320px;           /* Chiều rộng tối đa, chỉnh theo giao diện */
    display: inline-block;      /* Đảm bảo áp dụng được */
}

.sports-filter__group.sports-categories {
    display: none !important;
}

.sports-filter__divider {
    display: none !important;
}

@media (max-width: 780px) {
    .match-card__header {
        display: flex; 
    justify-content: space-between;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    }
    .match-card__status {
        order: 2;
        width: 100%;
        text-align:center;
    }
}

@media (max-width: 480px) {
    .match-card__stats {
        display: none;
    }
    
    button#scrollTopBtn {
        display: none !important;
    }
    
    .header {
        position: relative;
    }
}


@media screen and (max-width: 480px) {
    .match-item-head-inner {
        justify-content: center !important;
    }
    
    .match-overview {
        min-width: 80px !important;
    }
    
    .filter-tab {
        font-size: 12px !important;
        padding: 4px 8px !important; 
    }
}

.match-item__comp {
    color: #fff !important;
}

.match-item__time {
    color: #fff !important;
}

.match-score-live .home-score, .match-score-live .divide-score, .match-score-live .away-score, .quick-stat-home, .quick-stat-sep, .quick-stat-away {
    color: #fff !important;
}

.blv-list {
    justify-content: center !important;
}

.match-home, .match-away {
    align-items: center !important;
    justify-content: center !important;
}

/* VNLive target parity: homepage, pinned live, footer, iframe pages */
.home-main {
    background-color: #000000c9;
}

.hero {
    padding-top: 0.5rem;
}

.hero__content {
    min-width: 0;
}

.home-banner-slider {
    width: 100%;
    margin: 15px 0;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: none;
    z-index: 10;
}

.home-banner-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.home-banner-slide {
    display: block;
    min-width: 100%;
    text-decoration: none;
}

.home-banner-slide img {
    display: block;
    width: 100%;
    height: auto;
}

.home-banner-slide--safe {
    background: #151515 url(../uploads/2025/04/bg-match-2.webp) center/cover no-repeat;
}

.home-banner-safe {
    position: relative;
    display: flex;
    min-height: 255px;
    flex-direction: column;
    justify-content: center;
    padding: 32px 46px;
    color: #fff;
    overflow: hidden;
}

.home-banner-safe::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.92), rgba(245, 124, 0, 0.42));
}

.home-banner-safe strong,
.home-banner-safe em {
    position: relative;
    z-index: 1;
    max-width: 620px;
    font-style: normal;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.home-banner-safe strong {
    color: #f7c700;
    font-size: 44px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.home-banner-safe em {
    margin-top: 16px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.25;
}

.home-banner-dots {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    display: flex;
    justify-content: center;
    gap: 6px;
}

.home-banner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
}

.home-banner-dot.active {
    background: #fff;
    transform: scale(1.2);
}

.top-live-box {
    width: 100%;
    display: flex;
    gap: 8px;
    margin-top: 0.75rem;
    margin-bottom: 1rem;
}

.skeleton-box {
    display: inline-block;
    width: 100%;
    height: 100%;
    min-height: 144px;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    background-color: #2a2a2a;
}

.skeleton-box::after {
    position: absolute;
    inset: 0;
    content: "";
    transform: translateX(-100%);
    background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.05) 20%, rgba(255, 255, 255, 0.2) 60%, rgba(255, 255, 255, 0));
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    100% {
        transform: translateX(100%);
    }
}

.top-live-box[hidden] {
    display: none !important;
}

.top-live-box .left {
    position: relative;
    width: 100%;
    min-width: 0;
    min-height: 500px;
    overflow: hidden;
    border: 1px solid #262c33;
    border-radius: 8px;
    background-color: #090c10;
}

.top-live-box.skeleton-loading .left {
    padding: 10px;
}

.top-live-box.skeleton-loading .left .skeleton-box {
    min-height: 480px;
}

.top-live-box .video-container,
.top-live-box .video-player,
.top-live-box #mse {
    position: relative;
    width: 100%;
    min-height: 500px;
}

.top-live-box .pinned-matchup {
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 30px 46px 104px;
    color: #fff;
    background-color: #090c10;
}

.pinned-matchup__meta,
.pinned-compact__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-width: 0;
}

.pinned-matchup__meta {
    padding-bottom: 20px;
    border-bottom: 1px solid #282f37;
    color: #cbd2da;
    font-size: 15px;
    font-weight: 700;
}

.pinned-matchup__meta span,
.pinned-compact__meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pinned-matchup__meta time,
.pinned-compact__meta time {
    flex: 0 0 auto;
    color: #f6c800;
    font-variant-numeric: tabular-nums;
}

.pinned-matchup__teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr);
    align-items: center;
    gap: 28px;
    min-width: 0;
}

.pinned-matchup__team {
    display: grid;
    justify-items: center;
    gap: 16px;
    min-width: 0;
    text-align: center;
}

.pinned-matchup__team strong {
    width: 100%;
    overflow-wrap: anywhere;
    color: #fff;
    font-size: 24px;
    line-height: 1.25;
}

.pinned-matchup__logo {
    display: grid;
    width: 124px;
    height: 124px;
    place-items: center;
    overflow: hidden;
    border: 1px solid #343c45;
    border-radius: 8px;
    background-color: #f7f8fa;
}

.pinned-matchup__logo img,
.pinned-compact__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pinned-matchup__logo img {
    padding: 10px;
}

.pinned-team-logo__fallback {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #111820;
    font-size: 24px;
    font-weight: 800;
}

.pinned-matchup__center {
    display: grid;
    justify-items: center;
    gap: 14px;
}

.pinned-matchup__center b {
    color: #fff;
    font-size: 36px;
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.pinned-matchup__status,
.pinned-compact__status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

.pinned-matchup__status {
    min-height: 30px;
    padding: 0 12px;
    font-size: 12px;
}

.pinned-matchup__status.is-live,
.pinned-compact__status.is-live {
    background-color: #d81428;
    color: #fff;
}

.pinned-matchup__status.is-upcoming,
.pinned-compact__status.is-upcoming {
    background-color: #f6c800;
    color: #17130a;
}

.pinned-matchup__status.is-finished,
.pinned-compact__status.is-finished {
    background-color: #38414b;
    color: #fff;
}

.top-live-box .live-list {
    display: flex;
    width: 260px;
    height: 500px;
    flex-shrink: 0;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    scrollbar-width: none;
}

.top-live-box .live-list::-webkit-scrollbar {
    display: none;
}

.top-live-box.has-single-pinned .live-list {
    display: none;
}

.top-live-box .live-list .live-item {
    position: relative;
    display: block;
    width: 100%;
    min-height: 119px;
    flex: 0 0 119px;
    overflow: hidden;
    border: 1px solid #2c333b;
    border-radius: 8px;
    background-color: #11161c;
    color: #fff;
    transition: border-color 0.15s ease-in-out, background-color 0.15s ease-in-out;
}

.top-live-box .live-list .live-item.active {
    border-color: #18b95b;
    background-color: #151c22;
}

.pinned-compact {
    display: grid;
    grid-template-rows: auto 1fr auto;
    gap: 6px;
    width: 100%;
    height: 100%;
    padding: 9px 10px;
}

.pinned-compact__meta {
    gap: 8px;
    color: #9da7b2;
    font-size: 10px;
    line-height: 1.2;
}

.pinned-compact__teams {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.pinned-compact__team {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.pinned-compact__team strong {
    display: -webkit-box;
    overflow: hidden;
    color: #f7f8fa;
    font-size: 10px;
    line-height: 1.15;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.pinned-compact__logo {
    display: grid;
    width: 32px;
    height: 32px;
    place-items: center;
    overflow: hidden;
    border-radius: 6px;
    background-color: #f7f8fa;
}

.pinned-compact__logo img {
    padding: 3px;
}

.pinned-compact__logo .pinned-team-logo__fallback {
    font-size: 10px;
}

.pinned-compact__versus {
    color: #73808c;
    font-size: 9px;
    font-weight: 800;
    text-align: center;
}

.pinned-compact__status {
    justify-self: start;
    min-height: 17px;
    padding: 0 7px;
    font-size: 8px;
}

/* Preserve the original homepage live-cover layout and add only team context. */
.top-live-box .left {
    min-height: 564px;
    border: 0;
    border-radius: 4px;
    background-color: #000;
}

.top-live-box.skeleton-loading .left .skeleton-box {
    min-height: 544px;
}

.top-live-box .video-container,
.top-live-box .video-player,
.top-live-box #mse,
.top-live-box .pinned-classic {
    min-height: 564px;
}

.top-live-box .pinned-classic {
    position: relative;
    overflow: hidden;
    color: #fff;
    background: #090909;
}

.top-live-box .pinned-main-poster {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .5;
}

.pinned-classic__shade,
.pinned-classic-thumb__shade {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, .25), rgba(0, 0, 0, .64));
}

.pinned-classic__meta {
    position: absolute;
    top: 24px;
    right: 28px;
    left: 28px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.pinned-classic__meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pinned-classic__meta time {
    flex: 0 0 auto;
    color: #ffd800;
    font-variant-numeric: tabular-nums;
}

.pinned-classic__teams {
    position: absolute;
    top: 47%;
    right: 8%;
    left: 8%;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 104px minmax(0, 1fr);
    align-items: center;
    gap: 22px;
    transform: translateY(-50%);
}

.pinned-classic__team {
    display: grid;
    justify-items: center;
    gap: 12px;
    min-width: 0;
    text-align: center;
}

.pinned-classic__team strong {
    width: 100%;
    overflow: hidden;
    color: #fff;
    font-size: 20px;
    line-height: 1.25;
    text-overflow: ellipsis;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .85);
    white-space: nowrap;
}

.pinned-classic__logo {
    display: grid;
    width: 86px;
    height: 86px;
    place-items: center;
    overflow: hidden;
    border-radius: 6px;
    background: rgba(255, 255, 255, .94);
}

.pinned-classic__logo img,
.pinned-classic-thumb__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pinned-classic__logo img {
    padding: 7px;
}

.pinned-classic__center {
    display: grid;
    justify-items: center;
    gap: 12px;
}

.pinned-classic__center b {
    color: #fff;
    font-size: 32px;
    line-height: 1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, .85);
}

.top-live-box .live-list,
.top-live-box.has-single-pinned .live-list {
    display: block;
    width: 240px;
    height: auto;
    overflow: visible;
}

.top-live-box .live-list .live-item {
    width: 100%;
    height: 144px;
    min-height: 144px;
    margin-bottom: 6px;
    border: 2px solid transparent;
    border-radius: 4px;
    background: #111;
}

.top-live-box .live-list .live-item.active {
    border-color: #ff0202;
    background: #111;
}

.pinned-classic-thumb,
.pinned-classic-thumb > img {
    display: block;
    width: 100%;
    height: 100%;
}

.pinned-classic-thumb {
    position: relative;
    overflow: hidden;
}

.pinned-classic-thumb > img {
    object-fit: cover;
}

.pinned-classic-thumb__teams {
    position: absolute;
    right: 8px;
    bottom: 8px;
    left: 8px;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
    align-items: center;
    gap: 4px;
}

.pinned-classic-thumb__teams > span {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    align-items: center;
    gap: 5px;
    min-width: 0;
}

.pinned-classic-thumb__teams strong {
    overflow: hidden;
    color: #fff;
    font-size: 10px;
    line-height: 1.15;
    text-overflow: ellipsis;
    text-shadow: 0 2px 5px #000;
    white-space: nowrap;
}

.pinned-classic-thumb__teams > b {
    color: #fff;
    font-size: 9px;
    text-align: center;
}

.pinned-classic-thumb__logo {
    display: grid;
    width: 26px;
    height: 26px;
    place-items: center;
    overflow: hidden;
    border-radius: 4px;
    background: #fff;
}

.pinned-classic-thumb__logo img {
    padding: 2px;
}

.pinned-classic-thumb__logo .pinned-team-logo__fallback {
    font-size: 9px;
}

.overlay-click {
    position: absolute;
    inset: 0;
    z-index: 6;
}

.btn-view-truc-tiep {
    position: relative;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 30px;
    background: #f2152d;
    color: #fff;
    font-weight: 700;
    text-align: center;
    pointer-events: none;
}

.top-live-box .btn-view-truc-tiep {
    position: absolute;
    top: 70%;
    bottom: auto;
    left: 50%;
    padding: 20px;
    transform: translate(-50%, -50%);
    cursor: pointer;
}

.match-section {
    min-height: 4800px;
}

.match-section.is-filtered {
    min-height: 480px;
}

.match-card {
    position: relative;
    border-radius: 10px;
}

.match-card__body {
    min-height: 178px;
}

.match-card__status {
    position: absolute;
    top: 13%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 180px;
    z-index: 2;
}

.match-card__stats-content {
    background: none !important;
    box-shadow: none !important;
    padding: 0.25rem 0 !important;
}

.match-card__stats-content a {
    color: #fff;
}

.match-card__odds .btn--primary {
    min-width: 96px;
    justify-content: center;
}

.content-nav__heading {
    font-weight: 700;
    font-size: 120%;
}

.content-nav__text h2,
.content-nav__text h3 {
    color: #f7c700;
}

.site-footer {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 30px 15px;
    min-height: 584px;
}

.footer-logo img {
    width: auto;
    height: 120px;
    max-width: 220px;
    object-fit: contain;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 18px;
    margin: 20px 0;
}

.footer-nav-text {
    color: #0ccc4c;
    font-weight: 700;
    margin: 0 10px;
}

.footer-hashtag {
    margin-top: 15px;
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
}

.footer-social img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.footer-copyright {
    color: #acacac;
    font-size: 12px;
}

.news-detail .rank-math-breadcrumb p {
    margin-bottom: 0;
    color: #acacac;
}

.news-detail .rank-math-breadcrumb a {
    color: #0ccc4c;
}

.news-detail .news-content {
    border: 0;
    border-radius: 16px;
    background-color: #2d3034;
    padding: 1.5rem 2rem;
    min-height: 2870px;
}

.stats-iframe {
    display: block;
    width: 100%;
    min-height: 760px;
    border: 0;
    border-radius: 12px;
    background: #111;
}

.news-detail .news-content.vnlive-data-content {
    min-height: 0;
}

.vnlive-data-panel {
    margin: 18px 0 24px;
    color: #fff;
}

.vnlive-data-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.vnlive-data-summary div,
.vnlive-standings-table,
.vnlive-data-match {
    border: 1px solid #3a3d42;
    background: #191b1f;
}

.vnlive-data-summary div {
    border-radius: 8px;
    padding: 12px;
}

.vnlive-data-summary span {
    display: block;
    color: #0ccc4c;
    font-size: 24px;
    font-weight: 800;
}

.vnlive-data-summary em {
    display: block;
    color: #b8bdc5;
    font-style: normal;
    font-size: 13px;
}

.vnlive-data-league {
    margin: 18px 0 8px;
    color: #fff;
    font-size: 18px;
}

.vnlive-match-data-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.vnlive-data-match {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr) 78px minmax(0, 1fr) 92px;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    border-radius: 8px;
    padding: 9px 12px;
    color: #fff;
    text-decoration: none;
}

.vnlive-data-match:hover {
    border-color: #0ccc4c;
}

.vnlive-data-match time,
.vnlive-data-match em {
    color: #b8bdc5;
    font-size: 13px;
    font-style: normal;
}

.vnlive-data-match strong {
    color: #0ccc4c;
    text-align: center;
}

.vnlive-data-team {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vnlive-data-home {
    text-align: right;
}

.vnlive-data-match .status-live {
    color: #ffcc33;
}

.vnlive-data-match .status-finished {
    color: #9ca3af;
}

.vnlive-standings-table {
    overflow: hidden;
    border-radius: 8px;
}

.vnlive-standings-head,
.vnlive-standings-row {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) repeat(4, minmax(64px, .5fr));
    gap: 8px;
    align-items: center;
    padding: 11px 14px;
}

.vnlive-standings-head {
    background: #101114;
    color: #0ccc4c;
    font-weight: 800;
}

.vnlive-standings-row {
    border-top: 1px solid #34373d;
    color: #d7dbe1;
}

.vnlive-standings-row strong {
    color: #fff;
}

@media (max-width: 767px) {
    .news-detail .news-content.vnlive-data-content {
        padding: 1rem;
    }

    .vnlive-data-summary {
        grid-template-columns: 1fr;
    }

    .vnlive-data-match {
        grid-template-columns: 72px minmax(0, 1fr) 58px;
    }

    .vnlive-data-match .vnlive-data-team:nth-of-type(2),
    .vnlive-data-match em {
        grid-column: 2 / 4;
    }

    .vnlive-data-home {
        text-align: left;
    }

    .vnlive-standings-head,
    .vnlive-standings-row {
        grid-template-columns: minmax(0, 1.6fr) repeat(4, 48px);
        font-size: 12px;
        padding: 10px;
    }
}

.data-empty {
    color: #999;
    text-align: center;
    padding: 20px;
}

.overview-panel {
    color: #fff;
    text-align: left;
}

.overview-scoreline {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
    padding: 14px;
    border: 1px solid #2b2b2b;
    border-radius: 6px;
    background: #151515;
}

.overview-scoreline span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.overview-scoreline span:first-child {
    text-align: right;
}

.overview-scoreline strong {
    color: #0ccc4c;
    font-size: 24px;
    line-height: 1;
}

.overview-rows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.overview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #2b2b2b;
    border-radius: 6px;
    background: #151515;
}

.overview-row span {
    color: #8d8d8d;
}

.overview-row strong {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 600;
}

.overview-anchors {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.overview-anchor {
    min-height: 34px;
    padding: 0 12px;
    border: 1px solid #2b2b2b;
    border-radius: 6px;
    background: #151515;
    color: #dcdcdc;
    cursor: pointer;
}

.overview-anchor.active,
.overview-anchor:hover {
    border-color: #0ccc4c;
    background: #0b2d18;
    color: #fff;
}

.lineup-list,
.timeline-list,
.stats-list,
.h2h-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #fff;
    text-align: left;
}

.lineup-row,
.timeline-row,
.stats-row,
.h2h-row,
.related-match-row,
.chat-line {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #2b2b2b;
    border-radius: 6px;
    background: #151515;
    padding: 10px 12px;
}

.lineup-row span,
.timeline-row span {
    min-width: 42px;
    color: #0ccc4c;
    font-weight: 700;
}

.timeline-row p {
    margin: 0;
}

.stats-row,
.h2h-row,
.related-match-row {
    justify-content: space-between;
}

.stats-row span {
    color: #acacac;
    text-align: center;
}

.h2h-row span,
.related-match-row span {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.related-match-row {
    color: #fff;
    margin-bottom: 8px;
}

.related-match-row:hover {
    border-color: #0ccc4c;
}

.chat-line {
    margin-bottom: 8px;
    justify-content: flex-start;
    color: #fff;
}

.chat-line.is-system {
    color: #f7c700;
}

.vnlive-tvc-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 28px;
    border-radius: 20px;
    background: rgba(0, 0, 0, 0.72);
    border: 1px solid #0ccc4c;
    color: #0ccc4c;
    font-weight: 700;
    font-size: 12px;
}

.vnlive-tvc-overlay {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.vnlive-tvc-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #000;
}

.vnlive-tvc-skip {
    position: absolute;
    right: 12px;
    top: 12px;
    min-width: 82px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.video-catfish-overlay-top,
.video-catfish-overlay {
    position: absolute;
    left: 50%;
    z-index: 24;
    width: min(78%, 720px);
    height: clamp(34px, 8vw, 72px);
    transform: translateX(-50%);
    align-items: center;
    justify-content: center;
    overflow: hidden;
    pointer-events: auto;
}

.video-catfish-overlay-top {
    top: 10px;
}

.video-catfish-overlay {
    bottom: 54px;
}

.video-catfish-overlay-top img,
.video-catfish-overlay img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 0;
}

.lb-cancel,
.lb-nav a.lb-prev,
.lb-nav a.lb-next,
.lb-data .lb-close {
    background-image: none !important;
}

.lb-cancel::before,
.lb-nav a.lb-prev::before,
.lb-nav a.lb-next::before,
.lb-data .lb-close::before {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    font-size: 20px;
    line-height: 1;
}

.lb-cancel::before {
    content: "...";
}

.lb-nav a.lb-prev::before {
    content: "<";
}

.lb-nav a.lb-next::before {
    content: ">";
}

.lb-data .lb-close::before {
    content: "x";
}

.code2m-xem-live {
    background-color: #000000c9;
    padding: 0 0 24px;
}

.code2m-xem-live .contaiver-live {
    max-width: 1200px;
    padding-top: 0;
}

.code2m-xem-live .match-header-wrapper {
    background: #0c0c0c;
    border: 0;
    border-radius: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.code2m-xem-live .match-header {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 126px;
    background: #0c0c0c url(../uploads/2025/04/bg-match-2.webp) center/cover no-repeat;
    color: #fff;
}

.code2m-xem-live .quick-stats {
    display: none;
    align-items: stretch;
    justify-content: center;
    gap: 8px;
    padding: 12px;
}

.code2m-xem-live .quick-stats.active {
    display: flex;
}

.code2m-xem-live .quick-stat-item {
    min-width: 58px;
    min-height: 72px;
    border: 1px solid #2b2b2b;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.44);
}

.code2m-xem-live .match-teams-score {
    display: flex;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
}

.code2m-xem-live .match-teams-score .team {
    min-width: 0;
}

.code2m-xem-live .score-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.code2m-xem-live .score,
.code2m-xem-live .score-separator {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.code2m-xem-live .video-section {
    min-width: 0;
}

.code2m-xem-live .video-player {
    position: relative;
    aspect-ratio: 16 / 9;
    min-height: 420px;
    background: #000;
    border-radius: 0;
    overflow: hidden;
}

.code2m-xem-live #mse {
    width: 100%;
    height: 100%;
    min-height: 420px;
    background: #000;
}

.code2m-xem-live #mse .xgplayer,
.code2m-xem-live #mse video {
    width: 100% !important;
    height: 100% !important;
}

.code2m-xem-live .player-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: inherit;
}

.code2m-xem-live .player-start {
    width: 100%;
    border: 0;
    background: #000;
    color: #aaa;
    font: inherit;
    cursor: pointer;
}

.code2m-xem-live .player-start:hover {
    color: #fff;
}

.code2m-xem-live .rows {
    display: flex;
    gap: 1%;
}

.code2m-xem-live .c-left {
    width: calc(100% - 410px);
}

.code2m-xem-live .c-right {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    max-width: none !important;
}

.code2m-xem-live .bottom-section {
    margin-top: 26px;
}

.code2m-xem-live .chat-section,
.code2m-xem-live .match-relate,
.code2m-xem-live .container-extend {
    background: #0c0c0c;
    border: 0;
    border-radius: 0;
}

.code2m-xem-live .ctv-mob-tabbar {
    display: none;
}

.code2m-xem-live .mobile-overview-subtabs {
    scrollbar-width: none;
}

.code2m-xem-live .mobile-overview-subtabs::-webkit-scrollbar {
    display: none;
}

.code2m-xem-live .mob-ov-subtab {
    flex: 0 0 auto;
    height: 40px;
    padding: 0 13px;
    border: 0;
    border-bottom: 2px solid transparent;
    background: #161616;
    color: #a8a8a8;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.code2m-xem-live .mob-ov-subtab.active {
    border-bottom-color: #0ccc4c;
    color: #fff;
    background: #101010;
}

@media screen and (max-width: 1024px) {
    .code2m-xem-live .video-player,
    .code2m-xem-live #mse {
        min-height: 360px;
    }

    .top-live-box {
        flex-direction: column;
    }

    .top-live-box .left,
    .top-live-box .video-container,
    .top-live-box .video-player,
    .top-live-box #mse {
        min-height: 400px;
    }

    .top-live-box.skeleton-loading .left .skeleton-box {
        min-height: 380px;
    }

    .top-live-box .pinned-matchup {
        padding: 24px 32px 86px;
    }

    .pinned-matchup__teams {
        grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
        gap: 18px;
    }

    .pinned-matchup__logo {
        width: 92px;
        height: 92px;
    }

    .pinned-matchup__team strong {
        font-size: 20px;
    }

    .pinned-matchup__center b {
        font-size: 30px;
    }

    .top-live-box .live-list {
        display: flex;
        width: 100%;
        height: auto;
        min-width: 0;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
    }

    .top-live-box .live-list .live-item {
        width: 230px;
        min-height: 119px;
        flex-basis: 230px;
    }

    .pinned-classic__teams {
        right: 6%;
        left: 6%;
        grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr);
        gap: 16px;
    }

    .pinned-classic__logo {
        width: 74px;
        height: 74px;
    }
}

@media (max-width: 768px) {
    .overview-rows {
        grid-template-columns: 1fr;
    }

    .code2m-xem-live .video-player,
    .code2m-xem-live #mse {
        min-height: 260px;
    }

    .top-live-box .left,
    .top-live-box .video-container,
    .top-live-box .video-player,
    .top-live-box #mse {
        min-height: 320px;
    }

    .top-live-box.skeleton-loading .left .skeleton-box {
        min-height: 300px;
    }

    .top-live-box .pinned-matchup {
        padding: 18px 14px 72px;
    }

    .pinned-matchup__meta {
        gap: 8px;
        padding-bottom: 12px;
        font-size: 11px;
    }

    .pinned-matchup__teams {
        grid-template-columns: minmax(0, 1fr) 74px minmax(0, 1fr);
        gap: 8px;
    }

    .pinned-matchup__team {
        gap: 9px;
    }

    .pinned-matchup__logo {
        width: 68px;
        height: 68px;
    }

    .pinned-matchup__logo img {
        padding: 6px;
    }

    .pinned-matchup__team strong {
        font-size: 15px;
    }

    .pinned-matchup__center {
        gap: 8px;
    }

    .pinned-matchup__center b {
        font-size: 23px;
    }

    .pinned-matchup__status {
        min-height: 24px;
        padding: 0 8px;
        font-size: 9px;
    }

    .top-live-box .live-list .live-item {
        width: 196px;
        min-height: 112px;
        flex-basis: 196px;
    }

    .pinned-classic__meta {
        top: 16px;
        right: 16px;
        left: 16px;
        font-size: 11px;
    }

    .pinned-classic__teams {
        top: 45%;
        right: 12px;
        left: 12px;
        grid-template-columns: minmax(0, 1fr) 66px minmax(0, 1fr);
        gap: 8px;
    }

    .pinned-classic__team {
        gap: 7px;
    }

    .pinned-classic__logo {
        width: 54px;
        height: 54px;
    }

    .pinned-classic__team strong {
        font-size: 14px;
    }

    .pinned-classic__center {
        gap: 7px;
    }

    .pinned-classic__center b {
        font-size: 22px;
    }

    .top-live-box .btn-view-truc-tiep {
        top: auto;
        bottom: 16px;
        min-height: 40px;
        padding: 0 16px;
        font-size: 12px;
        transform: translateX(-50%);
    }

    .match-section {
        min-height: 720px;
    }

    .news-detail .news-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 9px 0;
    }

    .logo {
        max-width: 77px;
    }

    .header__inner > div {
        gap: 8px;
    }

    .header__buttons {
        gap: 8px;
    }

    .header-button {
        min-width: 92px;
        min-height: 39px;
        justify-content: center;
        padding: 0.65rem 0.45rem !important;
    }

    .header-text {
        font-size: 11px;
        white-space: nowrap;
    }

    .nav__toggle {
        display: block;
        width: 28px;
        height: 28px;
    }

    .hero {
        padding-top: 0;
    }

    .home-banner-slider {
        margin: 12px 0 24px;
        border-radius: 8px;
    }

    .home-banner-safe {
        padding: 12px 18px;
    }

    .home-banner-safe strong {
        font-size: 22px;
    }

    .home-banner-safe em {
        margin-top: 6px;
        font-size: 12px;
        line-height: 1.2;
    }

    .match-card__status {
        position: absolute;
        top: 13%;
        left: 50%;
        transform: translate(-50%, -50%);
        max-width: 120px;
        width: auto;
        order: initial !important;
        font-size: 12px;
        flex: initial;
        flex-basis: auto;
        text-align: center;
        justify-content: center;
    }

    .match-card__stats,
    .match-card__stats-content {
        display: block !important;
    }

    .streaming {
        padding: 4px;
    }

    .btn-view-truc-tiep {
        padding: 8px 14px !important;
        font-size: 12px;
    }

    .site-footer {
        padding: 24px 10px;
        min-height: 801px;
    }

    .footer-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        text-align: left;
    }

    .code2m-xem-live {
        padding-bottom: 0;
    }

    .code2m-xem-live .contaiver-live {
        padding: 0;
    }

    .code2m-xem-live .match-header-wrapper,
    .code2m-xem-live .bottom-section,
    .code2m-xem-live .video-footer {
        display: none !important;
    }

    .code2m-xem-live .ctv-mob-tabbar {
        display: flex;
        position: static;
        height: 39px;
        z-index: 20;
        background: #111;
    }

    .code2m-xem-live .ctv-mob-zalobar {
        display: block !important;
        flex: 0 0 38px;
        height: 38px;
        min-height: 38px;
        background: #111;
    }

    .code2m-xem-live .mobile-tab-scroll,
    .code2m-xem-live .mobile-tab-item {
        height: 39px;
    }

    .code2m-xem-live .video-section {
        border-radius: 0;
    }

    .code2m-xem-live .video-player,
    .code2m-xem-live #mse {
        border-radius: 0;
        min-height: 219px;
    }

    .code2m-xem-live .chat-section {
        display: flex;
        flex-direction: column;
        height: calc(100vh - 352px);
        min-height: 492px;
        margin: 0;
        border-width: 0;
        border-radius: 0;
        background: #fff;
    }

    .code2m-xem-live .chat-section .marquee {
        display: none;
    }

    .code2m-xem-live .chat-section .chat-input,
    .code2m-xem-live .chat-section .login-button {
        flex: 0 0 auto;
    }

    .code2m-xem-live + .site-footer,
    body:has(.code2m-xem-live) .site-footer {
        display: none;
    }
}
