/* BBL 2027 Players & Stats pages (inc/bbl-league.php). Loaded only on those views. */

.sps-page {
	--sps-ink:#ffffff;
	--sps-text:#d6d6de;
	--sps-muted:#a9a9b8;
	--sps-line:#2a2a36;
	--sps-soft:#07070a;
	--sps-red:#e8177d;
	--sps-purple:#e8177d;
	--sps-grad:#000;
	--sps-head:var(--bbl-font-heading, system-ui, sans-serif);
	--sps-nav:var(--bbl-font-nav, system-ui, sans-serif);
	background:var(--sps-soft);
	color:var(--sps-text);
	font-family:var(--bbl-font-body, system-ui, sans-serif);
	width:100%;
}
.sps-page *, .sps-page *::before, .sps-page *::after { box-sizing:border-box; }
.sps-wrap { max-width:1240px; margin:0 auto; padding:0 20px; }
.sps-page a { text-decoration:none; }

/* ---------- Hero ---------- */
.sps-hero { position:relative; overflow:hidden; padding:48px 0 44px; background:#000; color:#fff; }
.sps-hero::before { content:""; position:absolute; top:-30%; right:-10%; width:600px; height:600px; border-radius:50%; background:none; pointer-events:none; }
.sps-hero::after { content:""; position:absolute; bottom:-30%; left:-10%; width:420px; height:420px; border-radius:50%; background:none; pointer-events:none; }
.sps-hero .sps-wrap { position:relative; z-index:1; }
.sps-crumbs { display:inline-flex; flex-wrap:wrap; align-items:center; gap:8px; margin:0 0 16px; padding:6px 14px 6px 12px; border-radius:999px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.12); font:600 12.5px/1.2 var(--sps-nav); color:#cbd5e1; }
.sps-crumbs a { color:#e2e8f0 !important; }
.sps-crumbs a:hover { color:#fff !important; }
.sps-crumbs .sep { color:#a9a9b8; }
.sps-crumbs .dot { width:7px; height:7px; border-radius:50%; background:var(--sps-red); box-shadow:0 0 0 3px rgba(230,57,70,.25); }
.sps-hero h1 { margin:0; max-width:980px; color:#fff !important; font:800 clamp(26px, 3.4vw, 42px)/1.15 var(--sps-head); letter-spacing:-.015em; text-transform:none; }
.sps-hero p.sps-lead { margin:12px 0 0; max-width:760px; color:#cbd5e1; font-size:16px; line-height:1.6; }
.sps-meta { margin-top:14px; font:600 12.5px/1.4 var(--sps-nav); color:#a9a9b8; }
.sps-meta b { color:#e2e8f0; font-weight:700; }

/* ---------- Layout ---------- */
.sps-main { padding:32px 0 56px; }
.sps-grid { display:grid; grid-template-columns:minmax(0, 1fr) 320px; gap:28px; align-items:start; }
.sps-grid > * { min-width:0; }
.sps-card { background:#111117; border:1px solid var(--sps-line); border-radius:16px; box-shadow:0 4px 18px -10px rgba(0,0,0,.12); }
.sps-pad { padding:22px; }
.sps-h2 { position:relative; margin:0 0 16px; padding-left:14px; font:800 clamp(20px, 2vw, 24px)/1.25 var(--sps-head); color:var(--sps-ink); letter-spacing:-.01em; text-transform:none; }
.sps-h2::before { content:""; position:absolute; left:0; top:.15em; bottom:.15em; width:5px; border-radius:4px; background:#dfff00; }
.sps-section { margin-bottom:32px; }
.sps-note { margin:0; font-size:14px; color:var(--sps-muted); }
.sps-empty { padding:28px; text-align:center; color:var(--sps-muted); font-size:15px; }

/* ---------- Tiles ---------- */
.sps-tiles { display:grid; grid-template-columns:repeat(6, minmax(0, 1fr)); gap:12px; margin-bottom:28px; }
.sps-tile { padding:16px 12px; text-align:center; background:#111117; border:1px solid var(--sps-line); border-radius:14px; }
.sps-tile b { display:block; font:800 26px/1.1 var(--sps-head); color:var(--sps-ink); }
.sps-tile span { display:block; margin-top:6px; font:700 11px/1.2 var(--sps-nav); letter-spacing:.06em; text-transform:uppercase; color:var(--sps-muted); }

/* ---------- Avatar / logos ---------- */
.sps-avatar { --sps-c:#333; flex:none; display:inline-grid; place-items:center; border-radius:50%; color:#fff; font-family:var(--sps-head); font-weight:800; letter-spacing:.02em; background:var(--sps-c); }
.sps-avatar--sm { width:34px; height:34px; font-size:12.5px; }
.sps-avatar--md { width:64px; height:64px; font-size:22px; }
.sps-avatar--lg { width:132px; height:132px; font-size:46px; box-shadow:0 0 0 6px rgba(255,255,255,.08), 0 18px 40px -16px rgba(0,0,0,.6); }
.sps-team-logo { flex:none; width:20px; height:20px; object-fit:contain; border-radius:4px; vertical-align:middle; }
.sps-plink { color:var(--sps-ink) !important; font-weight:700; }
a.sps-plink:hover { color:var(--sps-purple) !important; text-decoration:underline !important; }

/* ---------- Filters ---------- */
.sps-filters { display:flex; flex-wrap:wrap; align-items:center; gap:10px; margin-bottom:18px; padding:14px; }
.sps-input, .sps-select { height:42px; padding:0 14px; border:1px solid var(--sps-line) !important; border-radius:10px !important; background:#111117; color:var(--sps-ink); font:500 14.5px/1 var(--sps-nav); box-shadow:none !important; }
.sps-input { flex:1 1 220px; min-width:0; }
.sps-select { flex:0 1 220px; min-width:0; }
.sps-input:focus, .sps-select:focus { outline:2px solid rgba(79,20,122,.35); outline-offset:1px; }
.sps-chips { display:flex; flex-wrap:wrap; gap:6px; }
.sps-chip { height:36px; padding:0 14px; border:1px solid var(--sps-line) !important; border-radius:999px !important; background:#111117 !important; color:var(--sps-text) !important; font:700 13px/1 var(--sps-nav) !important; cursor:pointer; display:inline-flex; align-items:center; }
.sps-chip:hover { border-color:#3b2a7a !important; color:var(--sps-purple) !important; }
.sps-chip.is-on, .sps-chip[aria-current="page"] { background:var(--sps-purple) !important; border-color:var(--sps-purple) !important; color:#fff !important; }
.sps-count { margin:0 0 14px; font:600 13.5px/1.3 var(--sps-nav); color:var(--sps-muted); }

/* ---------- Players grid ---------- */
.sps-players { display:grid; grid-template-columns:repeat(auto-fill, minmax(210px, 1fr)); gap:14px; }
.sps-pcard { display:flex; flex-direction:column; align-items:center; gap:10px; padding:20px 14px 16px; text-align:center; background:#111117; border:1px solid var(--sps-line); border-radius:16px; transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease; }
.sps-pcard:hover { transform:translateY(-3px); border-color:#3b2a7a; box-shadow:0 14px 28px -16px rgba(79,20,122,.45); }
.sps-pcard[hidden] { display:none; }
.sps-pcard-name { font:800 16px/1.25 var(--sps-head); color:var(--sps-ink); }
.sps-role { display:inline-block; padding:4px 10px; border-radius:999px; background:rgba(74,32,255,.18); color:var(--sps-purple); font:700 11.5px/1 var(--sps-nav); letter-spacing:.03em; text-transform:uppercase; }
.sps-pcard-team { display:inline-flex; align-items:center; gap:6px; font:600 13px/1.2 var(--sps-nav); color:var(--sps-muted); }
.sps-more { display:flex; justify-content:center; margin-top:22px; }
.sps-btn { display:inline-flex; align-items:center; justify-content:center; gap:8px; height:44px; padding:0 22px; border:0 !important; border-radius:999px !important; background:var(--sps-grad) !important; color:#fff !important; font:800 13.5px/1 var(--sps-nav) !important; letter-spacing:.03em; cursor:pointer; box-shadow:0 12px 24px -12px rgba(163,22,107,.6); }
.sps-btn:hover { filter:brightness(1.06); }
.sps-btn[hidden] { display:none; }
.sps-link { color:var(--sps-purple) !important; font:700 13.5px/1.2 var(--sps-nav); }
.sps-link:hover { text-decoration:underline !important; }

/* ---------- Tables ---------- */
.sps-table-wrap { overflow-x:auto; border-radius:14px; border:1px solid var(--sps-line); background:#111117; }
.sps-table { width:100%; margin:0 !important; border:0 !important; border-collapse:collapse; font-size:14px; }
.sps-table th { position:sticky; top:0; padding:12px 12px !important; border:0 !important; background:#000 !important; color:#fff !important; font:700 11.5px/1.2 var(--sps-nav) !important; letter-spacing:.05em; text-transform:uppercase; text-align:center; white-space:nowrap; }
.sps-table th:first-child, .sps-table th.sps-l { text-align:left; }
.sps-table td { padding:11px 12px !important; border:0 !important; border-bottom:1px solid #20202a !important; color:var(--sps-text); text-align:center; white-space:nowrap; vertical-align:middle; }
.sps-table td.sps-l { text-align:left; }
.sps-table tr:last-child td { border-bottom:0 !important; }
.sps-table tbody tr:hover td { background:#17171f; }
.sps-table td.sps-hl { color:var(--sps-ink); font-weight:800; background:#1b1b24; }
.sps-table tr[hidden] { display:none; }
.sps-rank { display:inline-grid; place-items:center; width:28px; height:28px; border-radius:50%; background:#17171f; color:var(--sps-ink); font:800 12.5px/1 var(--sps-head); }
tr:nth-child(1) > td > .sps-rank.r1, .sps-rank.r1 { background:#1b1b24; color:#78350f; }
.sps-rank.r2 { background:#2a2a36; color:#1e293b; }
.sps-rank.r3 { background:#1b1b24; color:#7c2d12; }
.sps-who { display:flex; align-items:center; gap:10px; min-width:180px; }
.sps-who small { display:flex; align-items:center; gap:5px; margin-top:3px; font:600 12px/1.2 var(--sps-nav); color:var(--sps-muted); }

/* ---------- Leader cards (stats hub) ---------- */
.sps-leaders { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; }
.sps-lcard { overflow:hidden; }
.sps-lcard-head { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:14px 18px; background:#000; color:#fff; }
.sps-lcard-head h3 { margin:0; color:#fff !important; font:800 15px/1.2 var(--sps-head); text-transform:none; }
.sps-lcard-head a { color:#f5d0fe !important; font:700 12.5px/1 var(--sps-nav); white-space:nowrap; }
.sps-lcard-head a:hover { color:#fff !important; }
.sps-lrow { display:flex; align-items:center; gap:12px; padding:11px 18px; border-bottom:1px solid #20202a; }
.sps-lrow:last-child { border-bottom:0; }
.sps-lrow .sps-who { flex:1; min-width:0; }
.sps-lrow .sps-who > div { min-width:0; }
.sps-lrow .sps-plink { display:block; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sps-lval { text-align:right; }
.sps-lval b { display:block; font:800 20px/1 var(--sps-head); color:var(--sps-ink); }
.sps-lval span { font:700 10.5px/1 var(--sps-nav); letter-spacing:.06em; text-transform:uppercase; color:var(--sps-muted); }

/* ---------- Podium ---------- */
.sps-podium { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:14px; margin-bottom:24px; align-items:end; }
.sps-pod { position:relative; padding:22px 14px 18px; text-align:center; }
.sps-pod.p1 { order:2; padding-top:30px; border-top:4px solid #f59e0b; }
.sps-pod.p2 { order:1; border-top:4px solid #94a3b8; }
.sps-pod.p3 { order:3; border-top:4px solid #ea580c; }
.sps-pod .sps-rank { position:absolute; top:12px; left:12px; }
.sps-pod .sps-avatar { margin:0 auto 10px; }
.sps-pod .sps-plink { display:block; font-family:var(--sps-head); font-size:16px; line-height:1.25; }
.sps-pod small { display:inline-flex; align-items:center; gap:5px; margin-top:4px; font:600 12.5px/1.2 var(--sps-nav); color:var(--sps-muted); }
.sps-pod .sps-lval { margin-top:12px; text-align:center; }
.sps-pod .sps-lval b { font-size:30px; background:var(--sps-grad); -webkit-background-clip:text; background-clip:text; color:transparent; }

/* ---------- Stat nav ---------- */
.sps-statnav { margin-bottom:22px; padding:14px; }
.sps-statnav h3 { margin:4px 0 8px; font:800 11.5px/1 var(--sps-nav); letter-spacing:.08em; text-transform:uppercase; color:var(--sps-muted); }
.sps-statnav .sps-chips + h3 { margin-top:14px; }
.sps-statnav .sps-chip { height:32px; padding:0 12px; font-size:12.5px !important; }

/* ---------- Sidebar ---------- */
.sps-side { display:grid; gap:18px; }
.sps-side-title { position:relative; margin:0 0 12px; padding-left:12px; font:800 16px/1.2 var(--sps-head); color:var(--sps-ink); text-transform:none; }
.sps-side-title::before { content:""; position:absolute; left:0; top:.12em; bottom:.12em; width:4px; border-radius:3px; background:#dfff00; }
.sps-links { list-style:none; margin:0; padding:0; display:grid; gap:2px; }
.sps-links a { display:flex; align-items:center; justify-content:space-between; gap:10px; padding:9px 10px; border-radius:10px; color:#d6d6de !important; font:600 14px/1.3 var(--sps-nav); }
.sps-links a::after { content:"\2192"; color:#8f8f9e; }
.sps-links a:hover, .sps-links a[aria-current="page"] { background:#1b1b24; color:var(--sps-purple) !important; }
.sps-facts { margin:0; display:grid; gap:0; }
.sps-facts div { display:flex; justify-content:space-between; gap:12px; padding:10px 0; border-bottom:1px solid #20202a; font-size:14px; }
.sps-facts div:last-child { border-bottom:0; }
.sps-facts dt { color:var(--sps-muted); font-weight:600; }
.sps-facts dd { margin:0; color:var(--sps-ink); font-weight:700; text-align:right; }

/* ---------- Player profile ---------- */
.sps-profile-head { display:flex; align-items:center; gap:28px; }
.sps-profile-head h1 { margin-bottom:10px; }
.sps-badges { display:flex; flex-wrap:wrap; align-items:center; gap:8px; }
.sps-badge { display:inline-flex; align-items:center; gap:7px; padding:6px 12px; border-radius:999px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); color:#e2e8f0; font:700 13px/1 var(--sps-nav); }
.sps-badge--accent { background:var(--sps-grad); border-color:transparent; color:#fff; }
.sps-badge .sps-team-logo { width:18px; height:18px; background:#111117; border-radius:50%; padding:1px; }
.sps-quick { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:10px; margin-top:22px; max-width:760px; }
.sps-quick div { padding:12px 14px; border-radius:12px; background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.1); }
.sps-quick span { display:block; font:700 10.5px/1 var(--sps-nav); letter-spacing:.07em; text-transform:uppercase; color:#a9a9b8; }
.sps-quick b { display:block; margin-top:6px; font:700 14.5px/1.3 var(--sps-head); color:#fff; }
.sps-social { display:flex; gap:8px; margin-top:16px; }
.sps-social a { display:inline-flex; align-items:center; gap:6px; padding:7px 12px; border-radius:999px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.14); color:#e2e8f0 !important; font:700 12.5px/1 var(--sps-nav); }
.sps-social a:hover { background:rgba(255,255,255,.16); color:#fff !important; }
.sps-season { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:16px; }
.sps-season h3 { margin:0 0 12px; font:800 13px/1 var(--sps-nav); letter-spacing:.07em; text-transform:uppercase; color:var(--sps-purple); }
.sps-kpis { display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; }
.sps-kpis div { padding:12px 8px; text-align:center; border-radius:12px; background:var(--sps-soft); }
.sps-kpis b { display:block; font:800 22px/1.1 var(--sps-head); color:var(--sps-ink); }
.sps-kpis span { display:block; margin-top:4px; font:700 10.5px/1 var(--sps-nav); letter-spacing:.06em; text-transform:uppercase; color:var(--sps-muted); }
.sps-tabs { display:flex; gap:6px; margin-bottom:14px; }
.sps-tabpanel[hidden] { display:none; }
.sps-bio p { margin:0 0 12px; font-size:16px; line-height:1.75; color:var(--sps-text); }
.sps-bio p:last-child { margin-bottom:0; }
.sps-mates { display:grid; grid-template-columns:repeat(auto-fill, minmax(200px, 1fr)); gap:10px; }
.sps-mate { display:flex; align-items:center; gap:10px; padding:10px 12px; border:1px solid var(--sps-line); border-radius:12px; background:#111117; }
.sps-mate:hover { border-color:#3b2a7a; background:#17171f; }
.sps-mate b { display:block; font:700 14px/1.25 var(--sps-head); color:var(--sps-ink); }
.sps-mate small { font:600 12px/1.2 var(--sps-nav); color:var(--sps-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.sps-grid { grid-template-columns:minmax(0, 1fr); }
	.sps-tiles { grid-template-columns:repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.sps-hero { padding:34px 0 30px; }
	.sps-wrap { padding:0 16px; }
	.sps-leaders, .sps-season { grid-template-columns:minmax(0, 1fr); }
	.sps-quick { grid-template-columns:repeat(2, minmax(0, 1fr)); }
	.sps-profile-head { flex-direction:column; align-items:flex-start; gap:18px; }
	.sps-avatar--lg { width:96px; height:96px; font-size:34px; }
	.sps-podium { grid-template-columns:minmax(0, 1fr); }
	.sps-pod.p1, .sps-pod.p2, .sps-pod.p3 { order:0; }
	.sps-players { grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
	.sps-pcard { padding:16px 10px 14px; }
	.sps-avatar--md { width:52px; height:52px; font-size:18px; }
	.sps-pcard-name { font-size:14.5px; }
	.sps-select { flex:1 1 100%; }
}
@media (max-width: 420px) {
	.sps-tiles { grid-template-columns:repeat(2, minmax(0, 1fr)); }
	.sps-kpis b { font-size:19px; }
}
@media (prefers-reduced-motion: reduce) {
	.sps-pcard { transition:none; }
	.sps-pcard:hover { transform:none; }
}

/* ======================================================================
 * Tournament pages: schedule, live score, points table, teams (inc/bbl-tournament.php)
 * ==================================================================== */
.sps-tlink { color:inherit !important; }
a.sps-tlink:hover { color:var(--sps-purple) !important; text-decoration:underline !important; }
[data-sps-group][hidden], .sps-match[hidden] { display:none !important; }

/* Match cards */
.sps-matches { display:grid; grid-template-columns:repeat(2, minmax(0, 1fr)); gap:14px; }
.sps-match { display:flex; flex-direction:column; gap:8px; padding:16px 18px; background:#111117; border:1px solid var(--sps-line); border-radius:16px; box-shadow:0 4px 18px -12px rgba(0,0,0,.14); }
.sps-match--live { border-color:#5a1f2e; box-shadow:0 10px 26px -16px rgba(230,57,70,.55); }
.sps-match-top { display:flex; align-items:center; justify-content:space-between; gap:8px; font:600 12px/1.3 var(--sps-nav); color:var(--sps-muted); }
.sps-mstatus { display:inline-flex; align-items:center; gap:6px; padding:4px 10px; border-radius:999px; background:#17171f; color:var(--sps-ink); font:800 11px/1 var(--sps-nav); letter-spacing:.05em; text-transform:uppercase; }
.sps-match--live .sps-mstatus { background:rgba(255,45,85,.14); color:var(--sps-red); }
.sps-match--result .sps-mstatus { background:rgba(61,220,132,.14); color:#3ddc84; }
.sps-mteam { display:flex; align-items:center; gap:10px; }
.sps-mteam .sps-team-logo { width:26px; height:26px; }
.sps-mname { flex:1; min-width:0; font:700 15.5px/1.3 var(--sps-head); color:var(--sps-ink); }
.sps-mscore { white-space:nowrap; color:var(--sps-text); }
.sps-mscore b { font:800 17px/1 var(--sps-head); color:var(--sps-ink); }
.sps-mscore small { font-size:12px; color:var(--sps-muted); }
.sps-mteam.is-winner .sps-mname::after { content:"W"; display:inline-grid; place-items:center; width:18px; height:18px; margin-left:6px; border-radius:50%; background:#067647; color:#fff; font:800 10px/1 var(--sps-nav); vertical-align:2px; }
.sps-mnote { margin:2px 0 0; font:600 13.5px/1.4 var(--sps-nav); color:var(--sps-purple); }
.sps-match--live .sps-mnote { color:var(--sps-red); }
.sps-match-foot { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px 12px; margin-top:auto; padding-top:10px; border-top:1px solid #20202a; font-size:12.5px; color:var(--sps-muted); }

/* Schedule days */
.sps-day { margin-bottom:26px; scroll-margin-top:90px; }
.sps-day-title { display:flex; align-items:center; gap:10px; margin:0 0 12px; font:800 17px/1.3 var(--sps-head); color:var(--sps-ink); text-transform:none; }
.sps-today { padding:3px 10px; border-radius:999px; background:var(--sps-red); color:#fff; font:800 11px/1.4 var(--sps-nav); letter-spacing:.05em; text-transform:uppercase; }

/* Standings */
.sps-standings tr.is-me td { background:#1b1b24 !important; }
.sps-standings tr.is-me td:first-child { box-shadow:inset 4px 0 0 var(--sps-purple); }
.sps-form { display:inline-flex; gap:3px; }
.sps-form i { display:inline-grid; place-items:center; width:20px; height:20px; border-radius:5px; background:#2a2a36; color:#d6d6de; font:800 10.5px/1 var(--sps-nav); font-style:normal; }
.sps-form i.f-w { background:#1b1b24; color:#166534; }
.sps-form i.f-l { background:#1b1b24; color:#991b1b; }
.sps-section { scroll-margin-top:90px; }

/* Team cards */
.sps-teams { display:grid; grid-template-columns:repeat(4, minmax(0, 1fr)); gap:12px; }
.sps-tcard { display:flex; align-items:center; gap:12px; padding:14px; transition:transform .15s ease, border-color .15s ease, box-shadow .15s ease; }
.sps-tcard:hover { transform:translateY(-2px); border-color:#3b2a7a; box-shadow:0 14px 28px -16px rgba(79,20,122,.45); }
.sps-tcard-logo { flex:none; display:grid; place-items:center; width:56px; height:56px; border-radius:14px; background:var(--sps-soft); }
.sps-tcard-logo .sps-team-logo { width:44px; height:44px; }
.sps-tcard-body { flex:1; min-width:0; display:grid; gap:3px; }
.sps-tcard-body b { font:800 15.5px/1.25 var(--sps-head); color:var(--sps-ink); }
.sps-tcard-body small { font:600 12.5px/1.3 var(--sps-nav); color:var(--sps-muted); }
.sps-tcard-ground { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.sps-tcard-meta { display:none; }
.sps-team-crest { flex:none; display:grid; place-items:center; width:132px; height:132px; border-radius:28px; background:#111117; box-shadow:0 0 0 6px rgba(255,255,255,.08), 0 18px 40px -16px rgba(0,0,0,.6); }
.sps-team-crest .sps-team-logo { width:104px; height:104px; border-radius:0; }
a.sps-badge:hover { background:rgba(255,255,255,.16); color:#fff !important; }

/* Photos */
img.sps-avatar--img { object-fit:cover; object-position:center 20%; background:#2a2a36; padding:0; }
.sps-photo { flex:none; margin:0; display:grid; justify-items:center; gap:8px; max-width:170px; }
.sps-photo figcaption { font-size:11px; line-height:1.35; color:#a9a9b8; text-align:center; }
.sps-photo figcaption a { color:#cbd5e1 !important; text-decoration:underline !important; }

@media (max-width: 1024px) {
	.sps-teams { grid-template-columns:repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
	.sps-matches, .sps-teams { grid-template-columns:minmax(0, 1fr); }
	.sps-hide-sm { display:none; }
	.sps-team-crest { width:96px; height:96px; border-radius:22px; }
	.sps-team-crest .sps-team-logo { width:74px; height:74px; }
	.sps-photo { max-width:120px; }
}

/* ======================================================================
 * Homepage featured match ([bbl_featured_match])
 * ==================================================================== */
.sps-feature-wrap { background:transparent; padding:18px 0 22px; }
.sps-feature { position:relative; overflow:hidden; padding:20px 22px 18px; background:#111117; border:1px solid var(--sps-line); border-radius:18px; box-shadow:0 10px 30px -18px rgba(0,0,0,.35); }
.sps-feature::before { content:""; position:absolute; left:0; right:0; top:0; height:4px; background:#dfff00; }
.sps-feature--live { border-color:#5a1f2e; }
.sps-feature--live::before { background:#e8177d; }
.sps-feature--live .sps-mstatus { background:rgba(255,45,85,.14); color:var(--sps-red); }
.sps-feature--result .sps-mstatus { background:rgba(61,220,132,.14); color:#3ddc84; }
.sps-feature-top { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; font:600 13px/1.3 var(--sps-nav); color:var(--sps-muted); }
.sps-feature-teams { display:grid; grid-template-columns:minmax(0, 1fr) auto minmax(0, 1fr); align-items:center; gap:14px; margin:18px 0 12px; }
.sps-feature-team { display:grid; grid-template-columns:auto minmax(0, 1fr) auto; align-items:center; gap:12px; padding:14px; border:1px solid var(--sps-line); border-radius:14px; background:#17171f; }
.sps-feature-team.is-winner { border-color:#2a2a36; background:#1b1b24; }
.sps-feature-logo { display:grid; place-items:center; width:56px; height:56px; border-radius:12px; background:#111117; }
.sps-feature-logo .sps-team-logo { width:46px; height:46px; }
.sps-feature-name { min-width:0; display:grid; gap:2px; font:800 18px/1.2 var(--sps-head); color:var(--sps-ink); }
.sps-feature-name small { font:700 11.5px/1 var(--sps-nav); letter-spacing:.06em; color:var(--sps-muted); }
.sps-feature-score { text-align:right; white-space:nowrap; }
.sps-feature-score b { display:block; font:800 26px/1 var(--sps-head); color:var(--sps-ink); }
.sps-feature-score small { font-size:12.5px; color:var(--sps-muted); }
.sps-feature-vs { font:800 13px/1 var(--sps-nav); color:#8f8f9e; text-transform:uppercase; }
.sps-feature-note { margin:0 0 12px; padding:10px 14px; border-radius:10px; background:rgba(74,32,255,.18); color:var(--sps-purple); font:700 15px/1.4 var(--sps-nav); text-align:center; }
.sps-feature--live .sps-feature-note { background:rgba(255,45,85,.14); color:var(--sps-red); }
.sps-feature-foot { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:10px 16px; font-size:13px; color:var(--sps-muted); }
.sps-feature-links { display:inline-flex; align-items:center; gap:14px; }
.sps-btn--sm { height:36px; padding:0 16px; font-size:12.5px !important; }
.sps-feature-others { display:flex; flex-wrap:wrap; align-items:center; gap:8px; margin-top:14px; padding-top:12px; border-top:1px solid #20202a; font:700 12.5px/1.3 var(--sps-nav); color:var(--sps-muted); }
.sps-feature-others a { padding:6px 10px; border-radius:999px; background:rgba(255,45,85,.14); color:#b4232f !important; font-weight:700; }
.sps-feature-others a:hover { background:#1b1b24; }
@media (max-width: 760px) {
	.sps-feature { padding:18px 14px 14px; }
	.sps-feature-teams { grid-template-columns:minmax(0, 1fr); gap:8px; }
	.sps-feature-vs { display:none; }
	.sps-feature-team { padding:10px 12px; }
	.sps-feature-logo { width:44px; height:44px; }
	.sps-feature-logo .sps-team-logo { width:36px; height:36px; }
	.sps-feature-name { font-size:16px; }
	.sps-feature-score b { font-size:21px; }
	.sps-feature-foot { flex-direction:column; align-items:flex-start; }
}
.sps-feature .sps-tlink { color:var(--sps-ink) !important; text-decoration:none !important; }
.sps-feature .sps-tlink:hover { color:var(--sps-purple) !important; }
.sps-feature a { text-decoration:none !important; }
.sps-feature .sps-link:hover, .sps-feature-others a:hover { text-decoration:underline !important; }

/* ======================================================================
 * Scoreboard strip (bbl_t_render_strip): white, compact, right under each
 * page banner. Flat like the hero buttons: thin borders, 6px radius, red only
 * for LIVE.
 * ==================================================================== */
.bbl-sb { --sb-text:#0f172a; --sb-muted:#64748b; --sb-line:#e2e8f0; --sb-line-2: #cbd5e1; --sb-red:#e63946;
	background:#111117; border-bottom:1px solid var(--sb-line); padding:10px 0; font-family:var(--bbl-font-body, system-ui, sans-serif); color:var(--sb-text); }
.bbl-sb *, .bbl-sb *::before, .bbl-sb *::after { box-sizing:border-box; }
.bbl-sb a, .bbl-sb a * { text-decoration:none !important; }
.bbl-sb__wrap { max-width:1240px; margin:0 auto; padding:0 20px; }
.bbl-sb__rail { position:relative; min-width:0; display:flex; align-items:stretch; }
.bbl-sb__track { flex:1; min-width:0; display:flex; gap:8px; overflow-x:auto; scroll-snap-type:x mandatory; scrollbar-width:none; -webkit-overflow-scrolling:touch;
	-webkit-mask-image:linear-gradient(90deg, #000 calc(100% - 36px), transparent); mask-image:linear-gradient(90deg, #000 calc(100% - 36px), transparent); }
.bbl-sb__track::-webkit-scrollbar { display:none; }
.bbl-sb__rail.at-end .bbl-sb__track { -webkit-mask-image:none; mask-image:none; }

.bbl-mini { flex:0 0 172px; min-width:0; display:flex; flex-direction:column; gap:4px; padding:7px 9px; scroll-snap-align:start;
	background:#111117; border:1px solid var(--sb-line); border-radius:6px; color:var(--sb-text) !important; transition:border-color .15s ease, background-color .15s ease; }
.bbl-mini:hover { border-color:var(--sb-line-2); background:#17171f; }
.bbl-mini--live { border-color:#5a1f2e; }
.bbl-mini.is-featured { display:flex; }
.bbl-mini__head { display:flex; align-items:center; justify-content:space-between; gap:6px; white-space:nowrap; }
.bbl-mini__tag { flex:none; display:inline-flex; align-items:center; gap:4px; font:700 9.5px/1 var(--bbl-font-nav, sans-serif); letter-spacing:.07em; text-transform:uppercase; color:var(--sb-muted); }
.bbl-mini--live .bbl-mini__tag { padding:3px 5px; border-radius:3px; background:var(--sb-red); color:#fff; }
.bbl-mini--live .bbl-mini__tag::before { content:""; width:4px; height:4px; border-radius:50%; background:#111117; animation:bbl-sb-pulse 1.4s ease-in-out infinite; }
.bbl-mini--result .bbl-mini__tag { color:#3ddc84; }
.bbl-mini--upcoming .bbl-mini__tag { color:var(--sb-text); letter-spacing:0; text-transform:none; font-weight:600; font-size:10.5px; }
.bbl-mini__no { min-width:0; overflow:hidden; text-overflow:ellipsis; font:500 10.5px/1.2 var(--bbl-font-nav, sans-serif); color:var(--sb-muted); }
.bbl-mini__team { display:flex; align-items:center; gap:6px; min-width:0; }
.bbl-mini__logo { flex:none; display:grid; place-items:center; width:18px; height:18px; }
.bbl-mini__logo .sps-team-logo { width:18px; height:18px; object-fit:contain; }
.bbl-mini__name { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:600 13px/1.2 var(--bbl-font-heading, sans-serif); }
.bbl-mini__score { display:inline-flex; align-items:baseline; gap:3px; white-space:nowrap; font:700 13px/1 var(--bbl-font-heading, sans-serif); font-variant-numeric:tabular-nums; }
.bbl-mini__score small { font:500 10px/1 var(--bbl-font-nav, sans-serif); color:var(--sb-muted); }
.bbl-mini__team.is-batting .bbl-mini__name::after { content:""; display:inline-block; width:5px; height:5px; margin-left:5px; border-radius:50%; background:var(--sb-red); vertical-align:2px; }
.bbl-mini__team.is-won .bbl-mini__name::after { content:"✓"; margin-left:4px; color:#3ddc84; font-weight:700; }
.bbl-mini__team.is-dim { opacity:.5; }
.bbl-mini__note { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:500 10.5px/1.3 var(--bbl-font-nav, sans-serif); color:var(--sb-muted); }
.bbl-mini--live .bbl-mini__note { color:#ff4f8b; }
.bbl-mini--all { flex-basis:110px; flex-direction:row; align-items:center; justify-content:center; gap:5px; border-style:dashed; border-color:var(--sb-line-2); font:600 12.5px/1.2 var(--bbl-font-nav, sans-serif); }
.bbl-sb__nav { position:absolute; top:50%; z-index:2; width:26px; height:26px; margin-top:-13px; padding:0; border:1px solid var(--sb-line-2) !important; border-radius:6px !important; background:#111117 !important; color:var(--sb-text) !important; font-size:16px; line-height:1; cursor:pointer; }
.bbl-sb__nav:hover { background:#17171f !important; }
.bbl-sb__nav--prev { left:-8px; }
.bbl-sb__nav--next { right:-8px; }
.bbl-sb__nav:disabled { opacity:0; pointer-events:none; }
@keyframes bbl-sb-pulse { 0%, 100% { opacity:1; } 50% { opacity:.35; } }
@media (prefers-reduced-motion: reduce) { .bbl-mini__tag::before, .bbl-hc__tag::before { animation:none; } }
@media (max-width: 860px) {
	.bbl-sb { padding:8px 0; }
	.bbl-sb__wrap { padding:0 16px; }
	.bbl-sb__nav { display:none; }
	.bbl-mini { flex-basis:160px; }
}

/* ======================================================================
 * Live score card on the right of page banners (bbl_t_hero_card)
 * ==================================================================== */
.sps-hero-split, .t20-hero-split, .bbl-hero-split { display:grid !important; grid-template-columns:minmax(0, 1fr) 320px; gap:32px; align-items:center; }
.sps-hero-main, .t20-hero-main, .bbl-hero-main { min-width:0; }
.sps-hero-aside, .t20-hero-aside, .bbl-hero-aside { min-width:0; }
.bbl-hc-wrap { width:100%; }
.bbl-hc { display:flex; flex-direction:column; gap:8px; padding:13px 14px 12px; background:#111117; border:1px solid #2a2a36; border-radius:8px; color:#ffffff !important; text-decoration:none !important; box-shadow:0 10px 30px -14px rgba(0,0,0,.6); font-family:var(--bbl-font-body, system-ui, sans-serif); transition:border-color .15s ease; }
.bbl-hc:hover { border-color:#3a3a48; }
.bbl-hc * { text-decoration:none !important; }
.bbl-hc__top { display:flex; align-items:center; gap:8px; min-width:0; padding-bottom:8px; border-bottom:1px solid #17171f; }
.bbl-hc__tag { flex:none; display:inline-flex; align-items:center; gap:5px; font:700 10px/1 var(--bbl-font-nav, sans-serif); letter-spacing:.08em; text-transform:uppercase; color:#a9a9b8; }
.bbl-hc--live .bbl-hc__tag { padding:4px 6px; border-radius:3px; background:#e8177d; color:#fff; }
.bbl-hc--live .bbl-hc__tag::before { content:""; width:5px; height:5px; border-radius:50%; background:#111117; animation:bbl-sb-pulse 1.4s ease-in-out infinite; }
.bbl-hc--upcoming .bbl-hc__tag { color:#ffffff; }
.bbl-hc--result .bbl-hc__tag { color:#3ddc84; }
.bbl-hc__meta { min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:500 11.5px/1.2 var(--bbl-font-nav, sans-serif); color:#a9a9b8; }
.bbl-hc__team { display:flex; align-items:center; gap:9px; min-width:0; }
.bbl-hc__logo { flex:none; display:grid; place-items:center; width:22px; height:22px; }
.bbl-hc__logo .sps-team-logo { width:22px; height:22px; object-fit:contain; }
.bbl-hc__name { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:600 14.5px/1.2 var(--bbl-font-heading, sans-serif); color:#ffffff; }
.bbl-hc__score { display:inline-flex; align-items:baseline; gap:4px; white-space:nowrap; font:700 16px/1 var(--bbl-font-heading, sans-serif); color:#ffffff; font-variant-numeric:tabular-nums; }
.bbl-hc__score small { font:500 11px/1 var(--bbl-font-nav, sans-serif); color:#a9a9b8; }
.bbl-hc__team.is-batting .bbl-hc__name::after { content:""; display:inline-block; width:6px; height:6px; margin-left:6px; border-radius:50%; background:#e8177d; vertical-align:2px; }
.bbl-hc__team.is-won .bbl-hc__name::after { content:"✓"; margin-left:5px; color:#3ddc84; font-weight:700; }
.bbl-hc__team.is-dim { opacity:.5; }
.bbl-hc__note { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:500 12px/1.3 var(--bbl-font-nav, sans-serif); color:#b4b4c2; }
.bbl-hc--live .bbl-hc__note { color:#ff4f8b; }
.bbl-hc__note .bbl-feat__side-v { font:inherit; font-weight:700; color:#ffffff; }
.bbl-hc__cta { align-self:flex-start; display:inline-flex; align-items:center; gap:5px; padding:6px 10px; border:1px solid #3a3a48; border-radius:6px; font:600 12px/1 var(--bbl-font-nav, sans-serif); color:#ffffff; transition:background-color .15s ease; }
.bbl-hc:hover .bbl-hc__cta { background:#17171f; }
@media (max-width: 900px) {
	.sps-hero-split, .t20-hero-split, .bbl-hero-split { grid-template-columns:minmax(0, 1fr); gap:20px; }
	.sps-hero-aside, .t20-hero-aside, .bbl-hero-aside { max-width:420px; }
}

/* ======================================================================
 * Match page (/score-details/{slug}/{id}/, templates/bbl-match.php)
 * ==================================================================== */
.bbl-match .sps-main { padding-top:22px; }
.bbl-m-crumbs { margin:0 0 16px; font:700 12.5px/1.4 var(--sps-nav); letter-spacing:.03em; text-transform:uppercase; color:var(--sps-muted); }
.bbl-m-crumbs a { color:var(--sps-purple) !important; }
.bbl-m-crumbs span { margin:0 4px; }
.bbl-m-crumbs [aria-current] { margin:0; color:var(--sps-ink); }
.bbl-m-card { overflow:hidden; margin-bottom:20px; background:#111117; border:1px solid var(--sps-line); border-radius:16px; box-shadow:0 10px 30px -18px rgba(0,0,0,.35); }
.bbl-m-card__bar { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px 16px; padding:12px 20px; background:#000; color:#fff; font:700 12.5px/1.4 var(--sps-nav); }
.bbl-m-card__comp { letter-spacing:.03em; text-transform:uppercase; }
.bbl-m-card__when { color:rgba(255,255,255,.8); font-weight:600; }
.bbl-m-card__body { display:grid; grid-template-columns:minmax(0, 1fr) auto minmax(0, 1fr); align-items:center; gap:16px; padding:26px 24px; }
.bbl-m-team { display:flex; align-items:center; gap:16px; min-width:0; }
.bbl-m-team.is-right { flex-direction:row-reverse; text-align:right; }
.bbl-m-team.is-dim .bbl-m-team__score { color:#8f8f9e; }
.bbl-m-team__logo { flex:none; display:grid; place-items:center; width:76px; height:76px; border-radius:50%; background:#07070a; box-shadow:0 6px 16px -10px rgba(0,0,0,.4); }
.bbl-m-team__logo .sps-team-logo { width:56px; height:56px; }
.bbl-m-team__txt { display:grid; gap:2px; min-width:0; }
.bbl-m-team__abbr { font:800 24px/1.1 var(--sps-head); color:var(--sps-ink); }
.bbl-m-team__name { font:700 11.5px/1.3 var(--sps-nav); letter-spacing:.05em; text-transform:uppercase; color:var(--sps-muted); }
.bbl-m-team__name a { color:inherit !important; }
.bbl-m-team__name a:hover { color:var(--sps-purple) !important; }
.bbl-m-team__score { margin-top:6px; font:800 36px/1 var(--sps-head); color:var(--sps-ink); font-variant-numeric:tabular-nums; }
.bbl-m-team__overs { font:600 13px/1.3 var(--sps-nav); color:var(--sps-muted); }
.bbl-m-vs { display:grid; place-items:center; min-width:46px; height:46px; padding:0 8px; border-radius:999px; background:#17171f; font:800 12px/1 var(--sps-nav); color:var(--sps-muted); }
.bbl-m-vs .sps-mstatus { background:rgba(255,45,85,.14); color:var(--sps-red); }
.bbl-m-card__foot { display:flex; flex-wrap:wrap; align-items:center; gap:12px 26px; padding:14px 20px; background:#17171f; border-top:1px solid var(--sps-line); }
.bbl-m-result { flex:1 1 260px; margin:0; font:800 14.5px/1.4 var(--sps-nav); color:var(--sps-purple); text-transform:uppercase; letter-spacing:.02em; }
.bbl-m-result--result { color:#3ddc84; }
.bbl-m-result--live { color:var(--sps-red); }
.bbl-m-perf { display:grid; gap:2px; }
.bbl-m-perf__k { font:700 10.5px/1 var(--sps-nav); letter-spacing:.07em; text-transform:uppercase; color:var(--sps-muted); }
.bbl-m-perf__v { font:700 13.5px/1.35 var(--sps-nav); color:var(--sps-ink); }
.bbl-m-perf__v .sps-plink { font-weight:700; }
.bbl-m-tabs { display:flex; gap:8px; margin:4px 0 16px; padding-bottom:12px; border-bottom:1px solid var(--sps-line); }
.bbl-m-inn { margin-bottom:26px; }
.bbl-m-inn__head { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:6px 14px; padding:13px 18px; border-radius:14px 14px 0 0; background:#000; color:#fff; }
.bbl-m-inn__head h2 { margin:0; color:#fff !important; font:800 15px/1.2 var(--sps-head); letter-spacing:.02em; text-transform:uppercase; }
.bbl-m-inn__head span { font:800 14px/1.2 var(--sps-nav); }
.bbl-m-table { border-radius:0; border-top:0; }
.bbl-m-inn__head + .bbl-m-table { border-radius:0 0 14px 14px; }
.bbl-m-table .sps-table th { position:static; background:rgba(74,32,255,.18) !important; color:var(--sps-purple) !important; }
.bbl-m-table td small { color:var(--sps-muted); font-size:11.5px; }
.bbl-m-table tr.is-batting td { background:#1b1b24; }
.bbl-m-bat { color:var(--sps-red); font-weight:800; }
.bbl-m-out { color:var(--sps-muted) !important; font-size:13px; white-space:normal !important; min-width:200px; }
.bbl-m-out-sm { display:none; }
.bbl-m-table tfoot td { background:#17171f; border-bottom:1px solid #20202a !important; }
.bbl-m-total td { font-weight:800; color:var(--sps-ink); }
.bbl-m-line { margin:0; padding:10px 16px; background:#111117; border:1px solid var(--sps-line); border-top:0; font-size:13.5px; line-height:1.6; color:var(--sps-text); }
.bbl-m-line + .bbl-m-table, .bbl-m-table + .bbl-m-table { margin-top:14px; border-top:1px solid var(--sps-line); border-radius:14px; }
.bbl-m-line:last-of-type { border-radius:0 0 14px 14px; }
.bbl-m-others { list-style:none; margin:0; padding:0; display:grid; gap:6px; }
.bbl-m-others a { display:grid; gap:4px; padding:10px 12px; border:1px solid var(--sps-line); border-radius:10px; color:var(--sps-ink) !important; }
.bbl-m-others a:hover { border-color:#3b2a7a; background:#17171f; }
.bbl-m-others__teams { display:inline-flex; align-items:center; gap:6px; font:700 13.5px/1.2 var(--sps-nav); }
.bbl-m-others small { font:600 12px/1.35 var(--sps-nav); color:var(--sps-muted); }
.bbl-m-others small.is-live { color:var(--sps-red); font-weight:800; }
@media (max-width: 760px) {
	.bbl-m-card__body { grid-template-columns:minmax(0, 1fr); gap:10px; padding:18px 16px; }
	.bbl-m-team, .bbl-m-team.is-right { flex-direction:row; text-align:left; }
	.bbl-m-vs { justify-self:start; min-width:0; height:28px; font-size:11px; }
	.bbl-m-team__logo { width:56px; height:56px; }
	.bbl-m-team__logo .sps-team-logo { width:42px; height:42px; }
	.bbl-m-team__score { font-size:28px; }
	.bbl-m-out { display:none; }
	.bbl-m-out-sm { display:block; margin-top:2px; font-size:11.5px; color:var(--sps-muted); white-space:normal; }
	.bbl-m-table td.sps-l { white-space:normal; min-width:150px; }
}

/* Homepage:the quick-stats tiles normally overlap the banner (-25px); with the strip in between, sit below it instead. */
.bbl-sb + .bbl-home-container > .bbl-quick-stats-strip { margin-top:18px !important; }

/* Strip heading */
.bbl-sb { padding-top:14px; }
.bbl-sb__head { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 10px; }
.bbl-sb__title { position:relative; display:flex; align-items:center; gap:10px; margin:0 !important; padding-left:12px; font:700 16px/1.2 var(--bbl-font-heading, sans-serif) !important; color:var(--sb-text) !important; letter-spacing:-.01em; text-transform:none !important; }
.bbl-sb__title::before { content:""; position:absolute; left:0; top:2px; bottom:2px; width:3px; border-radius:2px; background:var(--sb-red); }
.bbl-sb__count { display:inline-flex; align-items:center; gap:5px; padding:3px 7px; border:1px solid #5a1f2e; border-radius:4px; font:700 11px/1 var(--bbl-font-nav, sans-serif); color:#ff4f8b; }
.bbl-sb__count::before { content:""; width:5px; height:5px; border-radius:50%; background:var(--sb-red); animation:bbl-sb-pulse 1.4s ease-in-out infinite; }
.bbl-sb__links { display:inline-flex; align-items:center; gap:16px; white-space:nowrap; }
.bbl-sb__links a { font:600 13px/1.2 var(--bbl-font-nav, sans-serif); color:var(--sb-muted) !important; }
.bbl-sb__links a:hover { color:var(--sb-text) !important; }
.bbl-sb__links a:last-child { color:var(--sb-text) !important; }
.bbl-sb__count { white-space:nowrap; flex:none; }
@media (max-width: 600px) {
	.bbl-sb__title { font-size:14.5px !important; white-space:nowrap; }
	.bbl-sb__title-x { display:none; }
	.bbl-sb__links a:first-child { display:none; }
	.bbl-sb__links a:last-child { font-size:12.5px; }
}
/* Homepage: no gap between the banner and the strip right after it. */
.bbl-hero-simple:has(+ .bbl-sb) { margin-bottom:0 !important; }

/* ======================================================================
 * Simple tables everywhere except the homepage (its schedule/points tables keep the
 * original design from Additional CSS) (page content tables + BBL stats/points/scorecard
 * tables): light header row, thin grey borders, 6px corners, no gradients,
 * no shadows. Selectors are long on purpose to beat the page's inline styles.
 * ==================================================================== */
html body:not(.home) .entry-content figure.wp-block-table,
html body:not(.home) .entry-content .wp-block-table {
	border:1px solid #2a2a36 !important;
	border-radius:6px !important;
	box-shadow:none !important;
	background:#111117 !important;
	overflow-x:auto !important;
}
html body:not(.home) .entry-content .wp-block-table table { border-collapse:collapse !important; }
html body:not(.home) .entry-content .wp-block-table table thead tr,
html body:not(.home) .entry-content .wp-block-table table thead th {
	background:#17171f !important;
	color:#b4b4c2 !important;
	border:0 !important;
	border-bottom:1px solid #2a2a36 !important;
	border-radius:0 !important;
}
html body:not(.home) .entry-content .wp-block-table table thead th { padding:11px 16px !important; font:600 12px/1.3 var(--bbl-font-nav, sans-serif) !important; letter-spacing:.04em !important; text-transform:uppercase !important; }
html body:not(.home) .entry-content .wp-block-table table thead th strong { color:inherit !important; font-weight:600 !important; }
html body:not(.home) .entry-content .wp-block-table table tbody tr,
html body:not(.home) .entry-content .wp-block-table table tbody tr:nth-child(odd),
html body:not(.home) .entry-content .wp-block-table table tbody tr:nth-child(even) { background:#111117 !important; }
html body:not(.home) .entry-content .wp-block-table table tbody td {
	background:transparent !important;
	border:0 !important;
	border-bottom:1px solid #17171f !important;
	border-radius:0 !important;
	padding:11px 16px !important;
	color:#d6d6de !important;
}
html body:not(.home) .entry-content .wp-block-table table tbody td:first-child:not(:only-child) { color:#ffffff !important; font-weight:600 !important; background:transparent !important; }
html body:not(.home) .entry-content .wp-block-table table tbody tr:last-child td { border-bottom:0 !important; }
html body:not(.home) .entry-content .wp-block-table table tbody tr:hover td { background:#17171f !important; }

/* BBL tables (points, stats, career, scorecard) */
.sps-page .sps-table-wrap { border-radius:6px; border-color:#2a2a36; box-shadow:none; }
.sps-page .sps-table th,
.sps-page .bbl-m-table .sps-table th {
	background:#17171f !important;
	color:#b4b4c2 !important;
	border-bottom:1px solid #2a2a36 !important;
	font:600 11.5px/1.2 var(--sps-nav) !important;
	letter-spacing:.04em;
}
.sps-page .sps-table td { border-bottom-color:#17171f !important; }
.sps-page .sps-table tbody tr:hover td { background:#17171f; }
.sps-page .sps-table td.sps-hl { background:#17171f; }

/* Section bars: flat navy instead of gradients */
.sps-page .sps-lcard,
.sps-page .sps-card { border-radius:6px; box-shadow:none; border-color:#2a2a36; }
.sps-page .sps-lcard-head { background:#0f172a; padding:12px 16px; }
.sps-page .sps-lcard-head a { color:#cbd5e1 !important; }
.sps-page .bbl-m-inn__head { background:#0f172a; border-radius:6px 6px 0 0; }
.sps-page .bbl-m-inn__head + .bbl-m-table { border-radius:0 0 6px 6px; }
.sps-page .bbl-m-card { border-radius:6px; box-shadow:none; }
.sps-page .bbl-m-card__bar { background:#0f172a; }
html body:not(.home) .entry-content .wp-block-table table thead { border:0 !important; }

/* Menu is not sticky (scrolls away normally). */
.bbl-site-navbar { position:relative !important; }

/* All LIVE tags: the same red pill as the header LIVE badge. */
.bbl-mini--live .bbl-mini__tag,
.bbl-hc--live .bbl-hc__tag,
.bbl-feat--live .bbl-feat__chip,
.sps-match--live .sps-mstatus,
.sps-feature--live .sps-mstatus,
.bbl-m-vs .sps-mstatus {
	padding:3px 9px;
	border-radius:999px;
	background:#ff2d55;
	color:#fff;
	font-weight:800;
	letter-spacing:.04em;
}
.bbl-mini--live .bbl-mini__tag::before,
.bbl-hc--live .bbl-hc__tag::before,
.bbl-feat--live .bbl-feat__chip::before,
.sps-match--live .sps-mstatus .bbl-live-dot,
.sps-feature--live .sps-mstatus .bbl-live-dot,
.bbl-m-vs .sps-mstatus .bbl-live-dot { display:none; }
.bbl-sb__count { border:0; border-radius:999px; background:#ff2d55; color:#fff; padding:3px 9px; }
.bbl-sb__count::before { background:#111117; }

/* H1 subtitles (player / team pages) and the match page H1. */
.sps-hero h1 .sps-h1-sub { display:block; margin-top:6px; font:600 clamp(14px, 1.4vw, 17px)/1.3 var(--sps-nav); letter-spacing:0; color:#cbd5e1; }
.bbl-m-h1 { margin:0 0 14px !important; font:800 clamp(20px, 2.2vw, 26px)/1.25 var(--sps-head) !important; color:var(--sps-ink) !important; letter-spacing:-.01em; text-transform:none !important; }

/* "Updated …" line on match pages (others reuse .sps-meta in the banner). */
.bbl-m-h1 { margin-bottom:4px !important; }
.bbl-m-updated { margin:0 0 16px; font:600 12.5px/1.4 var(--sps-nav); color:var(--sps-muted); }
.bbl-m-updated b { color:var(--sps-ink); }
.sps-profile-head .sps-meta { margin-top:12px; }

/* Homepage blocks: match centre + points snapshot (inside page content). */
.sps-embed { background:transparent; margin:18px 0 26px; }
.sps-embed .sps-tlink, .sps-embed a.sps-tlink { color:inherit !important; }
.bbl-mc__head { display:flex; flex-wrap:wrap; align-items:baseline; justify-content:space-between; gap:6px 16px; margin-bottom:6px; }
.bbl-mc__title { margin:0 !important; font:800 20px/1.25 var(--sps-head) !important; color:var(--sps-ink) !important; text-transform:none !important; }
.bbl-mc__meta { margin:0 0 10px; font:600 12.5px/1.4 var(--sps-nav); color:var(--sps-muted); }
.bbl-mc__meta b { color:var(--sps-ink); }
.bbl-mc__label { display:flex; align-items:center; gap:8px; margin:16px 0 8px !important; font:800 12px/1.2 var(--sps-nav) !important; letter-spacing:.07em; text-transform:uppercase; color:var(--sps-muted) !important; }
.bbl-mc__more { display:flex; align-items:center; gap:16px; margin:16px 0 0 !important; }
.sps-embed a { text-decoration:none !important; }
.sps-embed a.sps-tlink:hover, .sps-embed .sps-link:hover { text-decoration:underline !important; }

/* Homepage Match Centre: one match per row, tabs for Live / Today / Results / Upcoming. */
.bbl-mc__tabs { margin:4px 0 12px; }
.bbl-mc__tabs .sps-chip { height:34px; gap:6px; }
.bbl-mc__n { display:inline-flex; min-width:20px; height:20px; padding:0 6px; align-items:center; justify-content:center; border-radius:999px; background:#1b1b24; color:var(--sps-ink); font-size:11.5px; }
.sps-chip.is-on .bbl-mc__n { background:rgba(255,255,255,.22); color:#fff; }
.bbl-mrows { background:#111117; border:1px solid var(--sps-line); border-radius:14px; overflow:hidden; }
.bbl-mrow { display:grid; grid-template-columns:150px minmax(0, 1.25fr) minmax(0, 1fr) 128px; gap:18px; align-items:center; padding:14px 18px; border-bottom:1px solid #20202a; }
.bbl-mrow:last-child { border-bottom:0; }
.bbl-mrow:hover { background:#1b1b24; }
.bbl-mrow__when { display:flex; flex-direction:column; align-items:flex-start; gap:3px; font-family:var(--sps-nav); }
.bbl-mrow__when b { color:var(--sps-ink); font-size:13.5px; }
.bbl-mrow__when small { color:var(--sps-muted); font-size:12px; line-height:1.35; }
.bbl-mrow .sps-mstatus { margin-bottom:2px; }
.bbl-mrow--live .sps-mstatus { background:rgba(255,45,85,.14); color:var(--sps-red); }
.bbl-mrow--result .sps-mstatus { background:rgba(61,220,132,.14); color:#3ddc84; }
.bbl-mrow__teams { display:flex; flex-direction:column; gap:7px; min-width:0; }
.bbl-mrow__team { display:flex; align-items:center; gap:10px; min-width:0; }
.bbl-mrow__name { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font:700 14.5px/1.3 var(--sps-nav); color:var(--sps-ink); }
.bbl-mrow__score { white-space:nowrap; font-family:var(--sps-nav); color:var(--sps-ink); }
.bbl-mrow__score b { font-size:15px; }
.bbl-mrow__score small { color:var(--sps-muted); font-size:12px; }
.bbl-mrow--result .bbl-mrow__team:not(.is-winner) .bbl-mrow__name,
.bbl-mrow--result .bbl-mrow__team:not(.is-winner) .bbl-mrow__score { color:var(--sps-muted); }
.bbl-mrow__info { min-width:0; }
.bbl-mrow__note { margin:0 0 3px !important; font:600 13px/1.4 var(--sps-nav); color:var(--sps-text); }
.bbl-mrow--live .bbl-mrow__note { color:var(--sps-red); }
.bbl-mrow__info small { display:block; color:var(--sps-muted); font-size:12px; line-height:1.4; }
.bbl-mrow__go { text-align:right; white-space:nowrap; font-size:13px; }
.bbl-ps .bbl-mc__head { align-items:center; margin-bottom:12px; }
.bbl-ps .bbl-mc__tabs, .bbl-ps .bbl-mc__meta { margin:0; }
@media (max-width: 900px) {
	.bbl-mrow { grid-template-columns:120px minmax(0, 1fr); gap:10px 16px; }
	.bbl-mrow__info { grid-column:2; }
	.bbl-mrow__go { grid-column:2; text-align:left; }
}
@media (max-width: 560px) {
	.bbl-mrow { grid-template-columns:minmax(0, 1fr); padding:14px; }
	.bbl-mrow__when { flex-direction:row; flex-wrap:wrap; align-items:center; gap:4px 8px; }
	.bbl-mrow__info, .bbl-mrow__go { grid-column:1; }
}

/* Stats pages: "Explore all BBL 2027 stats" (all 17 boards with their leaders). */
.bbl-sx { margin-top:36px; }
.bbl-sx__h { margin:0 0 14px !important; font:800 22px/1.25 var(--sps-head) !important; color:var(--sps-ink) !important; }
.bbl-sx__cols { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.bbl-sx__col { background:#111117; border:1px solid var(--sps-line); border-radius:14px; padding:14px 8px 8px; }
.bbl-sx__g { margin:0 10px 6px !important; font:800 12px/1.2 var(--sps-nav) !important; letter-spacing:.07em; text-transform:uppercase; color:var(--sps-muted) !important; }
.bbl-sx ul { list-style:none; margin:0 !important; padding:0 !important; }
.bbl-sx li { margin:0; border-top:1px solid #2a2a36; }
.bbl-sx li:first-child { border-top:0; }
.bbl-sx li a { display:flex; flex-direction:column; gap:2px; padding:10px; border-radius:10px; text-decoration:none !important; }
.bbl-sx li a:hover { background:#17171f; }
.bbl-sx__l { font:700 14.5px/1.3 var(--sps-nav); color:var(--sps-ink); }
.bbl-sx li a:hover .bbl-sx__l { color:var(--sps-purple); }
.bbl-sx__v { font-size:13px; line-height:1.35; color:var(--sps-muted); }
.bbl-sx__v b { color:var(--sps-ink); font-weight:700; }
.bbl-sx li.is-current a { background:#1b1b24; }
.bbl-sx li.is-current .bbl-sx__l { color:var(--sps-purple); }
.bbl-sx__more { display:flex; flex-wrap:wrap; gap:8px; margin:14px 0 0 !important; }
.bbl-sx__more a { display:inline-flex; padding:7px 14px; border:1px solid var(--sps-line); border-radius:999px; background:#111117; font:700 13px/1.2 var(--sps-nav); color:var(--sps-ink) !important; text-decoration:none !important; }
.bbl-sx__more a:hover { border-color:#3b2a7a; color:var(--sps-purple) !important; }
@media (max-width: 700px) { .bbl-sx__cols { grid-template-columns:1fr; } }
