
html, body {
  background: #0f1624 !important;
  color: #e2e8f0 !important;
  overflow-x: hidden !important;
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif !important;
}
.header-wrapper, header, .footer-wrapper, footer, .marquee-container, .live-room-box .chat, div.chat { display: none !important; }
.main-wrapper, .match-wrapper, .container, .content-wrapper, .live-wrapper, .live-room-box, .inner, .match-box, .schedule-box, .page-wrapper {
  width: 100% !important; max-width: 100% !important; min-width: 0 !important;
  margin-left: 0 !important; margin-right: 0 !important;
  margin-top: 0 !important; padding-top: 0 !important;
  background: #0f1624 !important; box-sizing: border-box !important;
}
.live-room-box { padding: 8px 12px !important; display: flex !important; justify-content: center !important; }
.live-room-box .media { margin: 0 auto !important; }

/* 1 & 2. Compact & sleek Date Tabs Bar */
.date-list, .date-wrapper, .nav-wrapper {
  background: #141a26 !important;
  border: 1px solid #263147 !important;
  border-radius: 10px !important;
  padding: 8px 12px !important;
  margin: 8px 10px 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  flex-wrap: wrap !important;
  width: calc(100% - 20px) !important;
  height: auto !important;
  box-sizing: border-box !important;
}
.date-list > div, .date-list .date-item, .date-list li {
  background: #1c2436 !important;
  border: 1px solid #2d3a54 !important;
  border-radius: 8px !important;
  padding: 7px 16px !important;
  color: #cbd5e1 !important;
  cursor: pointer !important;
  height: auto !important;
  width: auto !important;
  min-width: 82px !important;
  margin: 0 !important;
  text-align: center !important;
  line-height: 1.3 !important;
  transition: all .2s !important;
}
.date-list > div:hover, .date-list .date-item:hover {
  border-color: #00fffd !important;
  color: #fff !important;
}
.date-list > div *, .date-list .date-item * {
  color: inherit !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  background: transparent !important;
}
.date-list > div.active, .date-list .date-item.active, .date-list li.active {
  background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%) !important;
  border-color: #f87171 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.35) !important;
}
.date-list > div.active *, .date-list .date-item.active * {
  color: #ffffff !important;
  font-weight: 700 !important;
}
.date-list .active::after, .date-list .line { display: none !important; }

/* 3. 2-Column Dark Card Grid - ZERO right clipping */
.match-data.active {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 12px !important;
  padding: 0 10px 24px !important;
  background: #0f1624 !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.match-card {
  background: linear-gradient(180deg, #191f2d 0%, #141923 100%) !important;
  border: 1px solid #2a3448 !important;
  border-radius: 10px !important;
  padding: 13px 14px !important;
  margin: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 10px !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
  transition: border-color .2s, transform .2s !important;
}
.match-card:has(.living) {
  border-color: rgba(239, 68, 68, 0.55) !important;
  box-shadow: 0 4px 16px rgba(239, 68, 68, 0.1) !important;
}
.match-card:hover { border-color: #00fffd !important; transform: translateY(-2px); }
.match-card::after { display: none !important; }

.match-card .left {
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
}
.match-card .left .info {
  float: none !important;
  width: 100% !important;
  height: auto !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  border-bottom: 1px solid #232c3f !important;
  padding: 0 0 8px 0 !important;
  margin: 0 !important;
  text-align: left !important;
}
.match-card .left .info .name {
  color: #94a3b8 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  width: auto !important;
  margin: 0 !important;
}
.match-card .left .info .time {
  color: #ffe400 !important;
  font-size: 12.5px !important;
  font-weight: 700 !important;
  background: rgba(255, 228, 0, 0.12) !important;
  padding: 2px 10px !important;
  border-radius: 12px !important;
  width: auto !important;
  margin: 0 !important;
  white-space: nowrap !important;
}
.match-card:has(.living) .left .info .time {
  background: #ef4444 !important;
  color: #fff !important;
}
.match-card:has(.living) .left .info .time::after {
  content: " • LIVE";
  font-size: 11px;
}

.match-card .left .team {
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding: 4px 0 !important;
  margin: 0 !important;
}
.match-card .left .team .host, .match-card .left .team .guest {
  flex: 1 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  height: auto !important;
  margin: 0 !important;
  min-width: 0 !important;
}
.match-card .left .team .host { justify-content: flex-end !important; flex-direction: row-reverse !important; text-align: right !important; }
.match-card .left .team .guest { justify-content: flex-start !important; text-align: left !important; }
.match-card .left .team::before {
  content: "VS";
  order: 2;
  background: #b91c1c;
  color: #fff;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 9px;
  border-radius: 12px;
  flex-shrink: 0;
}
.match-card .left .team .host { order: 1; }
.match-card .left .team .guest { order: 3; }
.match-card .left .team .host-img, .match-card .left .team .guest-img {
  width: 32px !important; height: 32px !important; object-fit: contain !important;
  background: rgba(255,255,255,0.06); border-radius: 50%; padding: 2px; flex-shrink: 0;
}
.match-card .left .team .host-name, .match-card .left .team .guest-name {
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  width: auto !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

/* 4. Highlight "Đang trực tiếp..." badge + 5. 8XBET logo in bottom-right */
.match-card .right {
  float: none !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  border-top: 1px solid #232c3f !important;
  padding: 10px 0 0 0 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  gap: 8px !important;
  position: relative !important;
}
.match-card .right .anchor-list { flex: 1 !important; min-width: 0 !important; width: auto !important; padding: 0 !important; }
.match-card .right .avatar-list { width: 100% !important; margin: 0 !important; }
.match-card .right .swiper-wrapper { display: flex !important; flex-wrap: nowrap !important; gap: 8px !important; overflow-x: auto !important; }
.match-card .right .avatar-box { width: 58px !important; min-width: 58px !important; margin: 0 !important; cursor: pointer !important; }
.match-card .right .avatar-box .avatar { width: 40px !important; height: 40px !important; border: 2px solid #167457 !important; }
.match-card .right .avatar-box.living .avatar { border-color: #ef4444 !important; }
.match-card .right .avatar-box .name, .match-card .right .avatar-box p, .match-card .right .avatar-box span {
  color: #cbd5e1 !important; font-size: 10.5px !important;
}
.match-card .right [class*="live"], .match-card .right [class*="status"], .match-card .live-txt, .match-card .living-text {
  color: #ffe400 !important;
  font-weight: 700 !important;
}
.ag-live-pill {
  display: inline-block !important;
  background: linear-gradient(90deg, #dc2626, #f97316) !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 8px rgba(239, 68, 68, 0.45) !important;
  margin-bottom: 6px !important;
  white-space: nowrap !important;
}
.ag-card-8x {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1.5px solid #38bdf8 !important;
  border-radius: 8px !important;
  padding: 5px 10px !important;
  flex-shrink: 0 !important;
  box-shadow: 0 2px 10px rgba(14, 165, 233, 0.3) !important;
  transition: transform .15s !important;
}
.ag-card-8x:hover { transform: scale(1.05); }
.ag-card-8x img { height: 22px !important; width: auto !important; display: block !important; }
.match-card .avatar-prev, .match-card .avatar-next { display: none !important; }

@media (max-width: 768px) {
  .match-data.active { grid-template-columns: 1fr !important; }
}


/* Room player bottom 8XBET GIF overlay + dark top-block */
.live-room-box .media .center-block { position: relative !important; overflow: hidden !important; }
#ag-vid-bot-8x {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 76px !important;
  z-index: 9999 !important;
  display: flex !important;
  background: #0a1428 !important;
  text-decoration: none !important;
}
#ag-vid-bot-8x img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}
.live-room-box .media .top-block {
  background: #171d29 !important;
  border-top: 1px solid #263147 !important;
  color: #ffffff !important;
}
.live-room-box .media .top-block * { color: #e2e8f0 !important; }
.live-room-box .media .top-block .follow, .live-room-box .media .top-block [class*="follow"] { color: #111827 !important; font-weight: 700 !important; }


/* Top-right Socolive logo covering SUTBONGTV watermark (exact tight fit) */
#ag-vid-top-logo {
  position: absolute !important;
  top: 2.0% !important;
  right: 9.2% !important;
  width: 13.6% !important;
  height: 21.5% !important;
  z-index: 9999 !important;
  background: rgba(13, 19, 33, 0.96) !important;
  border: 1.5px solid #167457 !important;
  border-radius: 10px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 6px !important;
  box-sizing: border-box !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.6) !important;
  pointer-events: none !important;
}
#ag-vid-top-logo img {
  width: 100% !important;
  max-height: 70% !important;
  object-fit: contain !important;
  display: block !important;
}
#ag-vid-top-logo span {
  color: #00fffd !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  letter-spacing: 0.4px !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
}
@media (max-width: 768px) {
  .live-room-box { padding: 4px !important; }
  .live-room-box .media { width: 100% !important; max-width: 100% !important; }
  .live-room-box .media .center-block { width: 100% !important; height: auto !important; aspect-ratio: 16/9 !important; }
  #ag-vid-bot-8x { height: 38px !important; }
  #ag-vid-top-logo { top: 2% !important; right: 2% !important; width: 22% !important; height: 22% !important; }
  #ag-vid-top-logo span { font-size: 7px !important; }
}



/* Date pills styled 1:1 like Image 1 (v8 exact DOM depth) */
html body .date-list {
  background: #14171f !important;
  border: 1px solid #242a38 !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  margin: 8px 10px 12px !important;
  width: calc(100% - 20px) !important;
  height: auto !important;
  box-sizing: border-box !important;
}
html body .date-list > * {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 10px !important;
  width: 100% !important;
  height: auto !important;
}
html body .date-list > *::before { display: none !important; content: none !important; }
html body .date-list > * > * {
  background: #11141b !important;
  border: 1px solid #2a3142 !important;
  border-radius: 8px !important;
  padding: 8px 13px !important;
  margin: 0 !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all .2s !important;
}
html body .date-list > * > *::before {
  content: "\1F4C5" !important;
  font-size: 13px !important;
  line-height: 1 !important;
}
html body .date-list > * > *:hover {
  border-color: #ef4444 !important;
  background: #1d1417 !important;
}
html body .date-list > * > *.active {
  background: #241316 !important;
  border: 1.5px solid #ef4444 !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.28) !important;
}
html body .date-list > * > * > *:first-child {
  color: #ffffff !important;
  background: transparent !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}
html body .date-list > * > * > *:last-child {
  color: #ffffff !important;
  background: linear-gradient(135deg, #dc2626, #ef4444) !important;
  border-radius: 999px !important;
  padding: 2px 9px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  margin: 0 !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
}


/* Way 1: unscaled 100% video + 8XBET bottom overlay + floating FULLSCREEN button */
.live-room-box .media .center-block video { transform: none !important; }
#ag-vid-top-logo { top: 2.0% !important; right: 2.0% !important; width: 19.5% !important; height: 21.5% !important; border-radius: 10px !important; }
#ag-vid-bot-8x {
  display: flex !important;
  position: absolute !important;
  left: 0 !important;
  right: 68px !important;
  bottom: 0 !important;
  height: 74px !important;
  z-index: 9999 !important;
  background: #0a1428 !important;
}
#ag-vid-fs-btn {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 68px !important;
  height: 74px !important;
  z-index: 10001 !important;
  background: linear-gradient(135deg, #167457, #0ea5e9) !important;
  color: #ffffff !important;
  border: 0 !important;
  border-left: 1px solid rgba(255,255,255,0.2) !important;
  cursor: pointer !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 2px !important;
  line-height: 1.1 !important;
}
#ag-vid-fs-btn:hover { filter: brightness(1.15); }
@media (max-width: 768px) {
  #ag-vid-bot-8x { right: 48px !important; height: 38px !important; }
  #ag-vid-fs-btn { width: 48px !important; height: 38px !important; font-size: 9px !important; }
  #ag-vid-top-logo { top: 2% !important; right: 2% !important; width: 22% !important; height: 22% !important; }
}


/* v13: Percentage-based sizing so Normal & Fullscreen (1080p/4K) match 100% cleanly */
#ag-vid-top-logo {
  top: 1.5% !important;
  right: 2.0% !important;
  width: 20.0% !important;
  height: 26.5% !important;
  background: #0d1321 !important;
}
#ag-vid-bot-8x {
  left: 0 !important;
  right: 68px !important;
  bottom: 0 !important;
  height: 13.8% !important;
}
#ag-vid-bot-8x img {
  width: 100% !important;
  height: 100% !important;
  object-fit: fill !important;
}
#ag-vid-fs-btn {
  right: 0 !important;
  bottom: 0 !important;
  width: 68px !important;
  height: 13.8% !important;
}
.center-block:fullscreen #ag-vid-bot-8x, .center-block:-webkit-full-screen #ag-vid-bot-8x { right: 86px !important; height: 13.8% !important; }
.center-block:fullscreen #ag-vid-fs-btn, .center-block:-webkit-full-screen #ag-vid-fs-btn { width: 86px !important; height: 13.8% !important; font-size: 13px !important; }
@media (max-width: 768px) {
  #ag-vid-bot-8x { right: 46px !important; height: 16% !important; }
  #ag-vid-fs-btn { width: 46px !important; height: 16% !important; }
  #ag-vid-top-logo { top: 1.5% !important; right: 2% !important; width: 24% !important; height: 26% !important; }
}


/* v14: Mobile 1-row scrollable date pills + Chưa Tới Giờ pill + hide QR hover popup */
@media (max-width: 768px) {
  html body .date-list {
    padding: 6px 8px !important;
    margin: 6px 8px 10px !important;
    width: calc(100% - 16px) !important;
  }
  html body .date-list > * {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    gap: 6px !important;
  }
  html body .date-list > *::-webkit-scrollbar { display: none !important; }
  html body .date-list > * > * {
    flex-shrink: 0 !important;
    padding: 5px 10px !important;
    gap: 6px !important;
  }
  html body .date-list > * > * > *:first-child { font-size: 12px !important; }
  html body .date-list > * > * > *:last-child { font-size: 11px !important; padding: 1px 7px !important; }
}
.ag-not-yet {
  display: inline-block !important;
  background: #273145 !important;
  color: #94a3b8 !important;
  border: 1px solid #394661 !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: default !important;
  pointer-events: none !important;
  user-select: none !important;
  white-space: nowrap !important;
}
.live-room-box .top-block [class*="qr-pop"], .live-room-box .top-block [class*="code-box"], .live-room-box .top-block [class*="qrcode-pop"] { display: none !important; }


/* v15: Stack "Chưa Tới Giờ" directly above 8Xbet button + hide BLV horizontal scrollbar */
.ag-not-yet {
  position: absolute !important;
  top: 8px !important;
  right: 0 !important;
  z-index: 5 !important;
}
.match-card .right .swiper-wrapper { scrollbar-width: none !important; }
.match-card .right .swiper-wrapper::-webkit-scrollbar { display: none !important; }


/* v16: Kill QR hover popup & disable scroll floating mini-player */
.video-player.min-screen { position: relative !important; top: auto !important; right: auto !important; bottom: auto !important; left: auto !important; width: 100% !important; height: 100% !important; z-index: auto !important; }
.pc-img-viewer { position: relative !important; top: auto !important; right: auto !important; bottom: auto !important; left: auto !important; width: 100% !important; height: 100% !important; z-index: auto !important; }

.live-room-box .media .center-block > *, .dplayer, .xgplayer, .video-box, [class*="mini-player"], [class*="float-player"], [class*="small-video"] {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
}
.live-room-box .top-block canvas, .live-room-box .top-block [class*="qr"] > div, .live-room-box .top-block [class*="code"] > div {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}


/* v17: Clickable match-card + Dark Mode BLV Picker Popup */
.match-card { cursor: pointer !important; }
#ag-blv-modal {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  background: rgba(6, 10, 18, 0.78) !important;
  backdrop-filter: blur(4px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px !important;
  box-sizing: border-box !important;
}
.ag-blv-box {
  background: #141c2c !important;
  border: 1.5px solid #167457 !important;
  border-radius: 14px !important;
  width: 100% !important;
  max-width: 480px !important;
  max-height: 82vh !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.65) !important;
}
.ag-blv-hdr {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 14px 16px !important;
  background: #172033 !important;
  border-bottom: 1px solid #26354f !important;
  gap: 10px !important;
}
.ag-blv-title {
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}
.ag-blv-sub {
  color: #00fffd !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  margin-top: 2px !important;
}
.ag-blv-close {
  background: #243047 !important;
  color: #fff !important;
  border: 0 !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 8px !important;
  font-size: 18px !important;
  line-height: 1 !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}
.ag-blv-close:hover { background: #ef4444 !important; }
.ag-blv-list {
  padding: 12px 14px !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}
.ag-blv-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  background: #1b2538 !important;
  border: 1px solid #2b3954 !important;
  border-radius: 10px !important;
  padding: 10px 12px !important;
  cursor: pointer !important;
  transition: all .15s !important;
}
.ag-blv-item:hover {
  border-color: #00fffd !important;
  background: #22304a !important;
  transform: translateY(-1px);
}
.ag-blv-item-l { display: flex !important; align-items: center !important; gap: 10px !important; min-width: 0 !important; }
.ag-blv-item img {
  width: 44px !important; height: 44px !important; border-radius: 50% !important;
  object-fit: cover !important; border: 2px solid #ef4444 !important; flex-shrink: 0 !important;
}
.ag-blv-name { color: #ffffff !important; font-size: 14px !important; font-weight: 700 !important; }
.ag-blv-tag {
  display: inline-block !important; margin-top: 2px !important; font-size: 10.5px !important; font-weight: 700 !important;
  padding: 1px 7px !important; border-radius: 999px !important; background: #ef4444 !important; color: #fff !important;
}
.ag-blv-tag.off { background: #334155 !important; color: #cbd5e1 !important; }
.ag-blv-go {
  background: linear-gradient(90deg, #167457, #0ea5e9) !important;
  color: #ffffff !important; font-size: 12px !important; font-weight: 700 !important;
  padding: 6px 12px !important; border-radius: 8px !important; white-space: nowrap !important;
}

/* v18: Anchor BLV popup near top so it is always clearly visible above sticky bottom banner */
#ag-blv-modal {
  align-items: flex-start !important;
  padding-top: 22px !important;
  padding-bottom: 110px !important;
}
.ag-blv-box {
  max-height: 62vh !important;
}


/* v19: Volume mute + slider control right next to FULL button */
#ag-vid-bot-8x { right: 186px !important; }
#ag-vid-vol-wrap {
  position: absolute !important;
  right: 68px !important;
  bottom: 0 !important;
  width: 118px !important;
  height: 13.8% !important;
  z-index: 10001 !important;
  background: #0f172a !important;
  border-left: 1px solid rgba(255,255,255,0.18) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 0 8px !important;
  box-sizing: border-box !important;
}
#ag-vid-mute-btn {
  background: transparent !important;
  border: 0 !important;
  color: #ffffff !important;
  font-size: 18px !important;
  cursor: pointer !important;
  padding: 2px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}
#ag-vid-vol-slider {
  width: 72px !important;
  accent-color: #00fffd !important;
  cursor: pointer !important;
  margin: 0 !important;
}
.center-block:fullscreen #ag-vid-bot-8x, .center-block:-webkit-full-screen #ag-vid-bot-8x { right: 226px !important; }
.center-block:fullscreen #ag-vid-vol-wrap, .center-block:-webkit-full-screen #ag-vid-vol-wrap { right: 86px !important; width: 140px !important; height: 13.8% !important; }
.center-block:fullscreen #ag-vid-vol-slider, .center-block:-webkit-full-screen #ag-vid-vol-slider { width: 88px !important; }
@media (max-width: 768px) {
  #ag-vid-bot-8x { right: 92px !important; height: 16% !important; }
  #ag-vid-vol-wrap { right: 46px !important; width: 46px !important; height: 16% !important; padding: 0 !important; }
  #ag-vid-vol-slider { display: none !important; }
  #ag-vid-mute-btn { font-size: 15px !important; }
}


/* v20: Perfectly symmetrical centered VS pill with both teams hugging center */
.match-card .left .team {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) !important;
  align-items: center !important;
  gap: 12px !important;
}
.match-card .left .team .host {
  display: flex !important;
  flex-direction: row-reverse !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: right !important;
}
.match-card .left .team .guest {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center !important;
  text-align: left !important;
}


/* v21: Mobile full-width centered room player + 3-column grid for Đề xuất video */
.category-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 10px !important;
  width: 100% !important;
  padding: 8px 10px !important;
  box-sizing: border-box !important;
}
.category-list > *, . {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 !important;
  float: none !important;
  background: #171d29 !important;
  border: 1px solid #263147 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
.category-list > * img, . img { width: 100% !important; height: auto !important; display: block !important; }
.category-list > * *, . * { color: #e2e8f0 !important; }
@media (max-width: 768px) {
  .live-room-box, .live-room-box .media, .live-room-box .media .center-block, .live-room-box .media .top-block {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  .live-room-box { padding: 0 !important; display: block !important; }
  .live-room-box .media .top-block { padding: 10px !important; height: auto !important; }
  .category-list { gap: 6px !important; padding: 6px !important; }
  .category-list > * * { font-size: 10.5px !important; line-height: 1.25 !important; }
}


/* v22: Exact full-width 0-gap Mobile .live-room + crisp 3-col UL.category-list */
@media (max-width: 768px) {
  html body .live-room,
  html body .live-room .live-room-box,
  html body .live-room .live-room-box .media,
  html body .live-room .live-room-box .media .center-block {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}


/* v23: Crisp separated 3-col UL.category-list (PC & Mobile) + 100% edge-to-edge Mobile video */
html body ul.category-list {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: 100% !important;
  padding: 10px 14px 20px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
}
html body ul.category-list > li {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  background: #171d29 !important;
  border: 1px solid #2a354d !important;
  border-radius: 10px !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}
html body ul.category-list > li > *,
html body ul.category-list > li a,
html body ul.category-list > li .cover,
html body ul.category-list > li .img-box,
html body ul.category-list > li .thumb,
html body ul.category-list > li .info,
html body ul.category-list > li .bottom {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  background: transparent !important;
  box-sizing: border-box !important;
}
html body ul.category-list > li img {
  width: 100% !important;
  max-width: 100% !important;
  aspect-ratio: 16 / 9 !important;
  object-fit: cover !important;
  display: block !important;
}
html body ul.category-list > li .avatar,
html body ul.category-list > li img[class*="head"],
html body ul.category-list > li img[class*="avatar"] {
  width: 22px !important;
  height: 22px !important;
  aspect-ratio: 1 / 1 !important;
  border-radius: 50% !important;
  display: inline-block !important;
}
html body ul.category-list > li * { color: #e2e8f0 !important; }
@media (max-width: 768px) {
  html body ul.category-list {
    gap: 8px !important;
    padding: 8px !important;
  }
  html body .live-room-box .media .center-block,
  html body .live-room-box .media .center-block > *:not([id^="ag-vid-"]),
  html body .video-player,
  html body .center-block video {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    left: 0 !important;
    right: 0 !important;
  }
}

/* v24: Restore right-aligned Mobile overlays + dark title bar on category-list cards */
html body ul.category-list > li div, html body ul.category-list > li p { background: transparent !important; color: #f1f5f9 !important; }
@media (max-width: 768px) {
  html body #ag-vid-top-logo { left: auto !important; right: 2% !important; width: 24% !important; height: 26% !important; }
  html body #ag-vid-vol-wrap { left: auto !important; right: 46px !important; width: 46px !important; height: 16% !important; }
  html body #ag-vid-fs-btn { left: auto !important; right: 0 !important; width: 46px !important; height: 16% !important; }
  html body #ag-vid-bot-8x { left: 0 !important; right: 92px !important; width: auto !important; height: 16% !important; }
}
