/* ============ T20STAR v4.1 — advanced: fixtures calendar, results archive, chase math, expanded rankings & records ============ */
:root {
  --navy: #0b1f3a;
  --navy-2: #132e52;
  --navy-d: #071428;
  --red: #e63946;
  --red-d: #c92a36;
  --blue: #2b7fff;
  --green: #22b573;
  --amber: #f5a623;
  --ink: #1a2333;
  --muted: #6b7a90;
  --line: #e8edf3;
  --bg: #f2f5f9;
  --card: #fff;
  --font: 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-h: 'Poppins', 'Inter', sans-serif;
  --font-s: 'Rajdhani', 'Inter', sans-serif;
  --shadow: 0 1px 3px rgba(11,31,58,.08);
  --shadow-h: 0 8px 24px rgba(11,31,58,.14);
  --r: 10px;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); font-size: 14px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4 { font-family: var(--font-h); margin: 0 0 .4em; line-height: 1.3; letter-spacing: -.01em; }
a { color: var(--ink); text-decoration: none; transition: color .15s; }
img { max-width: 100%; height: auto; }
.t20s-wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------- header: premium navy with gradient ---------- */
.t20s-header { position: sticky; top: 0; z-index: 200; }
.t20s-hbar { background: linear-gradient(135deg, var(--navy-d) 0%, var(--navy) 60%, var(--navy-2) 100%); box-shadow: 0 2px 20px rgba(7,20,40,.35); }
.t20s-hbar-in { display: flex; align-items: center; height: 60px; gap: 20px; }
.t20s-logo { display: flex; align-items: center; }
.t20s-logo img { height: 44px !important; width: auto !important; max-width: 230px; border-radius: 0 !important; object-fit: contain; display: block; }
.t20s-logo:hover { opacity: .92; }
.t20s-logo .ball { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, var(--red), var(--red-d)); display: inline-flex; align-items: center; justify-content: center; font-size: 15px; box-shadow: 0 2px 8px rgba(230,57,70,.4); }
.t20s-logo b { color: var(--red); font-weight: 800; }
.t20s-nav { flex: 1; }
.t20s-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; justify-content: center; }
.t20s-menu a { color: #b8c6da; font-size: 14px; font-weight: 500; padding: 20px 13px; display: block; position: relative; transition: color .15s; }
.t20s-menu a:hover { color: #fff; }
.t20s-menu .current-menu-item a { color: #fff; font-weight: 700; }
.t20s-menu .current-menu-item a::after { content: ''; position: absolute; bottom: 0; left: 10px; right: 10px; height: 3px; background: var(--red); border-radius: 3px 3px 0 0; }
.t20s-hact { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.t20s-icobtn { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: #dbe4f0; width: 40px; height: 40px; border-radius: 10px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: all .15s; }
.t20s-icobtn:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-1px); }
.t20s-nav-toggle { display: none; flex-direction: column; gap: 4px; }
.t20s-nav-toggle span { width: 18px; height: 2px; background: #fff; border-radius: 2px; }

/* live strip below header — balanced: badge left, pills flex, link right */
.t20s-livestrip { background: var(--navy-d); border-top: 1px solid rgba(255,255,255,.06); overflow: hidden; }
.t20s-livestrip-in { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.t20s-ls-live { flex-shrink: 0; background: linear-gradient(135deg, var(--red), var(--red-d)); color: #fff; font-weight: 800; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; padding: 7px 14px; border-radius: 20px; display: inline-flex; align-items: center; gap: 7px; box-shadow: 0 2px 10px rgba(230,57,70,.4); }
.t20s-ls-live::before { content: ''; width: 8px; height: 8px; background: #fff; border-radius: 50%; animation: blink 1s infinite; }
.t20s-ls-live.idle { background: rgba(255,255,255,.1); box-shadow: none; }
.t20s-ls-live.idle::before { animation: none; opacity: .4; }
.t20s-ls-pills { flex: 1; display: flex; gap: 10px; overflow-x: auto; padding: 2px; scrollbar-width: none; min-width: 0; }
.t20s-ls-pills::-webkit-scrollbar { display: none; }
.t20s-ls-all { flex-shrink: 0; color: #fff; font-size: 12.5px; font-weight: 700; white-space: nowrap; padding: 7px 4px; opacity: .85; }
.t20s-ls-all:hover { color: #fff; opacity: 1; }
.t20s-ls-item { flex-shrink: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 8px 14px; color: #dbe4f0; font-size: 13px; display: flex; align-items: center; gap: 8px; }
.t20s-ls-item .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.2s infinite; }
.t20s-ls-item .sc { font-family: var(--font-s); font-weight: 700; color: #fff; }
@keyframes blink { 50% { opacity: .3; } }

/* search */
.t20s-searchbar { display: none; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px rgba(11,31,58,.1); }
.t20s-searchbar.open { display: block; animation: slideDown .2s ease; }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } }
.t20s-searchbar .t20s-wrap { padding-top: 14px; padding-bottom: 14px; }
.t20s-searchbar form { display: flex; gap: 10px; max-width: 560px; }
.t20s-searchbar input[type="search"] { flex: 1; padding: 12px 18px; border: 2px solid var(--line); border-radius: 12px; font-size: 15px; transition: border-color .15s; }
.t20s-searchbar input[type="search"]:focus { outline: none; border-color: var(--navy); }
.t20s-searchbar input[type="submit"] { background: var(--red); color: #fff; border: 0; border-radius: 12px; padding: 12px 28px; font-weight: 700; cursor: pointer; transition: background .15s; }
.t20s-searchbar input[type="submit"]:hover { background: var(--red-d); }

/* ---------- main ---------- */
.t20s-main { padding: 20px 0 48px; }
.t20s-cols { display: grid; grid-template-columns: 1fr 320px; gap: 20px; align-items: start; }

/* ---------- section headers ---------- */
.t20s-sh { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.t20s-sh h2 { font-size: 19px; margin: 0; display: flex; align-items: center; gap: 10px; }
.t20s-sh h2 .bar { width: 4px; height: 20px; background: linear-gradient(var(--red), var(--red-d)); border-radius: 2px; }
.t20s-sh a { font-size: 13px; font-weight: 700; color: var(--red); }
.t20s-sh a:hover { color: var(--red-d); }

/* ---------- series pills: refined ---------- */
.t20s-pills { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: none; }
.t20s-pills::-webkit-scrollbar { display: none; }
.t20s-pill { flex-shrink: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 8px 18px; font-size: 13px; font-weight: 600; color: var(--ink); cursor: pointer; transition: all .15s; box-shadow: var(--shadow); }
.t20s-pill:hover { border-color: var(--navy); transform: translateY(-1px); box-shadow: var(--shadow-h); }
.t20s-pill.on { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 4px 12px rgba(11,31,58,.25); }
.t20s-pill .n { opacity: .6; font-size: 12px; margin-left: 6px; font-weight: 500; }
.t20s-pill.on .n { opacity: .8; }

/* ---------- match cards: premium compact ---------- */
.t20s-mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; }
.t20s-mcard { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; transition: all .2s; box-shadow: var(--shadow); }
.t20s-mcard:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); border-color: #d0d9e4; }
.t20s-mcard.live { border-top: 3px solid var(--red); }
.t20s-mcard-top { padding: 10px 16px; background: #f8fafc; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.t20s-mcard-series { font-weight: 700; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.t20s-live-badge { background: linear-gradient(135deg, var(--red), var(--red-d)); color: #fff; font-weight: 800; font-size: 10px; letter-spacing: 1.2px; padding: 4px 12px; border-radius: 20px; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 2px 8px rgba(230,57,70,.35); }
.t20s-live-badge::before { content: ''; width: 7px; height: 7px; background: #fff; border-radius: 50%; animation: blink 1s infinite; }
.t20s-mcard-body { padding: 16px; }
.t20s-mteam { display: flex; justify-content: space-between; align-items: center; padding: 7px 0; }
.t20s-mteam-name { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.t20s-mflag { width: 30px; height: 22px; border-radius: 4px; background: linear-gradient(135deg, #e8edf3, #d0d9e4); display: inline-flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: var(--navy); flex-shrink: 0; }
.t20s-mscore { font-family: var(--font-s); font-weight: 700; font-size: 20px; color: var(--navy); letter-spacing: .3px; }
.t20s-mscore .ov { font-size: 13px; color: var(--muted); font-weight: 600; }
.t20s-mstatus { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 1.5; }
.t20s-mstatus.live { color: var(--red); font-weight: 700; }
.t20s-mstatus.win { color: var(--green); font-weight: 600; }
.t20s-mstatus.up { color: var(--amber); font-weight: 700; }
.t20s-countdown { display: inline-flex; align-items: center; gap: 6px; background: #fff7ed; border: 1px solid #fed7aa; color: #c2410c; font-weight: 700; padding: 4px 12px; border-radius: 20px; font-size: 12px; margin-top: 8px; }
.t20s-countdown .t { font-family: var(--font-s); font-size: 14px; letter-spacing: .5px; }

/* view tabs */
.t20s-vtabs { display: inline-flex; background: var(--card); border-radius: 12px; padding: 4px; border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 16px; }
.t20s-vtab { padding: 9px 24px; border-radius: 8px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; border: 0; background: none; transition: all .15s; }
.t20s-vtab:hover { color: var(--ink); }
.t20s-vtab.on { background: var(--navy); color: #fff; box-shadow: 0 2px 8px rgba(11,31,58,.2); }
.t20s-vtab .c { font-size: 11px; background: var(--red); color: #fff; border-radius: 10px; padding: 2px 8px; margin-left: 6px; font-weight: 700; }
.t20s-vtab.on .c { background: rgba(255,255,255,.25); }

/* ---------- news: rich cards ---------- */
.t20s-nsec { margin-bottom: 20px; }
.t20s-nsec-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.t20s-nsec-head h2 { font-size: 19px; margin: 0; display: flex; align-items: center; gap: 10px; }
.t20s-nsec-head h2::before { content: ''; width: 4px; height: 20px; background: linear-gradient(var(--red), var(--red-d)); border-radius: 2px; }
.t20s-nsec-head a { font-size: 13px; font-weight: 700; color: var(--red); }
.t20s-nsec-head a:hover { color: var(--red-d); }
.t20s-ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.t20s-ncard { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: all .2s; box-shadow: var(--shadow); }
.t20s-ncard:hover { box-shadow: var(--shadow-h); transform: translateY(-3px); }
.t20s-ncard-img { aspect-ratio: 16/9; overflow: hidden; position: relative; background: linear-gradient(135deg, var(--navy-2), var(--navy-d)); }
.t20s-ncard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.t20s-ncard:hover .t20s-ncard-img img { transform: scale(1.05); }
.t20s-ncard-img span.ph { color: rgba(255,255,255,.15); font-family: var(--font-h); font-weight: 800; font-size: 24px; letter-spacing: 3px; }
.t20s-ncard-cat { position: absolute; top: 12px; left: 12px; color: #fff; font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; padding: 5px 12px; border-radius: 20px; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.t20s-ncard-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.t20s-ncard-body h3 { font-size: 15px; margin: 0 0 10px; line-height: 1.45; flex: 1; }
.t20s-ncard-body h3 a:hover { color: var(--red); }
.t20s-ncard-meta { font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center; }

/* news list rows */
.t20s-nlist { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.t20s-nrow { display: flex; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--line); align-items: center; transition: background .15s; }
.t20s-nrow:last-child { border-bottom: 0; }
.t20s-nrow:hover { background: #f8fafc; }
.t20s-nrow-img { width: 110px; height: 68px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg, var(--navy-2), var(--navy-d)); display: flex; align-items: center; justify-content: center; }
.t20s-nrow-img img { width: 100%; height: 100%; object-fit: cover; }
.t20s-nrow-img span { color: rgba(255,255,255,.2); font-weight: 800; font-size: 14px; }
.t20s-nrow h4 { font-size: 14px; margin: 0 0 5px; font-weight: 600; line-height: 1.4; }
.t20s-nrow h4 a:hover { color: var(--red); }

/* ---------- sidebar widgets ---------- */
.t20s-side { display: flex; flex-direction: column; gap: 16px; }
.t20s-widget { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.t20s-widget > h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .8px; padding: 14px 16px; margin: 0; border-bottom: 1px solid var(--line); background: #f8fafc; display: flex; justify-content: space-between; align-items: center; }
.t20s-widget > h3 a { font-size: 12px; color: var(--red); font-weight: 700; text-transform: none; letter-spacing: 0; }
/* Sidebar upcoming matches: centered layout */
#t20s-side-upcoming { padding: 8px 12px 10px; }
#t20s-side-upcoming .t20s-side-row { align-items: center; text-align: center; padding-left: 8px; padding-right: 8px; }
#t20s-side-upcoming .t20s-side-teams { justify-content: center; }
#t20s-side-upcoming .t20s-side-meta { padding-left: 0; text-align: center; }
.t20s-wrow { padding: 11px 16px; border-bottom: 1px solid var(--line); font-size: 13px; transition: background .15s; }
.t20s-wrow:last-child { border-bottom: 0; }
.t20s-wrow:hover { background: #f8fafc; }
table.t20s-rt { width: 100%; border-collapse: collapse; font-size: 13px; }
.t20s-rt td { padding: 10px 16px; border-bottom: 1px solid var(--line); }
.t20s-rt tr:last-child td { border-bottom: 0; }
.t20s-rt tr:hover td { background: #f8fafc; }
.t20s-rt .rk { font-weight: 800; color: var(--muted); width: 32px; font-family: var(--font-s); font-size: 15px; }
.t20s-rt tr:first-child .rk { color: var(--amber); }
.t20s-rt .sc { font-family: var(--font-s); font-weight: 700; text-align: right; font-size: 16px; color: var(--navy); }

/* ---------- article ---------- */
.t20s-crumbs { font-size: 12px; color: var(--muted); margin-bottom: 12px; }
.t20s-crumbs a { color: var(--muted); }
.t20s-crumbs a:hover { color: var(--red); }
.t20s-article { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); padding: 36px; max-width: 820px; margin: 0 auto; box-shadow: var(--shadow); }
.t20s-article h1 { font-size: 30px; margin: 10px 0 14px; line-height: 1.25; letter-spacing: -.02em; }
.t20s-article-meta { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); flex-wrap: wrap; align-items: center; }
.t20s-article-meta strong { color: var(--ink); }
.t20s-article-body, .t20s-abody { font-size: 17px; line-height: 1.85; color: #2d3748; }
/* Drop cap only on single article pages, not static pages */
.single-post .t20s-article-body > p:first-of-type::first-letter, .single-post .t20s-abody > p:first-of-type::first-letter {
  font-size: 3.2em; font-weight: 800; float: left; line-height: 0.9;
  margin: 4px 10px 0 0; color: var(--navy);
}
[data-theme="dark"] .single-post .t20s-article-body > p:first-of-type::first-letter { color: #fff; }
.t20s-abody h2 { font-size: 22px; margin: 1.6em 0 .6em; color: var(--navy); }
.t20s-abody p { margin: 0 0 1.25em; }
.t20s-share { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin: 28px 0; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); }
.t20s-share-label { font-weight: 800; font-size: 14px; letter-spacing: -.01em; }
.t20s-share-btns { display: flex; gap: 10px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .t20s-share { justify-content: flex-start; padding: 16px; }
  .t20s-sh { width: 42px; height: 42px; }
}
.t20s-sh { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: #fff; border: 0; cursor: pointer; padding: 0; transition: transform .15s, box-shadow .15s, filter .15s; }
.t20s-sh svg { width: 20px; height: 20px; display: block; }
.t20s-sh:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,.22); filter: brightness(1.08); }
.t20s-sh:active { transform: translateY(-1px); }
.t20s-sh-x { background: #000; }
.t20s-sh-fb { background: #1877F2; }
.t20s-sh-wa { background: #25D366; }
.t20s-sh-tg { background: #229ED9; }
.t20s-sh-copy { background: var(--navy); }
.t20s-sh-copy.copied { background: #16a34a; }
[data-theme="dark"] .t20s-sh-x { background: #e7e9ea; color: #000; }


/* ---------- pro news article styling (Cricbuzz/Crex level) ---------- */
.t20s-article-body h2, .t20s-abody h2 { font-size: 22px; margin: 1.8em 0 .7em; color: var(--navy); letter-spacing: -.01em; line-height: 1.35; }
[data-theme="dark"] .t20s-article-body h2 { color: #fff; }
.t20s-article-body p, .t20s-abody p { margin: 0 0 1.3em; }
.t20s-article-body blockquote, .t20s-abody blockquote {
  margin: 1.8em 0; padding: 20px 24px 20px 28px; border-left: 4px solid var(--red);
  background: rgba(200,16,46,.05); border-radius: 0 12px 12px 0;
  font-size: 18px; font-style: italic; line-height: 1.7; color: var(--ink);
}
.t20s-article-body blockquote p:last-child, .t20s-abody blockquote p:last-child { margin-bottom: 0; }
.t20s-article-body a, .t20s-abody a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.t20s-article-body a:hover, .t20s-abody a:hover { text-decoration-thickness: 2px; }
.t20s-article-hero { margin: 24px 0 28px; }
.t20s-article-hero img { width: 100%; height: auto; border-radius: 14px; box-shadow: var(--shadow); }
.t20s-article-hero figcaption { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.5; border-bottom: 1px solid var(--line); padding-bottom: 14px; }
.t20s-byline-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 16px; }
.t20s-article-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 24px 0 8px; padding-top: 18px; border-top: 1px solid var(--line); }
.t20s-tags-label { font-weight: 700; font-size: 13px; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; }
.t20s-tag { display: inline-block; padding: 6px 14px; background: rgba(0,0,0,.05); border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--ink); text-decoration: none; transition: background .15s; }
.t20s-tag:hover { background: var(--red); color: #fff; }
[data-theme="dark"] .t20s-tag { background: rgba(255,255,255,.08); }
[data-theme="dark"] .t20s-article-body, [data-theme="dark"] .t20s-abody { color: #d1d5db; }

/* Fix sticky ticker overlapping content */
.t20s-live-strip.sticky { z-index: 50; }
.t20s-wrap { padding-top: 8px; }

/* Fix stats corner disclaimer truncation */
.t20s-disclaimer { white-space: normal; overflow: visible; text-overflow: clip; }


/* ---------- premium polish: best-version micro-interactions ---------- */
.t20s-ncard img, .t20s-article-hero img { transition: transform .35s cubic-bezier(.2,.7,.3,1); }
.t20s-ncard:hover img { transform: scale(1.04); }
.t20s-ncard { overflow: hidden; }
.t20s-ncard a:focus-visible, .t20s-mcard a:focus-visible, .t20s-tag:focus-visible {
  outline: 2px solid var(--red); outline-offset: 2px; border-radius: 4px;
}
.t20s-btn:active, .t20s-pill:active { transform: scale(.97); }
/* Skeleton shimmer for loading states */
@keyframes t20s-shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }
.t20s-skel {
  background: linear-gradient(90deg, var(--line) 25%, rgba(128,128,128,.12) 50%, var(--line) 75%);
  background-size: 800px 100%; animation: t20s-shimmer 1.4s infinite linear; border-radius: 8px;
}
/* Smoother card entrance */
@keyframes t20s-fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.t20s-ncard, .t20s-mcard { animation: t20s-fadeUp .4s ease-out; }
/* Better headline hierarchy on cards */
.t20s-ncard h3 { line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- related stories ---------- */
.t20s-related { margin: 36px 0 8px; }
.t20s-related > h2 { font-size: 20px; margin: 0 0 18px; letter-spacing: -.01em; display: flex; align-items: center; gap: 10px; }
.t20s-related > h2::before { content: ""; width: 4px; height: 22px; background: var(--red); border-radius: 2px; }
.t20s-ncard-body p { font-size: 13.5px; color: var(--muted); margin: 10px 0 0; line-height: 1.6; }

/* ---------- page ---------- */
.t20s-page { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); padding: 32px; box-shadow: var(--shadow); }
.t20s-page h1 { font-size: 28px; margin-bottom: 16px; letter-spacing: -.02em; }
.t20s-page h2 { font-size: 20px; margin: 1.6em 0 .6em; padding-left: 12px; border-left: 4px solid var(--red); }
.t20s-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); margin-bottom: 20px; overflow: hidden; box-shadow: var(--shadow); }
table.t20s-table { width: 100%; border-collapse: collapse; font-size: 14px; background: #fff; }
.t20s-table th { background: var(--navy); color: #fff; text-align: left; padding: 13px 16px; font-size: 12px; text-transform: uppercase; letter-spacing: .6px; font-weight: 700; }
.t20s-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.t20s-table tr:last-child td { border-bottom: 0; }
.t20s-table tr:hover td { background: #f8fafc; }

/* ---------- footer: premium dark ---------- */
.t20s-footer { background: linear-gradient(180deg, var(--navy-d), #050d1a); color: #8fa0b8; margin-top: 56px; }
.t20s-footer .t20s-wrap { padding-top: 48px; padding-bottom: 20px; }
.t20s-fgrid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.t20s-flogo { display: inline-block; }
.t20s-flogo img { height: 40px !important; width: auto !important; max-width: 210px; border-radius: 0 !important; object-fit: contain; display: block; }
.t20s-fbrand p { font-size: 13px; margin: 12px 0 16px; line-height: 1.7; }
.t20s-social { display: flex; gap: 10px; }
.t20s-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; transition: all .15s; }
.t20s-social a:hover { background: var(--red); border-color: var(--red); color: #fff; transform: translateY(-2px); }
.t20s-fcol h4 { color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.t20s-fmenu { list-style: none; margin: 0; padding: 0; }
.t20s-fmenu li { margin-bottom: 9px; }
.t20s-fmenu a { color: #8fa0b8; font-size: 13px; transition: color .15s; }
.t20s-fmenu a:hover { color: #fff; }
.t20s-fbottom { border-top: 1px solid rgba(255,255,255,.07); padding-top: 18px; display: flex; justify-content: space-between; font-size: 12px; flex-wrap: wrap; gap: 10px; }

.t20s-ad { background: #edf1f6; border: 1px dashed #c3ccd8; border-radius: 8px; text-align: center; padding: 18px; font-size: 11px; color: var(--muted); letter-spacing: 1.5px; text-transform: uppercase; margin: 18px 0; }

/* ---------- page head (v4.1: fixtures / results / series / teams / rankings / stats) ---------- */
.t20s-pagehead { margin: 4px 0 20px; }
.t20s-pagehead h1 { font-size: 30px; letter-spacing: -.02em; margin-bottom: 6px; }
.t20s-pagehead p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* ---------- rankings & records cards (v4.1) ---------- */
.t20s-rank-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.t20s-rank-card { background: var(--card); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; box-shadow: var(--shadow); }
.t20s-rank-card > h2 { font-size: 17px; margin: 0; padding: 16px 18px; border-bottom: 1px solid var(--line); background: #f8fafc; display: flex; align-items: center; gap: 10px; }
.t20s-rank-card > h2::before { content: ''; width: 4px; height: 20px; background: linear-gradient(var(--red), var(--red-d)); border-radius: 2px; flex-shrink: 0; }
.t20s-rank-card .t20s-table-wrap { margin: 0; border: 0; border-radius: 0; box-shadow: none; }
.t20s-rank-table .rk { font-family: var(--font-s); font-weight: 800; font-size: 15px; color: var(--muted); width: 34px; }
.t20s-rank-table tbody tr:first-child .rk { color: var(--amber); }
.t20s-src-note { font-size: 12px; color: var(--muted); padding: 10px 18px; margin: 0; border-top: 1px solid var(--line); background: #fbfcfe; }

/* ---------- v4.3: player avatars (rankings) ---------- */
.t20s-pname { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; }
.t20s-pavatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; object-position: center 18%; border: 2px solid var(--line); background: #dfe7f2; flex: none; }

/* ---------- v4.2: breaking badge ---------- */
.t20s-breaking { display: inline-flex; align-items: center; gap: 5px; background: linear-gradient(135deg, var(--red), var(--red-d)); color: #fff; font-size: 9.5px; font-weight: 800; letter-spacing: 1.2px; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; box-shadow: 0 2px 8px rgba(230,57,70,.4); }
.t20s-breaking::before { content: ''; width: 6px; height: 6px; background: #fff; border-radius: 50%; animation: blink 1s infinite; }
.t20s-ncard-img .t20s-breaking { position: absolute; top: 12px; right: 12px; }
.t20s-nrow .t20s-breaking { margin-left: 8px; }

/* ---------- v4.2: tab switcher (rankings / stats) ---------- */
.t20s-tabs { display: inline-flex; background: var(--card); border-radius: 12px; padding: 4px; border: 1px solid var(--line); box-shadow: var(--shadow); margin-bottom: 18px; flex-wrap: wrap; gap: 2px; }
.t20s-tabbtn { padding: 9px 22px; border-radius: 8px; font-weight: 700; font-size: 13.5px; color: var(--muted); cursor: pointer; border: 0; background: none; transition: all .15s; font-family: var(--font-h); }
.t20s-tabbtn:hover { color: var(--ink); }
.t20s-tabbtn.on { background: var(--navy); color: #fff; box-shadow: 0 2px 8px rgba(11,31,58,.2); }

/* ---------- v4.2: fixtures view toggle + month headers ---------- */
.t20s-viewbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.t20s-viewtoggle { display: inline-flex; background: var(--card); border-radius: 10px; padding: 3px; border: 1px solid var(--line); }
.t20s-viewtoggle button { padding: 7px 18px; border-radius: 7px; font-weight: 700; font-size: 13px; color: var(--muted); cursor: pointer; border: 0; background: none; }
.t20s-viewtoggle button.on { background: var(--navy); color: #fff; }
.t20s-fx-month-head { position: sticky; top: 112px; z-index: 50; background: var(--navy); color: #fff; font-family: var(--font-h); font-size: 15px; font-weight: 700; padding: 10px 18px; border-radius: 10px; margin: 20px 0 12px; box-shadow: 0 4px 14px rgba(11,31,58,.25); display: flex; align-items: center; gap: 10px; }
.t20s-fx-month-head::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

/* ---------- v4.2: filter bars (results team / teams search) ---------- */
.t20s-filterbar { display: flex; gap: 10px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.t20s-filterbar select, .t20s-filterbar input[type="search"] { padding: 10px 16px; border: 2px solid var(--line); border-radius: 10px; font-size: 14px; background: #fff; font-family: var(--font); min-width: 220px; }
.t20s-filterbar select:focus, .t20s-filterbar input[type="search"]:focus { outline: none; border-color: var(--navy); }
.t20s-filterbar .t20s-fcount { font-size: 13px; color: var(--muted); }

/* ---------- v4.2: series format badges ---------- */
.t20s-fmt-badge { display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .8px; background: var(--navy); color: #fff; padding: 3px 10px; border-radius: 20px; margin-left: 8px; vertical-align: middle; }
.t20s-pick-card { position: relative; transition: all .2s; }
.t20s-pick-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-h); }

/* ---------- v4.2: footer live indicator + back to top ---------- */
.t20s-foot-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #8fa0b8; }
.t20s-foot-live:empty { display: none; }
.t20s-foot-live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #5a6b84; }
.t20s-foot-live.on { color: #fff; }
.t20s-foot-live.on::before { background: var(--red); animation: blink 1.2s infinite; }
#t20s-top { position: fixed; right: 22px; bottom: 22px; z-index: 400; width: 46px; height: 46px; border-radius: 50%; border: 0; background: linear-gradient(135deg, var(--red), var(--red-d)); color: #fff; font-size: 20px; cursor: pointer; box-shadow: 0 6px 20px rgba(230,57,70,.4); opacity: 0; transform: translateY(12px); pointer-events: none; transition: all .25s; }
#t20s-top.show { opacity: 1; transform: none; pointer-events: auto; }
#t20s-top:hover { transform: translateY(-3px); }

/* ---------- v4.2: sidebar follow box + mini list ---------- */
.t20s-follow { padding: 16px; text-align: center; }
.t20s-follow p { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.t20s-follow .t20s-social { justify-content: center; }
.t20s-follow .t20s-social a { background: var(--navy); border-color: var(--navy); }
.t20s-follow .t20s-social a:hover { background: var(--red); border-color: var(--red); }
.t20s-wmini { display: flex; gap: 12px; padding: 10px 16px; border-bottom: 1px solid var(--line); align-items: center; }
.t20s-wmini:last-child { border-bottom: 0; }
.t20s-wmini:hover { background: #f8fafc; }
.t20s-wmini-img { width: 64px; height: 44px; border-radius: 6px; overflow: hidden; flex-shrink: 0; background: linear-gradient(135deg, var(--navy-2), var(--navy-d)); display: flex; align-items: center; justify-content: center; }
.t20s-wmini-img img { width: 100%; height: 100%; object-fit: cover; }
.t20s-wmini-img span { color: rgba(255,255,255,.25); font-weight: 800; font-size: 11px; }
.t20s-wmini h5 { font-size: 12.5px; margin: 0 0 3px; line-height: 1.35; font-weight: 600; }
.t20s-wmini h5 a:hover { color: var(--red); }
.t20s-wmini .t20s-ncard-meta { font-size: 11px; }

@media (max-width: 960px) {
  .t20s-rank-grid { grid-template-columns: 1fr; }
  .t20s-pagehead h1 { font-size: 24px; }
  .t20s-cols { grid-template-columns: 1fr; }
  .t20s-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-d); z-index: 300; box-shadow: 0 12px 32px rgba(0,0,0,.4); }
  .t20s-nav.open { display: block; }
  .t20s-menu { flex-direction: column; padding: 8px; }
  .t20s-menu a { padding: 13px 16px; border-radius: 8px; }
  .t20s-menu .current-menu-item a::after { display: none; }
  .t20s-menu .current-menu-item a { background: rgba(255,255,255,.08); }
  .t20s-nav-toggle { display: flex; }
  .t20s-ngrid { grid-template-columns: 1fr 1fr; }
  .t20s-fgrid { grid-template-columns: 1fr 1fr; }
  .t20s-article, .t20s-page { padding: 22px; }
  .t20s-article h1 { font-size: 24px; }
}
@media (max-width: 620px) {
  .t20s-ngrid, .t20s-mgrid { grid-template-columns: 1fr; }
  .t20s-fgrid { grid-template-columns: 1fr; }
  .t20s-hbar-in { gap: 12px; }
  .t20s-logo { font-size: 21px; }
}

/* ---------- dark mode (v4.4.0) ---------- */
[data-theme="dark"]{
  --ink:#E8EDF3;--muted:#9AA7BC;--line:#24344D;--bg:#0B1526;--card:#12203A;
  --shadow:0 1px 3px rgba(0,0,0,.35);--shadow-h:0 8px 24px rgba(0,0,0,.45);
}
[data-theme="dark"] .t20s-searchbar{background:#12203A;}
[data-theme="dark"] .t20s-searchbar input[type="search"]{background:#0B1526;color:#E8EDF3;border-color:#24344D;}
[data-theme="dark"] img{filter:brightness(.96);}
[data-theme="dark"] .t20s-ic-moon{display:none;}



[data-theme="dark"] .t20s-filterbar select,
[data-theme="dark"] .t20s-filterbar input[type="search"]{background:#12203A;border-color:#24344D;color:#E8EDF3;}

/* ---------- styled scrollbars for carousels (v4.5.13) ---------- */
.t20s-series-chips::-webkit-scrollbar,
.t20s-mcards::-webkit-scrollbar{height:6px;}
.t20s-series-chips::-webkit-scrollbar-track,
.t20s-mcards::-webkit-scrollbar-track{background:transparent;}
.t20s-series-chips::-webkit-scrollbar-thumb,
.t20s-mcards::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:3px;}
.t20s-series-chips::-webkit-scrollbar-thumb:hover,
.t20s-mcards::-webkit-scrollbar-thumb:hover{background:#94a3b8;}
[data-theme="dark"] .t20s-series-chips::-webkit-scrollbar-thumb,
[data-theme="dark"] .t20s-mcards::-webkit-scrollbar-thumb{background:#334155;}
[data-theme="dark"] .t20s-series-chips::-webkit-scrollbar-thumb:hover,
[data-theme="dark"] .t20s-mcards::-webkit-scrollbar-thumb:hover{background:#475569;}




/* ---------- team flags in tables (v4.5.17) ---------- */
.t20s-flag{border-radius:3px;vertical-align:middle;margin-right:8px;box-shadow:0 1px 2px rgba(0,0,0,.15);}
.t20s-team-cell{display:inline-flex;align-items:center;}

[data-theme="dark"] .t20s-countdown{background:#2A1A0A;border-color:#5A3A1A;color:#FDBA74;}
[data-theme="dark"] .t20s-countdown .time{color:#FDBA74;}
[data-theme="dark"] .t20s-countdown .lbl{color:#FDBA74;}

/* ---------- dark mode: hover states (v4.5.16) ---------- */
[data-theme="dark"] .t20s-nrow:hover,
[data-theme="dark"] .t20s-wrow:hover,
[data-theme="dark"] .t20s-wmini:hover{background:#1A2B4A;}
[data-theme="dark"] .t20s-rt tr:hover td,
[data-theme="dark"] .t20s-table tr:hover td{background:#1A2B4A;}
[data-theme="dark"] .t20s-ncard:hover{border-color:#2A3F5F;}
[data-theme="dark"] .t20s-mcard:hover{border-color:#2A3F5F;}

/* ---------- dark mode: remaining white elements (v4.5.15) ---------- */
[data-theme="dark"] [data-t20s-teams-search]{background:#12203A;border-color:#24344D;color:#E8EDF3;}
[data-theme="dark"] [data-t20s-teams-search]::placeholder{color:#9AA7BC;}
[data-theme="dark"] .t20s-page{background:#12203A;}
[data-theme="dark"] .t20s-pagehead p{color:#9AA7BC;}

/* ---------- dark mode: fix hardcoded light backgrounds (v4.5.13) ---------- */
[data-theme="dark"] .t20s-rank-card > h2,
[data-theme="dark"] .t20s-widget > h3,
[data-theme="dark"] .t20s-mcard-top{background:#1A2B4A;color:#E8EDF3;}
[data-theme="dark"] .t20s-table{background:#12203A;color:#E8EDF3;}
[data-theme="dark"] .t20s-table th{background:#1A2B4A;color:#E8EDF3;}
[data-theme="dark"] .t20s-table td{color:#E8EDF3;border-color:#24344D;}
[data-theme="dark"] .t20s-rank-card{background:#12203A;}
[data-theme="dark"] .t20s-src-note{color:#9AA7BC;}
[data-theme="dark"] .t20s-ncard{background:#12203A;}
[data-theme="dark"] .t20s-ncard-title{color:#E8EDF3;}

/* ---------- inline article images (v4.5.3) ---------- */
.t20s-inline-img{margin:24px auto;max-width:400px;}
.t20s-inline-img img{width:100%;height:auto;border-radius:12px;display:block;box-shadow:var(--shadow);}
.t20s-inline-img figcaption{font-size:12.5px;color:var(--muted);text-align:center;margin-top:8px;}

/* ---------- single article category badge (v4.5.5) ---------- */
.t20s-article .t20s-card-cat{position:static;display:inline-block;color:#fff;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:1px;padding:6px 14px;border-radius:20px;text-decoration:none;box-shadow:0 2px 8px rgba(0,0,0,.18);}
