/* TechnoSports Sports sections (/football/, /cricket/) and the live-scores box in single posts.
   Builds on ott-hub.css variables (dark and .light-mode); the fallbacks keep the box readable inside posts. */
.ts-sp-main { padding-bottom: 48px; --sp-bg: var(--ts-ott-card-bg, rgba(127,127,127,.08)); --sp-line: var(--ts-ott-card-border, rgba(127,127,127,.25)); --sp-text: var(--ts-ott-text-main, inherit); --sp-muted: var(--ts-ott-text-muted, #94a3b8); --sp-acc: var(--ts-ott-accent, #e50914); }
.widget-sports-live { --sp-bg: rgba(127,127,127,.08); --sp-line: rgba(127,127,127,.25); --sp-text: inherit; --sp-muted: #94a3b8; --sp-acc: #e50914; }

/* Sections */
.ts-sp-section { margin: 0 0 30px; }
.ts-sp-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ts-sp-sec-head .ts-ott-section-title { margin: 0; }
.ts-sp-sec-more { font-size: 13.5px; font-weight: 700; color: var(--sp-acc); text-decoration: none; white-space: nowrap; }
.ts-sp-empty, .ts-sp-note { color: var(--sp-muted); font-size: 14px; margin: 10px 0; }
.ts-sp-note a { color: var(--sp-acc); }

/* Day and competition groups */
.ts-sp-day { margin: 0 0 22px; }
.ts-sp-day-h { font-size: 16px; font-weight: 800; margin: 0 0 10px; color: var(--sp-text); }
.ts-sp-day-h small { font-weight: 500; color: var(--sp-muted); margin-left: 6px; font-size: 12.5px; }
.ts-sp-league { margin: 0 0 14px; }
.ts-sp-league-h { font-size: 13px; text-transform: uppercase; letter-spacing: .05em; color: var(--sp-muted); margin: 0 0 6px; }
.ts-sp-league-h a { color: inherit; text-decoration: none; }
.ts-sp-league-h a:hover { color: var(--sp-acc); }

/* Match rows */
.ts-sp-list { display: grid; gap: 8px; }
.ts-sp-match { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) 86px; align-items: center; gap: 10px; padding: 10px 14px; border: 1px solid var(--sp-line); background: var(--sp-bg); border-radius: 12px; text-decoration: none; color: var(--sp-text); transition: border-color .15s ease, transform .15s ease; }
.ts-sp-match:hover { border-color: var(--sp-acc); transform: translateY(-1px); }
.ts-sp-match.is-in { border-color: rgba(34,197,94,.55); }
.ts-sp-m-lg { grid-column: 1 / -1; font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--sp-muted); }
.ts-sp-m-team { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; font-size: 14.5px; }
.ts-sp-m-team b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: inherit; }
.ts-sp-home { justify-content: flex-end; text-align: right; }
.ts-sp-m-team.is-winner b { font-weight: 800; }
.ts-sp-m-score { display: inline-flex; align-items: center; gap: 6px; font-size: 19px; font-weight: 800; min-width: 62px; justify-content: center; font-variant-numeric: tabular-nums; }
.ts-sp-m-score i { font-style: normal; color: var(--sp-muted); font-weight: 500; }
.ts-sp-m-score.is-vs { font-size: 13px; color: var(--sp-muted); font-weight: 600; }
.ts-sp-pen { font-size: .62em; font-weight: 700; letter-spacing: 0; color: var(--sp-muted); }
.ts-sp-hero-score .ts-sp-pen { font-size: .24em; font-weight: 800; line-height: 1; }
.ts-sp-m-status { font-size: 12.5px; font-weight: 700; color: var(--sp-muted); text-align: right; }
.ts-sp-m-status.is-live { color: #22c55e; }
.ts-sp-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #22c55e; margin-right: 6px; animation: ts-sp-pulse 1.4s ease-in-out infinite; }
@keyframes ts-sp-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
.ts-sp-logo { width: 28px; height: 28px; object-fit: contain; flex: none; border-radius: 4px; }
.ts-sp-logo-blank { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; font-size: 10px; font-weight: 800; background: rgba(127,127,127,.2); color: var(--sp-muted); }

/* Cricket rows: a score under each team */
.ts-sp-cr { grid-template-columns: minmax(240px, 380px) minmax(0, 1fr) auto; }
.ts-sp-cr-teams { grid-column: 1; display: grid; gap: 6px; min-width: 0; }
.ts-sp-cr-team { display: flex; align-items: center; gap: 10px; min-width: 0; font-weight: 600; font-size: 14.5px; }
.ts-sp-cr-team b { flex: 0 1 auto; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: inherit; }
.ts-sp-cr-team em { font-style: normal; font-weight: 800; font-variant-numeric: tabular-nums; margin-left: auto; padding-left: 8px; text-align: right; }
.ts-sp-cr-team b { flex: none; max-width: 55%; }
.ts-sp-cr-team.is-winner b { font-weight: 800; }
.ts-sp-m-detail { grid-column: 2; font-size: 12.5px; color: var(--sp-muted); padding: 0 8px; }
.ts-sp-cr .ts-sp-m-status { grid-column: 3; max-width: 130px; }
.ts-sp-list-compact .ts-sp-match { padding: 8px 10px; gap: 6px 8px; }

/* Tables */
.ts-sp-table-wrap { margin: 0 0 18px; overflow-x: auto; }
.ts-sp-table-h { font-size: 15px; margin: 0 0 8px; }
.ts-sp-table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.ts-sp-table th, .ts-sp-table td { padding: 8px 6px; text-align: center; border-bottom: 1px solid var(--sp-line); white-space: nowrap; }
.ts-sp-table th { font-size: 11.5px; letter-spacing: .04em; text-transform: uppercase; color: var(--sp-muted); }
.ts-sp-t-pos { width: 32px; color: var(--sp-muted); }
.ts-sp-table .ts-sp-t-team { text-align: left; }
.ts-sp-t-team a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; font-weight: 600; }
.ts-sp-t-team a:hover { color: var(--sp-acc); }
.ts-sp-t-pts { font-weight: 800; }
.ts-sp-table.is-compact th, .ts-sp-table.is-compact td { padding: 6px 4px; font-size: 13px; }
.ts-sp-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; list-style: none; padding: 0; margin: 10px 0 0; font-size: 12.5px; color: var(--sp-muted); }
.ts-sp-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; }
.ts-sp-minis { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.ts-sp-mini h3 { font-size: 15px; margin: 0 0 8px; }
.ts-sp-mini h3 a { color: inherit; text-decoration: none; }

/* Scorecards */
.ts-sp-card { margin: 0 0 26px; }
.ts-sp-card-h { font-size: 17px; margin: 0 0 10px; }
.ts-sp-card-h small { color: var(--sp-muted); font-weight: 500; margin-left: 8px; }
.ts-sp-scroll { overflow-x: auto; margin-bottom: 12px; }
.ts-sp-bat .ts-sp-t-out { text-align: left; color: var(--sp-muted); font-size: 12.5px; }
.ts-sp-bat .is-dnb { opacity: .55; }
.ts-sp-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ts-sp-facts li { display: flex; gap: 12px; padding: 8px 12px; border: 1px solid var(--sp-line); border-radius: 10px; background: var(--sp-bg); }
.ts-sp-facts b { min-width: 120px; color: var(--sp-muted); font-weight: 600; }
.ts-sp-timeline { margin: 0; padding-left: 18px; color: var(--sp-text); font-size: 14px; display: grid; gap: 6px; }



/* Tabs, tiles, news */
.ts-sp-tabs { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0 0 20px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--sp-line); }
.ts-sp-tabs::-webkit-scrollbar { display: none; }
.ts-sp-tabs a { display: block; padding: 10px 16px; color: var(--sp-muted); text-decoration: none; font-weight: 700; font-size: 14px; white-space: nowrap; border-bottom: 2px solid transparent; }
.ts-sp-tabs .active a { color: var(--sp-text); border-bottom-color: var(--sp-acc); }
.ts-sp-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.ts-sp-tile { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border: 1px solid var(--sp-line); background: var(--sp-bg); border-radius: 12px; text-decoration: none; color: var(--sp-text); transition: border-color .15s ease; }
.ts-sp-tile:hover { border-color: var(--sp-acc); }
.ts-sp-tile b { font-size: 15px; }
.ts-sp-tile small { color: var(--sp-muted); font-size: 12.5px; }
.ts-sp-team-tile { flex-direction: row; align-items: center; gap: 12px; }
.ts-sp-team-head { display: flex; align-items: center; gap: 18px; }
.ts-sp-team-head .ts-sp-logo { width: 64px; height: 64px; }
.ts-sp-news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.ts-sp-news-card { display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: var(--sp-text); font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.ts-sp-news-card img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 10px; }

/* Box in single posts */
.widget-sports-live .ts-sp-sport-title { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; margin: 14px 0 8px; }
.widget-sports-live .ts-sp-match { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); padding: 8px 10px; font-size: 13px; }
.widget-sports-live .ts-sp-match .ts-sp-m-status { grid-column: 1 / -1; text-align: left; }
.widget-sports-live .ts-sp-cr { grid-template-columns: 1fr; }
.widget-sports-live .ts-sp-cr-teams, .widget-sports-live .ts-sp-m-detail, .widget-sports-live .ts-sp-cr .ts-sp-m-status { grid-column: 1; max-width: none; }
.widget-sports-live .ts-sp-logo { width: 20px; height: 20px; }
.widget-sports-live .ts-sp-m-score { font-size: 16px; min-width: 48px; }

@media (max-width: 720px) {
    .ts-sp-m-team b { white-space: normal; line-height: 1.2; overflow-wrap: anywhere; }
    .ts-sp-m-team { align-items: center; }
    .ts-sp-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .ts-sp-tile { padding: 10px 12px; }
    .ts-sp-tile b { font-size: 14px; }
    .ts-sp-team-tile { flex-direction: column; text-align: center; gap: 6px; }
    .ts-sp-t-team a span { white-space: normal; }
    .ts-sp-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .ts-sp-news-card { font-size: 13.5px; }
    .ts-sp-sec-head { flex-wrap: wrap; }
    .ts-sp-match { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 6px 8px; padding: 10px; }
    .ts-sp-match .ts-sp-m-status { grid-column: 1 / -1; text-align: center; }
    .ts-sp-m-team { font-size: 13.5px; gap: 6px; }
    .ts-sp-logo { width: 24px; height: 24px; }
    .ts-sp-cr { grid-template-columns: 1fr; }
    .ts-sp-cr-teams, .ts-sp-m-detail, .ts-sp-cr .ts-sp-m-status { grid-column: 1; max-width: none; text-align: left; }
    .ts-sp-t-opt { display: none; }
    .ts-sp-minis { grid-template-columns: 1fr; }
    .ts-sp-facts li { flex-direction: column; gap: 2px; }
}

/* Written match page and poster */
.ts-sp-poster { margin: 0 0 22px; }
.ts-sp-poster img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; border: 1px solid var(--sp-line); }
.ts-sp-poster figcaption { margin-top: 6px; font-size: 12px; color: var(--sp-muted); }
.ts-sp-article p { line-height: 1.7; margin: 0 0 12px; color: var(--sp-text); max-width: 78ch; }
.ts-sp-updates { margin: 0 0 12px; padding-left: 18px; display: grid; gap: 4px; font-size: 14.5px; }

/* Folded days on the long fixtures and results pages */
details.ts-sp-day > summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border: 1px solid var(--sp-line); border-radius: 12px; background: var(--sp-bg); }
details.ts-sp-day > summary::-webkit-details-marker { display: none; }
details.ts-sp-day > summary .ts-sp-day-h { margin: 0; }
details.ts-sp-day > summary::after { content: '+'; font-size: 20px; font-weight: 700; color: var(--sp-muted); }
details.ts-sp-day[open] > summary::after { content: '\2212'; }
details.ts-sp-day[open] > summary { margin-bottom: 12px; }


/* ---------------------------------------------------------------------------------------------------------------------------
   Match page: a broadcast-style scoreboard. Each side is washed in its own club colour (--home / --away, set on #ts-sp-match),
   the score is the loudest thing on the page, scorers sit under their crest, and the timeline runs down the middle.
   ------------------------------------------------------------------------------------------------------------------------ */
.ts-sp-hero { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--sp-line); border-radius: 24px; padding: 26px 22px 20px; margin: 0 0 28px; text-align: center;
    background:
        radial-gradient(75% 120% at 0% 0%, rgba(var(--home-rgb, 229,9,20), .34), transparent 62%),
        radial-gradient(75% 120% at 100% 0%, rgba(var(--away-rgb, 56,189,248), .34), transparent 62%),
        linear-gradient(180deg, rgba(127,127,127,.10), rgba(127,127,127,.03)), var(--sp-bg);
    box-shadow: 0 24px 60px -28px rgba(0,0,0,.55), inset 0 1px 0 rgba(255,255,255,.06); }
.ts-sp-hero-fx { position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
    background:
        repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.035) 22px 23px),
        linear-gradient(90deg, transparent 49.7%, rgba(255,255,255,.14) 49.7% 50.3%, transparent 50.3%);
    -webkit-mask-image: radial-gradient(90% 100% at 50% 40%, #000 30%, transparent 100%); mask-image: radial-gradient(90% 100% at 50% 40%, #000 30%, transparent 100%); }
.ts-sp-hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 22px; }
.ts-sp-hero-meta a, .ts-sp-hero-meta span { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--sp-text); text-decoration: none; background: rgba(127,127,127,.16); border: 1px solid var(--sp-line); }
.ts-sp-hero-meta a:hover { border-color: var(--sp-acc); }
.ts-sp-hero-teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: start; gap: 12px 20px; }
.ts-sp-hero-team { display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; color: var(--sp-text); text-decoration: none; transition: transform .25s cubic-bezier(.2,.7,.2,1); }
.ts-sp-hero-team:hover { transform: translateY(-3px); }
.ts-sp-hero-crest { display: grid; place-items: center; width: 112px; height: 112px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.14), transparent 78%); }
.is-home .ts-sp-hero-crest { box-shadow: 0 0 46px -6px rgba(var(--home-rgb, 229,9,20), .55); }
.is-away .ts-sp-hero-crest { box-shadow: 0 0 46px -6px rgba(var(--away-rgb, 56,189,248), .55); }
.ts-sp-hero-crest .ts-sp-logo { width: 76px; height: 76px; filter: drop-shadow(0 6px 14px rgba(0,0,0,.45)); }
.ts-sp-hero-team b { font-size: clamp(15px, 2.2vw, 20px); font-weight: 800; line-height: 1.15; letter-spacing: -.01em; }
.ts-sp-hero-team em { font-style: normal; font-size: clamp(22px, 4vw, 30px); font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ts-sp-hero-team.is-loser { opacity: .74; }
.ts-sp-hero-team.is-loser .ts-sp-hero-crest { filter: saturate(.7); }
.ts-sp-hero-tag { font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; color: #04130a; background: #22c55e; }
.ts-sp-hero-goals { display: grid; gap: 3px; margin-top: 4px; font-size: 12.5px; font-weight: 600; color: var(--sp-muted); }
.ts-sp-hero-goals span::before { content: '⚽ '; font-size: 11px; }
.ts-sp-hero-mid { display: flex; flex-direction: column; align-items: center; gap: 10px; padding-top: 6px; }
.ts-sp-hero-score { display: flex; align-items: center; gap: 14px; font-size: clamp(56px, 11vw, 104px); font-weight: 900; line-height: .86; letter-spacing: -.06em; font-variant-numeric: tabular-nums; text-shadow: 0 4px 30px rgba(127,127,127,.35); }
.ts-sp-hero-score i { display: block; width: clamp(14px, 2.4vw, 26px); height: clamp(5px, .9vw, 8px); border-radius: 6px; background: linear-gradient(90deg, var(--home, #e50914), var(--away, #38bdf8)); }
.ts-sp-hero-vs { font-size: clamp(28px, 5vw, 44px); font-weight: 900; letter-spacing: .08em; color: var(--sp-muted); }
.ts-sp-hero-status { display: inline-flex; align-items: center; padding: 5px 14px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sp-muted); border: 1px solid var(--sp-line); background: rgba(127,127,127,.12); }
.ts-sp-hero-status.is-live { color: #22c55e; border-color: rgba(34,197,94,.5); background: rgba(34,197,94,.1); }
.ts-sp-hero-status.is-done { color: var(--sp-text); }
.ts-sp-hero-verdict { margin: 0; font-size: 14px; font-weight: 800; color: var(--sp-text); max-width: 220px; line-height: 1.3; }
.ts-sp-hero-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.ts-sp-hero-pills li { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px; border-radius: 999px; font-size: 12.5px; color: var(--sp-muted); background: rgba(127,127,127,.12); border: 1px solid var(--sp-line); }
.ts-sp-hero-pills i { font-style: normal; font-size: 13px; }

/* One orchestrated entrance; a live page is refreshed in place, so it stays still. */
@keyframes ts-sp-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes ts-sp-pop { 0% { opacity: 0; transform: scale(.82); } 60% { transform: scale(1.04); } 100% { opacity: 1; transform: none; } }
.ts-sp-hero:not(.is-in) .ts-sp-hero-meta { animation: ts-sp-rise .5s both; }
.ts-sp-hero:not(.is-in) .ts-sp-hero-team { animation: ts-sp-rise .6s .08s both; }
.ts-sp-hero:not(.is-in) .ts-sp-hero-team.is-away { animation-delay: .16s; }
.ts-sp-hero:not(.is-in) .ts-sp-hero-score { animation: ts-sp-pop .7s .1s cubic-bezier(.2,.7,.2,1) both; }
.ts-sp-hero:not(.is-in) .ts-sp-hero-pills { animation: ts-sp-rise .6s .28s both; }
@media (prefers-reduced-motion: reduce) { .ts-sp-hero * { animation: none !important; } .ts-sp-hero-team { transition: none; } }

/* Timeline */
.ts-sp-tl { position: relative; list-style: none; margin: 0; padding: 4px 0; display: grid; gap: 10px; }
.ts-sp-tl::before { content: ''; position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; transform: translateX(-50%); border-radius: 2px; background: linear-gradient(180deg, rgba(var(--home-rgb, 229,9,20), .7), rgba(127,127,127,.25) 50%, rgba(var(--away-rgb, 56,189,248), .7)); }
.ts-sp-tl-i { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 84px minmax(0, 1fr); align-items: center; }
.ts-sp-tl-m { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 5px 0; margin: 0 auto; width: 64px; border-radius: 14px; background: var(--ts-ott-bg, #0b0f19); border: 1px solid var(--sp-line); }
.ts-sp-tl-m i { font-style: normal; font-size: 15px; line-height: 1; }
.ts-sp-tl-m em { font-style: normal; font-size: 11.5px; font-weight: 800; color: var(--sp-muted); font-variant-numeric: tabular-nums; }
.ts-sp-tl-c { padding: 9px 14px; border-radius: 12px; background: var(--sp-bg); border: 1px solid var(--sp-line); font-size: 14px; }
.ts-sp-tl-c b { display: block; font-weight: 700; }
.ts-sp-tl-c small { display: block; margin-top: 1px; color: var(--sp-muted); font-size: 12px; }
.ts-sp-tl-i.is-home .ts-sp-tl-c { text-align: right; border-right: 3px solid rgba(var(--home-rgb, 229,9,20), .9); margin-right: 8px; }
.ts-sp-tl-i.is-away .ts-sp-tl-c { text-align: left; border-left: 3px solid rgba(var(--away-rgb, 56,189,248), .9); margin-left: 8px; }
.ts-sp-tl-i.is-goal .ts-sp-tl-c { background: linear-gradient(90deg, rgba(34,197,94,.14), transparent), var(--sp-bg); border-color: rgba(34,197,94,.45); }
.ts-sp-tl-i.is-goal .ts-sp-tl-c b { font-size: 15px; font-weight: 800; }
.ts-sp-tl-i.is-goal .ts-sp-tl-m { border-color: rgba(34,197,94,.6); box-shadow: 0 0 18px -4px rgba(34,197,94,.55); }
.ts-sp-tl-i.is-break { display: block; text-align: center; }
.ts-sp-tl-i.is-break span { position: relative; z-index: 1; display: inline-block; padding: 4px 14px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--sp-muted); background: var(--ts-ott-bg, #0b0f19); border: 1px solid var(--sp-line); }

/* Stats: two-sided bars in the club colours */
.ts-sp-stats { display: grid; gap: 14px; }
.ts-sp-stats-h { display: flex; justify-content: space-between; font-size: 14px; font-weight: 800; }
.ts-sp-stats-h b:first-child { color: var(--home, var(--sp-acc)); }
.ts-sp-stats-h b:last-child { color: var(--away, #38bdf8); }
.ts-sp-stat { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 4px 10px; }
.ts-sp-stat-v { font-size: 17px; font-weight: 800; font-variant-numeric: tabular-nums; }
.ts-sp-stat-v:last-of-type { text-align: right; }
.ts-sp-stat-l { color: var(--sp-muted); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.ts-sp-stat-bar { grid-column: 1 / -1; display: flex; gap: 4px; height: 8px; }
.ts-sp-stat-bar i { display: block; height: 100%; border-radius: 6px; opacity: .45; transition: width .8s cubic-bezier(.2,.7,.2,1); }
.ts-sp-stat-bar i.is-home { background: var(--home, #e50914); }
.ts-sp-stat-bar i.is-away { background: var(--away, #38bdf8); }
.ts-sp-stat.lead-home .ts-sp-stat-bar i.is-home { opacity: 1; box-shadow: 0 0 12px -2px rgba(var(--home-rgb, 229,9,20), .6); }
.ts-sp-stat.lead-away .ts-sp-stat-bar i.is-away { opacity: 1; box-shadow: 0 0 12px -2px rgba(var(--away-rgb, 56,189,248), .6); }

/* The report as an editorial lead */
.ts-sp-article { position: relative; padding: 4px 0 4px 20px; }
.ts-sp-article::before { content: ''; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: linear-gradient(180deg, var(--home, #e50914), var(--away, #38bdf8)); }
.ts-sp-article .ts-ott-section-title { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--sp-muted); margin: 0 0 12px; }
.ts-sp-article p:first-of-type { font-size: clamp(18px, 2.4vw, 21px); line-height: 1.55; font-weight: 600; }

/* Results lists: the loser steps back, the winner leads */
.ts-sp-match.has-winner .ts-sp-m-team:not(.is-winner), .ts-sp-match.has-winner .ts-sp-cr-team:not(.is-winner) { opacity: .68; }
.ts-sp-match.is-post .ts-sp-m-score { font-size: 21px; }

@media (max-width: 720px) {
    .ts-sp-hero { padding: 20px 12px 16px; border-radius: 20px; }
    .ts-sp-hero-teams { grid-template-columns: 1fr 1fr; gap: 10px; }
    .ts-sp-hero-mid { grid-column: 1 / -1; grid-row: 1; padding-top: 0; }
    .ts-sp-hero-crest { width: 84px; height: 84px; }
    .ts-sp-hero-crest .ts-sp-logo { width: 56px; height: 56px; }
    .ts-sp-hero-score { font-size: clamp(54px, 18vw, 84px); }
    .ts-sp-hero-fx { background: repeating-linear-gradient(115deg, transparent 0 22px, rgba(255,255,255,.035) 22px 23px); }
    .ts-sp-hero-pills { margin-top: 16px; }
    .ts-sp-tl::before { left: 40px; }
    .ts-sp-tl-i { grid-template-columns: 80px minmax(0, 1fr); }
    .ts-sp-tl-i > span:empty { display: none; }
    .ts-sp-tl-i.is-home .ts-sp-tl-m, .ts-sp-tl-i.is-away .ts-sp-tl-m { order: 1; margin: 0 8px 0 0; }
    .ts-sp-tl-i.is-home .ts-sp-tl-c, .ts-sp-tl-i.is-away .ts-sp-tl-c { order: 2; text-align: left; margin: 0; border-right: 1px solid var(--sp-line); }
    .ts-sp-tl-i.is-home .ts-sp-tl-c { border-left: 3px solid rgba(var(--home-rgb, 229,9,20), .9); }
    .ts-sp-tl-i.is-away .ts-sp-tl-c { border-left: 3px solid rgba(var(--away-rgb, 56,189,248), .9); }
    .ts-sp-tl-i.is-break { padding-left: 0; }
    .ts-sp-article { padding-left: 16px; }
}


/* Lineups: players on a pitch, with their pictures */
.ts-sp-lineups { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; align-items: start; }
.ts-sp-pitch { border: 1px solid var(--sp-line); border-radius: 20px; overflow: hidden; background: var(--sp-bg); }
.ts-sp-pitch-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px; }
.ts-sp-pitch-head b { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; }
.ts-sp-pitch-head span { padding: 3px 11px; border-radius: 999px; font-size: 12px; font-weight: 900; letter-spacing: .12em; color: #22c55e; background: rgba(34,197,94,.14); }
.ts-sp-pitch-field { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; min-height: 540px; padding: 26px 6px 20px;
    background: radial-gradient(circle at 50% 50%, transparent 46px, rgba(255,255,255,.28) 46px 48px, transparent 48px), repeating-linear-gradient(180deg, #1d6d3c 0 54px, #185e33 54px 108px); }
.ts-sp-pitch-field::before { content: ''; position: absolute; inset: 10px; border: 2px solid rgba(255,255,255,.3); border-radius: 6px; pointer-events: none;
    background: linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.3)) center / 100% 2px no-repeat; }
.ts-sp-pitch-field::after { content: ''; position: absolute; left: 50%; bottom: 10px; width: 44%; height: 70px; transform: translateX(-50%); border: 2px solid rgba(255,255,255,.3); border-bottom: 0; pointer-events: none; }
.ts-sp-pline { position: relative; z-index: 1; display: flex; justify-content: space-evenly; align-items: flex-start; }
.ts-sp-pl { margin: 0; width: 22%; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.ts-sp-pl figcaption { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; font-weight: 700; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.75); }
.ts-sp-ph { position: relative; display: grid; place-items: center; width: 48px; height: 48px; flex: none; border-radius: 50%; background: rgba(127,127,127,.18); border: 2px solid var(--sp-line); }
.ts-sp-ph img { width: 100%; height: 100%; object-fit: contain; border-radius: 50%; }
.ts-sp-ph i { position: absolute; right: -5px; bottom: -4px; min-width: 18px; padding: 1px 4px; border-radius: 9px; font-style: normal; font-size: 10.5px; font-weight: 800; line-height: 1.35; text-align: center; color: #fff; background: #0b0f19; border: 1px solid rgba(255,255,255,.55); }
.ts-sp-ph:not(.is-broken) i { display: none; } /* the kit picture already shows the number */
.ts-sp-ph.is-broken img { display: none; }
.ts-sp-ph.is-broken::before { content: attr(data-i); font-size: 14px; font-weight: 800; color: var(--sp-text); }
.ts-sp-pitch-field .ts-sp-ph { background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.75); }
.ts-sp-pitch-field .ts-sp-ph.is-broken::before { color: #fff; }
.ts-sp-pl.is-out .ts-sp-ph::after { content: '\2193'; position: absolute; left: -6px; top: -4px; width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 900; color: #fff; background: #ef4444; }
.ts-sp-bench { padding: 14px 16px 16px; border-top: 1px solid var(--sp-line); }
.ts-sp-bench h4 { margin: 0 0 10px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--sp-muted); }
.ts-sp-bench ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px 12px; }
.ts-sp-bench li { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: 13px; font-weight: 600; }
.ts-sp-bench li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ts-sp-bench li em { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #22c55e; }
.ts-sp-bench .ts-sp-ph { width: 32px; height: 32px; }
.ts-sp-bench .ts-sp-ph i { right: -6px; bottom: -5px; font-size: 9.5px; min-width: 15px; }

/* Cricket squads */
.ts-sp-squads { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.ts-sp-squad h3 { font-size: 15px; margin: 0 0 10px; }
.ts-sp-squad-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 10px; }
.ts-sp-squad-grid li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 8px; text-align: center; border: 1px solid var(--sp-line); border-radius: 14px; background: var(--sp-bg); }
.ts-sp-squad-grid .ts-sp-ph { width: 56px; height: 56px; }
.ts-sp-squad-grid b { font-size: 13px; line-height: 1.2; }
.ts-sp-squad-grid small { color: var(--sp-muted); font-size: 11.5px; line-height: 1.2; }
.ts-sp-badges { position: absolute; top: 6px; right: 6px; display: flex; gap: 3px; }
.ts-sp-badges em { padding: 1px 5px; border-radius: 6px; font-style: normal; font-size: 9.5px; font-weight: 900; color: #04130a; background: #22c55e; }
@media (max-width: 720px) {
    .ts-sp-main .ts-ott-breadcrumbs { flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
    .ts-sp-main .ts-ott-breadcrumbs::-webkit-scrollbar { display: none; }
    .ts-sp-main .ts-ott-breadcrumbs > * { flex: none; }
    .ts-sp-pitch-field { min-height: 470px; }
    .ts-sp-squad-grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
}

/* ---------------------------------------------------------------------------------------------------------------------------
   Hub banner carousel (football and cricket): scroll-snap track, controls added by js/sports.js. Text sits on a dark gradient, so it
   stays white in the light theme too.
   ------------------------------------------------------------------------------------------------------------------------ */
.ts-sp-car { position: relative; margin: 0 0 28px; }
.ts-sp-car-track { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; border-radius: 22px; outline-offset: 3px; }
.ts-sp-car-track::-webkit-scrollbar { display: none; }
.ts-sp-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; isolation: isolate; overflow: hidden; aspect-ratio: 2 / 1; min-height: 230px; border-radius: 22px; border: 1px solid var(--sp-line); background: #0b1020; }
.ts-sp-slide-link { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.ts-sp-slide-art { position: absolute; inset: 0; z-index: -1; background: #0b1020; }
.ts-sp-slide-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,16,0) 28%, rgba(5,8,16,.9) 100%); pointer-events: none; }
.ts-sp-slide-img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ts-sp-slide.no-img .ts-sp-slide-art { background:
    radial-gradient(70% 130% at 0% 0%, rgba(var(--home-rgb, 229,9,20), .6), transparent 62%),
    radial-gradient(70% 130% at 100% 0%, rgba(var(--away-rgb, 56,189,248), .6), transparent 62%),
    linear-gradient(135deg, #0b1020, #131c38); }
.ts-sp-slide-crests { position: absolute; inset: 0 0 34% 0; display: flex; align-items: center; justify-content: center; gap: clamp(18px, 7vw, 90px); }
.ts-sp-slide-crests .ts-sp-logo { width: clamp(64px, 13vw, 124px); height: clamp(64px, 13vw, 124px); filter: drop-shadow(0 8px 18px rgba(0,0,0,.55)); }
.ts-sp-slide-crests i { font-style: normal; font-weight: 900; font-size: clamp(22px, 4vw, 40px); letter-spacing: .1em; opacity: .85; }
.ts-sp-slide-cap { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 6px; padding: clamp(14px, 2.6vw, 28px); }
.ts-sp-slide-kicker { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ts-sp-slide-kicker em { font-style: normal; font-weight: 700; opacity: .8; }
.ts-sp-slide.is-in .ts-sp-slide-kicker { color: #4ade80; }
.ts-sp-slide-title { font-size: clamp(20px, 3.6vw, 38px); font-weight: 900; line-height: 1.1; letter-spacing: -.02em; text-shadow: 0 2px 20px rgba(0,0,0,.65); }
.ts-sp-slide-title i { font-style: normal; font-weight: 600; font-size: .6em; opacity: .75; margin: 0 .2em; }
.ts-sp-slide-title b { font-weight: 900; font-variant-numeric: tabular-nums; }
.ts-sp-slide-title u { text-decoration: none; opacity: .6; margin: 0 .05em; }
.ts-sp-slide-sub { font-size: 14px; font-weight: 600; opacity: .92; max-width: 72ch; }
.ts-sp-slide-cta { justify-self: start; margin-top: 4px; padding: 7px 15px; border-radius: 999px; font-size: 13px; font-weight: 800; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .15s ease; }
.ts-sp-slide-link:hover .ts-sp-slide-cta, .ts-sp-slide-link:focus-visible .ts-sp-slide-cta { background: var(--sp-acc); border-color: transparent; }
.ts-sp-slide-link:focus-visible { outline: 3px solid #fff; outline-offset: -5px; border-radius: 22px; }
.ts-sp-car-bar { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; }
.ts-sp-car-dot { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: var(--sp-line); cursor: pointer; transition: width .2s ease, background .2s ease; }
.ts-sp-car-dot[aria-current="true"] { width: 26px; border-radius: 6px; background: var(--sp-acc); }
.ts-sp-car-btn { position: absolute; top: calc(50% - 26px); z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(5,8,16,.55); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background .15s ease, opacity .15s ease; }
.ts-sp-car-btn:hover { background: var(--sp-acc); }
.ts-sp-car-btn.is-prev { left: 12px; }
.ts-sp-car-btn.is-next { right: 12px; }
.ts-sp-car-play { position: static; width: 30px; height: 30px; font-size: 12px; border: 1px solid var(--sp-line); background: var(--sp-bg); color: var(--sp-text); }
@media (max-width: 720px) {
    .ts-sp-slide { aspect-ratio: 16 / 10; min-height: 250px; border-radius: 18px; }
    .ts-sp-car-track { border-radius: 18px; gap: 10px; }
    .ts-sp-car-btn { display: none; }
    .ts-sp-slide-crests { inset: 0 0 40% 0; }
}
@media (prefers-reduced-motion: reduce) { .ts-sp-car-track { scroll-behavior: auto; } .ts-sp-car-dot { transition: none; } }

/* Related news on match and team pages */
.ts-sp-rn-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.ts-sp-rn-card { gap: 8px; padding: 0 0 12px; overflow: hidden; border: 1px solid var(--sp-line); border-radius: 14px; background: var(--sp-bg); transition: border-color .15s ease, transform .15s ease; }
.ts-sp-rn-card:hover { border-color: var(--sp-acc); transform: translateY(-2px); }
.ts-sp-rn-img { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: rgba(127,127,127,.16); }
.ts-sp-news-card .ts-sp-rn-img img { display: block; width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; object-fit: cover; }
.ts-sp-rn-ph { display: grid; place-items: center; width: 100%; height: 100%; font-size: 36px; }
.ts-sp-rn-chip { position: absolute; left: 10px; top: 10px; padding: 3px 9px; border-radius: 999px; font-style: normal; font-size: 10.5px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(5,8,16,.74); }
.ts-sp-rn-t { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; padding: 0 12px; font-weight: 700; font-size: 14.5px; line-height: 1.35; }
.ts-sp-rn-time { padding: 0 12px; color: var(--sp-muted); font-size: 12px; font-weight: 600; }
@media (max-width: 720px) { .ts-sp-rn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ts-sp-rn-t { font-size: 13.5px; padding: 0 10px; } .ts-sp-rn-time { padding: 0 10px; } }

/* Possible line-ups of an upcoming match */
.ts-sp-pxi-note { margin: 0 0 14px; }
.ts-sp-pxi-pitch .ts-sp-pitch-head span { color: var(--sp-muted); background: rgba(127,127,127,.18); }
.ts-sp-pxi-from { margin: 0; padding: 10px 16px 14px; font-size: 12.5px; color: var(--sp-muted); }
.ts-sp-pxi-from a { color: var(--sp-acc); }
.ts-sp-pxi-froms { margin-top: 12px; display: grid; gap: 4px; }
.ts-sp-pxi-froms .ts-sp-pxi-from { padding: 0; }
.ts-sp-pl.is-red .ts-sp-ph { border-color: #ef4444; }

/* Players' portraits: a face needs cropping, a shirt picture does not */
.ts-sp-ph.is-head { background: radial-gradient(circle at 50% 30%, rgba(255,255,255,.28), rgba(127,127,127,.18) 70%); }
.ts-sp-ph.is-head img { object-fit: cover; object-position: center 12%; }
.ts-sp-tl-c.has-av { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.ts-sp-tl-i.is-away .ts-sp-tl-c.has-av { flex-direction: row-reverse; justify-content: flex-end; }
.ts-sp-tl-c .ts-sp-tl-t { min-width: 0; }
.ts-sp-tl-c .ts-sp-ph { width: 34px; height: 34px; border-width: 1px; }
@media (max-width: 720px) { .ts-sp-tl-i.is-home .ts-sp-tl-c.has-av, .ts-sp-tl-i.is-away .ts-sp-tl-c.has-av { flex-direction: row-reverse; justify-content: flex-end; } }

/* Leagues index */
.ts-sp-lg { display: grid; gap: 30px; }
.ts-sp-lg [hidden] { display: none !important; }
.ts-sp-lg-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.ts-sp-lg-stats li { display: flex; align-items: baseline; gap: 8px; padding: 10px 18px; border: 1px solid var(--sp-line); border-radius: 14px; background: var(--sp-bg); }
.ts-sp-lg-stats b { font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums; }
.ts-sp-lg-stats span { color: var(--sp-muted); font-size: 13px; font-weight: 700; }
.ts-sp-lg-stats .is-live b { color: #22c55e; }
.ts-sp-lg-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.ts-sp-lg-tools input { flex: 1 1 260px; min-width: 0; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--sp-line); background: var(--sp-bg); color: var(--sp-text); font-size: 15px; }
.ts-sp-lg-tools input:focus { outline: 2px solid var(--sp-acc); outline-offset: 2px; }
.ts-sp-lg-chip { padding: 10px 18px; border-radius: 999px; border: 1px solid var(--sp-line); background: var(--sp-bg); color: var(--sp-text); font-size: 13.5px; font-weight: 800; cursor: pointer; }
.ts-sp-lg-chip[aria-pressed="true"] { background: #22c55e; border-color: #22c55e; color: #04130a; }
.ts-sp-lg-nav { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.ts-sp-lg-nav::-webkit-scrollbar { display: none; }
.ts-sp-lg-nav a { flex: none; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--sp-line); color: var(--sp-muted); font-size: 13px; font-weight: 700; text-decoration: none; }
.ts-sp-lg-nav a:hover { color: var(--sp-text); border-color: var(--sp-acc); }
.ts-sp-lg-group { scroll-margin-top: 90px; }
.ts-sp-lg-gh h2 { margin: 0 0 2px; font-size: 20px; font-weight: 800; }
.ts-sp-lg-gh p { margin: 0 0 14px; color: var(--sp-muted); font-size: 14px; }
.ts-sp-lg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.ts-sp-lg-group.is-big .ts-sp-lg-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.ts-sp-lg-card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--sp-line); border-radius: 18px;
    background: linear-gradient(160deg, rgba(127,127,127,.14), rgba(127,127,127,.03)), var(--sp-bg); transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.ts-sp-lg-card:hover { border-color: var(--sp-acc); transform: translateY(-2px); box-shadow: 0 18px 40px -28px rgba(0,0,0,.7); }
.ts-sp-lg-card.is-live { border-color: rgba(34,197,94,.55); }
.ts-sp-lg-main { display: flex; align-items: center; gap: 14px; color: var(--sp-text); text-decoration: none; }
.ts-sp-lg-badge { display: grid; place-items: center; flex: none; width: 62px; height: 62px; padding: 8px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.ts-sp-lg-logo { width: 100%; height: 100%; object-fit: contain; }
.ts-sp-lg-ph { font-size: 18px; font-weight: 900; color: #0b0f19; }
.ts-sp-lg-txt { display: flex; flex-direction: column; min-width: 0; }
.ts-sp-lg-txt b { font-size: 16px; font-weight: 800; line-height: 1.2; }
.ts-sp-lg-txt small { color: var(--sp-muted); font-size: 12.5px; font-weight: 600; }
.ts-sp-lg-live { margin-left: auto; display: inline-flex; align-items: center; color: #22c55e; font-size: 12px; font-weight: 800; white-space: nowrap; }
.ts-sp-lg-top3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ts-sp-lg-top3 li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.ts-sp-lg-top3 .ts-sp-logo { width: 20px; height: 20px; }
.ts-sp-lg-pos { width: 18px; text-align: center; color: var(--sp-muted); font-weight: 800; }
.ts-sp-lg-tn { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ts-sp-lg-top3 b { font-variant-numeric: tabular-nums; }
.ts-sp-lg-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; padding: 9px 12px; border-radius: 12px; border: 1px solid var(--sp-line); background: rgba(127,127,127,.1); color: var(--sp-text); font-size: 13.5px; text-decoration: none; }
a.ts-sp-lg-line:hover { border-color: var(--sp-acc); }
.ts-sp-lg-line small { font-size: 10.5px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; color: var(--sp-muted); }
.ts-sp-lg-line span { font-weight: 700; }
.ts-sp-lg-line em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; color: var(--sp-muted); }
.ts-sp-lg-line.is-live em { color: #22c55e; }
.ts-sp-lg-line.is-idle { opacity: .8; }
.ts-sp-lg-line .ts-sp-dot { margin: 0; }
.ts-sp-lg-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.ts-sp-lg-links a { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--sp-line); color: var(--sp-muted); font-size: 12.5px; font-weight: 700; text-decoration: none; }
.ts-sp-lg-links a:hover { color: var(--sp-text); border-color: var(--sp-acc); }
@media (max-width: 720px) { .ts-sp-lg-grid, .ts-sp-lg-group.is-big .ts-sp-lg-grid { grid-template-columns: 1fr; } .ts-sp-lg-stats li { padding: 8px 14px; } .ts-sp-lg-stats b { font-size: 22px; } }

/* ---- Hub: competition pills, tabbed match strip, news rows ------------------------------------------------------------------------- */
.ts-sp-pills { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px 0 14px; margin: 0 0 4px; -webkit-overflow-scrolling: touch; }
.ts-sp-pills::-webkit-scrollbar { display: none; }
.ts-sp-pill { flex: none; display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--sp-line); background: var(--sp-bg); color: var(--sp-text); font-size: 13.5px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: border-color .15s ease, background .15s ease; }
.ts-sp-pill:hover, .ts-sp-pill:focus-visible { border-color: var(--sp-acc); }
.ts-sp-pill.is-all { background: var(--sp-acc); border-color: transparent; color: #fff; }
.ts-sp-pill.has-live { border-color: rgba(34,197,94,.5); }

.ts-sp-strip { margin: 6px 0 26px; }
.ts-sp-tabs-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.ts-sp-tab { appearance: none; cursor: pointer; display: inline-flex; align-items: center; gap: 7px; padding: 8px 16px; border-radius: 10px; border: 1px solid var(--sp-line); background: transparent; color: var(--sp-muted); font: inherit; font-size: 14px; font-weight: 800; }
.ts-sp-tab span { min-width: 20px; padding: 1px 6px; border-radius: 999px; background: rgba(127,127,127,.2); font-size: 11.5px; text-align: center; color: var(--sp-text); }
.ts-sp-tab.is-on { background: var(--sp-acc); color: #fff; border-color: transparent; }
.ts-sp-tab.is-on span { background: rgba(127,127,127,.35); color: inherit; }
.ts-sp-strip-all { margin-left: auto; font-size: 13px; font-weight: 800; color: var(--sp-acc); text-decoration: none; }
.ts-sp-strip-track { list-style: none; margin: 0; padding: 2px 2px 10px; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.ts-sp-strip.is-js .ts-sp-mc[hidden] { display: none; }
.ts-sp-mc { position: relative; flex: 0 0 248px; scroll-snap-align: start; display: grid; gap: 8px; padding: 12px 14px 10px; border-radius: 16px; border: 1px solid var(--sp-line); background: var(--sp-bg); transition: border-color .15s ease, transform .15s ease; }
.ts-sp-mc:hover { border-color: var(--sp-acc); transform: translateY(-2px); }
.ts-sp-mc.is-in { border-color: rgba(34,197,94,.55); }
.ts-sp-mc-link { position: absolute; inset: 0; z-index: 1; border-radius: 16px; }
.ts-sp-mc-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; }
.ts-sp-mc-top small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11.5px; color: var(--sp-muted); font-weight: 600; }
.ts-sp-mc-badge { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 2px 8px; border-radius: 6px; font-size: 10.5px; font-weight: 900; letter-spacing: .08em; background: rgba(127,127,127,.2); color: var(--sp-text); }
.ts-sp-mc-badge.is-live { background: rgba(34,197,94,.18); color: #22c55e; }
.ts-sp-mc-badge.is-pre { background: rgba(56,189,248,.16); color: #38bdf8; }
.ts-sp-mc-team { display: flex; align-items: center; gap: 9px; min-width: 0; font-size: 14.5px; }
.ts-sp-mc-team b { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; }
.ts-sp-mc-team em { flex: none; font-style: normal; font-weight: 900; font-variant-numeric: tabular-nums; font-size: 15px; }
.ts-sp-mc-team.is-winner b, .ts-sp-mc-team.is-winner em { font-weight: 900; }
.ts-sp-mc.is-post .ts-sp-mc-team:not(.is-winner) { opacity: .72; }
.ts-sp-mc-foot { font-size: 12.5px; font-weight: 700; color: var(--sp-muted); min-height: 1.3em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ts-sp-mc.is-in .ts-sp-mc-foot { color: #22c55e; }
.ts-sp-mc-links { position: relative; z-index: 2; display: flex; gap: 6px; border-top: 1px solid var(--sp-line); padding-top: 8px; }
.ts-sp-mc-links a { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--sp-text); text-decoration: none; background: rgba(127,127,127,.16); }
.ts-sp-mc-links a:hover { background: var(--sp-acc); color: #fff; }

/* News: one row that scrolls sideways, each card with its age */
.ts-sp-news-grid { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x proximity; padding-bottom: 8px; scrollbar-width: thin; }
.ts-sp-news-grid > .ts-sp-news-card { flex: 0 0 min(260px, 72vw); scroll-snap-align: start; }
.ts-sp-news-card small { color: var(--sp-muted); font-weight: 600; font-size: 12px; }
@media (max-width: 720px) {
    .ts-sp-mc { flex-basis: 78vw; }
    .ts-sp-strip-all { display: none; }
}
@media (prefers-reduced-motion: reduce) { .ts-sp-mc { transition: none; } .ts-sp-mc:hover { transform: none; } }

/* The scores box in single posts: its own text colour (it inherited a dark one from the sidebar and the team names and scores vanished) */
.widget-sports-live { --sp-text: #e5e7eb; color: #e5e7eb; }
.light-mode .widget-sports-live { --sp-text: #111827; color: #111827; }
.widget-sports-live .ts-sp-sport-title { color: var(--sp-text); }
.widget-sports-live .ts-sp-cr-team, .widget-sports-live .ts-sp-m-team, .widget-sports-live .ts-sp-m-score { color: var(--sp-text); }
@media (max-width: 720px) {
    .ts-sp-slide { min-height: 300px; aspect-ratio: 4 / 5; }
    .ts-sp-slide-crests { inset: 14px 0 52% 0; }
}

/* Commentary */
.ts-sp-comm { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border: 1px solid var(--sp-line); border-radius: 14px; overflow: hidden; background: var(--sp-bg); }
.ts-sp-comm-i { display: grid; grid-template-columns: 54px 1fr; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--sp-line); font-size: 14.5px; line-height: 1.5; }
.ts-sp-comm-i:first-child { border-top: 0; }
.ts-sp-comm-i b { font-variant-numeric: tabular-nums; color: var(--sp-muted); font-weight: 800; font-size: 13px; padding-top: 1px; }
.ts-sp-comm-i.is-key { background: rgba(34,197,94,.09); }
.ts-sp-comm-i.is-key b { color: #22c55e; }
.ts-sp-comm-i.is-card { background: rgba(250,204,21,.08); }
.ts-sp-comm.is-live .ts-sp-comm-i:first-child { box-shadow: inset 3px 0 0 #22c55e; }
@media (max-width: 720px) { .ts-sp-comm-i { grid-template-columns: 44px 1fr; padding: 9px 11px; font-size: 14px; } }

/* ===== Hub revamp: section headers, live score cards, rows in two columns, league tables, league tiles, news ===== */
.ts-sp-main .ts-sp-sec-head { align-items: center; margin-bottom: 14px; }
.ts-sp-main .ts-sp-sec-head .ts-ott-section-title { position: relative; padding-left: 14px; font-size: clamp(20px, 2.6vw, 26px); letter-spacing: -.01em; }
.ts-sp-main .ts-sp-sec-head .ts-ott-section-title::before { content: ''; position: absolute; left: 0; top: 14%; bottom: 14%; width: 5px; border-radius: 4px; background: linear-gradient(180deg, var(--sp-acc), #f97316); }
.ts-sp-live-sec .ts-ott-section-title::before { background: linear-gradient(180deg, #22c55e, #16a34a) !important; }
.ts-sp-main .ts-sp-sec-more { padding: 6px 14px; border-radius: 999px; border: 1px solid var(--sp-line); font-size: 13px; }
.ts-sp-main .ts-sp-sec-more:hover { border-color: var(--sp-acc); }

/* Live now: score cards */
.ts-sp-livegrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.ts-sp-livegrid .ts-sp-mc { flex: none; background: linear-gradient(160deg, rgba(34,197,94,.10), var(--sp-bg) 55%); }
.ts-sp-livegrid .ts-sp-mc-team { font-size: 15.5px; }
.ts-sp-livegrid .ts-sp-mc-team em { font-size: 18px; }

/* Today / Coming up / Results: a league heading, then its matches two to a line */
.ts-sp-league { margin-bottom: 14px; }
.ts-sp-league-h { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; padding: 6px 12px; border-radius: 10px; background: rgba(127,127,127,.10); border-left: 3px solid var(--sp-acc); font-size: 12.5px; letter-spacing: .06em; }
.ts-sp-league-h a { color: inherit; text-decoration: none; }
.ts-sp-league .ts-sp-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 440px), 1fr)); gap: 8px; }
.ts-sp-day-h { display: flex; align-items: baseline; gap: 8px; padding-bottom: 6px; margin-bottom: 12px; border-bottom: 1px solid var(--sp-line); }

/* League tables */
.ts-sp-minis { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 16px; }
.ts-sp-mini { padding: 14px 14px 8px; border: 1px solid var(--sp-line); border-radius: 18px; background: var(--sp-bg); }
.ts-sp-mini-h { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.ts-sp-mini-h .ts-sp-lg-logo, .ts-sp-mini-h .ts-sp-lg-ph { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 9px; background: #f1f5f9; padding: 3px; }
.ts-sp-mini-h h3 { flex: 1; min-width: 0; margin: 0; font-size: 16px; line-height: 1.2; display: flex; flex-direction: column; }
.ts-sp-mini-h h3 small { font-size: 12px; font-weight: 600; color: var(--sp-muted); }
.ts-sp-mini-all { flex: none; font-size: 12.5px; font-weight: 800; color: var(--sp-acc); text-decoration: none; }

/* Leagues & cups / series: logo tiles */
.ts-sp-tiles { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.ts-sp-tile-lg { flex-direction: row; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; transition: transform .15s ease, border-color .15s ease; }
.ts-sp-tile-lg:hover { transform: translateY(-2px); }
.ts-sp-tile-lg > .ts-sp-lg-logo, .ts-sp-tile-lg > .ts-sp-lg-ph { flex: none; width: 44px; height: 44px; padding: 5px; border-radius: 12px; background: #f1f5f9; display: grid; place-items: center; }
.ts-sp-tile-lg > span:not(.ts-sp-lg-ph) { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.ts-sp-tile-lg b { line-height: 1.25; }
.ts-sp-tile-lg small { display: inline-flex; align-items: center; gap: 6px; }
.ts-sp-tile-lg small .ts-sp-dot { width: 7px; height: 7px; }

/* News row: a big first card, the rest beside it */
.ts-sp-news-grid > .ts-sp-news-card { flex: 0 0 min(250px, 70vw); padding: 10px; border: 1px solid var(--sp-line); border-radius: 16px; background: var(--sp-bg); transition: border-color .15s ease, transform .15s ease; }
.ts-sp-news-grid > .ts-sp-news-card:hover { border-color: var(--sp-acc); transform: translateY(-2px); }
.ts-sp-news-grid > .ts-sp-news-card:first-child { flex-basis: min(420px, 86vw); }
.ts-sp-news-grid > .ts-sp-news-card:first-child img { aspect-ratio: 16 / 9; }
.ts-sp-news-grid > .ts-sp-news-card:first-child span { font-size: 17px; }
.ts-sp-news-grid > .ts-sp-news-card img { border-radius: 10px; }
@media (max-width: 720px) {
    .ts-sp-livegrid { grid-template-columns: 1fr; }
    .ts-sp-main .ts-sp-sec-head .ts-ott-section-title { font-size: 20px; }
}
.ts-sp-mc-team em { max-width: 62%; text-align: right; line-height: 1.2; overflow-wrap: anywhere; }
.ts-sp-mc-team b { flex: 0 1 auto; max-width: 40%; }
.ts-sp-mc.ts-sp-cr-card .ts-sp-mc-team b, .ts-sp-mc-team em:not(:empty) { font-size: inherit; }

.ts-sp-livegrid .ts-sp-mc-team em, .ts-sp-strip .ts-sp-mc-team em { font-size: 14.5px; }
.ts-sp-mc-team b { max-width: 38%; }

/* Cricket ground with the playing XI */
.ts-sp-cfields { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; margin-bottom: 12px; }
.ts-sp-cfield-h { margin: 0 0 8px; font-size: 15px; font-weight: 800; }
.ts-sp-cfield { position: relative; width: 100%; max-width: 520px; margin: 0 auto; aspect-ratio: 1 / 1; border-radius: 50%; border: 3px solid rgba(255,255,255,.55); background: repeating-radial-gradient(circle at 50% 50%, #1d7a3f 0 34px, #186a35 34px 68px); box-shadow: inset 0 0 0 10px rgba(0,0,0,.12), 0 14px 40px rgba(0,0,0,.35); }
.ts-sp-cfield::before { content: ''; position: absolute; inset: 24%; border-radius: 50%; border: 2px dashed rgba(255,255,255,.35); }
.ts-sp-cpitch { position: absolute; left: 45%; width: 10%; top: 24%; height: 52%; border-radius: 4px; background: linear-gradient(180deg, #d9c58a, #c9b273); box-shadow: 0 0 0 2px rgba(255,255,255,.35); }
.ts-sp-cp { position: absolute; z-index: 1; transform: translate(-50%, -50%); width: 22%; display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; }
.ts-sp-cp .ts-sp-ph { width: 44px; height: 44px; background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.85); }
.ts-sp-cp .ts-sp-ph.is-broken::before { color: #fff; }
.ts-sp-cp b { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; font-weight: 800; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.ts-sp-cp b i { font-style: normal; padding: 0 4px; border-radius: 4px; background: #facc15; color: #111; font-size: 9px; }
@media (max-width: 720px) { .ts-sp-cp .ts-sp-ph { width: 34px; height: 34px; } .ts-sp-cp b { font-size: 9.5px; } .ts-sp-cp { width: 26%; } }
