/*
Theme Name: Flatsome Child
Description: Min88 (tourismbattambang.org) - Royal Crimson, Obsidian Slate & Amber Gold V7 iGaming Storefront & 2-Column Editorial UI (m88tb-*).
Author: Min88 Design & Technical Team
Template: flatsome
Version: 9.2.0
*/

:root {
  --m88tb-bg: #0b0e17;
  --m88tb-bg-alt: #111626;
  --m88tb-surface: #151c2f;
  --m88tb-surface-2: #1c253e;
  --m88tb-surface-3: #243050;
  --m88tb-border: rgba(245, 158, 11, 0.22);
  --m88tb-border-subtle: rgba(148, 163, 184, 0.18);
  --m88tb-primary: #10b981;
  --m88tb-primary-hover: #34d399;
  --m88tb-gold: #f59e0b;
  --m88tb-gold-light: #fde047;
  --m88tb-emerald: #10b981;
  --m88tb-cyan: #06b6d4;
  --m88tb-text: #f8fafc;
  --m88tb-text-body: #e2e8f0;
  --m88tb-text-muted: #94a3b8;
  --m88tb-font-sans: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --m88tb-font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

html {
  margin: 0;
  padding: 0;
  overflow-x: clip;
}

body.m88tb-site {
  margin: 0;
  padding: 0;
  background-color: var(--m88tb-bg) !important;
  background-image:
    radial-gradient(circle at 18% 0%, rgba(16, 185, 129, 0.16), transparent 36%),
    radial-gradient(circle at 82% 6%, rgba(245, 158, 11, 0.13), transparent 36%) !important;
  color: var(--m88tb-text-body) !important;
  font-family: var(--m88tb-font-sans) !important;
  font-size: 16px;
  line-height: 1.72;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.m88tb-site *,
.m88tb-site *::before,
.m88tb-site *::after {
  box-sizing: border-box;
}

.m88tb-site #wrapper,
.m88tb-site #main,
.m88tb-site #m88tb-body-wrap,
.m88tb-site .page-wrapper,
.m88tb-site #content {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  overflow: visible !important;
}

.m88tb-site #content > .row-main,
.m88tb-site #content > .row,
.m88tb-site .page-inner {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: visible !important;
}

.m88tb-site #content > .row-main > .col,
.m88tb-site #content > .row > .col {
  max-width: 100% !important;
  flex-basis: 100% !important;
  padding: 0 !important;
}

.m88tb-site .page-header-excerpt,
.m88tb-site .entry-header,
.m88tb-site .page-title,
.m88tb-site #main-menu.mobile-sidebar {
  display: none !important;
}

/* Force all images visible (Zero Lazy-Load Blank Black Box Guarantee) */
.m88tb-site img,
.m88tb-site figure img,
.m88tb-site .m88tb-figure img {
  opacity: 1 !important;
  visibility: visible !important;
  filter: none !important;
}

/* ==========================================================================
   TYPOGRAPHY & LINKS
   ========================================================================== */
.m88tb-site :where(h1, h2, h3, h4) {
  color: var(--m88tb-text) !important;
  font-family: var(--m88tb-font-sans) !important;
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.015em;
  margin-top: 0;
}

.m88tb-site h1 {
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  margin-bottom: 16px;
}

.m88tb-site h2 {
  font-size: clamp(1.32rem, 2.1vw, 1.72rem);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.24);
  scroll-margin-top: 128px;
}

.m88tb-site h3 {
  font-size: clamp(1.08rem, 1.5vw, 1.26rem);
  color: #fde68a !important;
  margin-top: 20px;
  margin-bottom: 10px;
}

.m88tb-site p {
  margin-top: 0;
  margin-bottom: 16px;
  color: var(--m88tb-text-body);
}

.m88tb-site a {
  color: var(--m88tb-gold-light);
  text-decoration: underline;
  text-decoration-color: rgba(253, 224, 71, 0.45);
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.m88tb-site a:hover {
  color: #ffffff;
}

.m88tb-site code {
  font-family: var(--m88tb-font-mono);
  font-size: 0.88em;
  color: #fde047;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.38);
  padding: 2px 7px;
  border-radius: 6px;
  white-space: nowrap;
  display: inline-block;
  max-width: 100%;
  overflow-x: auto;
  vertical-align: middle;
  line-height: 1.35;
}

.m88tb-site :where(a, button, input, select, summary):focus-visible {
  outline: 2px solid var(--m88tb-gold-light);
  outline-offset: 2px;
}

/* ==========================================================================
   TOPBAR & HEADER NAVIGATION (#header.m88tb-site-header) - SINGLE ROW DESKTOP
   ========================================================================== */
.m88tb-site .m88tb-topbar {
  background: linear-gradient(90deg, #160a14 0%, #171226 50%, #160a14 100%);
  border-bottom: 1px solid rgba(245, 158, 11, 0.22);
  font-size: 0.81rem;
  color: #cbd5e1;
}

.m88tb-site .m88tb-topbar-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: nowrap;
}

.m88tb-site .m88tb-topbar-left,
.m88tb-site .m88tb-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.m88tb-site .m88tb-live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.m88tb-site #header.m88tb-site-header {
  background: rgba(12, 16, 28, 0.96) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 158, 11, 0.28);
  position: sticky !important;
  top: 0 !important;
  z-index: 999;
  height: auto !important;
}

.m88tb-site #header .header-wrapper,
.m88tb-site #header .header-main {
  background: transparent !important;
  border: 0 !important;
  position: static !important;
  height: auto !important;
}

.m88tb-site .m88tb-header-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}

.m88tb-site #logo.m88tb-brand {
  margin: 0 !important;
  padding: 0 !important;
  width: auto !important;
  flex-shrink: 0;
}

.m88tb-site #logo.m88tb-brand a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.m88tb-site #logo.m88tb-brand img {
  height: 44px !important;
  width: auto !important;
  max-height: 44px !important;
  display: block;
}

.m88tb-site .m88tb-main-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.m88tb-site .m88tb-nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.m88tb-site .m88tb-nav-list li {
  margin: 0;
  flex-shrink: 0;
}

.m88tb-site .m88tb-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 7px 8px;
  border-radius: 8px;
  color: #f1f5f9 !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}

.m88tb-site .m88tb-nav-link:hover,
.m88tb-site .m88tb-nav-list li.is-active .m88tb-nav-link {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.24), rgba(245, 158, 11, 0.18));
  color: var(--m88tb-gold-light) !important;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.42);
}

.m88tb-site .m88tb-header-ctas {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}

.m88tb-site .m88tb-hdr-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 12px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 800;
  text-decoration: none !important;
  white-space: nowrap;
}

.m88tb-site .m88tb-hdr-btn-login {
  background: rgba(28, 37, 62, 0.92);
  color: #f8fafc !important;
  border: 1px solid rgba(245, 158, 11, 0.55);
}

.m88tb-site .m88tb-hdr-btn-login:hover {
  background: rgba(245, 158, 11, 0.2);
  color: #fde047 !important;
}

.m88tb-site .m88tb-hdr-btn-reg {
  background: linear-gradient(135deg, #10b981 0%, #059669 55%, #d97706 100%);
  color: #ffffff !important;
  border: 1px solid rgba(253, 224, 71, 0.65);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

.m88tb-site .m88tb-hdr-btn-reg:hover {
  background: linear-gradient(135deg, #34d399 0%, #10b981 55%, #f59e0b 100%);
  color: #ffffff !important;
}

.m88tb-site .m88tb-mobile-toggle {
  display: none;
  background: var(--m88tb-surface-2);
  border: 1px solid rgba(245, 158, 11, 0.45);
  border-radius: 9px;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.m88tb-site .m88tb-burger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fde047;
  border-radius: 2px;
}

/* ==========================================================================
   LAYOUT SHELLS: STOREFRONT (/vi-vn/) & 2-COLUMN SUBPAGES (/vi-vn/<slug>/)
   ========================================================================== */
.m88tb-site .m88tb-storefront-shell {
  max-width: 1340px;
  margin: 0 auto;
  padding: 18px 16px 48px;
}

.m88tb-site .m88tb-storefront-shell .m88tb-page {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.m88tb-site .m88tb-subpage-shell {
  max-width: 1340px;
  margin: 0 auto;
  padding: 28px 16px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 336px;
  gap: 28px;
  align-items: start;
}

.m88tb-site .m88tb-mobile-toc-wrap {
  display: none;
}

.m88tb-site .m88tb-main-col {
  min-width: 0;
}

.m88tb-site .m88tb-subpage-shell .m88tb-page {
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.m88tb-site .m88tb-page {
  max-width: 1340px;
  margin: 0 auto;
}

/* ==========================================================================
   V7 REAL BOOKMAKER WEB-APP UI (HOMEPAGE CASINO LOBBY AT /vi-vn/)
   ========================================================================== */
.m88tb-site .m88tb-page .m88tb-casino-app {
  display: grid;
  grid-template-columns: 218px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  width: 100%;
}

.m88tb-site .m88tb-page .m88tb-casino-sidebar {
  position: sticky;
  top: 122px;
  background: linear-gradient(180deg, #161d31 0%, #0e1322 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 12px;
  padding: 11px 10px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38);
  min-width: 0;
}

.m88tb-site .m88tb-page a.m88tb-sidebar-promo {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  margin-bottom: 9px;
  background: linear-gradient(135deg, #10b981 0%, #9f1239 100%);
  border: 1px solid rgba(253, 224, 71, 0.65);
  border-radius: 10px;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.m88tb-site .m88tb-page a.m88tb-sidebar-promo:hover {
  transform: translateY(-1px);
  border-color: #fde047;
  color: #fff !important;
}

.m88tb-site .m88tb-page .m88tb-sidebar-promo-icon {
  font-size: 21px;
  line-height: 1;
  flex: 0 0 auto;
}

.m88tb-site .m88tb-page .m88tb-sidebar-promo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  min-width: 0;
}

.m88tb-site .m88tb-page .m88tb-sidebar-promo-text strong {
  font-size: 13.5px;
  font-weight: 700;
  color: #fff;
}

.m88tb-site .m88tb-page .m88tb-sidebar-promo-text span {
  font-size: 11.5px;
  font-weight: 600;
  color: #fde047;
}

.m88tb-site .m88tb-page .m88tb-sidebar-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.m88tb-site .m88tb-page .m88tb-sidebar-menu li {
  margin: 0;
}

.m88tb-site .m88tb-page .m88tb-sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 40px;
  padding: 7px 9px;
  border-radius: 8px;
  color: #e2e8f0 !important;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none !important;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.m88tb-site .m88tb-page .m88tb-sidebar-menu a:hover,
.m88tb-site .m88tb-page .m88tb-sidebar-menu a.is-active {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.22), rgba(245, 158, 11, 0.16));
  border-color: rgba(245, 158, 11, 0.48);
  color: var(--m88tb-gold-light) !important;
}

.m88tb-site .m88tb-page .m88tb-nav-ic {
  font-size: 15px;
  line-height: 1;
  width: 18px;
  text-align: center;
  flex: 0 0 18px;
}

.m88tb-site .m88tb-page .m88tb-nav-lbl {
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m88tb-site .m88tb-page .m88tb-badge-hot,
.m88tb-site .m88tb-page .m88tb-badge-live {
  font-size: 9.5px;
  font-weight: 800;
  line-height: 1;
  padding: 2.5px 5px;
  border-radius: 999px;
  letter-spacing: 0.02em;
  flex: 0 0 auto;
}

.m88tb-site .m88tb-page .m88tb-badge-hot {
  background: linear-gradient(90deg, #ff5b24 0%, #10b981 100%);
  color: #fff;
}

.m88tb-site .m88tb-page .m88tb-badge-live {
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(52, 211, 153, 0.55);
  color: #6ee7b7;
}

/* Right Main Casino Content */
.m88tb-site .m88tb-page .m88tb-casino-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* 1. Top Hero Row (Clean 1920x600 Banner 66% + Top 5 Jackpot 34%) */
.m88tb-site .m88tb-page .m88tb-hero-row {
  display: grid;
  grid-template-columns: minmax(0, 1.88fr) minmax(334px, 1fr);
  gap: 14px;
  align-items: stretch;
}

.m88tb-site .m88tb-page a.m88tb-hero-banner-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  overflow: hidden;
  background: linear-gradient(180deg, #182038 0%, #101526 100%);
  border: 1px solid rgba(245, 158, 11, 0.48);
  border-radius: 12px;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease;
}

.m88tb-site .m88tb-page a.m88tb-hero-banner-card:hover {
  border-color: var(--m88tb-gold-light);
}

.m88tb-site .m88tb-page a.m88tb-hero-banner-card img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

.m88tb-site .m88tb-page .m88tb-hero-banner-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 14px;
  background: linear-gradient(90deg, #13192d 0%, #24152c 100%);
  border-top: 1px solid rgba(245, 158, 11, 0.32);
  flex: 0 0 auto;
}

.m88tb-site .m88tb-page .m88tb-hero-banner-bar strong {
  color: #f8fafc;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m88tb-site .m88tb-page .m88tb-hero-cta-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fde047 0%, #f59e0b 100%);
  color: #0f172a;
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  flex: 0 0 auto;
}

/* Top 5 No Hu Leaderboard Panel */
.m88tb-site .m88tb-page .m88tb-top5-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  background: linear-gradient(180deg, #182138 0%, #0f1526 100%);
  border: 1px solid rgba(245, 158, 11, 0.48);
  border-radius: 12px;
  padding: 8px 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.m88tb-site .m88tb-page .m88tb-top5-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 6px;
  margin-bottom: 5px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
}

.m88tb-site .m88tb-page .m88tb-top5-title {
  font-size: 14px;
  font-weight: 800;
  color: var(--m88tb-gold-light);
  letter-spacing: 0.02em;
}

.m88tb-site .m88tb-page .m88tb-top5-live {
  font-size: 10px;
  font-weight: 800;
  padding: 2.5px 7px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.24);
  border: 1px solid rgba(251, 113, 133, 0.55);
  color: #fda4af;
}

.m88tb-site .m88tb-page .m88tb-top5-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.m88tb-site .m88tb-page .m88tb-top5-item {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  padding: 3.5px 6px;
  border-radius: 7px;
  background: rgba(11, 15, 28, 0.65);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.m88tb-site .m88tb-page .m88tb-rank {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 21px;
  height: 21px;
  flex: 0 0 21px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 800;
  color: #fff;
  background: #243050;
}

.m88tb-site .m88tb-page .m88tb-rank-1 { background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%); color: #fff; }
.m88tb-site .m88tb-page .m88tb-rank-2 { background: linear-gradient(135deg, #94a3b8 0%, #475569 100%); color: #fff; }
.m88tb-site .m88tb-page .m88tb-rank-3 { background: linear-gradient(135deg, #d97706 0%, #78350f 100%); color: #fff; }

.m88tb-site .m88tb-page .m88tb-top5-item img {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  border-radius: 5px;
  margin: 0;
  object-fit: cover;
}

.m88tb-site .m88tb-page .m88tb-top5-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
  line-height: 1.18;
}

.m88tb-site .m88tb-page .m88tb-top5-info strong {
  font-size: 12px;
  font-weight: 600;
  color: #f8fafc;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m88tb-site .m88tb-page .m88tb-prov-tag {
  font-size: 10px;
  font-weight: 600;
  color: #34d399;
}

.m88tb-site .m88tb-page .m88tb-top5-val {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex: 0 0 auto;
}

.m88tb-site .m88tb-page .m88tb-coin-k {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f59e0b;
  color: #0f172a;
  font-size: 9px;
  font-weight: 800;
}

.m88tb-site .m88tb-page .m88tb-jp-num {
  font-size: 11.5px;
  font-weight: 700;
  color: #fde047;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* Lobby Sections & Headers */
.m88tb-site .m88tb-page .m88tb-lobby-sec {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

.m88tb-site .m88tb-page .m88tb-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.m88tb-site .m88tb-page .m88tb-sec-head h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
  color: #f8fafc !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.01em;
}

.m88tb-site .m88tb-page .m88tb-sec-ic {
  font-size: 19px;
  line-height: 1;
}

.m88tb-site .m88tb-page a.m88tb-sec-more {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.42);
  color: var(--m88tb-gold-light) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
}

.m88tb-site .m88tb-page a.m88tb-sec-more:hover {
  background: var(--m88tb-gold);
  color: #0f172a !important;
}

.m88tb-site .m88tb-page .m88tb-sec-note {
  font-size: 13px;
  color: var(--m88tb-text-muted);
}

/* Shared Card Wrapper for All 8 Game Card Groups */
.m88tb-site .m88tb-page a.m88tb-img-card,
.m88tb-site .m88tb-page .m88tb-partner-card {
  display: block;
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(245, 158, 11, 0.28);
  background: #141c30;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.m88tb-site .m88tb-page a.m88tb-img-card:hover {
  transform: translateY(-2px);
  border-color: var(--m88tb-gold-light);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.42);
}

.m88tb-site .m88tb-page a.m88tb-img-card img,
.m88tb-site .m88tb-page .m88tb-partner-card img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
}

/* 8 Exact Grid Groups */
.m88tb-site .m88tb-page .m88tb-sports-large-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.m88tb-site .m88tb-page .m88tb-sports-small-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.m88tb-site .m88tb-page .m88tb-live-horiz-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.m88tb-site .m88tb-page .m88tb-dealer-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.m88tb-site .m88tb-page .m88tb-pop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

/* Interactive Table Games Tabs Box */
.m88tb-site .m88tb-page .m88tb-tabs-box {
  background: linear-gradient(180deg, #161f36 0%, #0e1424 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 12px;
  padding: 14px;
}

.m88tb-site .m88tb-page .m88tb-tabs-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: nowrap;
}

.m88tb-site .m88tb-page .m88tb-tabs-pills {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #090d18;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.25);
  max-width: 100%;
  overflow-x: auto;
}

.m88tb-site .m88tb-page a.m88tb-tab-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 6px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 700;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.16s ease, color 0.16s ease;
}

.m88tb-site .m88tb-page a.m88tb-tab-btn.is-active,
.m88tb-site .m88tb-page a.m88tb-tab-btn:hover {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #fff !important;
}

.m88tb-site .m88tb-page .m88tb-table-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.m88tb-site .m88tb-page .m88tb-tcard.is-dimmed {
  display: none !important;
}

.m88tb-site .m88tb-page .m88tb-promo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

.m88tb-site .m88tb-page .m88tb-partner-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

/* Bottom "Về Min88" SEO Block (#ve-min88) */
.m88tb-site .m88tb-page .m88tb-about-seo {
  margin-top: 8px;
  padding: 20px 24px;
  background: linear-gradient(180deg, #161f36 0%, #0e1424 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-top: 2px solid rgba(245, 158, 11, 0.58);
  border-radius: 12px;
}

.m88tb-site .m88tb-page .m88tb-about-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--m88tb-gold-light);
  background: rgba(245, 158, 11, 0.14);
  border: 1px solid rgba(245, 158, 11, 0.42);
  border-radius: 6px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.m88tb-site .m88tb-page .m88tb-about-seo h1 {
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.35;
  margin: 0 0 12px;
  color: #f8fafc !important;
}

.m88tb-site .m88tb-page .m88tb-about-seo p {
  font-size: 14.5px;
  line-height: 1.68;
  color: #cbd5e1;
  margin: 0 0 12px;
}

.m88tb-site .m88tb-page .m88tb-about-seo p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   STICKY RIGHT SIDEBAR (.m88tb-sidebar) FOR 2-COLUMN EDITORIAL UI
   ========================================================================== */
.m88tb-site .m88tb-sidebar {
  position: sticky;
  top: 122px;
  max-height: calc(100vh - 138px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 158, 11, 0.35) transparent;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  padding-right: 2px;
}

.m88tb-site .m88tb-side-card {
  background: linear-gradient(160deg, rgba(24, 32, 54, 0.96) 0%, rgba(16, 22, 38, 0.98) 100%);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.36);
}

.m88tb-site .m88tb-side-cta {
  background: linear-gradient(155deg, rgba(44, 14, 30, 0.95) 0%, rgba(20, 26, 46, 0.98) 100%);
  border-color: rgba(245, 158, 11, 0.45);
}

.m88tb-site .m88tb-side-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(245, 158, 11, 0.42);
  color: var(--m88tb-gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  margin-bottom: 12px;
}

.m88tb-site .m88tb-side-title {
  font-size: 1.04rem !important;
  color: #ffffff !important;
  margin: 0 0 10px !important;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
}

.m88tb-site .m88tb-side-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #cbd5e1;
  margin-bottom: 14px;
}

.m88tb-site .m88tb-side-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.m88tb-site .m88tb-btn-block {
  width: 100%;
}

.m88tb-site .m88tb-side-metrics {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px dashed rgba(148, 163, 184, 0.24);
  padding-top: 12px;
}

.m88tb-site .m88tb-side-metrics li {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  color: #cbd5e1;
  margin-bottom: 6px;
}

.m88tb-site .m88tb-side-metrics strong {
  color: #34d399;
}

.m88tb-site .m88tb-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m88tb-site .m88tb-toc-list li {
  margin: 0;
}

.m88tb-site .m88tb-toc-list a {
  display: block;
  padding: 7px 10px;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.58);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: #e2e8f0 !important;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none !important;
}

.m88tb-site .m88tb-toc-list a:hover {
  border-color: rgba(245, 158, 11, 0.55);
  color: var(--m88tb-gold-light) !important;
  background: rgba(245, 158, 11, 0.12);
}

.m88tb-site .m88tb-side-codes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m88tb-site .m88tb-side-codes li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: rgba(15, 23, 42, 0.72);
  border: 1px solid rgba(245, 158, 11, 0.28);
  padding: 8px 10px;
  border-radius: 9px;
}

.m88tb-site .m88tb-side-codes span {
  font-size: 0.78rem;
  font-weight: 700;
  color: #34d399;
}

.m88tb-site .m88tb-side-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.m88tb-site .m88tb-side-links li {
  margin: 0;
}

.m88tb-site .m88tb-side-links a {
  display: block;
  padding: 8px 11px;
  border-radius: 9px;
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(148, 163, 184, 0.14);
  color: #f1f5f9 !important;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none !important;
}

.m88tb-site .m88tb-side-links li.is-current a,
.m88tb-site .m88tb-side-links a:hover {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.24), rgba(245, 158, 11, 0.16));
  border-color: rgba(245, 158, 11, 0.55);
  color: var(--m88tb-gold-light) !important;
}

/* ==========================================================================
   SUBPAGE HERO, CARDS & BUTTONS (.m88tb-hero, .m88tb-lobby-grid)
   ========================================================================== */
.m88tb-site .m88tb-hero {
  background: linear-gradient(145deg, rgba(38, 14, 28, 0.94) 0%, rgba(18, 25, 44, 0.97) 60%, rgba(28, 36, 62, 0.96) 100%);
  border: 1px solid rgba(245, 158, 11, 0.38);
  border-radius: 20px;
  padding: 28px;
  margin-bottom: 26px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
}

.m88tb-site .m88tb-hero :where(.lead, .m88tb-lede) {
  font-size: 1.05rem;
  line-height: 1.74;
  color: #f1f5f9;
  margin-bottom: 20px;
}

.m88tb-site .m88tb-badge,
.m88tb-site .m88tb-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.28), rgba(245, 158, 11, 0.24));
  border: 1px solid rgba(245, 158, 11, 0.52);
  color: var(--m88tb-gold-light);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.m88tb-site .m88tb-cta-group,
.m88tb-site .m88tb-callout,
.m88tb-site .m88tb-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 18px 0;
}

.m88tb-site .m88tb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 22px;
  border-radius: 11px;
  font-family: var(--m88tb-font-sans);
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none !important;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.m88tb-site .m88tb-btn-primary {
  background: linear-gradient(135deg, #10b981 0%, #059669 55%, #d97706 100%);
  color: #ffffff !important;
  border-color: rgba(253, 224, 71, 0.65);
  box-shadow: 0 8px 22px rgba(16, 185, 129, 0.35);
}

.m88tb-site .m88tb-btn-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #34d399 0%, #10b981 55%, #f59e0b 100%);
  color: #ffffff !important;
}

.m88tb-site .m88tb-btn-outline {
  background: rgba(24, 33, 56, 0.92);
  color: var(--m88tb-gold-light) !important;
  border-color: rgba(245, 158, 11, 0.55);
}

.m88tb-site .m88tb-btn-outline:hover {
  background: rgba(245, 158, 11, 0.22);
  color: #ffffff !important;
}

.m88tb-site .m88tb-cat-bar,
.m88tb-site .m88tb-lobby-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
  padding: 12px;
  background: rgba(15, 21, 36, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 14px;
}

.m88tb-site .m88tb-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 10px;
  background: linear-gradient(145deg, #1d2742, #151d33);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #f8fafc !important;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none !important;
}

.m88tb-site .m88tb-cat-pill:hover {
  background: linear-gradient(135deg, #10b981, #d97706);
  border-color: #fde047;
  color: #ffffff !important;
}

.m88tb-site .m88tb-lobby-grid,
.m88tb-site .m88tb-game-grid,
.m88tb-site .m88tb-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0;
}

.m88tb-site .m88tb-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 18px 0;
}

.m88tb-site .m88tb-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 18px 0;
}

.m88tb-site .m88tb-lobby-card,
.m88tb-site .m88tb-game-card,
.m88tb-site .m88tb-card {
  background: linear-gradient(160deg, rgba(28, 37, 62, 0.95) 0%, rgba(18, 24, 42, 0.98) 100%);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-top: 3px solid var(--m88tb-gold);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.32);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.m88tb-site .m88tb-lobby-card:hover,
.m88tb-site .m88tb-card:hover {
  border-color: rgba(253, 224, 71, 0.65);
}

.m88tb-site .m88tb-card h3,
.m88tb-site .m88tb-lobby-card h3 {
  margin-top: 0;
  margin-bottom: 8px;
  color: #fde047 !important;
}

.m88tb-site .m88tb-card ul,
.m88tb-site .m88tb-lobby-card ul {
  padding-left: 18px;
  margin: 8px 0 14px;
}

.m88tb-site .m88tb-card li,
.m88tb-site .m88tb-lobby-card li {
  margin-bottom: 8px;
}

/* ==========================================================================
   FIGURES & MEDIA (.m88tb-figure)
   ========================================================================== */
.m88tb-site .m88tb-figure,
.m88tb-site .m88tb-page figure {
  margin: 22px 0;
  background: #101626;
  border: 1px solid rgba(245, 158, 11, 0.34);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42);
}

.m88tb-site .m88tb-figure img,
.m88tb-site .m88tb-page figure img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover;
}

.m88tb-site .m88tb-figure figcaption,
.m88tb-site .m88tb-page figure figcaption {
  padding: 11px 16px;
  font-size: 0.85rem;
  color: #cbd5e1;
  background: rgba(21, 28, 47, 0.96);
  border-top: 1px solid rgba(245, 158, 11, 0.22);
  text-align: center;
}

/* ==========================================================================
   LIVE INTERACTIVE WIDGETS (.m88tb-live-widget, #m88tb-md5-odds-widget)
   ========================================================================== */
.m88tb-site .m88tb-live-widget {
  background: linear-gradient(155deg, rgba(24, 34, 58, 0.96) 0%, rgba(15, 21, 36, 0.98) 100%);
  border: 1px solid rgba(245, 158, 11, 0.42);
  border-radius: 18px;
  padding: 24px;
  margin: 24px 0;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.38);
}

.m88tb-site .m88tb-form-group {
  margin-bottom: 14px;
}

.m88tb-site .m88tb-form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #fde68a;
  margin-bottom: 6px;
}

.m88tb-site .m88tb-input,
.m88tb-site input.m88tb-input,
.m88tb-site select.m88tb-input {
  width: 100%;
  height: auto !important;
  min-height: 44px !important;
  line-height: 1.45 !important;
  background-color: #0d1322 !important;
  color: #f8fafc !important;
  border: 1px solid rgba(245, 158, 11, 0.4) !important;
  border-radius: 10px !important;
  padding: 10px 14px !important;
  font-family: var(--m88tb-font-mono) !important;
  font-size: 0.92rem !important;
  margin: 0 !important;
  box-shadow: none !important;
}

.m88tb-site select.m88tb-input {
  padding-right: 32px !important;
  appearance: auto !important;
  -webkit-appearance: menulist !important;
}

.m88tb-site .m88tb-form-group .m88tb-input + .m88tb-input {
  margin-top: 10px !important;
}

.m88tb-site .m88tb-input:focus {
  border-color: var(--m88tb-gold-light) !important;
  box-shadow: 0 0 0 2px rgba(253, 224, 71, 0.25) !important;
}

.m88tb-site .m88tb-widget-output {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(11, 16, 28, 0.92);
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-size: 0.92rem;
}

.m88tb-site .m88tb-widget-output p:last-child {
  margin-bottom: 0;
}

.m88tb-site .m88tb-status-ok {
  color: #34d399;
  font-weight: 800;
}

.m88tb-site .m88tb-status-warn {
  color: #fbbf24;
  font-weight: 800;
}

/* ==========================================================================
   ARTICLE SECTIONS, TABLES & FAQ (.m88tb-section, .m88tb-table-wrap, .m88tb-faq)
   ========================================================================== */
.m88tb-site .m88tb-section {
  background: rgba(21, 28, 47, 0.86);
  border: 1px solid var(--m88tb-border-subtle);
  border-radius: 18px;
  padding: 26px 28px;
  margin-bottom: 24px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.26);
}

.m88tb-site .m88tb-section ul,
.m88tb-site .m88tb-section ol {
  padding-left: 22px;
  margin: 12px 0 18px;
}

.m88tb-site .m88tb-section li {
  margin-bottom: 10px;
}

.m88tb-site .m88tb-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 20px 0;
  border-radius: 14px;
  border: 1px solid rgba(245, 158, 11, 0.32);
  background: #111829;
}

.m88tb-site .m88tb-table,
.m88tb-site .m88tb-page table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  margin: 0;
  font-size: 0.91rem;
}

.m88tb-site .m88tb-table code,
.m88tb-site .m88tb-page table code {
  white-space: nowrap;
  max-width: none;
  overflow: visible;
}

.m88tb-site .m88tb-table caption,
.m88tb-site .m88tb-page table caption {
  padding: 12px 16px;
  font-weight: 800;
  color: var(--m88tb-gold-light);
  background: rgba(28, 37, 62, 0.95);
  border-bottom: 1px solid rgba(245, 158, 11, 0.26);
  text-align: left;
}

.m88tb-site .m88tb-table th,
.m88tb-site .m88tb-page table th {
  background: linear-gradient(180deg, #1f2b48 0%, #18223a 100%);
  color: #fde047;
  font-weight: 800;
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.32);
  white-space: normal;
}

.m88tb-site .m88tb-table td,
.m88tb-site .m88tb-page table td {
  padding: 11px 14px;
  color: #e2e8f0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  vertical-align: top;
}

.m88tb-site .m88tb-table tbody tr:nth-child(even),
.m88tb-site .m88tb-page table tbody tr:nth-child(even) {
  background: rgba(24, 35, 60, 0.45);
}

/* FAQ Accordion & Items */
.m88tb-site .m88tb-faq-item,
.m88tb-site .m88tb-page details,
.m88tb-site .m88tb-mobile-toc-details {
  background: rgba(18, 25, 43, 0.92);
  border: 1px solid rgba(245, 158, 11, 0.26);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
}

.m88tb-site .m88tb-faq-item h3,
.m88tb-site .m88tb-page details summary,
.m88tb-site .m88tb-mobile-toc-details summary {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 800;
  color: #fde68a !important;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.m88tb-site .m88tb-page details summary::-webkit-details-marker,
.m88tb-site .m88tb-mobile-toc-details summary::-webkit-details-marker {
  display: none;
}

.m88tb-site .m88tb-page details summary::after,
.m88tb-site .m88tb-mobile-toc-details summary::after {
  content: '+';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.45);
  color: var(--m88tb-gold-light);
  font-family: var(--m88tb-font-mono);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.m88tb-site .m88tb-page details[open] summary::after,
.m88tb-site .m88tb-mobile-toc-details[open] summary::after {
  content: '-';
  background: rgba(16, 185, 129, 0.28);
  border-color: rgba(253, 224, 71, 0.65);
  color: #ffffff;
}

.m88tb-site .m88tb-mobile-toc-details .m88tb-toc-list {
  margin-top: 12px;
}

.m88tb-site .m88tb-faq-item p,
.m88tb-site .m88tb-faq-ans p,
.m88tb-site .m88tb-page details p {
  margin-top: 10px;
  margin-bottom: 0;
  color: #cbd5e1;
}

/* ==========================================================================
   FOOTER (#footer.m88tb-site-footer)
   ========================================================================== */
.m88tb-site #footer.m88tb-site-footer {
  background: #080b13 !important;
  border-top: 1px solid rgba(245, 158, 11, 0.28);
  color: var(--m88tb-text-muted);
  margin-top: 24px;
}

.m88tb-site .m88tb-footer-inner {
  max-width: 1340px;
  margin: 0 auto;
  padding: 44px 16px 28px;
}

.m88tb-site .m88tb-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 28px;
}

.m88tb-site .m88tb-footer-logo {
  display: inline-block;
  margin-bottom: 12px;
  text-decoration: none;
}

.m88tb-site .m88tb-footer-logo img {
  height: 46px !important;
  width: auto !important;
  display: block;
}

.m88tb-site .m88tb-footer-desc {
  font-size: 0.9rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.m88tb-site .m88tb-footer-meta {
  font-size: 0.84rem;
  color: #94a3b8;
  margin-bottom: 0;
}

.m88tb-site .m88tb-footer-meta code {
  white-space: nowrap;
  display: inline-block;
}

.m88tb-site .m88tb-footer-heading {
  font-size: 1rem !important;
  color: #fde047 !important;
  margin-top: 0;
  margin-bottom: 14px;
  text-transform: none;
}

.m88tb-site .m88tb-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.m88tb-site .m88tb-footer-links li {
  margin-bottom: 9px;
}

.m88tb-site .m88tb-footer-links a {
  display: inline-block;
  padding: 3px 0;
  color: #cbd5e1 !important;
  text-decoration: none !important;
  font-size: 0.9rem;
  font-weight: 500;
}

.m88tb-site .m88tb-footer-links a:hover {
  color: var(--m88tb-gold-light) !important;
}

.m88tb-site .m88tb-footer-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.m88tb-site .m88tb-trust-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  font-size: 0.78rem;
  font-weight: 700;
}

.m88tb-site .m88tb-footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  text-align: center;
}

.m88tb-site .m88tb-footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--m88tb-text-muted);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS (SMALL LAPTOP, TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1260px) and (min-width: 1081px) {
  .m88tb-site .m88tb-header-inner {
    gap: 8px;
    padding: 8px 12px;
  }
  .m88tb-site #logo.m88tb-brand img {
    height: 38px !important;
    max-height: 38px !important;
  }
  .m88tb-site .m88tb-nav-link {
    padding: 6px 6px;
    font-size: 0.76rem;
  }
  .m88tb-site .m88tb-hdr-btn {
    padding: 6px 10px;
    font-size: 0.77rem;
    min-height: 34px;
  }
}

@media (max-width: 1199px) {
  .m88tb-site .m88tb-page .m88tb-casino-app {
    grid-template-columns: 204px minmax(0, 1fr);
    gap: 14px;
  }
  .m88tb-site .m88tb-page .m88tb-hero-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  .m88tb-site .m88tb-page .m88tb-dealer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1080px) {
  .m88tb-site .m88tb-topbar {
    display: none;
  }

  .m88tb-site .m88tb-subpage-shell {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .m88tb-site .m88tb-mobile-toc-wrap {
    display: block;
    min-width: 0;
  }

  .m88tb-site .m88tb-sidebar {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .m88tb-site .m88tb-sidebar .m88tb-side-toc {
    display: none;
  }

  .m88tb-site .m88tb-page .m88tb-table-grid,
  .m88tb-site .m88tb-page .m88tb-partner-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .m88tb-site .m88tb-page .m88tb-sports-small-grid,
  .m88tb-site .m88tb-page .m88tb-live-horiz-grid,
  .m88tb-site .m88tb-page .m88tb-promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .m88tb-site .m88tb-lobby-grid,
  .m88tb-site .m88tb-game-grid,
  .m88tb-site .m88tb-grid-3,
  .m88tb-site .m88tb-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .m88tb-site .m88tb-header-inner {
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .m88tb-site .m88tb-mobile-toggle {
    display: inline-flex;
  }

  .m88tb-site .m88tb-main-nav {
    display: none;
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(245, 158, 11, 0.24);
  }

  .m88tb-site .m88tb-main-nav.is-open {
    display: flex !important;
  }

  .m88tb-site .m88tb-nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    margin: 0;
    gap: 6px;
    white-space: normal;
  }

  .m88tb-site .m88tb-nav-list li {
    width: 100%;
  }

  .m88tb-site .m88tb-nav-link {
    display: flex;
    width: 100%;
    padding: 10px 14px;
    font-size: 0.92rem;
    white-space: normal;
  }

  .m88tb-site .m88tb-header-ctas {
    width: 100%;
    justify-content: stretch;
    gap: 10px;
  }

  .m88tb-site .m88tb-header-ctas .m88tb-hdr-btn {
    flex: 1;
    min-height: 42px;
  }

  .m88tb-site .m88tb-footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 767px) {
  .m88tb-site .m88tb-storefront-shell,
  .m88tb-site .m88tb-subpage-shell {
    padding: 12px 12px 44px;
  }

  .m88tb-site .m88tb-page .m88tb-casino-app {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .m88tb-site .m88tb-page .m88tb-casino-sidebar {
    position: static;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    max-width: 100%;
  }

  .m88tb-site .m88tb-page a.m88tb-sidebar-promo {
    margin: 0;
    padding: 8px 12px;
    flex: 0 0 auto;
  }

  .m88tb-site .m88tb-page .m88tb-sidebar-menu {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 6px;
    flex: 0 0 auto;
  }

  .m88tb-site .m88tb-page .m88tb-sidebar-menu a {
    padding: 7px 11px;
    min-height: 38px;
    background: #172036;
    border-color: rgba(245, 158, 11, 0.28);
    white-space: nowrap;
  }

  .m88tb-site .m88tb-page .m88tb-hero-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .m88tb-site .m88tb-page .m88tb-hero-banner-bar {
    padding: 8px 10px;
    gap: 6px;
  }

  .m88tb-site .m88tb-page .m88tb-hero-banner-bar strong {
    font-size: 11px;
  }

  .m88tb-site .m88tb-page .m88tb-hero-cta-pill {
    padding: 4px 8px;
    font-size: 10.5px;
  }

  .m88tb-site .m88tb-page .m88tb-sec-head h2 {
    font-size: 15px;
    white-space: nowrap;
  }

  .m88tb-site .m88tb-page a.m88tb-sec-more {
    font-size: 12px;
    padding: 6px 12px;
    min-height: 36px;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .m88tb-site .m88tb-page .m88tb-sec-note {
    display: none;
  }

  .m88tb-site .m88tb-page .m88tb-sports-large-grid,
  .m88tb-site .m88tb-page .m88tb-sports-small-grid,
  .m88tb-site .m88tb-page .m88tb-live-horiz-grid,
  .m88tb-site .m88tb-page .m88tb-promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .m88tb-site .m88tb-page .m88tb-dealer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
  }

  .m88tb-site .m88tb-page .m88tb-pop-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 4px;
    max-width: 100%;
  }

  .m88tb-site .m88tb-page .m88tb-pop-grid > a.m88tb-img-card {
    flex: 0 0 78%;
    width: 78%;
  }

  .m88tb-site .m88tb-page .m88tb-tabs-box {
    padding: 10px;
  }

  .m88tb-site .m88tb-page .m88tb-tabs-bar {
    gap: 8px;
    flex-wrap: wrap;
  }

  .m88tb-site .m88tb-page .m88tb-tabs-pills {
    flex: 0 0 100%;
    width: 100%;
    min-width: 0;
    gap: 4px;
  }

  .m88tb-site .m88tb-page a.m88tb-tab-btn {
    padding: 6px 12px;
    font-size: 12px;
    min-height: 36px;
    flex-shrink: 0;
  }

  .m88tb-site .m88tb-page .m88tb-table-grid,
  .m88tb-site .m88tb-page .m88tb-partner-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    max-width: 100%;
  }

  .m88tb-site .m88tb-page .m88tb-table-grid > a.m88tb-img-card {
    flex: 0 0 112px;
    width: 112px;
  }

  .m88tb-site .m88tb-page .m88tb-partner-grid > .m88tb-partner-card {
    flex: 0 0 98px;
    width: 98px;
  }

  .m88tb-site .m88tb-page .m88tb-about-seo {
    padding: 16px;
  }

  .m88tb-site .m88tb-hero,
  .m88tb-site .m88tb-section,
  .m88tb-site .m88tb-live-widget,
  .m88tb-site .m88tb-side-card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .m88tb-site .m88tb-lobby-grid,
  .m88tb-site .m88tb-game-grid,
  .m88tb-site .m88tb-grid-3,
  .m88tb-site .m88tb-grid-4,
  .m88tb-site .m88tb-grid-2 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .m88tb-site .m88tb-btn {
    width: 100%;
  }
}

/* Post editorial metadata bar */
.m88tb-post-meta-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px 0;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: 10px;
  font-size: 0.86rem;
  color: #cbd5e1;
}
.m88tb-post-cat-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, #059669, #10b981);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}
