/* ═══════════════════════════════════════════════
   CRICDAMAMLA – MASTER STYLESHEET
   Blue & White | Light/Dark Theme | Premium UX
   ═══════════════════════════════════════════════ */

/* ── CSS VARIABLES (Light Theme) ── */
:root {
  --cd-blue-900: #0D47A1;
  --cd-blue-800: #1565C0;
  --cd-blue-700: #1976D2;
  --cd-blue-600: #1E88E5;
  --cd-blue-500: #2196F3;
  --cd-blue-400: #42A5F5;
  --cd-blue-100: #BBDEFB;
  --cd-blue-50:  #E3F2FD;
  --cd-live-red: #E53935;
  --cd-green:    #2E7D32;
  --cd-amber:    #F59E0B;
  --cd-orange:   #E65100;
  --cd-teal:     #00838F;

  /* Surfaces */
  --bg-page:     #F0F4F8;
  --bg-card:     #FFFFFF;
  --bg-header:   #FFFFFF;
  --bg-topbar:   #0D47A1;
  --bg-nav:      #1565C0;
  --bg-footer:   #0A2342;
  --bg-sidebar:  #FFFFFF;
  --bg-input:    #F0F4F8;

  /* Text */
  --text-primary:   #111827;
  --text-secondary: #4B5563;
  --text-muted:     #9CA3AF;
  --text-on-dark:   #FFFFFF;
  --text-on-blue:   #FFFFFF;

  /* Borders */
  --border-light: #E5E7EB;
  --border-card:  #D1D5DB;

  /* Shadows */
  --shadow-sm:   0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.05);
  --shadow-md:   0 4px 16px rgba(0,0,0,.10);
  --shadow-lg:   0 10px 40px rgba(0,0,0,.13);
  --shadow-card: 0 2px 8px rgba(21,101,192,.08);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  /* Transitions */
  --trans: all .22s ease;
  --trans-fast: all .12s ease;
}

/* ── DARK THEME ── */
[data-theme="dark"] {
  --bg-page:     #0F172A;
  --bg-card:     #1E293B;
  --bg-header:   #1E293B;
  --bg-topbar:   #0D1B2A;
  --bg-nav:      #162032;
  --bg-footer:   #060E1A;
  --bg-sidebar:  #1E293B;
  --bg-input:    #2D3748;

  --text-primary:   #F1F5F9;
  --text-secondary: #94A3B8;
  --text-muted:     #64748B;

  --border-light: #2D3748;
  --border-card:  #374151;

  --shadow-sm:   0 1px 3px rgba(0,0,0,.4);
  --shadow-md:   0 4px 16px rgba(0,0,0,.4);
  --shadow-card: 0 2px 8px rgba(0,0,0,.3);
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-page);
  color: var(--text-primary);
  font-size: 15px;
  line-height: 1.6;
  transition: background .3s ease, color .3s ease;
  overflow-x: hidden;
}

a { color: var(--cd-blue-700); text-decoration: none; transition: var(--trans-fast); }
a:hover { color: var(--cd-blue-500); }
img { max-width: 100%; height: auto; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ═══════════════════════════════
   TOP BAR
   ═══════════════════════════════ */
.topbar {
  background: var(--bg-topbar);
  color: var(--text-on-dark);
  padding: 7px 0;
  font-size: 12.5px;
  position: sticky;
  top: 0;
  z-index: 1050;
}

.topbar-date { opacity: .85; white-space: nowrap; font-size: 12px; }

/* Ticker */
.topbar-ticker {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  overflow: hidden;
  margin: 0 16px;
}

.ticker-label {
  background: var(--cd-live-red);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 3px;
  white-space: nowrap;
  letter-spacing: .8px;
  animation: pulse-label 2s infinite;
}

@keyframes pulse-label {
  0%,100% { opacity: 1; }
  50% { opacity: .75; }
}

.ticker-wrap { flex: 1; overflow: hidden; }

.ticker-content {
  display: inline-block;
  white-space: nowrap;
  color: rgba(255,255,255,.92);
  animation: ticker-scroll 40s linear infinite;
  font-size: 12.5px;
}

@keyframes ticker-scroll {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

.ticker-wrap:hover .ticker-content { animation-play-state: paused; }

.topbar-social .social-icon {
  color: rgba(255,255,255,.8);
  font-size: 13px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  transition: var(--trans);
}

.topbar-social .social-icon:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

/* ═══════════════════════════════
   SITE HEADER
   ═══════════════════════════════ */
.site-header {
  background: var(--bg-header);
  box-shadow: 0 2px 12px rgba(21,101,192,.12);
  position: sticky;
  top: 37px;
  z-index: 1040;
  transition: background .3s ease;
}

.header-inner { padding: 12px 0; }

/* Logo */
.logo-icon { flex-shrink: 0; }
.logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--cd-blue-800);
  letter-spacing: .5px;
  line-height: 1.1;
  transition: var(--trans);
}
[data-theme="dark"] .logo-text { color: var(--cd-blue-400); }
.logo-sub {
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  line-height: 1;
}
.site-logo:hover .logo-text { color: var(--cd-blue-600); }

/* Search */
.search-box {
  align-items: center;
  background: var(--bg-input);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
  width: 280px;
  transition: var(--trans);
}
.search-box:focus-within {
  border-color: var(--cd-blue-500);
  box-shadow: 0 0 0 3px rgba(33,150,243,.15);
  width: 320px;
}
.search-input {
  background: transparent;
  border: none;
  outline: none;
  padding: 8px 14px;
  flex: 1;
  font-size: 13.5px;
  color: var(--text-primary);
  width: 100%;
}
.search-input::placeholder { color: var(--text-muted); }
.search-btn {
  background: var(--cd-blue-700);
  color: #fff;
  padding: 8px 14px;
  font-size: 13px;
  transition: var(--trans-fast);
}
.search-btn:hover { background: var(--cd-blue-900); }

/* Night toggle */
.night-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.9);
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,255,255,.25);
  transition: var(--trans);
}
.night-toggle:hover { background: rgba(255,255,255,.2); }

.site-header .night-toggle {
  background: var(--bg-input);
  color: var(--text-secondary);
  border-color: var(--border-light);
}
.site-header .night-toggle:hover { background: var(--cd-blue-50); color: var(--cd-blue-700); }

/* Navbar toggler */
.navbar-toggler {
  color: var(--text-primary);
  font-size: 20px;
  padding: 4px;
  background: none;
  border: none;
}

/* ═══════════════════════════════
   MAIN NAVIGATION
   ═══════════════════════════════ */
.main-nav {
  background: var(--bg-nav);
  border-top: 1px solid rgba(255,255,255,.08);
}

.nav-list { list-style: none; }

.nav-item { position: relative; }

.nav-link-item {
  display: flex;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,.9) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 13px;
  white-space: nowrap;
  border-radius: var(--radius-sm);
  transition: var(--trans-fast);
  text-decoration: none;
}

.nav-link-item:hover,
.nav-item.active .nav-link-item {
  background: rgba(255,255,255,.12);
  color: #fff !important;
}

.nav-link-fantasy {
  background: linear-gradient(135deg, #F59E0B, #E65100) !important;
  color: #fff !important;
  border-radius: var(--radius-sm);
}

/* Mega dropdown */
.mega-dropdown,
.dropdown-menu-simple {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--cd-blue-600);
  border-radius: 0 var(--radius-md) var(--radius-md) var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  z-index: 999;
  min-width: 480px;
  animation: dropIn .18s ease;
}

.dropdown-menu-simple {
  min-width: 200px;
  padding: 10px 0;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nav-item.has-dropdown:hover .mega-dropdown,
.nav-item.has-dropdown:hover .dropdown-menu-simple { display: block; }

.dd-heading {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--cd-blue-700);
  margin-bottom: 8px;
}

.dd-link {
  display: block;
  padding: 5px 12px;
  font-size: 13.5px;
  color: var(--text-secondary);
  transition: var(--trans-fast);
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.dd-link:hover {
  background: var(--cd-blue-50);
  color: var(--cd-blue-700);
  padding-left: 16px;
}

[data-theme="dark"] .dd-link:hover { background: rgba(33,150,243,.12); }

/* Mobile collapse */
@media (max-width: 991px) {
  .main-nav .collapse { padding: 10px 0; }
  .nav-list { flex-direction: column !important; }
  .nav-link-item { border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.06); }
  .mega-dropdown, .dropdown-menu-simple {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    border-top: none;
    background: rgba(255,255,255,.05);
    min-width: 100%;
    border-radius: 0;
    padding: 10px 16px;
  }
  .nav-item.has-dropdown.open .mega-dropdown,
  .nav-item.has-dropdown.open .dropdown-menu-simple { display: block; }
  .dd-link { color: rgba(255,255,255,.75); }
  .dd-link:hover { background: rgba(255,255,255,.1); color: #fff; }
  .dd-heading { color: rgba(255,255,255,.5); }
}

/* ═══════════════════════════════
   PUSH NOTIFICATION BAR
   ═══════════════════════════════ */
.push-notif-bar {
  background: linear-gradient(90deg, var(--cd-blue-800), var(--cd-blue-600));
  color: #fff;
  padding: 10px 0;
  font-size: 13.5px;
}

.bell-pulse {
  font-size: 18px;
  animation: bell-ring .8s infinite alternate;
  display: inline-block;
}

@keyframes bell-ring {
  0%   { transform: rotate(-15deg); }
  100% { transform: rotate(15deg); }
}

.notif-btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #25D366;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--trans);
  text-decoration: none;
}
.notif-btn-wa:hover { background: #1DAA53; color: #fff; transform: translateY(-1px); }

.notif-btn-tg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #2AABEE;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  transition: var(--trans);
  text-decoration: none;
}
.notif-btn-tg:hover { background: #1A94D8; color: #fff; transform: translateY(-1px); }

.notif-close {
  color: rgba(255,255,255,.7);
  font-size: 16px;
  padding: 4px 8px;
  transition: var(--trans-fast);
}
.notif-close:hover { color: #fff; }

/* ═══════════════════════════════
   MAIN CONTENT
   ═══════════════════════════════ */
.main-content { padding: 20px 0 10px; }

/* Section blocks */
.section-block {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border-light);
  transition: background .3s ease, border .3s ease;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cd-blue-50);
}

[data-theme="dark"] .section-head { border-bottom-color: rgba(33,150,243,.12); }

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--cd-blue-800);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 7px;
}

[data-theme="dark"] .section-label { color: var(--cd-blue-400); }

.live-label { color: var(--cd-live-red) !important; }
.trending-label { color: var(--cd-orange) !important; }

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--cd-live-red);
  border-radius: 50%;
  display: inline-block;
  animation: live-blink 1.2s infinite;
}

@keyframes live-blink {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 rgba(229,57,53,.4); }
  50% { opacity: .6; box-shadow: 0 0 0 4px rgba(229,57,53,0); }
}

.view-all-link {
  font-size: 12.5px;
  color: var(--cd-blue-700);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 4px;
}
.view-all-link:hover { color: var(--cd-blue-500); }

/* Section tabs */
.section-tabs {
  display: flex;
  gap: 4px;
}

.tab-btn {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  color: var(--text-secondary);
  background: var(--bg-input);
  border: 1.5px solid var(--border-light);
  transition: var(--trans-fast);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--cd-blue-700);
  color: #fff;
  border-color: var(--cd-blue-700);
}

/* ═══════════════════════════════
   LIVE SCORE CARDS
   ═══════════════════════════════ */
.score-cards-scroll { overflow-x: auto; padding-bottom: 6px; }
.score-cards-scroll::-webkit-scrollbar { height: 4px; }
.score-cards-scroll::-webkit-scrollbar-track { background: var(--bg-input); }
.score-cards-scroll::-webkit-scrollbar-thumb { background: var(--cd-blue-200, #90CAF9); border-radius: 2px; }

.score-card-wrap { display: flex; gap: 12px; min-width: max-content; }

.score-card {
  background: linear-gradient(135deg, var(--cd-blue-800) 0%, var(--cd-blue-900) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  width: 280px;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--trans);
}

.score-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}

.score-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(13,71,161,.35); }

.score-card.live-card { background: linear-gradient(135deg, #B71C1C, #7B1FA2); }
.score-card.upcoming-card { background: linear-gradient(135deg, #1B5E20, #004D40); }
.score-card.completed-card { background: linear-gradient(135deg, #263238, #37474F); }

.sc-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 10px;
  display: inline-block;
}

.sc-badge.live { background: var(--cd-live-red); }
.sc-badge.upcoming { background: var(--cd-green); }
.sc-badge.completed { background: #455A64; }

.sc-match { font-size: 11px; opacity: .8; margin-bottom: 10px; }

.sc-teams { display: flex; flex-direction: column; gap: 6px; }

.sc-team {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.sc-team-name { font-size: 14px; font-weight: 700; flex: 1; }
.sc-team-score { font-family: 'Oswald', sans-serif; font-size: 18px; font-weight: 600; }
.sc-team-overs { font-size: 11px; opacity: .7; }

.sc-divider { height: 1px; background: rgba(255,255,255,.15); margin: 4px 0; }

.sc-status {
  font-size: 11.5px;
  opacity: .85;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.1);
}

/* ═══════════════════════════════
   HERO NEWS GRID
   ═══════════════════════════════ */
.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 12px;
}

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

.hero-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: var(--trans);
  box-shadow: var(--shadow-sm);
}
.hero-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hero-card:hover .hero-img { transform: scale(1.04); }

.hero-main { grid-row: span 2; }

.hero-img-wrap { overflow: hidden; position: relative; }
.hero-main .hero-img-wrap { height: 280px; }
.hero-card:not(.hero-main) .hero-img-wrap { height: 130px; }

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}

.hero-cat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--cd-blue-700);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 3px;
  letter-spacing: .8px;
  text-transform: uppercase;
  z-index: 2;
}

.hero-body {
  padding: 14px;
  background: var(--bg-card);
}

.hero-main .hero-body { padding: 16px 18px; }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 6px;
  transition: color .15s ease;
}

.hero-card:hover .hero-title { color: var(--cd-blue-700); }

.hero-main .hero-title { font-size: 21px; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.hero-meta i { color: var(--cd-blue-400); }

/* ═══════════════════════════════
   TRENDING GRID
   ═══════════════════════════════ */
.trend-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 12px;
  border: 1px solid var(--border-light);
  transition: var(--trans);
  cursor: pointer;
}

.trend-card:hover {
  border-color: var(--cd-blue-200, #90CAF9);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.trend-num {
  font-family: 'Oswald', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--cd-blue-100);
  line-height: 1;
  min-width: 30px;
}

[data-theme="dark"] .trend-num { color: rgba(33,150,243,.25); }

.trend-info { flex: 1; min-width: 0; }

.trend-cat {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--cd-orange);
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.trend-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
  margin-bottom: 4px;
}

.trend-time { font-size: 11px; color: var(--text-muted); }

.trend-img {
  width: 70px;
  height: 56px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

/* ═══════════════════════════════
   NEWS LIST
   ═══════════════════════════════ */
.news-list { display: flex; flex-direction: column; gap: 0; }

.news-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  transition: var(--trans-fast);
}

.news-item:last-child { border-bottom: none; }

.news-item:hover { padding-left: 6px; }
.news-item:hover .news-title { color: var(--cd-blue-700); }

.news-thumb {
  width: 90px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.news-content { flex: 1; min-width: 0; }

.news-cat {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--cd-blue-700);
  margin-bottom: 3px;
}

.news-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-primary);
  margin-bottom: 6px;
  transition: color .15s ease;
}

.news-meta {
  display: flex;
  gap: 10px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.news-meta i { color: var(--cd-blue-300, #64B5F6); font-size: 10px; }

/* Load more */
.load-more-btn {
  width: 100%;
  margin-top: 14px;
  padding: 11px;
  background: var(--bg-input);
  color: var(--cd-blue-700);
  font-size: 13.5px;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-light);
  transition: var(--trans);
}

.load-more-btn:hover {
  background: var(--cd-blue-700);
  color: #fff;
  border-color: var(--cd-blue-700);
}

/* ═══════════════════════════════
   MATCH HIGHLIGHTS WIDGET
   ═══════════════════════════════ */
.match-highlight-card {
  background: linear-gradient(135deg, var(--cd-blue-50) 0%, #fff 100%);
  border: 1px solid var(--cd-blue-100);
  border-radius: var(--radius-md);
  padding: 18px;
  overflow: hidden;
}

[data-theme="dark"] .match-highlight-card {
  background: linear-gradient(135deg, rgba(21,101,192,.15), rgba(13,71,161,.05));
  border-color: rgba(33,150,243,.2);
}

.mh-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.mh-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  background: var(--cd-blue-700);
  color: #fff;
  padding: 3px 9px;
  border-radius: 3px;
}

.mh-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}

.mh-venue { font-size: 12px; color: var(--text-muted); }

.mh-scorerow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.mh-team {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.team-flag {
  width: 28px;
  height: 20px;
  object-fit: cover;
  border-radius: 3px;
  border: 1px solid var(--border-light);
}

.team-name {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.team-score {
  font-family: 'Oswald', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--cd-blue-800);
}

[data-theme="dark"] .team-score { color: var(--cd-blue-400); }

.team-overs { font-size: 11.5px; color: var(--text-muted); }

.vs-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 4px;
  background: var(--bg-input);
}

.mh-status {
  font-size: 13px;
  font-weight: 600;
  color: var(--cd-green);
  margin-bottom: 14px;
  padding: 8px 12px;
  background: rgba(46,125,50,.08);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--cd-green);
}

.mh-players { display: flex; flex-direction: column; gap: 8px; }

.mh-player-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.mh-player-name { font-size: 13.5px; font-weight: 600; color: var(--text-primary); }
.mh-player-stat { font-size: 13px; font-weight: 600; color: var(--cd-blue-700); }
.mh-player-stat small { color: var(--text-muted); font-size: 10.5px; margin-left: 4px; }

/* ═══════════════════════════════
   ICC RANKINGS TABLE
   ═══════════════════════════════ */
.rankings-table-wrap { overflow-x: auto; }

.rankings-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.rankings-table th {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 12px;
  border-bottom: 2px solid var(--border-light);
  background: var(--bg-input);
  white-space: nowrap;
}

.rankings-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
  vertical-align: middle;
}

.rankings-table tr:last-child td { border-bottom: none; }

.rankings-table tr:hover td { background: var(--cd-blue-50); }

[data-theme="dark"] .rankings-table tr:hover td { background: rgba(33,150,243,.06); }
[data-theme="dark"] .rankings-table th { background: rgba(255,255,255,.04); }

.rank-num {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--cd-blue-700);
  width: 32px;
  display: inline-block;
  text-align: center;
}

.rank-num.gold { color: #F59E0B; }
.rank-num.silver { color: #94A3B8; }
.rank-num.bronze { color: #CD7F32; }

.rank-player { font-weight: 600; }
.rank-nation { font-size: 12px; color: var(--text-muted); }

.rank-delta.up { color: var(--cd-green); }
.rank-delta.down { color: var(--cd-live-red); }
.rank-delta.same { color: var(--text-muted); }

/* ═══════════════════════════════
   FAQ SECTION
   ═══════════════════════════════ */
.faq-accordion .accordion-item {
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  margin-bottom: 8px;
  overflow: hidden;
  background: var(--bg-card) !important;
}

.faq-accordion .accordion-button {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary) !important;
  background: var(--bg-card) !important;
  box-shadow: none !important;
  padding: 14px 18px;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--cd-blue-700) !important;
  background: var(--cd-blue-50) !important;
}

[data-theme="dark"] .faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(33,150,243,.1) !important;
}

.faq-accordion .accordion-button::after {
  filter: none;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%231565C0'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.faq-accordion .accordion-body {
  font-size: 13.5px;
  color: var(--text-secondary);
  padding: 14px 18px;
  line-height: 1.7;
  background: var(--bg-card) !important;
}

/* ═══════════════════════════════
   SIDEBAR WIDGETS
   ═══════════════════════════════ */
.sidebar-widget {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.sw-head {
  background: var(--cd-blue-800);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .8px;
  padding: 11px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sw-body { padding: 14px; }

/* Notify widget */
.notify-widget { background: linear-gradient(135deg, #E3F2FD, #fff); }
[data-theme="dark"] .notify-widget { background: linear-gradient(135deg, rgba(21,101,192,.15), var(--bg-card)); }
.notify-desc { font-size: 13px; color: var(--text-secondary); margin-bottom: 12px; }

.btn-notif-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #fff !important;
  padding: 10px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--trans);
  text-decoration: none;
}
.btn-notif-wa:hover { background: #1DAA53; transform: translateY(-2px); }

.btn-notif-tg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #2AABEE;
  color: #fff !important;
  padding: 10px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--trans);
  text-decoration: none;
}
.btn-notif-tg:hover { background: #1A94D8; transform: translateY(-2px); }

/* Upcoming matches */
.upcoming-match {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
}
.upcoming-match:last-child { border-bottom: none; }
.um-series { font-size: 10.5px; color: var(--text-muted); margin-bottom: 4px; }
.um-teams { font-size: 13.5px; font-weight: 700; color: var(--text-primary); margin-bottom: 3px; }
.um-time { font-size: 12px; color: var(--cd-blue-700); font-weight: 600; }
.um-venue { font-size: 11.5px; color: var(--text-muted); }

/* Top batsmen */
.batsman-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}
.batsman-row:last-child { border-bottom: none; }
.bat-rank { font-family: 'Oswald', sans-serif; font-size: 16px; font-weight: 700; color: var(--cd-blue-100); min-width: 22px; }
[data-theme="dark"] .bat-rank { color: rgba(33,150,243,.3); }
.bat-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; background: var(--cd-blue-50); border: 2px solid var(--cd-blue-100); }
.bat-info { flex: 1; min-width: 0; }
.bat-name { font-size: 13px; font-weight: 600; color: var(--text-primary); }
.bat-team { font-size: 11px; color: var(--text-muted); }
.bat-runs { font-family: 'Oswald', sans-serif; font-size: 17px; font-weight: 700; color: var(--cd-blue-700); }

/* Poll */
.poll-widget .sw-head { background: linear-gradient(135deg, var(--cd-blue-800), var(--cd-teal)); }
.poll-question { font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 12px; }
.poll-option { margin-bottom: 8px; }
.poll-option label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text-primary);
  padding: 8px 12px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  transition: var(--trans-fast);
}
.poll-option label:hover { border-color: var(--cd-blue-400); background: var(--cd-blue-50); }
[data-theme="dark"] .poll-option label:hover { background: rgba(33,150,243,.08); }
.poll-option input[type="radio"] { accent-color: var(--cd-blue-700); width: 16px; height: 16px; }
.poll-bar-wrap { flex: 1; height: 4px; background: var(--border-light); border-radius: 2px; overflow: hidden; display: none; }
.poll-bar { height: 100%; background: var(--cd-blue-600); border-radius: 2px; transition: width .6s ease; }
.poll-pct { font-size: 11px; font-weight: 700; color: var(--cd-blue-700); display: none; min-width: 30px; text-align: right; }

.poll-vote-btn {
  width: 100%;
  margin-top: 10px;
  padding: 9px;
  background: var(--cd-blue-700);
  color: #fff;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  transition: var(--trans);
}
.poll-vote-btn:hover { background: var(--cd-blue-900); }

.poll-total { text-align: center; margin-top: 6px; color: var(--text-muted); }

/* Tag cloud */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-pill {
  font-size: 12px;
  padding: 4px 11px;
  border-radius: 20px;
  border: 1.5px solid var(--border-light);
  color: var(--text-secondary);
  transition: var(--trans-fast);
  cursor: pointer;
  background: var(--bg-input);
  text-decoration: none;
}
.tag-pill:hover { border-color: var(--cd-blue-500); color: var(--cd-blue-700); background: var(--cd-blue-50); }

/* Social follow */
.social-follow-widget .sw-head { background: linear-gradient(135deg, #1565C0, #0D47A1); }
.social-follow-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }

.sf-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 12px 8px;
  border-radius: var(--radius-md);
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 11px;
  font-weight: 600;
  transition: var(--trans);
}

.sf-btn:hover { opacity: .88; transform: translateY(-2px); color: #fff; }
.sf-btn i { font-size: 18px; }
.sf-btn small { font-size: 11px; font-weight: 700; opacity: .9; }

.sf-fb { background: #1877F2; }
.sf-tw { background: #000; }
.sf-ig { background: linear-gradient(45deg, #f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.sf-yt { background: #FF0000; }
.sf-wa { background: #25D366; }
.sf-tg { background: #2AABEE; }

/* ═══════════════════════════════
   ADS
   ═══════════════════════════════ */
.ad-banner {
  position: relative;
  text-align: center;
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  background: var(--bg-card);
}

.ad-label {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-page);
  color: var(--text-muted);
  font-size: 10px;
  padding: 0 8px;
  letter-spacing: 1px;
}

.ad-placeholder {
  color: var(--text-muted);
  font-size: 13px;
  padding: 20px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
}

.ad-banner-sidebar {
  position: relative;
  text-align: center;
  border: 2px dashed var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px;
  background: var(--bg-card);
}

.ad-placeholder-sidebar {
  color: var(--text-muted);
  font-size: 13px;
  padding: 60px 20px;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
}

/* ═══════════════════════════════
   SOCIAL SHARE BAR
   ═══════════════════════════════ */
.social-share-bar {
  background: var(--bg-card);
  border-top: 3px solid var(--cd-blue-600);
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  margin-top: 12px;
}

.share-text { font-size: 14px; color: var(--text-primary); }

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: var(--trans);
}
.share-btn:hover { transform: translateY(-2px); opacity: .9; color: #fff; }

.share-fb  { background: #1877F2; }
.share-tw  { background: #000; }
.share-wa  { background: #25D366; }
.share-tg  { background: #2AABEE; }
.share-li  { background: #0A66C2; }
.share-cp  { background: var(--cd-blue-700); }

/* ═══════════════════════════════
   FOOTER
   ═══════════════════════════════ */
.site-footer {
  background: var(--bg-footer);
  color: rgba(255,255,255,.8);
  padding: 48px 0 0;
  margin-top: 12px;
}

.footer-top { padding-bottom: 32px; }

.footer-logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}

.footer-logo-sub {
  font-size: 10px;
  color: rgba(255,255,255,.4);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.footer-about {
  font-size: 13.5px;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-top: 4px;
}

.footer-social { flex-wrap: wrap; }

.fsoc-icon {
  width: 34px;
  height: 34px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  color: rgba(255,255,255,.8);
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--trans);
  text-decoration: none;
}
.fsoc-icon:hover { background: var(--cd-blue-700); border-color: var(--cd-blue-700); color: #fff; transform: translateY(-2px); }
.fsoc-icon.wa-icon:hover { background: #25D366; border-color: #25D366; }
.fsoc-icon.tg-icon:hover { background: #2AABEE; border-color: #2AABEE; }

.footer-col-head {
  font-family: 'Oswald', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 1px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--cd-blue-700);
  display: inline-block;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  color: rgba(255,255,255,.65);
  font-size: 13.5px;
  transition: var(--trans-fast);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--cd-blue-400);
  font-size: 14px;
}

.footer-links a:hover { color: #fff; padding-left: 4px; }

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 0;
}

.footer-bottom {
  padding: 18px 0;
  font-size: 13px;
  color: rgba(255,255,255,.45);
}

.footer-copy a { color: rgba(255,255,255,.65); }
.footer-copy a:hover { color: #fff; }

.footer-bottom-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-bottom-links a {
  color: rgba(255,255,255,.45);
  font-size: 12.5px;
  transition: var(--trans-fast);
}
.footer-bottom-links a:hover { color: rgba(255,255,255,.8); }

/* ═══════════════════════════════
   BACK TO TOP
   ═══════════════════════════════ */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--cd-blue-700);
  color: #fff;
  border-radius: 50%;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: var(--trans);
  opacity: 0;
  visibility: hidden;
  z-index: 9999;
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--cd-blue-900); transform: translateY(-3px); }

/* ═══════════════════════════════
   MODAL
   ═══════════════════════════════ */
.notif-modal-content {
  border: none;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  color: var(--text-primary);
  overflow: hidden;
}

.notif-emoji { font-size: 44px; margin-bottom: 12px; }
.notif-modal-title { font-family: 'Oswald', sans-serif; font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.notif-modal-desc { color: var(--text-secondary); font-size: 14px; margin-bottom: 20px; }

.btn-notif-wa-lg,
.btn-notif-tg-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  color: #fff !important;
  text-decoration: none;
  transition: var(--trans);
}
.btn-notif-wa-lg { background: #25D366; }
.btn-notif-wa-lg:hover { background: #1DAA53; }
.btn-notif-tg-lg { background: #2AABEE; }
.btn-notif-tg-lg:hover { background: #1A94D8; }

/* ═══════════════════════════════
   UTILITY
   ═══════════════════════════════ */
.spinner {
  width: 32px;
  height: 32px;
  border: 3px solid var(--cd-blue-100);
  border-top-color: var(--cd-blue-600);
  border-radius: 50%;
  animation: spin .7s linear infinite;
  margin: 20px auto;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive fixes */
@media (max-width: 575px) {
  .score-card { width: 240px; }
  .hero-main .hero-title { font-size: 18px; }
  .section-block { padding: 14px; }
  .topbar-date { display: none; }
  .share-btn { padding: 6px 10px; font-size: 12px; }
}

@media (max-width: 991px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main .hero-img-wrap { height: 220px; }
}

/* Smooth scroll target */
:target { scroll-margin-top: 120px; }

/* Selection color */
::selection { background: var(--cd-blue-700); color: #fff; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: var(--cd-blue-200, #90CAF9); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--cd-blue-400); }

/* ═══════════════════════════════
   HEADER SCROLL SHRINK
   ═══════════════════════════════ */
.site-header.scrolled .header-inner { padding: 8px 0; }
.site-header.scrolled .logo-text { font-size: 21px; }
.site-header.scrolled .logo-icon svg { width: 36px; height: 36px; }
.site-header { transition: box-shadow .25s ease, background .3s ease; }
.site-header.scrolled { box-shadow: 0 4px 20px rgba(13,71,161,.18); }

/* ═══════════════════════════════
   SEARCH RESULTS DROPDOWN
   ═══════════════════════════════ */
.search-results-drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  max-height: 340px;
  overflow-y: auto;
}
.search-result-item {
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-light);
  cursor: pointer;
  font-size: 13.5px;
  color: var(--text-primary);
  transition: var(--trans-fast);
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--cd-blue-50); color: var(--cd-blue-700); }
[data-theme="dark"] .search-result-item:hover { background: rgba(33,150,243,.08); }
.search-result-cat { font-size: 10.5px; font-weight: 700; color: var(--cd-blue-400); letter-spacing: .6px; text-transform: uppercase; margin-bottom: 2px; }

/* ═══════════════════════════════
   TOAST NOTIFICATION
   ═══════════════════════════════ */
.cd-toast {
  position: fixed;
  bottom: 80px;
  right: 24px;
  background: var(--cd-blue-800);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  z-index: 99999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s;
  max-width: 300px;
}
.cd-toast.show { opacity: 1; transform: translateY(0); }

/* ═══════════════════════════════
   ARTICLE / POST PAGE STYLES
   ═══════════════════════════════ */
.article-hero-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: var(--radius-xl);
  margin-bottom: 24px;
  box-shadow: var(--shadow-md);
}
.article-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-light);
}
.article-meta-bar .author-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--text-primary);
}
.article-meta-bar .author-chip img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.article-body {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-secondary);
}
.article-body h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--cd-blue-800);
  margin: 28px 0 12px;
}
[data-theme="dark"] .article-body h2 { color: var(--cd-blue-400); }
.article-body p { margin-bottom: 18px; }
.article-body blockquote {
  border-left: 4px solid var(--cd-blue-600);
  background: var(--cd-blue-50);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: italic;
  margin: 20px 0;
  color: var(--text-primary);
  font-size: 15.5px;
}
[data-theme="dark"] .article-body blockquote { background: rgba(33,150,243,.08); }

/* ═══════════════════════════════
   COOKIE CONSENT BANNER
   ═══════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #0A2342;
  color: rgba(255,255,255,.9);
  padding: 16px 24px;
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13.5px;
  box-shadow: 0 -4px 20px rgba(0,0,0,.2);
  transform: translateY(100%);
  transition: transform .4s ease;
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner a { color: var(--cd-blue-300, #64B5F6); }
.cookie-accept-btn {
  background: var(--cd-blue-600);
  color: #fff;
  padding: 8px 20px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--trans);
  white-space: nowrap;
}
.cookie-accept-btn:hover { background: var(--cd-blue-800); }

/* ═══════════════════════════════
   LIVE MATCH BADGE PULSE
   ═══════════════════════════════ */
@keyframes pulse-ring {
  0%   { box-shadow: 0 0 0 0 rgba(229,57,53,.5); }
  70%  { box-shadow: 0 0 0 8px rgba(229,57,53,0); }
  100% { box-shadow: 0 0 0 0 rgba(229,57,53,0); }
}
.live-pulse { animation: pulse-ring 1.8s infinite; }

/* ═══════════════════════════════
   MOBILE BOTTOM NAV BAR
   ═══════════════════════════════ */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border-light);
  z-index: 1030;
  padding: 8px 0 env(safe-area-inset-bottom, 8px);
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}
@media (max-width: 767px) { .mobile-bottom-nav { display: flex; } }
.mbn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 6px 4px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans-fast);
  text-decoration: none;
}
.mbn-item.active, .mbn-item:hover { color: var(--cd-blue-700); }
.mbn-item i { font-size: 18px; }
.mbn-live i { color: var(--cd-live-red); animation: pulse-label 1.5s infinite; }

/* Adjust main padding for mobile bottom nav */
@media (max-width: 767px) {
  body { padding-bottom: 64px; }
  .back-to-top { bottom: 80px; }
  .cookie-banner { padding-bottom: calc(16px + 64px); }
}

/* ═══════════════════════════════
   MATCHES FILTER PILLS
   ═══════════════════════════════ */
.filter-pills {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
}
.filter-pills::-webkit-scrollbar { display: none; }
.filter-pill {
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  border: 1.5px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--trans-fast);
}
.filter-pill.active, .filter-pill:hover {
  background: var(--cd-blue-700);
  color: #fff;
  border-color: var(--cd-blue-700);
}

/* ═══════════════════════════════
   IMAGE LAZY LOAD PLACEHOLDER
   ═══════════════════════════════ */
img[loading="lazy"] { background: var(--bg-input); }

/* ═══════════════════════════════
   PRINT STYLES
   ═══════════════════════════════ */
@media print {
  .topbar, .site-header, .main-nav, .push-notif-bar,
  .social-share-bar, .site-footer, .back-to-top,
  .cookie-banner, .mobile-bottom-nav { display: none !important; }
  body { background: #fff; color: #000; }
  .section-block { box-shadow: none; border: 1px solid #ddd; }
}
