/* ==========================================================================
   INDIBET - Pixel-Perfect Recreation  |  style.css
   Matches actual https://in.indibet.in/ — White/Light Theme
   ========================================================================== */

/* ---- CSS Variables ---- */
:root {
  --hdr-h: 46px;
  --ticker-h: 27px;
  --total-hdr: 73px;

  --icon-nav-w: 68px;
  --sport-nav-w: 182px;

  --hdr-bg: #1c2033;
  --ticker-bg: #1565c0;
  --icon-nav-bg: #1c2033;
  --sport-nav-bg: #ffffff;
  --page-bg: #eef0f3;
  --white: #ffffff;
  --border: #e2e8f0;

  --orange: #f97316;
  --orange-light: #fff7ed;
  --blue-link: #2563eb;

  --back-bg: #72bbef;
  --lay-bg:  #faa9ba;

  --text: #1e293b;
  --text-2: #475569;
  --text-3: #64748b;
  --text-4: #94a3b8;

  /* Odds column widths - must match across rows */
  --oc-w: 68px;
  --oc-gap: 2px;
  --mkt-gap: 6px;
  --count-w: 46px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  color: var(--text);
  background: var(--page-bg);
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input { font-family: inherit; }
ul { list-style: none; }
img { max-width: 100%; }


/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: #ffffff;             /* WHITE background – matches actual site */
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}

.header-bar {
  height: var(--hdr-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  gap: 16px;
}

/* Logo */
.hbar-left { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

.mob-menu-btn {
  color: #1565c0;                  /* Blue hamburger icon */
  font-size: 1.05rem;
  padding: 5px;
  display: none;
}

.logo-link { display: flex; align-items: center; gap: 7px; }
.logo-svg { display: block; }
.logo-image { display: block; width: 112px; height: auto; }
.logo-word {
  font-size: 1.2rem;
  font-weight: 900;
  color: #0f172a;                  /* Dark text on white header */
  letter-spacing: 0.6px;
}

/* Header Buttons */
.hbar-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

/* DESKTOP: Login – dark/black filled */
.btn-hlogin {
  padding: 6px 20px;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 700;
  background: #0f172a;             /* Black button */
  transition: background 0.2s;
  cursor: pointer;
}
.btn-hlogin:hover { background: #1e293b; }

/* DESKTOP: Sign up – bright blue matching image */
.btn-hsignup {
  padding: 6px 20px;
  color: #ffffff;
  background: #379fff;             /* Blue button matching reference image */
  border: none;
  border-radius: 4px;
  font-size: 12.5px;
  font-weight: 700;
  transition: background 0.2s;
  cursor: pointer;
}
.btn-hsignup:hover { background: #1565c0; }


/* ==========================================================================
   TICKER BAR (Inline Header Slider)
   ========================================================================== */
.ticker-bar {
  flex: 1;
  height: var(--hdr-h);
  background: #ffffff;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-width: 0;
}

.ticker-inner {
  display: inline-flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  /* Animation drives it from 0% to -50% so duplicate content creates seamless loop */
  animation: tickerRoll 120s linear infinite;
  will-change: transform;
}

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

.tk-seg {
  color: #379fff;
  font-size: 12px;
  font-weight: 500;
  padding: 0 40px;                 /* Increased gap between text slider items */
}
.tk-seg i { color: #379fff; font-size: 10px; margin-right: 5px; }
.tk-div { color: #379fff; opacity: 0.45; font-size: 12px; }

@keyframes tickerRoll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ==========================================================================
   PAGE LAYOUT (Flex row: icon-nav | sport-nav | main | right-panel)
   ========================================================================== */
.page-layout {
  display: flex;
  min-height: calc(100vh - var(--total-hdr));
}


/* ==========================================================================
   ICON SIDEBAR (Dark, narrow)
   ========================================================================== */
.icon-sidebar {
  width: var(--icon-nav-w);
  background: var(--icon-nav-bg);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: var(--total-hdr);
  height: calc(100vh - var(--total-hdr));
  overflow-y: auto;
  z-index: 50;
}
.icon-sidebar::-webkit-scrollbar { display: none; }

.is-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 11px 4px 9px;
  color: #8898b0;
  cursor: pointer;
  border-left: 3px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
  position: relative;
  user-select: none;
  gap: 4px;
}
.is-item > i:first-of-type { font-size: 1rem; }
.is-item > span { font-size: 9.5px; font-weight: 500; line-height: 1.2; }
.is-item:hover { color: #e2e8f0; background: rgba(255,255,255,0.05); }
.is-item.is-active { color: #fff; border-left-color: var(--orange); background: rgba(255,255,255,0.08); }

.is-sub-arrow {
  position: absolute !important;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 7px !important;
  color: #5a6a80;
}


/* ==========================================================================
   SPORT SIDEBAR (White, collapsible)
   ========================================================================== */
.sport-sidebar {
  width: var(--sport-nav-w);
  background: var(--sport-nav-bg);
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  position: sticky;
  top: var(--total-hdr);
  height: calc(100vh - var(--total-hdr));
  overflow-y: auto;
  overflow-x: hidden;
  transition: width 0.22s ease;
  z-index: 40;
}
.sport-sidebar::-webkit-scrollbar { width: 3px; }
.sport-sidebar::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 2px; }
.sport-sidebar.ss-collapsed { width: 0; overflow: hidden; }

/* Header */
.ss-header {
  padding: 7px 10px;
  border-bottom: 1px solid var(--border);
  background: #f8fafc;
  position: sticky;
  top: 0;
  z-index: 2;
}

.ss-collapse-btn {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 3px 8px;
  background: var(--white);
  transition: background 0.15s;
}
.ss-collapse-btn:hover { background: #f1f5f9; color: var(--text); }

/* Sport item (top-level) */
.ss-sport {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px 8px 12px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  user-select: none;
  transition: background 0.12s;
}
.ss-sport:hover { background: #f8fafc; }

.ss-sport-icon { font-size: 0.82rem; color: var(--text-3); width: 16px; text-align: center; flex-shrink: 0; }
.ss-sport-label { flex-grow: 1; font-size: 12.5px; font-weight: 500; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.ss-badge {
  font-size: 10px; font-weight: 700;
  background: #e2e8f0; color: var(--text-3);
  padding: 1px 5px; border-radius: 8px;
  min-width: 20px; text-align: center; flex-shrink: 0;
}

/* ACTIVE sport (Cricket) */
.ss-sport-active {
  background: var(--orange-light) !important;
  border-left: 3px solid var(--orange);
  padding-left: 9px;
}
.ss-sport-active .ss-sport-icon { color: var(--orange); }
.ss-sport-active .ss-sport-label { color: var(--orange); font-weight: 700; }
.ss-badge-orange { background: var(--orange) !important; color: #fff !important; }

/* Cricket sub-items */
.ss-sub-list { background: #f9fafb; border-bottom: 1px solid var(--border); }

.ss-sub {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px 7px 24px;
  cursor: pointer;
  border-bottom: 1px solid #f1f5f9;
  color: var(--text-3);
  font-size: 12px;
  transition: background 0.1s, color 0.1s;
  user-select: none;
}
.ss-sub:hover { background: #f1f5f9; color: var(--text); }
.ss-sub > i { font-size: 0.75rem; width: 14px; text-align: center; flex-shrink: 0; }
.ss-sub > span { flex-grow: 1; }
.ss-sub > em { font-style: normal; font-size: 10px; font-weight: 700; color: var(--text-4); }

.ss-sub-active { color: var(--orange); font-weight: 600; }

/* Today special */
.ss-sub-today { background: var(--orange-light); color: var(--orange) !important; font-weight: 600; }
.ss-today-badge {
  background: var(--orange);
  color: #fff !important;
  border-radius: 8px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
}


/* ==========================================================================
   MAIN AREA
   ========================================================================== */
.main-area { flex: 1; min-width: 0; }

/* ---- TOOLBAR ---- */
.main-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 6px 12px;
  gap: 12px;
  flex-wrap: wrap;
}

.mt-search-wrap { display: flex; align-items: center; }

.mt-search {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 5px 10px;
  background: #f8fafc;
  color: var(--text-4);
  width: 230px;
}
.mt-search i { font-size: 11px; flex-shrink: 0; }
.mt-search input {
  border: none; background: transparent;
  font-size: 12px; color: var(--text);
  outline: none; width: 100%;
}
.mt-search input::placeholder { color: var(--text-4); }

.mt-actions { display: flex; align-items: center; gap: 12px; }

.mt-link {
  display: flex; align-items: center; gap: 4px;
  font-size: 11.5px; color: var(--text-3);
  transition: color 0.15s;
}
.mt-link:hover { color: var(--blue-link); }
.mt-link i { font-size: 11px; }

.mt-icon-btn {
  width: 26px; height: 26px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: #f1f5f9;
  color: var(--text-3);
  font-size: 11px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.mt-icon-btn:hover { background: #e2e8f0; color: var(--text); }

/* SEO TOP BAR */
.seo-top-bar {
  background: #1a7fd4;
  color: #fff;
  font-size: 11.5px;
  font-weight: 600;
  text-align: center;
  padding: 5px 12px;
  letter-spacing: 0.2px;
}


/* ==========================================================================
   EXCHANGE WRAP
   ========================================================================== */
.exchange-wrap { padding: 8px; }

/* ---- TODAY HEADER ROW ---- */
.today-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: var(--white);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  flex-wrap: wrap;
  gap: 8px;
}

.today-label { font-size: 15px; font-weight: 700; color: var(--text); }

.filter-bar { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }

.fpill {
  padding: 3px 9px;
  font-size: 11.5px; font-weight: 600;
  border: 1px solid #dde3eb;
  border-radius: 3px;
  background: #f8fafc; color: #475569;
  transition: all 0.14s;
}
.fpill:hover { background: #e2e8f0; }
.fpill-active { background: #2563eb !important; color: #fff !important; border-color: #2563eb !important; }

.f-time-league {
  font-size: 11.5px; color: var(--text-3);
  display: flex; align-items: center; gap: 3px; white-space: nowrap;
}
.f-swap {
  background: #2563eb; color: #fff;
  padding: 1px 4px; border-radius: 2px; font-size: 10px;
}

.f-icon-btn {
  background: #f1f5f9;
  border: 1px solid var(--border);
  border-radius: 3px;
  color: var(--text-3);
  padding: 3px 7px; font-size: 11px;
  display: flex; align-items: center; gap: 3px;
  transition: background 0.14s;
}
.f-icon-btn:hover { background: #e2e8f0; }


/* ==========================================================================
   LEAGUE BLOCKS
   ========================================================================== */
.league-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 3px;
  margin-bottom: 6px;
  overflow: hidden;
}

/* League Header */
.league-head {
  display: flex;
  align-items: center;
  padding: 7px 10px;
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
  transition: background 0.12s;
}
.league-head:hover { background: #f1f5f9; }

.lh-left {
  flex: 1;
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 700;
  color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  min-width: 0;
}
.lh-sport-icon { font-size: 11px; color: var(--text-3); flex-shrink: 0; }

.lh-right {
  display: flex;
  align-items: center;
  gap: var(--mkt-gap);
  flex-shrink: 0;
  margin-left: auto;
}

/* Market labels in league header — must exactly span their 2 columns */
.lh-mkt-lbl {
  font-size: 11px;
  color: var(--text-3);
  font-weight: 600;
  text-align: center;
  /* width = 2 × oc-w + gap between them */
  width: calc(var(--oc-w) * 2 + var(--oc-gap));
  display: block;
}
/* Add extra space matching --mkt-gap between the two market groups */
.lh-mkt-lbl:last-of-type {
  /* After second mkt-lbl come the gap + count-w space */
  margin-right: calc(var(--count-w) + var(--mkt-gap));
}

.lh-chevron {
  font-size: 10px;
  color: var(--text-4);
  padding: 0 4px;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.lh-chevron.rotated { transform: rotate(180deg); }


/* ==========================================================================
   MATCH SLOTS
   ========================================================================== */
.match-slot { padding: 0; }
.match-slot-sep { border-top: 1px solid var(--border); }

/* TIME ROW */
.time-row {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  background: #fafafa;
  border-bottom: 1px solid #f0f2f5;
}

.tr-left { display: flex; align-items: center; gap: 7px; flex: 1; }
.tr-date { font-size: 11.5px; color: var(--text-2); font-weight: 500; }
.tr-badge { font-size: 11px; font-weight: 700; color: var(--orange); }

/* Right side of time row = column labels (must align with team-row odds cells) */
.tr-right {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.tr-labels { gap: var(--oc-gap); }

.oc-lbl {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  width: var(--oc-w);
  display: block;
}
.lbl-back { color: #3b82f6; }
.lbl-lay  { color: #ec4899; margin-right: var(--mkt-gap); }
.lbl-yes  { color: #3b82f6; }
.lbl-no   { color: #ec4899; }
.lbl-blank { width: var(--count-w); }


/* ---- TEAM ROW ---- */
.team-row {
  display: flex;
  align-items: center;
  padding: 3px 10px;
  border-bottom: 1px solid #f8fafc;
  min-height: 40px;
  transition: background 0.1s;
}
.team-row:hover { background: #fafafa; }
.team-row:last-child { border-bottom: none; }

.tr-team {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-right: 8px;
}

/* Team flags/dots */
.team-dot {
  width: 16px; height: 16px; border-radius: 50%;
  flex-shrink: 0; display: inline-block;
}
.team-flag-india {
  width: 16px; height: 16px; border-radius: 50%;
  background: linear-gradient(180deg, #ff9933 33.3%, #fff 33.3%, #fff 66.6%, #128807 66.6%);
  border: 1px solid #e2e8f0;
  flex-shrink: 0; display: inline-block;
}
.team-flag-bangladesh {
  width: 16px; height: 16px; border-radius: 50%;
  background: #006a4e;
  border: 1px solid #e2e8f0;
  flex-shrink: 0; display: inline-block;
}

/* ODDS CELLS WRAP */
.tr-odds-wrap {
  display: flex;
  align-items: center;
  gap: var(--oc-gap);
  flex-shrink: 0;
}

/* ODDS CELLS */
.oc {
  width: var(--oc-w);
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  border-radius: 2px;
  border: none;
  color: #1e293b;
  cursor: default;
  position: relative;
  transition: filter 0.15s;
}

/* Back = light blue */
.oc-back { background: var(--back-bg); }
/* Lay = light pink, gap after */
.oc-lay  { background: var(--lay-bg); margin-right: var(--mkt-gap); }
/* Yes = light blue */
.oc-yes  { background: var(--back-bg); }
/* No = light pink */
.oc-no   { background: var(--lay-bg); }

/* Live/clickable odds */
.oc-live { cursor: pointer; }
.oc-live:hover { filter: brightness(0.88); }
.oc-live.oc-selected { filter: brightness(0.78); box-shadow: inset 0 0 0 2px rgba(0,0,0,0.18); }

/* Odds FLASH animation (simulated live update) */
@keyframes flashBack {
  0%   { background: var(--back-bg); }
  20%  { background: #fcd34d; }
  50%  { background: #fcd34d; }
  100% { background: var(--back-bg); }
}
@keyframes flashLay {
  0%   { background: var(--lay-bg); }
  20%  { background: #fcd34d; }
  50%  { background: #fcd34d; }
  100% { background: var(--lay-bg); }
}
.oc-back.odds-flash { animation: flashBack 0.65s ease-in-out; }
.oc-lay.odds-flash  { animation: flashLay  0.65s ease-in-out; }

/* Count */
.tr-mkt-count {
  width: var(--count-w);
  text-align: right;
  font-size: 11px;
  font-weight: 600;
  color: var(--blue-link);
  cursor: pointer;
  flex-shrink: 0;
  margin-left: var(--mkt-gap);
}
.tr-mkt-count:hover { text-decoration: underline; }


/* ==========================================================================
   BETSLIP PANEL (inline, slide-down on odds click)
   ========================================================================== */
.betslip-panel {
  margin: 0 8px 8px;
  animation: bsSlideDown 0.2s ease;
}
@keyframes bsSlideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.bp-inner {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 10px 12px;
}

.bp-head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px;
}

.bp-type-tag {
  font-size: 10px; font-weight: 800;
  padding: 2px 8px; border-radius: 2px;
  background: var(--back-bg); color: var(--text);
  flex-shrink: 0;
}
.bp-type-tag.lay-tag { background: var(--lay-bg); }

.bp-team-name { font-size: 13px; font-weight: 700; flex-grow: 1; color: var(--text); }

.bp-close { color: var(--text-4); font-size: 1rem; transition: color 0.15s; }
.bp-close:hover { color: #ef4444; }

.bp-row {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 8px;
}

.bp-field { display: flex; flex-direction: column; gap: 3px; }
.bp-field label { font-size: 10px; font-weight: 600; color: var(--text-3); }
.bp-field input {
  width: 100px; padding: 5px 8px;
  border: 1px solid var(--border); border-radius: 3px;
  font-size: 13px; font-weight: 700; color: var(--text);
  background: #f8fafc; outline: none;
}
.bp-field input[readonly] { color: #16a34a; background: #f0fdf4; }

.bp-quick { display: flex; gap: 5px; flex-wrap: wrap; margin-bottom: 10px; }
.bp-quick button {
  padding: 4px 10px;
  background: #f1f5f9; border: 1px solid var(--border);
  border-radius: 3px; font-size: 11px; font-weight: 700; color: var(--text-2);
  transition: all 0.14s;
}
.bp-quick button:hover { background: var(--blue-link); color: #fff; border-color: var(--blue-link); }

.bp-place-btn {
  padding: 8px 28px;
  background: var(--blue-link); color: #fff;
  border-radius: 3px; font-size: 12.5px; font-weight: 700;
  transition: background 0.15s; letter-spacing: 0.2px;
}
.bp-place-btn:hover { background: #1d4ed8; }


/* ==========================================================================
   SEO CONTENT
   ========================================================================== */
.seo-content-bar {
  background: #1a7fd4; color: #fff;
  font-size: 11.5px; font-weight: 600;
  padding: 7px 14px;
  margin: 0 8px;
  border-radius: 3px 3px 0 0;
}

.seo-text-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 3px 3px;
  margin: 0 8px 10px;
  padding: 14px;
  font-size: 12.5px; color: var(--text-2); line-height: 1.65;
}
.seo-text-block p { margin-bottom: 10px; }
.seo-text-block a { color: var(--blue-link); }
.seo-text-block a:hover { text-decoration: underline; }

.seo-expandable { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.seo-expandable.is-open { max-height: 900px; }
.seo-expandable h2 { font-size: 13px; font-weight: 700; color: var(--text); margin: 14px 0 6px; }
.seo-expandable h3 { font-size: 12.5px; font-weight: 700; color: var(--text); margin: 10px 0 5px; }
.seo-expandable p { margin-bottom: 8px; }

.seo-toggle-row { text-align: center; padding: 10px 0 6px; }
.seo-toggle-btn {
  font-size: 12px; font-weight: 700; color: var(--blue-link);
  border: 1px solid var(--blue-link); border-radius: 3px;
  padding: 5px 20px; background: transparent; transition: all 0.15s;
}
.seo-toggle-btn:hover { background: var(--blue-link); color: #fff; }

/* FAQ */
.faq-wrap { margin-top: 14px; border-top: 1px solid var(--border); padding-top: 12px; }

.faq-entry {
  border: 1px solid var(--border);
  border-radius: 3px;
  margin-bottom: 5px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 9px 14px;
  font-size: 12.5px; font-weight: 600;
  color: var(--text);
  background: #f8fafc;
  text-align: left;
  transition: background 0.14s;
}
.faq-q:hover { background: #f1f5f9; }
.faq-q.is-open { background: #eff6ff; color: var(--blue-link); }
.faq-q.is-open .faq-icon { transform: rotate(180deg); color: var(--blue-link); }

.faq-icon { font-size: 10px; color: var(--text-4); transition: transform 0.2s, color 0.2s; flex-shrink: 0; }

.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height 0.24s ease, padding 0.2s;
  font-size: 12px; color: var(--text-2); line-height: 1.65;
  background: var(--white); padding: 0 14px;
}
.faq-a.is-open { max-height: 200px; padding: 9px 14px; }


/* ==========================================================================
   RIGHT THIN PANEL
   ========================================================================== */
.right-panel {
  width: 30px;
  background: var(--white);
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px;
  gap: 6px;
  flex-shrink: 0;
}
.rp-btn {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid var(--border);
  color: var(--text-3); font-size: 9px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.14s;
}
.rp-btn:hover { background: var(--blue-link); color: #fff; border-color: var(--blue-link); }


/* ==========================================================================
   FIXED PDF BUTTONS
   ========================================================================== */
.pdf-btn {
  position: fixed; right: 0; z-index: 800;
  width: 26px; height: 26px;
  background: #dc2626; color: #fff;
  font-size: 11px; border-radius: 3px 0 0 3px;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.15s;
}
.pdf-btn:hover { background: #b91c1c; }
.pdf-top { top: 120px; }
.pdf-bot { top: 360px; }


/* ==========================================================================
   LIVE CHAT FAB
   ========================================================================== */
.chat-fab {
  position: fixed; bottom: 20px; right: 20px; z-index: 900;
  width: 44px; height: 44px;
  background: var(--blue-link); color: #fff;
  border-radius: 50%; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 14px rgba(37,99,235,0.4);
  animation: chatPop 2.8s ease-in-out infinite;
  transition: transform 0.2s, background 0.2s;
}
.chat-fab:hover { transform: scale(1.1); background: #1d4ed8; }

@keyframes chatPop {
  0%, 100% { box-shadow: 0 4px 14px rgba(37,99,235,0.4); }
  50%       { box-shadow: 0 4px 24px rgba(37,99,235,0.7); }
}


/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.footer-inner {
  padding: 28px 40px 16px;
}

.f-logo-row { display: flex; justify-content: center; margin-bottom: 22px; }
.f-logo { display: flex; align-items: center; gap: 6px; }
.footer-logo-image { display: block; width: 96px; height: auto; }
.f-logo-word { font-size: 1.25rem; font-weight: 900; color: var(--text); letter-spacing: 0.5px; }

.f-links-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  max-width: 860px;
  margin: 0 auto 24px;
}

.f-col h4 { font-size: 11.5px; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.f-col ul { display: flex; flex-direction: column; gap: 6px; }
.f-col ul li a { font-size: 11.5px; color: var(--text-3); transition: color 0.14s; }
.f-col ul li a:hover { color: var(--blue-link); }

.f-sponsors {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}
.f-sponsor-main { display: flex; align-items: center; gap: 6px; font-weight: 900; font-size: 0.95rem; }
.f-proud-text { font-size: 9px; font-weight: 700; color: var(--text-3); letter-spacing: 0.5px; }

.f-badge {
  font-size: 11px; font-weight: 800;
  padding: 4px 10px; border-radius: 3px;
  background: #1e293b; color: #fff;
}
.f-18 { background: #dc2626; font-size: 12px; }

.f-app-dl {
  display: flex; align-items: center; gap: 8px;
  background: #1e293b; color: #fff;
  padding: 6px 12px; border-radius: 5px; font-size: 11px;
}

.f-social { display: flex; justify-content: center; gap: 12px; margin-bottom: 12px; }
.f-soc-link {
  width: 30px; height: 30px; border-radius: 50%;
  background: #f1f5f9; border: 1px solid var(--border);
  color: var(--text-3); font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.14s;
}
.f-soc-link:hover { background: var(--blue-link); color: #fff; border-color: var(--blue-link); }

.f-gamble {
  text-align: center; font-size: 11.5px; color: var(--text-3);
  display: flex; align-items: center; justify-content: center; gap: 5px;
  margin-bottom: 12px;
}

.f-seo-text {
  max-width: 780px; margin: 0 auto 14px;
  font-size: 11px; color: var(--text-4); line-height: 1.65; text-align: center;
}

.f-copy {
  text-align: center; font-size: 11px; color: var(--text-4);
  padding-top: 12px; border-top: 1px solid #f1f5f9;
}


/* ==========================================================================
   MODALS
   ========================================================================== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  opacity: 0; pointer-events: none;
  transition: opacity 0.22s ease;
}
.modal-overlay.is-open { opacity: 1; pointer-events: auto; }

.modal-dialog {
  background: var(--white);
  border-radius: 8px;
  width: 100%; max-width: 380px;
  padding: 22px 24px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  transform: translateY(-14px);
  transition: transform 0.22s ease;
}
.modal-overlay.is-open .modal-dialog { transform: translateY(0); }

.modal-top-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.modal-brand { display: flex; align-items: center; gap: 6px; font-size: 1.1rem; font-weight: 900; color: var(--text); }
.modal-logo-image { display: block; width: 112px; height: auto; }

.modal-x-btn { color: var(--text-4); font-size: 1.1rem; padding: 3px; border-radius: 3px; transition: all 0.14s; }
.modal-x-btn:hover { color: #ef4444; background: #fef2f2; }

.modal-title { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 16px; }

.modal-form {}

.mf-field { margin-bottom: 12px; }
.mf-field label { display: block; font-size: 11px; font-weight: 600; color: var(--text-3); margin-bottom: 5px; }
.mf-field input {
  width: 100%; padding: 9px 12px;
  border: 1px solid var(--border); border-radius: 4px;
  font-size: 13px; color: var(--text); background: #f8fafc;
  outline: none; transition: border-color 0.2s, background 0.2s;
}
.mf-field input:focus { border-color: var(--blue-link); background: var(--white); box-shadow: 0 0 0 2px rgba(37,99,235,0.1); }
.mf-optional { color: var(--text-4); font-weight: 400; }

.mf-row-between { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; margin-bottom: 14px; }
.mf-check-lbl { color: var(--text-3); display: flex; align-items: center; gap: 4px; cursor: pointer; }
.mf-link { color: var(--blue-link); }
.mf-link:hover { text-decoration: underline; }

.mf-submit {
  width: 100%; padding: 10px;
  background: #1e293b; color: #fff;
  border-radius: 4px; font-size: 13px; font-weight: 700;
  margin-bottom: 12px; transition: background 0.15s; letter-spacing: 0.2px;
}
.mf-submit:hover { background: #334155; }
.mf-submit-signup { background: var(--orange); }
.mf-submit-signup:hover { background: #ea6c0a; }

.mf-switch-text { text-align: center; font-size: 12px; color: var(--text-3); }
.mf-switch-text a { color: var(--blue-link); font-weight: 600; }
.mf-switch-text a:hover { text-decoration: underline; }


/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* --- Tablet --- */
@media (max-width: 1100px) {
  .lh-mkt-lbl { display: none; }
}

@media (max-width: 820px) {
  :root { --oc-w: 58px; }
  .oc { width: 58px; font-size: 12px; }
  .tr-team { font-size: 11.5px; }
  .f-links-grid { grid-template-columns: repeat(3, 1fr); }
}


/* ==========================================================================
   MOBILE  (≤ 680px) — matches img-2 layout exactly
   ========================================================================== */
@media (max-width: 680px) {

  /* ---- Variables ---- */
  :root {
    --total-hdr: 52px;  /* slimmer header on mobile */
  }

  /* ---- Header: Sign up turns BLUE on mobile ---- */
  .btn-hsignup {
    background: #1565c0;     /* Blue on mobile */
    padding: 6px 16px;
  }
  .btn-hsignup:hover { background: #0d47a1; }
  .btn-hlogin { padding: 6px 16px; }

  /* Hamburger visible on mobile */
  .mob-menu-btn { display: block; }

  /* ---- Hide desktop-only elements ---- */
  .ticker-bar       { display: none; }
  .icon-sidebar     { display: none; }
  .sport-sidebar    { display: none; }
  .right-panel      { display: none; }
  .main-toolbar     { display: none; }
  .seo-top-bar      { display: none; }
  .today-header-row { display: none; }
  .pdf-btn          { display: none; }
  /* Hide Yes/No columns on mobile (exchange shows Back/Lay only) */
  .oc-yes, .oc-no, .lbl-yes, .lbl-no { display: none; }
  .oc-lay { margin-right: 0; }   /* remove extra gap when Yes/No hidden */

  /* ---- Page layout: full-width, no sidebars ---- */
  .page-layout {
    display: block;
    padding-bottom: 60px;        /* space for bottom nav */
  }
  .main-area { width: 100%; }

  /* ---- Exchange wrap: tighter padding ---- */
  .exchange-wrap { padding: 0; }

  /* ---- League blocks: full-width ---- */
  .league-block { border-radius: 0; border-left: none; border-right: none; margin-bottom: 8px; }

  /* ---- Match layout simplification ---- */
  .lh-mkt-lbl { display: none; }
  .time-row { padding: 6px 12px; }
  .team-row { padding: 5px 12px; min-height: 44px; }

  /* ---- Footer ---- */
  .f-links-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { padding: 18px 16px 12px; }

  /* ==== MOBILE PROMO BANNER ==== */
  .mob-promo-banner {
    display: block !important;    /* shown only on mobile */
    width: 100%;
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 40%, #1976d2 70%, #0288d1 100%);
    position: relative;
    overflow: hidden;
    min-height: 130px;
  }

  /* ==== MOBILE SEARCH BAR ==== */
  .mob-search-bar {
    display: flex !important;
    align-items: center;
    background: #f97316;          /* orange bg */
    padding: 8px 10px;
    gap: 8px;
  }

  /* ==== MOBILE FILTER TABS (Fancy / Fixed) ==== */
  .mob-filter-tabs {
    display: flex !important;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid var(--border);
  }

  /* ==== MOBILE CATEGORY PILLS (In-Play / Today / Early …) ==== */
  .mob-cat-tabs {
    display: flex !important;
    align-items: center;
    background: #fff;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 0;
  }
  .mob-cat-tabs::-webkit-scrollbar { display: none; }

  /* ==== MOBILE BOTTOM NAV ==== */
  .mob-bottom-nav {
    display: flex !important;
  }
}

/* ========================================================
   MOBILE ELEMENTS — hidden by default, shown on mobile only
   ======================================================== */

/* Hide on desktop */
.mob-promo-banner,
.mob-search-bar,
.mob-filter-tabs,
.mob-cat-tabs,
.mob-bottom-nav {
  display: none;
}

/* ------ Mobile Promotional Banner ------ */
.mob-promo-banner {
  width: 100%;
  min-height: 130px;
  background: linear-gradient(135deg, #0d47a1 0%, #1565c0 40%, #1976d2 70%, #0288d1 100%);
  position: relative;
  overflow: hidden;
}
.mob-banner-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 100%;
  min-height: 130px;
  padding: 14px 16px 14px 12px;
  gap: 10px;
}
.mob-banner-img {
  flex-shrink: 0;
  width: 110px;
  display: flex;
  align-items: flex-end;
}
/* CSS-art players silhouette */
.mob-banner-img::before {
  content: "";
  display: block;
  width: 110px;
  height: 100px;
  background:
    radial-gradient(circle 18px at 22px 18px, #fbbf24 0%, #f59e0b 100%),
    radial-gradient(circle 18px at 58px 16px, #fbbf24 0%, #f59e0b 100%),
    radial-gradient(circle 18px at 90px 18px, #fbbf24 0%, #f59e0b 100%);
  background-repeat: no-repeat;
  position: relative;
}
.mob-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.mob-banner-league {
  font-size: 9px; font-weight: 800;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.5px; text-transform: uppercase;
}
.mob-banner-title {
  font-size: 13px; font-weight: 900;
  color: #ffffff; line-height: 1.25;
  text-transform: uppercase;
}
.mob-banner-sub {
  font-size: 9.5px; font-weight: 600;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.3px;
}
.mob-banner-amount {
  font-size: 22px; font-weight: 900;
  color: #fcd34d;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.mob-banner-dots {
  position: absolute;
  bottom: 8px; left: 0; right: 0;
  display: flex; justify-content: center; gap: 5px;
}
.mob-banner-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.mob-banner-dot.active { background: #fff; }

/* ------ Mobile Search Bar ------ */
.mob-search-bar {
  display: flex;
  align-items: center;
  background: #f97316;
  padding: 8px 10px;
  gap: 8px;
}
.mob-search-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mob-search-icon i { color: #fff; font-size: 1rem; }
.mob-search-field {
  flex: 1;
  background: #fff;
  border: none;
  border-radius: 4px;
  padding: 8px 10px;
  font-size: 13px;
  color: #94a3b8;
  outline: none;
}
.mob-my-bets {
  background: #fff;
  color: #f97316;
  border: 2px solid #fff;
  border-radius: 4px;
  padding: 6px 10px;
  font-size: 11px; font-weight: 800;
  line-height: 1.1;
  text-align: center;
  flex-shrink: 0;
}
.mob-search-gear {
  color: #fff; font-size: 1rem;
  flex-shrink: 0;
  background: rgba(255,255,255,0.2);
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ------ Mobile Filter Tabs (Fancy | Fixed | icons) ------ */
.mob-filter-tabs {
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 4px;
}
.mft-tab {
  flex: 1;
  padding: 10px 0;
  text-align: center;
  font-size: 13px; font-weight: 700;
  color: var(--text-3);
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.15s;
}
.mft-tab.active {
  color: #fff;
  background: var(--orange);
  border-radius: 4px;
  margin: 4px;
  padding: 7px 0;
  border-bottom: 2px solid transparent;
  flex: 0 0 auto;
  padding-left: 28px; padding-right: 28px;
}
.mft-icon {
  padding: 10px 14px;
  font-size: 1rem; color: var(--text-4);
  cursor: pointer;
}

/* ------ Mobile Category Tabs (In-Play | Today | Early …) ------ */
.mob-cat-tabs {
  display: flex;
  align-items: center;
  background: #fff;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
  padding: 8px 12px;
  gap: 8px;
  scrollbar-width: none;
}
.mob-cat-tabs::-webkit-scrollbar { display: none; }

.mct-pill {
  padding: 5px 14px;
  border-radius: 18px;
  font-size: 13px; font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s;
  border: 1px solid transparent;
  flex-shrink: 0;
}
.mct-pill:hover { background: #f1f5f9; }
.mct-pill.active {
  background: var(--orange);
  color: #fff;
  border-color: var(--orange);
}
.mct-more {
  padding: 5px 8px;
  font-size: 13px; color: var(--text-3);
  flex-shrink: 0;
}

/* ------ Mobile Bottom Navigation Bar ------ */
.mob-bottom-nav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 1000;
  background: #fff;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  height: 56px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.09);
}
.mbn-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  cursor: pointer;
  color: var(--text-4);
  font-size: 10px; font-weight: 600;
  transition: color 0.15s;
  text-decoration: none;
}
.mbn-item i { font-size: 1.15rem; }
.mbn-item.active { color: var(--orange); }
.mbn-item:hover { color: var(--orange); }


/* ======================================================================
   REFERENCE DESKTOP/TABLET THEME (matches the supplied indibet.in view)
   This layer is intentionally scoped above the mobile breakpoint.
   ====================================================================== */
@media (min-width: 681px) {
  :root {
    --hdr-h: 36px;
    --total-hdr: 36px;
    --icon-nav-w: 99px;
    --sport-nav-w: 89px;
    --page-bg: #eef2f6;
    --border: #dce5ed;
    --orange: #f7941d;
    --orange-light: #fff4e5;
    --blue-link: #379fff;
    --text: #263746;
    --text-2: #536372;
    --text-3: #7b8995;
    --text-4: #a5b0b9;
    --back-bg: #9bd3f7;
    --lay-bg: #f7bdca;
    --oc-w: 78px;
    --count-w: 32px;
  }

  /* Reference header: logo block, blue ticker, and compact auth buttons. */
  body {
    font-family: Inter, Arial, sans-serif;
    font-size: 10px;
    background: #eef2f6;
  }
  .header {
    height: var(--hdr-h);
    border-bottom: 0;
    box-shadow: none;
  }
  .header-bar {
    height: var(--hdr-h);
    padding: 0 8px 0 10px;
    gap: 8px;
  }
  .hbar-left { width: 90px; gap: 3px; }
  .logo-link { gap: 3px; }
  .logo-svg { width: 18px; height: 18px; }
  .logo-image { width: 82px; }
  .logo-word { font-size: 10px; letter-spacing: 0; color: #3d4a55; }
  .ticker-bar { height: 20px; background: #fff; }
  .ticker-inner { animation-duration: 120s; }
  .tk-seg, .tk-div { font-size: 6px; padding: 0 12px; color: #379fff; }
  .hbar-right { gap: 4px; }
  .btn-hlogin, .btn-hsignup {
    min-width: 35px;
    padding: 3px 7px;
    border-radius: 2px;
    font-size: 7px;
    line-height: 1.1;
  }
  .btn-hlogin { background: #222b33; }
  .btn-hsignup { background: #379fff; }

  /* Reference navigation: pale shell with compact outlined icon links. */
  .page-layout { min-height: 0; }
  .icon-sidebar {
    width: var(--icon-nav-w);
    height: auto;
    min-height: 357px;
    position: relative;
    top: auto;
    padding: 8px 8px 0;
    background: #f3f7fb;
    border-right: 1px solid #e0e8ef;
  }
  .is-item {
    flex-direction: row;
    justify-content: flex-start;
    gap: 6px;
    min-height: 22px;
    padding: 4px 7px;
    margin-bottom: 4px;
    border: 1px solid #8fc8fa;
    border-radius: 2px;
    color: #379fff;
    background: #fff;
  }
  .is-item > i:first-of-type { font-size: 8px; width: 10px; }
  .is-item > span { font-size: 7px; line-height: 1; }
  .is-item:hover { color: #1688e8; background: #f5fbff; }
  .is-item.is-active { color: #379fff; border-color: #8fc8fa; background: #fff; }
  .is-sub-arrow { display: none !important; }

  .sport-sidebar {
    width: var(--sport-nav-w);
    height: auto;
    min-height: 357px;
    position: relative;
    top: auto;
    background: #fff;
  }
  .ss-header { padding: 7px 5px 4px; background: #fff; border-bottom: 0; }
  .ss-collapse-btn {
    width: 100%;
    justify-content: center;
    padding: 2px 3px;
    border: 0;
    font-size: 6px;
    color: #909da8;
    background: transparent;
  }
  .ss-collapse-btn i { font-size: 6px; }
  .ss-sport { gap: 3px; padding: 5px 5px 5px 6px; min-height: 21px; }
  .ss-sport-icon { width: 10px; font-size: 8px; }
  .ss-sport-label { font-size: 7px; }
  .ss-badge { min-width: 14px; padding: 1px 3px; font-size: 6px; }
  .ss-sport-active { padding-left: 3px; border-left-width: 3px; }
  .ss-sub { gap: 3px; padding: 5px 4px 5px 14px; font-size: 7px; }
  .ss-sub > i { width: 9px; font-size: 7px; }
  .ss-sub > em { font-size: 6px; }
  .ss-today-badge { padding: 1px 3px; font-size: 6px; }

  /* Reference content: blue strip followed by dense white exchange rows. */
  .mob-promo-banner,
  .mob-search-bar,
  .mob-filter-tabs,
  .mob-cat-tabs,
  .mob-bottom-nav { display: none !important; }
  .main-toolbar { display: none; }
  .seo-top-bar {
    margin: 0 4px 0 -89px;
    width: calc(100% + 85px);
    padding: 3px 8px;
    border-radius: 3px;
    background: #379fff;
    font-size: 6px;
    line-height: 1;
  }
  .exchange-wrap { padding: 3px 4px 0; }
  .today-header-row {
    padding: 4px 7px;
    border-radius: 2px 2px 0 0;
    gap: 4px;
  }
  .today-label { font-size: 9px; }
  .filter-bar { gap: 3px; }
  .fpill, .f-time-league, .f-icon-btn { font-size: 7px; }
  .fpill { padding: 2px 5px; }
  .f-icon-btn { padding: 2px 4px; }
  .league-block { margin-bottom: 3px; border-radius: 2px; }
  .league-head { padding: 4px 6px; }
  .lh-left { gap: 4px; font-size: 8px; }
  .lh-sport-icon, .lh-mkt-lbl { font-size: 7px; }
  .time-row { padding: 3px 6px; }
  .tr-date, .tr-badge { font-size: 7px; }
  .oc-lbl { font-size: 7px; width: var(--oc-w); }
  .team-row { min-height: 24px; padding: 2px 6px; }
  .tr-team { gap: 4px; font-size: 8px; }
  .team-dot, .team-flag-india, .team-flag-bangladesh { width: 10px; height: 10px; }
  .oc { width: var(--oc-w); height: 16px; font-size: 8px; border-radius: 2px; }
  .tr-mkt-count { width: var(--count-w); font-size: 6px; margin-left: 3px; }

  /* Reference SEO band and footer are quiet, light, and highly compressed. */
  .seo-content-bar { margin: 8px 4px 0; padding: 4px 7px; border-radius: 3px 3px 0 0; font-size: 7px; }
  .seo-text-block { margin: 0 4px 7px; padding: 6px 7px; font-size: 6px; line-height: 1.35; }
  .seo-text-block p { margin-bottom: 4px; }
  /* Reference keeps the first SEO question visible and hides the FAQ list. */
  .seo-expandable { display: block; max-height: 22px; }
  .seo-expandable h2:first-child {
    margin: 4px -7px 0;
    padding: 3px 7px;
    background: #e9eef2;
    font-size: 6px;
  }
  .seo-toggle-row { padding: 4px 0 2px; }
  .seo-toggle-btn { padding: 2px 8px; border: 0; font-size: 6px; }
  .faq-wrap { display: none; }
  .faq-entry { margin-bottom: 2px; }
  .faq-q { padding: 4px 7px; font-size: 7px; }
  .faq-a { font-size: 7px; }
  .right-panel { width: 24px; padding-top: 10px; gap: 5px; background: #f3f7fb; }
  .rp-btn { width: 16px; height: 16px; font-size: 7px; }
  .site-footer { margin-top: 0; background: #eef2f6; border-top: 0; }
  .footer-inner { padding: 16px 18px 10px; }
  .f-logo-row { margin-bottom: 12px; }
  .f-logo-word { font-size: 10px; }
  .footer-logo-image { width: 72px; }
  .f-links-grid { max-width: 520px; gap: 10px; margin-bottom: 13px; }
  .f-col h4 { font-size: 7px; margin-bottom: 5px; }
  .f-col ul { gap: 3px; }
  .f-col ul li a { font-size: 6px; }
  .f-sponsors { gap: 8px; padding: 8px 0; margin-bottom: 8px; }
  .f-sponsor-main, .f-app-dl { font-size: 7px; }
  .f-proud-text, .f-gamble, .f-seo-text, .f-copy { font-size: 6px; }
  .f-badge { padding: 2px 5px; font-size: 7px; }
  .f-social { gap: 6px; margin-bottom: 7px; }
  .f-soc-link { width: 18px; height: 18px; font-size: 8px; }
  .f-gamble { margin-bottom: 7px; }
  .f-seo-text { max-width: 500px; margin-bottom: 7px; }
  .f-copy { padding-top: 6px; }
  .pdf-btn { width: 18px; height: 18px; font-size: 7px; }
  .pdf-top { top: 62px; }
  .pdf-bot { top: 170px; }
  .chat-fab { width: 24px; height: 24px; right: 6px; bottom: 6px; font-size: 11px; }
}

/* Wide desktop uses the live site's broader left navigation proportions. */
@media (min-width: 1200px) {
  :root {
    --hdr-h: 76px;
    --total-hdr: 76px;
    --icon-nav-w: 215px;
    --sport-nav-w: 205px;
    --oc-w: 122px;
    --count-w: 32px;
  }

  /* Wide desktop follows the live site's spacious header and normal type scale. */
  body { font-size: 14px; }
  .header { height: var(--hdr-h); }
  .header-bar { height: var(--hdr-h); padding: 0 40px 0 20px; gap: 24px; }
  .hbar-left { width: 250px; gap: 12px; }
  .mob-menu-btn { display: block; color: #379fff; font-size: 18px; }
  .logo-svg { width: 32px; height: 32px; }
  .logo-image { width: 150px; }
  .logo-link { gap: 7px; }
  .logo-word { font-size: 20px; letter-spacing: .4px; }
  .ticker-bar { height: 76px; }
  .tk-seg, .tk-div { font-size: 12px; padding: 0 40px; }
  .btn-hlogin, .btn-hsignup { min-width: 80px; padding: 0; height: 36px; font-size: 12px; border-radius: 4px; }

  .icon-sidebar {
    width: var(--icon-nav-w);
    min-height: 650px;
    padding: 10px 10px 0;
    background: #fff;
    border-right: 1px solid #e2e8f0;
  }
  .is-item {
    min-height: 40px;
    margin-bottom: 8px;
    padding: 8px 12px;
    gap: 10px;
    border-color: #9dcdf5;
    border-radius: 6px;
  }
  .is-item > i:first-of-type { width: 16px; font-size: 14px; }
  .is-item > span { font-size: 14px; }

  .sport-sidebar {
    width: var(--sport-nav-w);
    min-height: 650px;
  }
  .ss-header { padding: 10px 12px 8px; }
  .ss-collapse-btn { padding: 5px 10px; font-size: 12px; }
  .ss-sport { gap: 8px; padding: 9px 12px; min-height: 40px; }
  .ss-sport-icon { width: 16px; font-size: 14px; }
  .ss-sport-label { font-size: 14px; }
  .ss-badge { min-width: 20px; padding: 1px 5px; font-size: 10px; }
  .ss-sport-active { padding-left: 9px; }
  .ss-sub { gap: 7px; padding: 8px 10px 8px 24px; font-size: 13px; }
  .ss-sub > i { width: 14px; font-size: 12px; }
  .ss-sub > em { font-size: 10px; }

  .main-toolbar { display: flex; padding: 10px 14px; }
  .mt-search { width: 280px; padding: 8px 12px; }
  .mt-search input, .mt-link { font-size: 13px; }
  .seo-top-bar { width: auto; margin: 4px 12px 0; padding: 7px 12px; font-size: 12px; }
  .exchange-wrap { padding: 10px 12px; }
  .today-header-row { padding: 10px 14px; }
  .today-label { font-size: 18px; }
  .fpill, .f-time-league, .f-icon-btn { font-size: 13px; }
  .fpill { padding: 5px 10px; }
  .league-block { margin-bottom: 8px; }
  .league-head { padding: 9px 12px; }
  .lh-left { font-size: 14px; }
  .lh-sport-icon, .lh-mkt-lbl { font-size: 12px; }
  .time-row { padding: 7px 12px; }
  .tr-date, .tr-badge, .oc-lbl { font-size: 12px; }
  .team-row { min-height: 42px; padding: 3px 12px; }
  .tr-team { gap: 7px; font-size: 14px; }
  .team-dot, .team-flag-india, .team-flag-bangladesh { width: 16px; height: 16px; }
  .oc { width: var(--oc-w); height: 36px; font-size: 14px; }
  .tr-mkt-count { font-size: 11px; }
  .seo-content-bar { margin: 0 12px; padding: 8px 14px; font-size: 12px; }
  .seo-text-block { margin: 0 12px 12px; padding: 14px; font-size: 13px; line-height: 1.6; }
  .seo-expandable { max-height: 0; }
  .seo-expandable h2:first-child { margin: 14px 0 6px; padding: 0; background: transparent; font-size: 14px; }
  .seo-toggle-row { padding: 10px 0 6px; }
  .faq-wrap { display: block; }
  .right-panel { width: 30px; }
  .site-footer { background: #fff; }
  .footer-inner { padding: 28px 40px 16px; }

  /* Reference SEO section: broad blue title band, white copy panel, one visible question. */
  .seo-content-bar {
    margin: 0 4px;
    padding: 9px 12px;
    border-radius: 8px 8px 0 0;
    font-size: 14px;
    line-height: 1.2;
  }
  .seo-text-block {
    margin: 0 4px 0;
    padding: 12px 10px 0;
    border-radius: 0 0 8px 8px;
    font-size: 13px;
    line-height: 1.45;
  }
  .seo-text-block p { margin-bottom: 12px; }
  .seo-expandable {
    display: block;
    max-height: 28px;
    overflow: hidden;
  }
  .seo-expandable h2:first-child {
    margin: 0 -10px;
    padding: 5px 10px;
    background: #e4e9ed;
    font-size: 14px;
    line-height: 1.2;
  }
  .seo-expandable h2:not(:first-child),
  .seo-expandable h2:first-child + p,
  .seo-expandable h3,
  .seo-expandable h3 ~ p { display: none; }
  .seo-toggle-row { padding: 12px 0 14px; }
  .seo-toggle-btn { border: 0; padding: 0; font-size: 13px; }
  .faq-wrap { display: none; }

  /* Reference footer: pale gray field, centered wordmark, readable five-column links. */
  .site-footer {
    background: #f1f2f6;
    border-top: 0;
  }
  .footer-inner { padding: 32px 40px 16px; }
  .f-logo-row { margin-bottom: 30px; }
  .footer-logo-image { width: 122px; }
  .f-links-grid {
    max-width: 700px;
    gap: 34px;
    margin-bottom: 34px;
  }
  .f-col h4 {
    margin-bottom: 12px;
    color: #a3adbd;
    font-size: 14px;
    font-weight: 500;
  }
  .f-col ul { gap: 8px; }
  .f-col ul li a { color: #111827; font-size: 14px; }
  .f-sponsors { padding: 14px 0; margin-bottom: 16px; }
  .f-sponsors {
    border-top: 0;
    border-bottom: 0;
  }
  .f-social { gap: 14px; margin-bottom: 24px; }
  .f-soc-link {
    width: 40px;
    height: 40px;
    font-size: 18px;
    background: #fff;
    border: 0;
    color: #379fff;
  }
  .f-gamble {
    margin-bottom: 28px;
    font-size: 14px;
    color: #aeb8ca;
  }
  .f-seo-text { max-width: 850px; font-size: 11px; line-height: 1.5; }
  .f-copy { font-size: 11px; }
}

/* Mid-tablet follows the live site's readable 900px+ layout. */
@media (min-width: 900px) and (max-width: 1199px) {
  :root {
    --hdr-h: 76px;
    --total-hdr: 76px;
    --oc-w: 92px;
  }
  body { font-size: 14px; }
  .header { height: var(--hdr-h); }
  .header-bar { height: var(--hdr-h); padding: 0 20px; gap: 14px; }
  .hbar-left { width: 150px; gap: 8px; }
  .mob-menu-btn { display: block; color: #379fff; font-size: 16px; }
  .logo-svg { width: 28px; height: 28px; }
  .logo-image { width: 124px; }
  .logo-word { font-size: 17px; }
  .ticker-bar { height: 76px; }
  .tk-seg, .tk-div { font-size: 9px; padding: 0 22px; }
  .btn-hlogin, .btn-hsignup { min-width: 58px; height: 30px; padding: 0 10px; font-size: 10px; }
  .icon-sidebar { min-height: 520px; padding: 8px 6px; }
  .is-item { min-height: 30px; margin-bottom: 5px; padding: 6px 8px; gap: 7px; border-radius: 4px; }
  .is-item > i:first-of-type { width: 13px; font-size: 11px; }
  .is-item > span { font-size: 10px; }
  .sport-sidebar { min-height: 520px; }
  .ss-header { padding: 7px 8px 5px; }
  .ss-collapse-btn { padding: 3px 6px; font-size: 10px; }
  .ss-sport { min-height: 30px; padding: 7px 8px; gap: 5px; }
  .ss-sport-icon { width: 13px; font-size: 11px; }
  .ss-sport-label { font-size: 10px; }
  .ss-sub { padding: 6px 7px 6px 18px; font-size: 10px; }
  .main-toolbar { display: flex; padding: 7px 10px; }
  .mt-search { width: 220px; padding: 6px 9px; }
  .mt-search input, .mt-link { font-size: 10px; }
  .seo-top-bar { width: auto; margin: 4px 7px 0; padding: 5px 9px; font-size: 9px; }
  .exchange-wrap { padding: 7px; }
  .today-header-row { padding: 7px 10px; }
  .today-label { font-size: 14px; }
  .fpill, .f-time-league, .f-icon-btn { font-size: 10px; }
  .fpill { padding: 3px 7px; }
  .league-head { padding: 6px 8px; }
  .lh-left { font-size: 11px; }
  .lh-sport-icon, .lh-mkt-lbl { font-size: 9px; }
  .time-row { padding: 5px 8px; }
  .tr-date, .tr-badge, .oc-lbl { font-size: 9px; }
  .team-row { min-height: 32px; padding: 2px 8px; }
  .tr-team { gap: 5px; font-size: 11px; }
  .team-dot, .team-flag-india, .team-flag-bangladesh { width: 13px; height: 13px; }
  .oc { width: var(--oc-w); height: 26px; font-size: 11px; }
  .tr-mkt-count { font-size: 9px; }
  .seo-content-bar { margin: 0 7px; padding: 6px 9px; font-size: 9px; }
  .seo-text-block { margin: 0 7px 9px; padding: 10px; font-size: 10px; line-height: 1.5; }
  .seo-expandable { max-height: 0; }
  .seo-expandable h2:first-child { margin: 10px 0 5px; padding: 0; background: transparent; font-size: 11px; }
  .faq-wrap { display: block; }
  .f-links-grid { max-width: 700px; }
  .f-col h4 { font-size: 10px; }
  .f-col ul li a { font-size: 9px; }
}
}
