/* ==========================================================
   MFIT Sports Portal Design System v2  —  "Stadium" (ESPN-style)
   Ink black + broadcast red + gold highlight. No green.
   Light + Dark ([data-theme=dark]) — one token set for all pages
   ========================================================== */
:root{
  --sp-brand: var(--tt_primary_color, #d50a0a);
  --sp-red: #d50a0a;
  --sp-red-2: #a30000;
  --sp-ink: #0d1117;
  --sp-ink-2: #1a2130;
  --sp-ink-3: #2a3346;
  --sp-gold: #ffb800;
  --sp-blue: #1f6feb;
  --sp-live: #e10600;
  /* legacy names used in markup (kept, re-mapped away from green) */
  --sp-brand-2: var(--sp-ink);
  --sp-pitch: var(--sp-ink);
  --sp-night: var(--sp-ink);
  --sp-lime: var(--sp-gold);

  --sp-bg: #f3f4f6;
  --sp-surface: #ffffff;
  --sp-surface-2: #f6f7f9;
  --sp-surface-3: #eceef2;
  --sp-text: #111827;
  --sp-muted: #5b6474;
  --sp-line: #e3e6eb;
  --sp-shadow: 0 1px 2px rgba(13,17,23,.06), 0 6px 18px rgba(13,17,23,.06);
  --sp-shadow-lg: 0 14px 34px rgba(13,17,23,.16);
  --sp-radius: 12px;
  --sp-bnav-h: 62px;
  --sp-num: 'Oswald','Barlow Condensed','Roboto Condensed',system-ui,sans-serif;
  --sp-stripe: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 10px, transparent 10px 20px);
}
[data-theme=dark]{
  color-scheme: dark;
  --sp-bg: #0a0d13;
  --sp-surface: #121722;
  --sp-surface-2: #171d2a;
  --sp-surface-3: #1f2636;
  --sp-text: #e8ecf3;
  --sp-muted: #98a2b3;
  --sp-line: #252d3d;
  --sp-ink: #05070b;
  --sp-ink-2: #141a26;
  --sp-shadow: 0 1px 2px rgba(0,0,0,.4), 0 6px 18px rgba(0,0,0,.35);
  --sp-shadow-lg: 0 14px 34px rgba(0,0,0,.55);
}

/* ---------- Global polish ---------- */
html{ -webkit-text-size-adjust:100%; }
body{ overflow-x:hidden; }
img{ max-width:100%; }
a:focus-visible,button:focus-visible{ outline:2px solid var(--sp-brand); outline-offset:2px; }
.sp-num{ font-family:var(--sp-num); letter-spacing:.3px; }

/* Smooth theme switch (class added by JS for 400ms only) */
html.sp-theme-anim, html.sp-theme-anim *{ transition:background-color .35s ease, color .35s ease, border-color .35s ease, fill .35s ease !important; }

/* ==========================================================
   DARK MODE — refined, site-wide
   ========================================================== */
[data-theme=dark] body{ background:var(--sp-bg) !important; color:var(--sp-text); }
[data-theme=dark] section,[data-theme=dark] .tt-white,[data-theme=dark] .bg-white,[data-theme=dark] .bg-light{ background-color:transparent; }
[data-theme=dark] .bg-white,[data-theme=dark] .tt-white,[data-theme=dark] .bg-light,[data-theme=dark] .card,[data-theme=dark] .modal-content,[data-theme=dark] .dropdown-menu,[data-theme=dark] .list-group-item{ background-color:var(--sp-surface) !important; color:var(--sp-text); border-color:var(--sp-line) !important; }
[data-theme=dark] .tt-gray,[data-theme=dark] .bg-body-tertiary,[data-theme=dark] .bg-secondary-subtle{ background-color:var(--sp-surface-2) !important; }
[data-theme=dark] .text-dark,[data-theme=dark] .tt-text,[data-theme=dark] h1,[data-theme=dark] h2,[data-theme=dark] h3,[data-theme=dark] h4,[data-theme=dark] h5,[data-theme=dark] h6{ color:var(--sp-text); }
[data-theme=dark] .text-dark{ color:var(--sp-text) !important; }
[data-theme=dark] .text-muted,[data-theme=dark] .text-secondary,[data-theme=dark] small{ color:var(--sp-muted) !important; }
[data-theme=dark] .border,[data-theme=dark] .border-top,[data-theme=dark] .border-bottom,[data-theme=dark] .border-start,[data-theme=dark] .border-end,[data-theme=dark] hr{ border-color:var(--sp-line) !important; }
[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea,[data-theme=dark] .form-control,[data-theme=dark] .form-select{ background-color:var(--sp-surface-2) !important; color:var(--sp-text) !important; border-color:var(--sp-line) !important; }
[data-theme=dark] input::placeholder,[data-theme=dark] textarea::placeholder{ color:var(--sp-muted) !important; }
[data-theme=dark] table,[data-theme=dark] .table{ color:var(--sp-text); --bs-table-bg:transparent; --bs-table-color:var(--sp-text); border-color:var(--sp-line); }
[data-theme=dark] .story-details,[data-theme=dark] .story-details p{ color:#d9dfe9; }
[data-theme=dark] .story-details a{ color:#ff6b6b; }
[data-theme=dark] img:not([src*=".svg"]){ filter:brightness(.94); }
[data-theme=dark] ::selection{ background:var(--sp-red); color:#fff; }
[data-theme=dark] ::-webkit-scrollbar-thumb{ background:#2c3546; }
/* Hard-coded section backgrounds on home → themed */
section[style*="#f1f8f3"]{ background-color:var(--sp-surface-2) !important; }
section[style*="#ffffff"],section[style*="#fff;"]{ background-color:var(--sp-surface) !important; }

/* ---------- Section heading (scoreboard style) ---------- */
.sp-sec-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin:0 0 12px; border-bottom:2px solid var(--sp-line); position:relative; }
.sp-sec-head::after{ content:""; position:absolute; left:0; bottom:-2px; width:84px; height:2px; background:var(--sp-red); }
.sp-sec-title{ display:flex; align-items:center; gap:9px; margin:0; padding:0 0 8px; font-size:20px; font-weight:800; color:var(--sp-text); }
.sp-sec-title i{ color:var(--sp-red) !important; }
.sp-sec-more{ font-size:13px; font-weight:800; color:var(--sp-red); text-decoration:none; white-space:nowrap; padding-bottom:8px; }
.sp-sec-more:hover{ text-decoration:underline; color:var(--sp-red-2); }

/* ---------- News cards ---------- */
.sp-card-n{ display:flex; flex-direction:column; height:100%; background:var(--sp-surface); border:1px solid var(--sp-line); border-radius:var(--sp-radius); overflow:hidden; box-shadow:var(--sp-shadow); text-decoration:none; color:var(--sp-text); transition:transform .2s, box-shadow .2s; }
.sp-card-n:hover{ transform:translateY(-3px); box-shadow:var(--sp-shadow-lg); color:var(--sp-text); }
.sp-card-n .sp-thumb{ position:relative; aspect-ratio:16/9; overflow:hidden; background:var(--sp-surface-2); }
.sp-card-n .sp-thumb img{ width:100%; height:100%; object-fit:cover; transition:transform .4s; }
.sp-card-n:hover .sp-thumb img{ transform:scale(1.05); }
.sp-card-n .sp-body{ padding:11px 13px 13px; display:flex; flex-direction:column; gap:6px; flex:1; }
.sp-card-n h3{ font-size:16px; line-height:1.45; font-weight:700; margin:0; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.sp-card-n .sp-time{ margin-top:auto; font-size:12px; color:var(--sp-muted); }
.sp-chip{ display:inline-block; font-size:11px; font-weight:800; padding:3px 9px; border-radius:4px; background:var(--sp-red); color:#fff; letter-spacing:.2px; }
.sp-chip.green{ background:var(--sp-ink); }
.sp-thumb .sp-chip{ position:absolute; left:10px; top:10px; }
.sp-rank{ position:absolute; right:10px; bottom:6px; font-family:var(--sp-num); font-size:36px; font-weight:700; line-height:1; color:#fff; text-shadow:0 2px 10px rgba(0,0,0,.6); }

/* Featured (lead) card */
.sp-lead{ position:relative; display:block; border-radius:14px; overflow:hidden; min-height:340px; color:#fff; text-decoration:none; box-shadow:var(--sp-shadow-lg); background:var(--sp-ink); }
.sp-lead img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .5s; }
.sp-lead:hover img{ transform:scale(1.04); }
.sp-lead::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,transparent 30%,rgba(5,7,11,.94)); }
.sp-lead .sp-lead-in{ position:absolute; left:0; right:0; bottom:0; z-index:2; padding:18px; border-left:4px solid var(--sp-red); }
.sp-lead h2{ font-size:26px; line-height:1.35; font-weight:800; margin:8px 0 6px; color:#fff; }
.sp-lead p{ margin:0; font-size:13px; color:#d0d6e0; }
.sp-lead:hover{ color:#fff; }

/* List item */
.sp-li{ display:flex; gap:10px; padding:10px 0; border-bottom:1px solid var(--sp-line); text-decoration:none; color:var(--sp-text); }
.sp-li:last-child{ border-bottom:0; }
.sp-li img{ flex:0 0 96px; width:96px; height:64px; object-fit:cover; border-radius:8px; }
.sp-li h4{ font-size:14.5px; line-height:1.45; font-weight:700; margin:0; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; color:var(--sp-text); }
.sp-li:hover h4{ color:var(--sp-red); }

/* ==========================================================
   TRENDING NEWS — "Leaderboard" (20 items)
   ========================================================== */
.sp-tr{ margin:8px 0 16px; background:var(--sp-surface); border:1px solid var(--sp-line); border-radius:14px; overflow:hidden; box-shadow:var(--sp-shadow); }
.sp-tr-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 14px; background:var(--sp-ink); background-image:var(--sp-stripe); color:#fff; border-bottom:3px solid var(--sp-red); }
.sp-tr-title{ display:flex; align-items:center; gap:10px; margin:0; font-size:18px; font-weight:800; color:#fff; }
.sp-tr-title .flame{ display:inline-flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:6px; background:var(--sp-red); color:#fff; font-size:15px; animation:spFlame 2.4s ease-in-out infinite; }
@keyframes spFlame{ 0%,100%{ transform:rotate(-6deg) scale(1); } 50%{ transform:rotate(6deg) scale(1.08); } }
.sp-tr-sub{ font-size:11.5px; font-weight:700; color:#aab3c2; letter-spacing:.3px; display:flex; align-items:center; gap:6px; }
.sp-tr-body{ padding:12px; }
.sp-tr-top{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-bottom:12px; }
.sp-tr-hero{ position:relative; display:block; aspect-ratio:4/3; border-radius:10px; overflow:hidden; text-decoration:none; color:#fff; background:var(--sp-ink); }
.sp-tr-hero img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; transition:transform .45s; }
.sp-tr-hero:hover img{ transform:scale(1.06); }
.sp-tr-hero::after{ content:""; position:absolute; inset:0; background:linear-gradient(180deg,rgba(0,0,0,0) 35%,rgba(5,7,11,.92)); }
.sp-tr-hero .in{ position:absolute; z-index:2; left:0; right:0; bottom:0; padding:10px 12px; }
.sp-tr-hero h3{ margin:0; font-size:15px; line-height:1.4; font-weight:700; color:#fff; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.sp-tr-hero .rk{ position:absolute; z-index:2; top:0; left:0; min-width:40px; height:40px; padding:0 8px; display:flex; align-items:center; justify-content:center; background:var(--sp-red); color:#fff; font-family:var(--sp-num); font-size:22px; font-weight:700; border-bottom-right-radius:10px; }
.sp-tr-hero .cat{ display:inline-block; font-size:10.5px; font-weight:800; color:var(--sp-gold); margin-bottom:4px; }
.sp-tr-list{ display:grid; grid-template-columns:repeat(4,1fr); gap:0 16px; counter-reset:none; }
.sp-tr-item{ display:flex; align-items:flex-start; gap:10px; padding:10px 2px; border-top:1px solid var(--sp-line); text-decoration:none; color:var(--sp-text); }
.sp-tr-item:hover h4{ color:var(--sp-red); }
.sp-tr-item .rk{ flex:0 0 34px; font-family:var(--sp-num); font-size:26px; font-weight:700; line-height:1; color:transparent; -webkit-text-stroke:1.2px var(--sp-muted); }
.sp-tr-item:hover .rk{ -webkit-text-stroke-color:var(--sp-red); }
.sp-tr-item h4{ margin:0; font-size:14px; line-height:1.45; font-weight:700; color:var(--sp-text); display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.sp-tr-item small{ display:block; margin-top:3px; font-size:11.5px; color:var(--sp-muted); }
.sp-tr-more{ display:none; width:100%; margin-top:8px; padding:9px; border:1px solid var(--sp-line); background:var(--sp-surface-2); color:var(--sp-text); font-weight:800; font-size:13.5px; border-radius:8px; cursor:pointer; }
@media (max-width:991.98px){
  .sp-tr-top{ grid-template-columns:repeat(2,1fr); gap:10px; }
  .sp-tr-list{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:575.98px){
  .sp-tr-top{ display:flex; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; margin:0 -12px 10px; padding:0 12px; }
  .sp-tr-top::-webkit-scrollbar{ display:none; }
  .sp-tr-hero{ flex:0 0 78%; scroll-snap-align:start; }
  .sp-tr-list{ grid-template-columns:1fr; }
  .sp-tr-list.is-collapsed .sp-tr-item:nth-child(n+7){ display:none; }
  .sp-tr-more{ display:block; }
  .sp-tr-title{ font-size:16px; }
}

/* ---------- Legacy trending strip (fallback) ---------- */
.sp-hscroll{ display:grid; grid-auto-flow:column; grid-auto-columns:minmax(230px,1fr); gap:12px; overflow-x:auto; scroll-snap-type:x mandatory; padding-bottom:6px; scrollbar-width:thin; }

/* ---------- Breaking news ---------- */
.sp-breaking{ display:flex; align-items:stretch; margin:8px 0 12px; border-radius:10px; overflow:hidden; background:var(--sp-surface); border:1px solid var(--sp-line); box-shadow:var(--sp-shadow); }
.sp-breaking .mfit-ticker-frame,.sp-breaking .mahamudfutureit-ticker-container{ margin:0 !important; border:0 !important; flex:1; min-width:0; background:transparent !important; }
.sp-breaking .mahamudfutureit-ticker-title{ display:none !important; }
.sp-breaking-label{ flex:0 0 auto; display:flex; align-items:center; gap:8px; padding:0 16px 0 12px; background:var(--sp-red); color:#fff; font-weight:800; font-size:14px; white-space:nowrap; position:relative; clip-path:polygon(0 0,100% 0,calc(100% - 10px) 100%,0 100%); }
.sp-breaking-label .sp-dot{ width:9px; height:9px; background:#fff; box-shadow:0 0 0 0 rgba(255,255,255,.7); animation:spPulseW 1.6s infinite; }
@keyframes spPulseW{ 0%{box-shadow:0 0 0 0 rgba(255,255,255,.7)} 70%{box-shadow:0 0 0 8px rgba(255,255,255,0)} 100%{box-shadow:0 0 0 0 rgba(255,255,255,0)} }
.sp-breaking a{ color:var(--sp-text) !important; }
@media (max-width:575.98px){ .sp-breaking-label{ font-size:12.5px; padding:0 12px 0 9px; } .sp-breaking-label .lbl-long{ display:none; } }

/* ---------- Sports zone ---------- */
.sp-zone{ padding:18px 0; background:var(--sp-surface-2); }
.sp-subtabs{ display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; margin-bottom:12px; }
.sp-subtab{ border:1px solid var(--sp-line); background:var(--sp-surface); color:var(--sp-text); font-weight:800; font-size:13px; padding:7px 15px; border-radius:6px; cursor:pointer; white-space:nowrap; }
.sp-subtab.active{ background:var(--sp-ink); border-color:var(--sp-ink); color:#fff; box-shadow:inset 0 -3px 0 var(--sp-red); }
[data-theme=dark] .sp-subtab.active{ background:var(--sp-red); border-color:var(--sp-red); box-shadow:none; }
.sp-pane{ display:none; } .sp-pane.active{ display:block; }

/* ---------- Live dot ---------- */
.sp-dot{ display:inline-block; width:10px; height:10px; border-radius:50%; background:var(--sp-live); box-shadow:0 0 0 0 rgba(225,6,0,.7); animation:spPulse 1.6s infinite; flex-shrink:0; }
@keyframes spPulse{ 0%{box-shadow:0 0 0 0 rgba(225,6,0,.65)} 70%{box-shadow:0 0 0 9px rgba(225,6,0,0)} 100%{box-shadow:0 0 0 0 rgba(225,6,0,0)} }

/* ==========================================================
   LIVE SCORE WIDGET (.spm) — shared data, 2 skins
   ========================================================== */
.spm{ position:relative; }
.spm-tabs{ display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; }
.spm-tabs::-webkit-scrollbar{ display:none; }
.spm-tab{ flex-shrink:0; display:inline-flex; align-items:center; gap:6px; border:1px solid var(--sp-line); background:var(--sp-surface); color:var(--sp-text); font-weight:800; font-size:12.5px; padding:6px 12px; border-radius:6px; cursor:pointer; white-space:nowrap; transition:all .2s; }
.spm-tab i{ font-size:13px; }
.spm-tab:hover{ border-color:var(--sp-red); color:var(--sp-red); }
.spm-tab.active{ background:var(--sp-red); border-color:var(--sp-red); color:#fff; }
.spm-tab .n{ font-family:var(--sp-num); font-size:11px; background:rgba(255,255,255,.25); padding:0 6px; border-radius:999px; }
.spm-list{ display:flex; gap:10px; overflow-x:auto; scroll-snap-type:x proximity; scrollbar-width:none; }
.spm-list::-webkit-scrollbar{ display:none; }
.spm-empty{ padding:18px 14px; color:var(--sp-muted); font-size:13.5px; width:100%; text-align:center; }
.spm-skel{ border-radius:12px; background:linear-gradient(90deg,var(--sp-surface-2),var(--sp-surface-3),var(--sp-surface-2)); background-size:200% 100%; animation:spmSk 1.2s infinite; }
@keyframes spmSk{ to{ background-position:-200% 0; } }
.spm-b{ display:inline-flex; align-items:center; gap:4px; font-size:10.5px; font-weight:800; padding:2px 7px; border-radius:4px; white-space:nowrap; background:var(--sp-surface-3); color:var(--sp-muted); }
.spm-b.live{ background:var(--sp-live); color:#fff; }
.spm-b.live::before{ content:""; width:6px; height:6px; border-radius:50%; background:#fff; animation:spBlink 1s infinite; }
@keyframes spBlink{ 50%{ opacity:.2; } }
.spm-b.post{ background:var(--sp-ink); color:#fff; }
[data-theme=dark] .spm-b.post{ background:#3a4357; }

/* ----- Skin A: SQUARE (home) — light scoreboard tiles ----- */
.spm--square{ margin:6px 0 16px; background:var(--sp-surface); border:1px solid var(--sp-line); border-radius:14px; box-shadow:var(--sp-shadow); overflow:hidden; }
.spm--square .spm-head{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px; border-bottom:1px solid var(--sp-line); flex-wrap:wrap; }
.spm--square .spm-title{ display:flex; align-items:center; gap:9px; margin:0; font-size:17px; font-weight:800; color:var(--sp-text); }
.spm--square .spm-title .tag{ font-family:var(--sp-num); font-size:12px; letter-spacing:1px; background:var(--sp-ink); color:#fff; padding:3px 8px; border-radius:4px; }
.spm--square .spm-list{ padding:12px; }
.spm--square .spm-skel{ flex:0 0 172px; height:172px; }
.spm-sq{ flex:0 0 172px; aspect-ratio:1/1; scroll-snap-align:start; display:flex; flex-direction:column; background:var(--sp-surface); border:1px solid var(--sp-line); border-radius:12px; padding:10px; color:var(--sp-text); text-decoration:none; position:relative; overflow:hidden; transition:transform .2s, box-shadow .2s, border-color .2s; }
.spm-sq::before{ content:""; position:absolute; left:0; top:0; right:0; height:3px; background:var(--sp-surface-3); }
.spm-sq.live::before{ background:var(--sp-live); }
.spm-sq.post::before{ background:var(--sp-ink); }
.spm-sq:hover{ transform:translateY(-3px); box-shadow:var(--sp-shadow-lg); border-color:transparent; color:var(--sp-text); }
.spm-sq .lg{ display:flex; align-items:center; justify-content:space-between; gap:6px; font-size:10.5px; font-weight:700; color:var(--sp-muted); margin-bottom:6px; }
.spm-sq .lg span:first-child{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.spm-sq .tm{ display:flex; align-items:center; justify-content:space-between; gap:6px; padding:5px 0; }
.spm-sq .tm .nm{ display:flex; align-items:center; gap:7px; min-width:0; font-size:13.5px; font-weight:800; }
.spm-sq .tm .nm span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.spm-sq .tm img{ width:26px; height:26px; object-fit:contain; flex-shrink:0; }
.spm-sq .tm .ph{ width:26px; height:26px; border-radius:50%; background:var(--sp-surface-3); flex-shrink:0; display:inline-flex; align-items:center; justify-content:center; font-size:10px; font-weight:800; color:var(--sp-muted); }
.spm-sq .tm b{ font-family:var(--sp-num); font-size:20px; font-weight:700; color:var(--sp-text); white-space:nowrap; }
.spm-sq .tm b.sm{ font-size:13px; }
.spm-sq .tm.win b{ color:var(--sp-red); }
.spm-sq .ft{ margin-top:auto; font-size:11px; color:var(--sp-muted); line-height:1.35; max-height:2.7em; overflow:hidden; }
.spm-sq.ev .ttl{ font-size:14px; font-weight:800; line-height:1.4; margin:4px 0; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.spm-sq .go{ position:absolute; right:8px; bottom:8px; width:24px; height:24px; border-radius:50%; display:flex; align-items:center; justify-content:center; background:var(--sp-surface-2); color:var(--sp-muted); font-size:11px; transition:all .2s; }
.spm-sq:hover .go{ background:var(--sp-red); color:#fff; }
.spm--square .spm-foot{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 12px; border-top:1px solid var(--sp-line); background:var(--sp-surface-2); font-size:11.5px; color:var(--sp-muted); }
.spm-all{ font-size:12.5px; font-weight:800; color:var(--sp-red); text-decoration:none; white-space:nowrap; }
.spm-all:hover{ color:var(--sp-red-2); }
@media (min-width:1200px){ .spm-sq,.spm--square .spm-skel{ flex-basis:max(164px, calc((100% - 50px)/6)); } }

/* ----- Skin B: SLIM (post page) — sleek ticker strip ----- */
.spm--slim{ background:var(--sp-ink); background-image:var(--sp-stripe); color:#fff; border-bottom:2px solid var(--sp-red); }
.spm--slim .spm-in{ display:flex; align-items:center; gap:10px; min-height:58px; }
.spm--slim .spm-head{ flex:0 0 auto; display:flex; align-items:center; gap:8px; }
.spm--slim .spm-title{ display:flex; align-items:center; gap:7px; margin:0; font-size:12.5px; font-weight:800; color:#fff; letter-spacing:.3px; white-space:nowrap; }
.spm--slim .spm-tabs{ gap:4px; }
.spm--slim .spm-tab{ padding:3px 8px; font-size:11.5px; background:transparent; color:#c9d1dd; border-color:rgba(255,255,255,.16); border-radius:4px; }
.spm--slim .spm-tab .lbl{ display:none; }
.spm--slim .spm-tab.active{ background:var(--sp-red); color:#fff; border-color:var(--sp-red); }
.spm--slim .spm-list{ flex:1; min-width:0; gap:0; padding:6px 0; }
.spm--slim .spm-skel{ flex:0 0 190px; height:44px; margin-right:8px; background:linear-gradient(90deg,rgba(255,255,255,.05),rgba(255,255,255,.12),rgba(255,255,255,.05)); background-size:200% 100%; }
.spm--slim .spm-empty{ color:#aab3c2; padding:10px; text-align:left; font-size:12.5px; }
.spm-sl{ flex:0 0 auto; min-width:190px; max-width:240px; display:block; padding:3px 12px; border-right:1px solid rgba(255,255,255,.1); color:#fff; text-decoration:none; scroll-snap-align:start; }
.spm-sl:hover{ background:rgba(255,255,255,.06); color:#fff; }
.spm-sl .lg{ display:flex; align-items:center; justify-content:space-between; gap:6px; font-size:9.5px; font-weight:700; color:#8f9bb0; text-transform:uppercase; letter-spacing:.3px; }
.spm-sl .lg span:first-child{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.spm-sl .spm-b{ font-size:9.5px; padding:1px 5px; background:rgba(255,255,255,.12); color:#dfe5ee; }
.spm-sl .spm-b.live{ background:var(--sp-live); color:#fff; }
.spm-sl .spm-b.post{ background:rgba(255,255,255,.18); }
.spm-sl .r{ display:flex; align-items:center; justify-content:space-between; gap:8px; font-size:12.5px; line-height:1.35; font-weight:700; }
.spm-sl .r span{ display:flex; align-items:center; gap:5px; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.spm-sl .r img{ width:14px; height:14px; object-fit:contain; }
.spm-sl .r b{ font-family:var(--sp-num); font-weight:600; color:#fff; white-space:nowrap; font-size:13px; }
.spm-sl .r b.sm{ font-size:11px; }
.spm-sl.live .r b{ color:var(--sp-gold); }
.spm--slim .spm-all{ flex:0 0 auto; color:var(--sp-gold); font-size:11.5px; display:inline-flex; align-items:center; gap:5px; }
.spm--slim .spm-arrow{ flex:0 0 28px; height:28px; border-radius:50%; border:1px solid rgba(255,255,255,.18); background:transparent; color:#fff; cursor:pointer; display:none; }
@media (min-width:768px){ .spm--slim .spm-arrow{ display:inline-flex; align-items:center; justify-content:center; } }
@media (max-width:767.98px){
  .spm--slim .spm-in{ flex-wrap:wrap; gap:0; padding-top:6px; }
  .spm--slim .spm-head{ flex:1; order:0; justify-content:flex-start; gap:10px; }
  .spm--slim .spm-all{ order:1; }
  .spm--slim .spm-list{ order:2; flex-basis:100%; }
  .spm--slim .spm-all .lbl{ display:none; }
}
/* inside article body (other places) */
.story-details .spm,.post-main .spm{ margin:14px 0; }

/* ==========================================================
   SPORTS HUB — standings + fixtures (all sports)
   ========================================================== */
.sp-hub2{ padding:18px 0 22px; background:var(--sp-surface-2); }
.sp-panel2{ background:var(--sp-surface); border:1px solid var(--sp-line); border-radius:14px; box-shadow:var(--sp-shadow); height:100%; overflow:hidden; display:flex; flex-direction:column; }
.sp-panel2-head{ padding:11px 13px 0; }
.sp-panel2-head h3{ display:flex; align-items:center; gap:9px; margin:0 0 10px; font-size:17px; font-weight:800; color:var(--sp-text); }
.sp-panel2-head h3 i{ width:30px; height:30px; display:inline-flex; align-items:center; justify-content:center; border-radius:6px; background:var(--sp-ink); color:#fff; font-size:14px; }
[data-theme=dark] .sp-panel2-head h3 i{ background:var(--sp-red); }
.sp-sports{ display:flex; gap:0; overflow-x:auto; scrollbar-width:none; border-bottom:1px solid var(--sp-line); }
.sp-sports::-webkit-scrollbar{ display:none; }
.sp-sports button{ flex-shrink:0; display:inline-flex; align-items:center; gap:6px; border:0; background:transparent; color:var(--sp-muted); font-weight:800; font-size:13px; padding:8px 12px 9px; cursor:pointer; border-bottom:3px solid transparent; margin-bottom:-1px; white-space:nowrap; }
.sp-sports button:hover{ color:var(--sp-text); }
.sp-sports button.active{ color:var(--sp-text); border-bottom-color:var(--sp-red); }
.sp-leagues{ display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; padding:10px 13px 0; }
.sp-leagues::-webkit-scrollbar{ display:none; }
.sp-leagues button{ flex-shrink:0; border:1px solid var(--sp-line); background:var(--sp-surface); color:var(--sp-text); font-size:12px; font-weight:700; padding:4px 11px; border-radius:999px; cursor:pointer; white-space:nowrap; }
.sp-leagues button.active{ background:var(--sp-ink); border-color:var(--sp-ink); color:#fff; }
[data-theme=dark] .sp-leagues button.active{ background:var(--sp-red); border-color:var(--sp-red); }
.sp-panel2-body{ padding:10px 13px 13px; flex:1; max-height:560px; overflow:auto; scrollbar-width:thin; }
.sp-loading{ text-align:center; color:var(--sp-muted); padding:28px 8px; font-size:14px; }
.sp-grp{ font-weight:800; font-size:12.5px; margin:12px 0 6px; color:var(--sp-muted); text-transform:uppercase; letter-spacing:.4px; }
.sp-grp:first-child{ margin-top:0; }
.sp-tbl{ width:100%; border-collapse:collapse; font-size:13px; }
.sp-tbl th{ background:var(--sp-surface-2); color:var(--sp-muted); font-weight:800; padding:7px 4px; text-align:center; font-size:11.5px; position:sticky; top:-10px; z-index:1; }
.sp-tbl td{ padding:7px 4px; text-align:center; border-bottom:1px solid var(--sp-line); color:var(--sp-text); font-family:var(--sp-num); font-size:13.5px; }
.sp-tbl td.tl,.sp-tbl th.tl{ text-align:left; padding-left:6px; font-family:inherit; }
.sp-tbl .tm{ display:flex; align-items:center; gap:7px; } .sp-tbl .tm img{ width:20px; height:20px; object-fit:contain; } .sp-tbl .tm b{ font-weight:700; white-space:nowrap; font-size:13px; }
.sp-tbl td.pt{ font-weight:700; color:var(--sp-text); background:color-mix(in srgb,var(--sp-red) 6%,transparent); }
.sp-tbl tr.top td:first-child{ box-shadow:inset 3px 0 0 var(--sp-blue); }
.sp-tbl tr.bot td:first-child{ box-shadow:inset 3px 0 0 var(--sp-red); }
.sp-tbl tbody tr:hover td{ background:var(--sp-surface-2); }
.sp-legend{ display:flex; gap:14px; font-size:11.5px; color:var(--sp-muted); margin-top:8px; }
.sp-legend i{ display:inline-block; width:10px; height:10px; border-radius:2px; margin-right:5px; vertical-align:-1px; }
.sp-sub{ display:flex; align-items:center; gap:8px; font-size:12px; font-weight:800; color:var(--sp-text); margin:12px 0 4px; text-transform:uppercase; letter-spacing:.4px; }
.sp-sub:first-child{ margin-top:0; }
.sp-sub::after{ content:""; flex:1; height:1px; background:var(--sp-line); }
.sp-fx{ display:block; text-decoration:none; color:var(--sp-text); padding:8px 6px; border-bottom:1px solid var(--sp-line); border-radius:6px; }
.sp-fx:hover{ background:var(--sp-surface-2); color:var(--sp-text); }
.sp-fx .lg{ display:flex; align-items:center; gap:6px; font-size:11px; color:var(--sp-muted); margin-bottom:4px; font-weight:700; }
.sp-fx .lg i{ color:var(--sp-red); }
.sp-fx .mm{ display:flex; align-items:center; justify-content:space-between; gap:6px; font-size:13.5px; font-weight:700; }
.sp-fx .t{ flex:1; display:flex; align-items:center; gap:6px; min-width:0; } .sp-fx .t.r{ justify-content:flex-end; text-align:right; }
.sp-fx .t span{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sp-fx img{ width:20px; height:20px; object-fit:contain; flex-shrink:0; }
.sp-fx .sc{ background:var(--sp-ink); color:#fff; font-family:var(--sp-num); font-weight:600; padding:3px 9px; border-radius:5px; white-space:nowrap; font-size:13.5px; }
.sp-fx .sc.sm{ font-size:11px; max-width:150px; overflow:hidden; text-overflow:ellipsis; }
.sp-fx .vs{ font-size:11px; color:var(--sp-text); background:var(--sp-surface-3); padding:3px 8px; border-radius:5px; white-space:nowrap; font-weight:700; }
[data-theme=dark] .sp-fx .sc{ background:var(--sp-red); }
@media (max-width:576px){ .sp-panel2-body{ max-height:none; } }

/* ==========================================================
   LIVE PAGE — /live-score/ (all sports)
   ========================================================== */
.splp-hero{ background:var(--sp-ink); background-image:radial-gradient(circle at 85% -20%,rgba(213,10,10,.45),transparent 55%),var(--sp-stripe); color:#fff; padding:22px 0 0; }
.splp-hero h1{ display:flex; align-items:center; gap:12px; margin:0; font-size:28px; font-weight:800; color:#fff; }
.splp-hero p{ margin:6px 0 14px; color:#aab3c2; font-size:14px; }
.splp-hero .upd{ font-family:var(--sp-num); font-size:12px; color:#8f9bb0; }
.splp-nav{ position:sticky; top:0; z-index:50; display:flex; gap:4px; overflow-x:auto; scrollbar-width:none; }
.splp-nav::-webkit-scrollbar{ display:none; }
.splp-nav a{ flex-shrink:0; display:inline-flex; align-items:center; gap:7px; padding:11px 14px 12px; color:#c9d1dd; font-weight:800; font-size:13.5px; text-decoration:none; border-bottom:3px solid transparent; white-space:nowrap; }
.splp-nav a:hover,.splp-nav a.active{ color:#fff; border-bottom-color:var(--sp-red); }
.splp-nav a .n{ font-family:var(--sp-num); font-size:11px; min-width:20px; text-align:center; padding:0 6px; border-radius:999px; background:rgba(255,255,255,.14); }
.splp-nav a .n.live{ background:var(--sp-live); color:#fff; }
.splp-navwrap{ position:sticky; top:0; z-index:60; background:var(--sp-ink); box-shadow:0 6px 18px rgba(0,0,0,.18); }
.splp-body{ padding:16px 0 30px; background:var(--sp-bg); }
.splp-sec{ margin-bottom:22px; scroll-margin-top:70px; }
.splp-sec-h{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding-bottom:8px; margin-bottom:12px; border-bottom:2px solid var(--sp-line); position:relative; }
.splp-sec-h::after{ content:""; position:absolute; left:0; bottom:-2px; width:70px; height:2px; background:var(--sp-red); }
.splp-sec-h h2{ display:flex; align-items:center; gap:10px; margin:0; font-size:20px; font-weight:800; color:var(--sp-text); }
.splp-sec-h h2 .ic{ width:34px; height:34px; display:inline-flex; align-items:center; justify-content:center; border-radius:8px; background:var(--sp-ink); color:#fff; font-size:16px; }
[data-theme=dark] .splp-sec-h h2 .ic{ background:var(--sp-red); }
.splp-filter{ display:flex; gap:4px; }
.splp-filter button{ border:1px solid var(--sp-line); background:var(--sp-surface); color:var(--sp-muted); font-size:12px; font-weight:800; padding:4px 10px; border-radius:5px; cursor:pointer; }
.splp-filter button.active{ background:var(--sp-text); color:var(--sp-surface); border-color:var(--sp-text); }
.splp-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(172px,1fr)); gap:10px; }
.splp-grid .spm-sq{ flex:none; }
.splp-grid .spm-skel{ aspect-ratio:1/1; }
.splp-grid .spm-empty{ grid-column:1/-1; background:var(--sp-surface); border:1px dashed var(--sp-line); border-radius:12px; }

/* ==========================================================
   MATCH DETAILS PAGE — match.php
   ========================================================== */
.mt-page{ background:var(--sp-bg); padding:0 0 30px; }
.mt-top{ background:var(--sp-ink); background-image:radial-gradient(circle at 50% -40%,rgba(213,10,10,.5),transparent 60%),var(--sp-stripe); color:#fff; padding:14px 0 18px; }
.mt-crumbs{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:12px; font-size:13px; }
.mt-crumbs a{ color:#c9d1dd; text-decoration:none; font-weight:700; display:inline-flex; align-items:center; gap:6px; }
.mt-crumbs a:hover{ color:#fff; }
.mt-hero{ max-width:900px; margin:0 auto; }
.mt-league{ text-align:center; font-size:12.5px; font-weight:700; color:#aab3c2; margin-bottom:14px; letter-spacing:.3px; }
.mt-board{ display:flex; align-items:center; justify-content:space-between; gap:8px; }
.mt-team{ flex:1; text-align:center; min-width:0; }
.mt-team .lg{ width:72px; height:72px; margin:0 auto; border-radius:50%; background:#fff; padding:8px; display:flex; align-items:center; justify-content:center; box-shadow:0 8px 20px rgba(0,0,0,.35); }
.mt-team .lg img{ width:100%; height:100%; object-fit:contain; }
.mt-team b{ display:block; margin-top:9px; font-size:16px; line-height:1.3; color:#fff; }
.mt-team .s2{ display:block; margin-top:3px; font-family:var(--sp-num); font-size:13px; color:#c9d1dd; }
.mt-mid{ flex:0 0 auto; text-align:center; min-width:120px; }
.mt-score{ font-family:var(--sp-num); font-size:46px; font-weight:700; color:#fff; letter-spacing:2px; white-space:nowrap; line-height:1.05; }
.mt-score .sep{ color:var(--sp-red); padding:0 4px; }
.mt-score.vs{ font-size:28px; color:#c9d1dd; }
.mt-badge{ display:inline-flex; align-items:center; gap:6px; margin-top:6px; font-size:12px; font-weight:800; padding:3px 12px; border-radius:4px; }
.mt-badge.in{ background:var(--sp-live); } .mt-badge.pre{ background:rgba(255,255,255,.16); } .mt-badge.post{ background:#fff; color:var(--sp-ink); }
.mt-badge.in::before{ content:""; width:7px; height:7px; border-radius:50%; background:#fff; animation:spBlink 1s infinite; }
.mt-detail{ text-align:center; margin-top:14px; font-size:13.5px; color:#e3e8ef; font-weight:700; }
.mt-venue{ text-align:center; margin-top:6px; font-size:12px; color:#8f9bb0; }
.mt-wrap{ max-width:900px; margin:0 auto; }
.mt-tabs{ display:flex; gap:0; margin:0 0 14px; overflow-x:auto; scrollbar-width:none; background:var(--sp-surface); border:1px solid var(--sp-line); border-top:0; border-radius:0 0 12px 12px; }
.mt-tab{ flex:1; border:0; background:transparent; color:var(--sp-muted); font-weight:800; font-size:13.5px; padding:12px 16px; cursor:pointer; white-space:nowrap; border-bottom:3px solid transparent; }
.mt-tab.active{ color:var(--sp-text); border-bottom-color:var(--sp-red); }
.mt-panel{ background:var(--sp-surface); border:1px solid var(--sp-line); border-radius:12px; padding:14px; box-shadow:var(--sp-shadow); color:var(--sp-text); }
.mt-ev{ display:flex; gap:10px; padding:9px 4px; border-bottom:1px solid var(--sp-line); align-items:flex-start; }
.mt-ev:last-child{ border-bottom:0; }
.mt-ev .min{ flex:0 0 46px; font-family:var(--sp-num); font-weight:600; color:var(--sp-red); font-size:14px; }
.mt-ev .tx{ font-size:14px; line-height:1.55; } .mt-ev .tm{ font-size:11.5px; color:var(--sp-muted); }
.mt-ev.goal{ background:color-mix(in srgb,var(--sp-gold) 14%,transparent); border-radius:8px; }
.mt-stat{ margin:12px 0; }
.mt-stat .row1{ display:flex; justify-content:space-between; font-family:var(--sp-num); font-weight:600; font-size:14px; margin-bottom:5px; }
.mt-stat .row1 span.l{ font-family:inherit; color:var(--sp-muted); font-weight:700; font-size:12.5px; }
.mt-bar{ display:flex; height:7px; border-radius:99px; overflow:hidden; background:var(--sp-surface-3); gap:3px; }
.mt-bar i{ display:block; height:100%; background:var(--sp-red); border-radius:99px; } .mt-bar i.b{ background:var(--sp-ink); margin-left:auto; }
[data-theme=dark] .mt-bar i.b{ background:#8f9bb0; }
.mt-lu{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.mt-lu h4{ font-size:14.5px; font-weight:800; color:var(--sp-text); margin:0 0 6px; padding-bottom:6px; border-bottom:2px solid var(--sp-red); }
.mt-lu .fm{ font-size:11.5px; color:var(--sp-muted); margin-bottom:6px; }
.mt-lu li{ list-style:none; font-size:13.5px; padding:5px 0; border-bottom:1px solid var(--sp-line); }
.mt-lu li b{ display:inline-block; min-width:28px; font-family:var(--sp-num); color:var(--sp-red); }
.mt-lu ul{ padding:0; margin:0 0 8px; } .mt-lu .sub{ font-size:11.5px; font-weight:800; color:var(--sp-muted); margin:10px 0 2px; text-transform:uppercase; }
.mt-info{ display:flex; justify-content:space-between; gap:10px; padding:10px 2px; border-bottom:1px solid var(--sp-line); font-size:14px; }
.mt-info:last-child{ border-bottom:0; }
.mt-info span{ color:var(--sp-muted); } .mt-info b{ color:var(--sp-text); text-align:right; }
.mt-empty{ text-align:center; color:var(--sp-muted); padding:22px 8px; font-size:14px; }
.mt-top .mt-empty{ color:#c9d1dd; }
.mt-more{ margin-top:16px; }
@media (max-width:520px){ .mt-team .lg{ width:54px; height:54px; padding:6px; } .mt-score{ font-size:34px; } .mt-team b{ font-size:14px; } .mt-lu{ grid-template-columns:1fr; } .mt-mid{ min-width:96px; } }

/* ---------- Post page reading experience ---------- */
.post-main-title{ letter-spacing:-.2px; line-height:1.35 !important; }
.story-details{ font-size:clamp(17px,1.05vw + 12px,19px); line-height:1.85; }
.story-details p{ margin-bottom:1.1em; }
.story-details img{ border-radius:10px; height:auto; }
.story-details blockquote{ border-left:4px solid var(--sp-red); background:var(--sp-surface-2); padding:12px 16px; border-radius:0 10px 10px 0; margin:1.2em 0; }
.story-details a{ color:var(--sp-red); text-underline-offset:3px; }
.sp-post-sportsbar{ display:flex; align-items:center; gap:8px; margin:0 0 10px; font-size:13px; font-weight:800; color:var(--sp-red); }

/* ==========================================================
   SPORTS HEADER (desktop) — header_sports.php
   ========================================================== */
.sph{ position:relative; z-index:1000; background:var(--sp-surface); }
.sph-top{ background:var(--sp-ink); color:#c9d1dd; font-size:12.5px; }
.sph-top .sph-row{ min-height:34px; }
.sph-top a{ color:#c9d1dd; }
.sph-row{ display:flex; align-items:center; justify-content:space-between; gap:14px; }
.sph-main{ padding:14px 0; border-bottom:1px solid var(--sp-line); }
.sph-main .main_logo{ text-align:left !important; }
.sph-cta{ display:flex; align-items:center; gap:8px; }
.sph-live-btn{ display:inline-flex; align-items:center; gap:8px; padding:8px 14px; border-radius:6px; background:var(--sp-red); color:#fff !important; font-weight:800; font-size:13.5px; text-decoration:none; }
.sph-live-btn .sp-dot{ background:#fff; animation:spPulseW 1.6s infinite; }
.sph-live-btn:hover{ background:var(--sp-red-2); }
.sph-icon{ display:inline-flex; align-items:center; justify-content:center; width:38px; height:38px; border-radius:50%; background:var(--sp-surface-2); color:var(--sp-text) !important; font-size:16px; border:1px solid var(--sp-line); cursor:pointer; text-decoration:none; }
.sph-icon a,.sph-icon span,.sph-icon i{ color:inherit !important; padding:0 !important; }
.sph-icon:hover{ background:var(--sp-red); color:#fff !important; border-color:var(--sp-red); }
.sph-nav{ position:sticky; top:0; background:var(--sp-ink); border-bottom:3px solid var(--sp-red); box-shadow:0 4px 14px rgba(0,0,0,.18); }
.sph-nav .tt_navbar,.sph-nav nav,.sph-nav ul{ background:transparent !important; border:0 !important; }
.sph-nav a{ color:#fff !important; font-weight:700; }
.sph-nav a:hover{ color:var(--sp-gold) !important; }
.sph-nav .dropdown-menu a{ color:var(--sp-text) !important; }
.sph-sports{ background:var(--sp-surface); border-bottom:1px solid var(--sp-line); }
.sph-sports .sph-row{ justify-content:flex-start; gap:6px; overflow-x:auto; scrollbar-width:none; padding:7px 0; }
.sph-pill{ display:inline-flex; align-items:center; gap:6px; padding:5px 12px; border-radius:6px; font-size:13px; font-weight:800; color:var(--sp-text); background:var(--sp-surface-2); border:1px solid var(--sp-line); text-decoration:none; white-space:nowrap; }
.sph-pill:hover{ border-color:var(--sp-red); color:var(--sp-red); }
.sph-pill.hot{ background:var(--sp-red); color:#fff; border-color:var(--sp-red); }

/* MOBILE HEADER — mheader_sports.php */
.sphm{ position:sticky; top:0; z-index:1020; background:var(--sp-surface); box-shadow:0 2px 12px rgba(0,0,0,.08); }
.sphm-bar{ display:flex; align-items:center; justify-content:space-between; gap:8px; padding:8px 12px; border-bottom:3px solid var(--sp-red); }
.sphm-bar .main_logo img{ max-height:34px; }
.sphm-actions{ display:flex; gap:6px; }
.sphm-actions .sph-icon{ width:36px; height:36px; font-size:15px; }
.sphm-strip{ display:flex; gap:6px; overflow-x:auto; scrollbar-width:none; padding:7px 12px; background:var(--sp-surface-2); }
.sphm-strip::-webkit-scrollbar{ display:none; }

/* ==========================================================
   SPORTS FOOTER — footer_sports.php
   ========================================================== */
.mahamudfutureit_footer.mfit_footer_sports{ background:var(--sp-ink) !important; background-image:var(--sp-stripe) !important; color:#c9d1dd; border-top:4px solid var(--sp-red); }
.mfit_footer_sports a{ color:#e3e8ef !important; text-decoration:none; }
.mfit_footer_sports a:hover{ color:var(--sp-gold) !important; }
.mfit_footer_sports .footer_top{ padding:22px 0 10px; border-bottom:1px solid rgba(255,255,255,.08); }
.mfit_footer_sports .footer_middle{ padding:24px 0; }
.mfit_footer_sports .footer_bottom{ padding:12px 0; background:rgba(0,0,0,.3); font-size:13px; }
.mfit_footer_sports .sp-f-title{ font-size:15px; font-weight:800; color:#fff; margin:0 0 10px; display:flex; align-items:center; gap:8px; }
.mfit_footer_sports .sp-f-title::before{ content:""; width:4px; height:16px; border-radius:2px; background:var(--sp-red); }
.mfit_footer_sports .sp-f-links{ list-style:none; padding:0; margin:0; display:grid; grid-template-columns:1fr 1fr; gap:7px 12px; font-size:14px; }
.mfit_footer_sports img{ filter:none; }
.mfit_footer_sports .main_logo,.mfit_footer_sports .footer_logo{ background:#fff; display:inline-block; padding:8px 12px; border-radius:8px; }
@media (max-width:767px){ .mfit_footer_sports .footer_middle [class*="col-"]{ margin-bottom:18px; } .mfit_footer_sports .sp-f-title{ justify-content:center; } }

/* ==========================================================
   OFF-CANVAS MENU — sports skin
   ========================================================== */
body #mobileMenuOffcanvas.offcanvas.offcanvas-start{ background:var(--sp-surface) !important; color:var(--sp-text); border-right:0 !important; }
body #mobileMenuOffcanvas .mfit-oc-head{ background:var(--sp-ink) !important; background-image:radial-gradient(circle at 100% 0%,rgba(213,10,10,.45),transparent 60%),var(--sp-stripe) !important; border-bottom:3px solid var(--sp-red) !important; }
body #mobileMenuOffcanvas .mfit-oc-logo{ background:transparent !important; border-radius:0; padding:0; box-shadow:none !important; }
body #mobileMenuOffcanvas .mfit-oc-logo img{ filter:none !important; }
body #mobileMenuOffcanvas .mfit-oc-login{ background:var(--sp-red) !important; color:#fff !important; border:0 !important; }
body #mobileMenuOffcanvas .mfit-oc-close{ background:rgba(255,255,255,.12) !important; color:#fff !important; border:0 !important; }
body #mobileMenuOffcanvas .mfit-oc-search input{ border-radius:8px !important; }
body #mobileMenuOffcanvas .mfit-oc-search button{ background:var(--sp-red) !important; color:#fff !important; }
body #mobileMenuOffcanvas .mfit-oc-link:hover,body #mobileMenuOffcanvas .mfit-oc-link.active{ color:var(--sp-red) !important; }
body #mobileMenuOffcanvas .mfit-oc-ico{ background:var(--sp-surface-2) !important; color:var(--sp-red) !important; border-radius:7px !important; }
body #mobileMenuOffcanvas .mfit-oc-item{ border-color:var(--sp-line) !important; }
.sp-oc-live{ margin:12px 0 4px; border-radius:12px; overflow:hidden; background:var(--sp-ink); background-image:var(--sp-stripe); color:#fff; }
.sp-oc-live a.big{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 14px; color:#fff; text-decoration:none; font-weight:800; font-size:15px; }
.sp-oc-live a.big small{ display:block; font-size:11.5px; color:#aab3c2; font-weight:600; margin-top:2px; }
.sp-oc-live a.big .go{ width:30px; height:30px; border-radius:50%; background:var(--sp-red); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.sp-oc-sports{ display:grid; grid-template-columns:repeat(4,1fr); gap:6px; padding:0 10px 12px; }
.sp-oc-sports a{ display:flex; flex-direction:column; align-items:center; gap:4px; padding:8px 2px; border-radius:8px; background:rgba(255,255,255,.07); color:#e3e8ef; text-decoration:none; font-size:11px; font-weight:700; }
.sp-oc-sports a i{ font-size:17px; color:var(--sp-gold); }
.sp-oc-sports a:hover{ background:var(--sp-red); color:#fff; }
.sp-oc-sports a:hover i{ color:#fff; }
.sp-oc-theme{ display:flex; align-items:center; justify-content:space-between; gap:10px; margin:10px 0; padding:10px 12px; border:1px solid var(--sp-line); border-radius:10px; background:var(--sp-surface-2); font-weight:800; font-size:14px; color:var(--sp-text); cursor:pointer; width:100%; }
.sp-switch{ position:relative; width:46px; height:26px; border-radius:999px; background:var(--sp-surface-3); transition:background .25s; flex-shrink:0; }
.sp-switch::after{ content:"\f185"; font-family:"Font Awesome 6 Free"; font-weight:900; position:absolute; top:3px; left:3px; width:20px; height:20px; border-radius:50%; background:#fff; color:var(--sp-gold); font-size:11px; display:flex; align-items:center; justify-content:center; box-shadow:0 1px 4px rgba(0,0,0,.25); transition:transform .25s; }
[data-theme=dark] .sp-switch{ background:var(--sp-red); }
[data-theme=dark] .sp-switch::after{ content:"\f186"; transform:translateX(20px); color:var(--sp-ink); }

/* ==========================================================
   FLOATING STACK — dark-mode + sports back-to-top
   ========================================================== */
#mahamudfutureit_backToTop{ display:none !important; }
#spTop{ display:none !important; }
.sp-fab{ position:fixed; right:16px; bottom:22px; z-index:1025; display:flex; flex-direction:column; align-items:center; gap:10px; pointer-events:none; }
.sp-fab > *{ pointer-events:auto; }
.sp-fab-theme{ width:42px; height:42px; border-radius:50%; border:1px solid var(--sp-line); background:var(--sp-surface); color:var(--sp-text); box-shadow:var(--sp-shadow-lg); cursor:pointer; display:flex; align-items:center; justify-content:center; font-size:17px; position:relative; overflow:hidden; transition:transform .2s; }
.sp-fab-theme:hover{ transform:translateY(-2px); }
.sp-fab-theme i{ position:absolute; transition:transform .45s cubic-bezier(.5,1.6,.4,1), opacity .3s; }
.sp-fab-theme .moon{ color:#5b6cff; }
.sp-fab-theme .sun{ color:var(--sp-gold); transform:translateY(30px) rotate(-90deg); opacity:0; }
[data-theme=dark] .sp-fab-theme .moon{ transform:translateY(-30px) rotate(90deg); opacity:0; }
[data-theme=dark] .sp-fab-theme .sun{ transform:none; opacity:1; }
.sp-top{ position:relative; width:52px; height:52px; border-radius:50%; border:0; padding:0; background:var(--sp-ink); color:#fff; cursor:pointer; box-shadow:0 10px 24px rgba(13,17,23,.35); opacity:0; transform:translateY(16px) scale(.8); visibility:hidden; transition:opacity .3s, transform .3s, visibility .3s; }
[data-theme=dark] .sp-top{ background:var(--sp-red); }
.sp-top.show{ opacity:1; transform:none; visibility:visible; }
.sp-top svg.ring{ position:absolute; inset:0; width:100%; height:100%; transform:rotate(-90deg); }
.sp-top svg.ring circle{ fill:none; stroke-width:3; }
.sp-top svg.ring .bg{ stroke:rgba(255,255,255,.14); }
.sp-top svg.ring .fg{ stroke:var(--sp-red); stroke-linecap:round; transition:stroke-dashoffset .15s linear; }
[data-theme=dark] .sp-top svg.ring .fg{ stroke:#fff; }
.sp-top .balls{ position:absolute; inset:9px; border-radius:50%; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.sp-top .balls i{ position:absolute; font-size:19px; opacity:0; transform:translateY(14px) rotate(-120deg); transition:opacity .35s, transform .45s; }
.sp-top .balls i.on{ opacity:1; transform:none; }
.sp-top .balls i.on.fa-futbol{ animation:spRoll 3s linear infinite; }
@keyframes spRoll{ to{ transform:rotate(360deg); } }
.sp-top .arr{ position:absolute; top:-7px; left:50%; transform:translateX(-50%); width:20px; height:20px; border-radius:50%; background:var(--sp-red); color:#fff; font-size:10px; display:flex; align-items:center; justify-content:center; border:2px solid var(--sp-surface); transition:transform .25s; }
[data-theme=dark] .sp-top .arr{ background:var(--sp-ink); }
.sp-top:hover .arr{ transform:translateX(-50%) translateY(-3px); }
.sp-top:active{ transform:scale(.9); }
.sp-top.launch .balls i.on{ transform:translateY(-40px) rotate(200deg) scale(.6); opacity:0; }

/* ---------- News listen (TTS) → icon-only play button ---------- */
.mft-tts-mini-btn{ position:fixed !important; display:inline-flex; align-items:center !important; width:50px !important; height:50px !important; padding:0 !important; gap:0 !important; justify-content:center !important; border-radius:50% !important; left:16px !important; right:auto !important; bottom:22px !important; background:var(--sp-red) !important; border:3px solid var(--sp-surface) !important; color:#fff !important; box-shadow:0 10px 24px rgba(213,10,10,.4) !important; z-index:1024 !important; }
.mft-tts-mini-btn span:not(.mft-tts-mini-dot){ position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.mft-tts-mini-btn i{ color:#fff !important; font-size:17px !important; margin-left:3px; }
.mft-tts-mini-btn .mft-tts-mini-dot{ position:absolute; inset:-6px; width:auto !important; height:auto !important; border-radius:50%; background:transparent !important; border:2px solid var(--sp-red); box-shadow:none !important; animation:spRipple 1.8s infinite !important; pointer-events:none; }
@keyframes spRipple{ 0%{ transform:scale(.9); opacity:.9; } 100%{ transform:scale(1.35); opacity:0; } }

/* ==========================================================
   MOBILE BOTTOM NAV
   ========================================================== */
.sp-bnav{ display:none; }
@media (max-width:991.98px){
  .sp-bnav{ display:flex; position:fixed; left:0; right:0; bottom:0; z-index:1030; height:calc(var(--sp-bnav-h) + env(safe-area-inset-bottom)); padding-bottom:env(safe-area-inset-bottom); background:color-mix(in srgb,var(--sp-surface) 96%,transparent); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px); border-top:1px solid var(--sp-line); box-shadow:0 -6px 20px rgba(0,0,0,.08); }
  .sp-bnav a,.sp-bnav button{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:3px; background:none; border:0; color:var(--sp-muted); font-size:11px; font-weight:700; text-decoration:none; position:relative; }
  .sp-bnav i{ font-size:19px; }
  .sp-bnav .active{ color:var(--sp-red); }
  .sp-bnav .active::before{ content:""; position:absolute; top:0; width:28px; height:3px; border-radius:0 0 4px 4px; background:var(--sp-red); }
  .sp-bnav .sp-bnav-live{ color:var(--sp-text); }
  .sp-bnav .sp-bnav-live .ring{ width:48px; height:48px; margin-top:-24px; border-radius:50%; background:var(--sp-red); color:#fff; display:flex; align-items:center; justify-content:center; border:4px solid var(--sp-surface); box-shadow:0 6px 16px rgba(213,10,10,.45); position:relative; }
  .sp-bnav .sp-bnav-live .ring::after{ content:""; position:absolute; inset:-4px; border-radius:50%; border:2px solid var(--sp-red); animation:spRipple 2s infinite; }
  .sp-bnav .sp-bnav-live i{ color:#fff; font-size:18px; }
  .sp-bnav .sp-bnav-live.active::before{ display:none; }
  /* only the text label turns red — the ring + rotating icons must stay white on score/match pages */
  .sp-bnav .sp-bnav-live.active > span:last-child{ color:var(--sp-red); }
  .sp-bnav .sp-bnav-live .ring,.sp-bnav .sp-bnav-live .ring .sp-ball-spin,.sp-bnav .sp-bnav-live.active .ring .sp-ball-spin i{ color:#fff !important; }
  body.has-sp-bnav{ padding-bottom:calc(var(--sp-bnav-h) + env(safe-area-inset-bottom)); }
  /* everything floating sits ABOVE the bottom nav */
  body.has-sp-bnav .mfit-ticker-frame:not(.mfit-ticker-inline),
  body.has-sp-bnav .mahamudfutureit_footer_slidad{ bottom:calc(var(--sp-bnav-h) + env(safe-area-inset-bottom)) !important; }
  body.has-sp-bnav #tt-dm-back{ bottom:calc(var(--sp-bnav-h) + 14px) !important; }
  body.has-sp-bnav .sp-fab{ bottom:calc(var(--sp-bnav-h) + env(safe-area-inset-bottom) + 14px); right:12px; }
  body.has-sp-bnav .mft-tts-mini-btn{ bottom:calc(var(--sp-bnav-h) + env(safe-area-inset-bottom) + 14px) !important; left:12px !important; }
  body.has-sp-bnav .mft-tts-player{ bottom:calc(var(--sp-bnav-h) + env(safe-area-inset-bottom) + 10px) !important; left:10px !important; right:10px !important; width:auto !important; }
  body.has-sp-bnav.has-fixed-ticker .sp-fab,
  body.has-sp-bnav.has-fixed-ticker .mft-tts-mini-btn{ bottom:calc(var(--sp-bnav-h) + env(safe-area-inset-bottom) + 58px) !important; }
}
@media print{ .sp-bnav,.sph-nav,.spm,.sp-fab,.mft-tts-mini-btn{ display:none !important; } }
@media (prefers-reduced-motion:reduce){ *{ animation-duration:.01ms !important; transition:none !important; } }


/* ================= v3 fixes ================= */
/* Cricket icon: real bat + ball (replaces baseball look everywhere) */
.fa-baseball-bat-ball::before{ content:"" !important; display:inline-block; width:1em; height:1em; vertical-align:-.125em; background-color:currentColor; -webkit-mask:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg transform='rotate(42 28 30)'%3E%3Cpath d='M19 24h18v30a6 6 0 0 1-6 6h-6a6 6 0 0 1-6-6z'/%3E%3Crect x='24.5' y='-2' width='7' height='28' rx='3.5'/%3E%3C/g%3E%3Ccircle cx='52' cy='51' r='10'/%3E%3C/svg%3E") no-repeat center/contain; mask:url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cg transform='rotate(42 28 30)'%3E%3Cpath d='M19 24h18v30a6 6 0 0 1-6 6h-6a6 6 0 0 1-6-6z'/%3E%3Crect x='24.5' y='-2' width='7' height='28' rx='3.5'/%3E%3C/g%3E%3Ccircle cx='52' cy='51' r='10'/%3E%3C/svg%3E") no-repeat center/contain; }

/* Ticker (class based so the top position is styled too) */
.mfit-ticker-frame .mahamudfutureit-ticker{ overflow:hidden; white-space:nowrap; width:100%; position:relative; }
.mfit-ticker-frame .mahamudfutureit-ticker ul{ display:inline-block; padding:0; margin:0; list-style:none; white-space:nowrap; will-change:transform; }
.mfit-ticker-frame .mahamudfutureit-ticker ul li{ display:inline-block; margin-right:22px !important; }
.mfit-ticker-frame .mahamudfutureit-ticker .ticker-item{ display:flex; align-items:center; gap:7px; }
.sp-breaking{ min-height:42px; }
.sp-breaking .mfit-ticker-frame{ display:flex; align-items:center; }

/* Rotating sport icon (breaking label + bottom-nav live) */
.sp-ball-spin{ position:relative; display:inline-flex; width:1.15em; height:1.15em; align-items:center; justify-content:center; flex-shrink:0; }
.sp-ball-spin i{ position:absolute; opacity:0; transform:translateY(10px) rotate(-120deg) scale(.6); transition:opacity .35s, transform .45s; color:inherit !important; font-size:inherit !important; }
.sp-ball-spin i.on{ opacity:1; transform:none; }
.sp-ball-spin i.on.fa-futbol,.sp-ball-spin i.on.fa-basketball,.sp-ball-spin i.on.fa-volleyball{ animation:spRoll 3s linear infinite; }
.sp-breaking-label .sp-ball-spin{ font-size:15px; }
.sp-bnav .sp-bnav-live .sp-ball-spin{ font-size:19px; color:#fff; }

/* Back-to-top: same size as dark-mode button */
.sp-top{ width:42px; height:42px; }
.sp-top .balls{ inset:7px; }
.sp-top .balls i{ font-size:15px; }
.sp-top .arr{ width:17px; height:17px; font-size:9px; top:-6px; }
.sp-top .sp-top-plain{ display:none; }
@media (max-width:991.98px){
  .sp-top svg.ring,.sp-top .balls,.sp-top .arr{ display:none !important; }
  .sp-top .sp-top-plain{ display:flex; position:absolute; inset:0; align-items:center; justify-content:center; font-size:16px; }
  .sp-top{ background:var(--sp-surface); color:var(--sp-text); border:1px solid var(--sp-line); box-shadow:var(--sp-shadow-lg); }
  [data-theme=dark] .sp-top{ background:var(--sp-surface); }
  /* post page (has audio player): audio icon takes back-to-top's place, same size as dark-mode button */
  body:has(.mft-tts-mini-btn) .sp-top{ display:none !important; }
  body .mft-tts-mini-btn{ width:42px !important; height:42px !important; border-width:1px !important; box-shadow:var(--sp-shadow-lg) !important; left:auto !important; right:16px !important; bottom:22px !important; }
  body .mft-tts-mini-btn i{ font-size:17px !important; margin-left:2px !important; }
  body .mft-tts-mini-btn .mft-tts-mini-dot{ inset:-4px !important; }
  body:has(.mft-tts-mini-btn) .sp-fab{ bottom:74px; }
  body.has-sp-bnav .mft-tts-mini-btn{ left:auto !important; right:12px !important; bottom:calc(var(--sp-bnav-h) + env(safe-area-inset-bottom) + 14px) !important; }
  body.has-sp-bnav:has(.mft-tts-mini-btn) .sp-fab{ bottom:calc(var(--sp-bnav-h) + env(safe-area-inset-bottom) + 66px); }
  body.has-sp-bnav.has-fixed-ticker .mft-tts-mini-btn{ bottom:calc(var(--sp-bnav-h) + env(safe-area-inset-bottom) + 58px) !important; }
  body.has-sp-bnav.has-fixed-ticker:has(.mft-tts-mini-btn) .sp-fab{ bottom:calc(var(--sp-bnav-h) + env(safe-area-inset-bottom) + 110px) !important; }
  .mft-tts-mini-btn.is-playing i{ margin-left:0 !important; }
  .mft-tts-mini-btn.is-playing .mft-tts-mini-dot{ animation:none !important; opacity:.4; }
}

/* Dark mode: sections that stayed white */
[data-theme=dark] .bd-cat-nav,
[data-theme=dark] .bd-main-bar,
[data-theme=dark] .card-footer,
[data-theme=dark] .card-header,
[data-theme=dark] .creator_profile .creator_top,
[data-theme=dark] .creator_title,
[data-theme=dark] .custom-popup,
[data-theme=dark] .date-container p,
[data-theme=dark] .dokan_avater_box,
[data-theme=dark] .featured-image-box,
[data-theme=dark] .featured_image_article_selector,
[data-theme=dark] .follow-connector,
[data-theme=dark] .follow-others a,
[data-theme=dark] .highlight-news .ps-category-lead-news,
[data-theme=dark] .id-card-content,
[data-theme=dark] .instruction-box,
[data-theme=dark] .mahamudfutureit_footer_slidad,
[data-theme=dark] .mahamudfutureit_header_10,
[data-theme=dark] .mahamudfutureit_header_10 .tt_topbar,
[data-theme=dark] .mahamudfutureit_header_5 .tt_navbar,
[data-theme=dark] .mahamudfutureit_header_6 .tt_navbar,
[data-theme=dark] .mahamudfutureit_header_7 .tt_mainbar,
[data-theme=dark] .mahamudfutureit_header_7 .tt_navbar,
[data-theme=dark] .mahamudfutureit_header_8,
[data-theme=dark] .mahamudfutureit_header_8 .tt_mainbar,
[data-theme=dark] .mahamudfutureit_header_9,
[data-theme=dark] .mahamudfutureit_header_9 .tt_navbar,
[data-theme=dark] .mahamudfutureit_header_slidad,
[data-theme=dark] .mahamudfutureit_poll_options_item,
[data-theme=dark] .mfit-fb-body,
[data-theme=dark] .mfit-fb-frame,
[data-theme=dark] .mfit-fb-panel .mfit-trio-head .mfit-fb-follow,
[data-theme=dark] .mfit-pc-card,
[data-theme=dark] .mfit-pr-d1 .mfit-pr-row,
[data-theme=dark] .mfit-pr-d2 .mfit-pr-row,
[data-theme=dark] .mfit-pr-d3 .mfit-pr-row,
[data-theme=dark] .mfit-pr-d3 .mfit-pr-select,
[data-theme=dark] .mfit-ptr-card,
[data-theme=dark] .mfit-ptr-stat,
[data-theme=dark] .mfit-pwa-bar,
[data-theme=dark] .mfit-trio-panel,
[data-theme=dark] .mfit-trio-sec .mfit-fb-panel .mfit-trio-head .mfit-fb-follow,
[data-theme=dark] .mfit-trio-sec .mfit-pr-panel .mfit-pr-select,
[data-theme=dark] .mfit-trp-card,
[data-theme=dark] .mfit-trp-stat,
[data-theme=dark] .mft-tts-glass.mft-tts-style1,
[data-theme=dark] .mft-tts-glass.mft-tts-style5,
[data-theme=dark] .mft-tts-pd .mft-tts-progress-area,
[data-theme=dark] .mk-item,
[data-theme=dark] .mk-pending,
[data-theme=dark] .mk-total-card,
[data-theme=dark] .mobile_header_three .mheader,
[data-theme=dark] .mobile_header_three .mtopbar,
[data-theme=dark] .mobile_header_two .mtopbar,
[data-theme=dark] .otp-wd,
[data-theme=dark] .pg-bg,
[data-theme=dark] .pg-card,
[data-theme=dark] .pg-input,
[data-theme=dark] .pg-method,
[data-theme=dark] .pg-note,
[data-theme=dark] .pg-quick a,
[data-theme=dark] .pg-topbar,
[data-theme=dark] .ph-items li,
[data-theme=dark] .ph-note.no,
[data-theme=dark] .ph-note.ok,
[data-theme=dark] .ph-note.wait,
[data-theme=dark] .ph-order,
[data-theme=dark] .qa-grid .quote-card,
[data-theme=dark] .quote-card,
[data-theme=dark] .read_also_post .rmp_container,
[data-theme=dark] .sc-card,
[data-theme=dark] .search-input-group,
[data-theme=dark] .searchbar_container,
[data-theme=dark] .searchbar_container select,
[data-theme=dark] .select2-dropdown,
[data-theme=dark] .story-details .simage-caption,
[data-theme=dark] .trending-area.trending-style-10 .trending-chip,
[data-theme=dark] .trending-area.trending-style-11 .trending-chip,
[data-theme=dark] .trending-area.trending-style-2 .trending-chip,
[data-theme=dark] .trending-area.trending-style-3 .trending-chip,
[data-theme=dark] .trending-area.trending-style-4 .trending-chip,
[data-theme=dark] .trending-area.trending-style-5 .trending-chip,
[data-theme=dark] .trending-area.trending-style-7 .trending-chip,
[data-theme=dark] .trending-area.trending-style-8 .trending-chip,
[data-theme=dark] .trending-area.trending-style-9 .trending-chip,
[data-theme=dark] .tt_nav-menu .child-menu,
[data-theme=dark] td.zabuto-calendar__day--empty{ background:var(--sp-surface) !important; background-image:none !important; color:var(--sp-text) !important; border-color:var(--sp-line) !important; }
[data-theme=dark] [style*="background:#fff"],[data-theme=dark] [style*="background: #fff"],[data-theme=dark] [style*="background-color:#fff"],[data-theme=dark] [style*="background-color: #fff"],[data-theme=dark] [style*="background:white"],[data-theme=dark] [style*="background: white"],[data-theme=dark] [style*="background-color: white"],[data-theme=dark] [style*="background:#f"],[data-theme=dark] [style*="background: #f"],[data-theme=dark] [style*="background-color:#f"],[data-theme=dark] [style*="background-color: #f"]{ background:var(--sp-surface) !important; color:var(--sp-text) !important; }
[data-theme=dark] .text-black,[data-theme=dark] .text-body,[data-theme=dark] p,[data-theme=dark] li{ color:var(--sp-text); }
[data-theme=dark] input,[data-theme=dark] select,[data-theme=dark] textarea,[data-theme=dark] .form-control,[data-theme=dark] .form-select{ background-color:var(--sp-surface-2) !important; color:var(--sp-text) !important; border-color:var(--sp-line) !important; }

/* Dark mode: found by scanning the live homepage */
[data-theme=dark] .trending-chip,
[data-theme=dark] .mfit-hl-feature,[data-theme=dark] .mfit-hl-ftitle,[data-theme=dark] .mfit-hl-card,
[data-theme=dark] .heading-postcard,
[data-theme=dark] .qc-time-pill,
[data-theme=dark] .mfit-trio-head,
[data-theme=dark] .mfit-op-item,
[data-theme=dark] .mfit-trio-panel [style*="background"],
[data-theme=dark] .footer_middle{ background:var(--sp-surface-2) !important; background-image:none !important; color:var(--sp-text) !important; border-color:var(--sp-line) !important; }
[data-theme=dark] .mfit-trio-panel div:has(> small),[data-theme=dark] .mfit-trio-panel .row > div > div{ background:var(--sp-surface-2) !important; color:var(--sp-text) !important; }
[data-theme=dark] .quotes-section{ background:var(--sp-bg) !important; background-image:none !important; }
[data-theme=dark] .heading-postcard *,[data-theme=dark] .mfit-trio-head *,[data-theme=dark] .mfit-op-item *,[data-theme=dark] .footer_middle *,[data-theme=dark] .mfit-hl-card *,[data-theme=dark] .mfit-hl-feature *{ color:inherit; }
[data-theme=dark] .heading-postcard a,[data-theme=dark] .footer_middle a{ color:var(--sp-text) !important; }
[data-theme=dark] .quote-text,[data-theme=dark] .quote-author-name,[data-theme=dark] .quote-card{ color:var(--sp-text) !important; }
[data-theme=dark] .tt_navbar a,[data-theme=dark] .nav-item a,[data-theme=dark] .nav-item > a,[data-theme=dark] .home-nav-link a,[data-theme=dark] .header_featured_btn,[data-theme=dark] .mtopbar a,[data-theme=dark] .mheader a:not(.btn){ color:var(--sp-text) !important; }
[data-theme=dark] .spm-all,[data-theme=dark] .sp-sec-more,[data-theme=dark] .sp-bnav a.active span{ color:#ff5a52 !important; }
[data-theme=dark] .mfit-trio-sec .mfit-trio-panel .mfit-trio-head,[data-theme=dark] .mfit-trio-sec .mfit-pr-panel .mfit-trio-head,[data-theme=dark] .mfit-trio-sec .mfit-fb-panel .mfit-trio-head,[data-theme=dark] .mfit-trio-sec .mfit-op-panel .mfit-trio-head,[data-theme=dark] .mfit-trio-sec .mfit-tb-panel .mfit-trio-head{ background:var(--sp-surface-2) !important; color:var(--sp-text) !important; }
[data-theme=dark] .mfit-trio-sec .mfit-trio-head span{ color:var(--sp-text) !important; }
[data-theme=dark] .mfit-trio-sec .mfit-pr-si div,[data-theme=dark] .mfit-trio-sec .mfit-pr-row{ background:var(--sp-surface-2) !important; color:var(--sp-text) !important; border-color:var(--sp-line) !important; }
[data-theme=dark] .quotes-head h2{ color:var(--sp-text) !important; }
[data-theme=dark] .footer_middle div,[data-theme=dark] .footer_middle span{ color:var(--sp-text) !important; }
[data-theme=dark] .tt-text,[data-theme=dark] .post-main-title,[data-theme=dark] .writer-designation,[data-theme=dark] .mfit-follow-count,[data-theme=dark] .mfit-rr-label{ color:var(--sp-text) !important; }
[data-theme=dark] .mfit-action-link{ color:#ff5a52 !important; }
[data-theme=dark] h1.tt-primary-color,[data-theme=dark] h2.tt-primary-color{ color:#ff5a52 !important; }
[data-theme=dark] .zabuto-calendar a,[data-theme=dark] .zabuto-calendar td{ color:var(--sp-text) !important; }

/* ===== v3: Slim breaking ticker (single line, compact, smooth) ===== */
.sp-breaking{ align-items:stretch !important; height:38px; flex-wrap:nowrap !important; }
.sp-breaking-label{ font-size:13.5px; padding:0 16px 0 11px; gap:7px; }
.sp-ball-roll{ display:inline-flex; width:1.15em; height:1.15em; align-items:center; justify-content:center; font-size:15px; }
.sp-ball-roll i{ animation:spRollBall 2.4s linear infinite; }
@keyframes spRollBall{ to{ transform:rotate(360deg); } }
.sp-breaking .mfit-ticker-frame{ display:flex !important; align-items:center !important; height:100%; overflow:hidden; }
.sp-breaking .mfit-ticker-frame > .mahamudfutureit-ticker-container{ display:flex !important; flex-wrap:nowrap !important; align-items:center !important; min-height:0 !important; height:100% !important; padding:0 !important; width:100%; box-shadow:none !important; }
.sp-breaking .mahamudfutureit-ticker{ height:100%; display:flex; align-items:center; overflow:hidden; padding:0 !important; }
.sp-breaking .mahamudfutureit-ticker ul{ display:flex !important; flex-wrap:nowrap; align-items:center; width:max-content; }
.sp-breaking .mahamudfutureit-ticker ul li{ flex:0 0 auto; display:flex !important; align-items:center; margin:0 !important; padding:0 !important; }
.sp-breaking .ticker-item{ display:flex !important; align-items:center; gap:0 !important; padding:0 !important; margin:0 !important; }
.sp-breaking .ticker-item .tech-text{ font-size:14px; line-height:1; white-space:nowrap; padding:0 !important; margin:0 !important; }
.sp-breaking .ticker-item .ticker_img_icon{ width:15px !important; height:15px !important; margin:0 10px !important; }
@media (max-width:575.98px){
  .sp-breaking{ height:34px; }
  .sp-breaking-label{ font-size:12.5px; }
  .sp-breaking .ticker-item .tech-text{ font-size:13px; }
}

/* ===== v3: Post page live-score strip — always LIGHT (also in dark mode) ===== */
.spm--slim, [data-theme=dark] .spm--slim{ background:#ffffff !important; background-image:none !important; color:#111827 !important; border-top:1px solid #e5e7eb; border-bottom:2px solid var(--sp-red) !important; }
.spm--slim .spm-title{ color:#111827 !important; }
.spm--slim .spm-tab{ color:#374151 !important; background:#f3f4f6 !important; border-color:#e5e7eb !important; }
.spm--slim .spm-tab.active{ background:var(--sp-red) !important; color:#fff !important; border-color:var(--sp-red) !important; }
.spm--slim .spm-sl{ color:#111827 !important; border-right-color:#e5e7eb !important; }
.spm--slim .spm-sl:hover{ background:#f9fafb !important; }
.spm--slim .spm-sl .lg{ color:#6b7280 !important; }
.spm--slim .spm-sl .r b{ color:#111827 !important; }
.spm--slim .spm-sl.live .r b{ color:var(--sp-red) !important; }
.spm--slim .spm-sl .spm-b{ background:#eef0f3 !important; color:#4b5563 !important; }
.spm--slim .spm-sl .spm-b.live{ background:var(--sp-live) !important; color:#fff !important; }
.spm--slim .spm-empty{ color:#6b7280 !important; }
.spm--slim .spm-all{ color:var(--sp-red) !important; }
.spm--slim .spm-arrow{ color:#111827 !important; border-color:#d1d5db !important; background:#fff !important; }
.spm--slim .spm-skel{ background:linear-gradient(90deg,#f3f4f6,#e5e7eb,#f3f4f6) !important; background-size:200% 100% !important; }

/* ==========================================================
   v4: HOMEPAGE VIDEO / REELS FLOATING POPUP
   ========================================================== */
.mfv-ov{ position:fixed; inset:0; z-index:2147483000; display:flex; align-items:center; justify-content:center; padding:16px; background:rgba(8,10,16,.55); -webkit-backdrop-filter:blur(12px) saturate(1.1); backdrop-filter:blur(12px) saturate(1.1); opacity:0; transition:opacity .25s; }
.mfv-ov.show{ opacity:1; }
.mfv-box{ position:relative; width:min(920px,100%); transform:translateY(18px) scale(.96); transition:transform .3s cubic-bezier(.2,.9,.3,1.2); }
.mfv-ov.show .mfv-box{ transform:none; }
.mfv-box.vertical{ width:min(380px,100%); }
.mfv-frame{ position:relative; width:100%; aspect-ratio:16/9; background:#000; border-radius:14px; overflow:hidden; box-shadow:0 24px 70px rgba(0,0,0,.55); }
.mfv-box.vertical .mfv-frame{ aspect-ratio:9/16; max-height:82vh; margin:0 auto; }
.mfv-frame iframe,.mfv-frame video{ position:absolute; inset:0; width:100%; height:100%; border:0; background:#000; }
.mfv-load{ position:absolute; inset:0; display:flex; align-items:center; justify-content:center; }
.mfv-load::after{ content:""; width:38px; height:38px; border-radius:50%; border:3px solid rgba(255,255,255,.25); border-top-color:#fff; animation:mfvSpin .8s linear infinite; }
@keyframes mfvSpin{ to{ transform:rotate(360deg); } }
.mfv-x{ position:absolute; top:-46px; right:0; width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.35); background:rgba(255,255,255,.16); -webkit-backdrop-filter:blur(8px); backdrop-filter:blur(8px); color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer; padding:0; transition:transform .2s, background .2s; }
.mfv-x:hover{ background:var(--sp-red,#d50a0a); transform:rotate(90deg); }
.mfv-x svg{ width:16px; height:16px; stroke:#fff; stroke-width:2.6; stroke-linecap:round; fill:none; }
.mfv-box.vertical .mfv-x{ top:-46px; }
body.mfv-lock{ overflow:hidden; }
@media (max-width:575.98px){ .mfv-ov{ padding:12px; } .mfv-x{ top:-44px; } }
