:root{color-scheme:light dark}
html[data-theme="dark"] body .section-view-all,html[data-theme="dark"] body .story-page-copy>small,html[data-theme="dark"] body .related-articles>small,html[data-theme="dark"] body .hub-panel header small{color:#ffc400}
html[data-theme="dark"] body .breadcrumbs,html[data-theme="dark"] body .search-button{color:#c3d2e3}
html[data-theme="dark"] body .transfer-meta,html[data-theme="dark"] body .analysis-big-content .card-meta,html[data-theme="dark"] body .analysis-stack-item .card-meta{color:#b8c8d7}
html[data-theme="dark"] body .transfer-card,html[data-theme="dark"] body .analysis-big-card,html[data-theme="dark"] body .analysis-stack-item{background:#111e2e;color:#e7edf5}
html[data-theme="dark"] body .transfer-status-pill{background:#233a53;color:#e7edf5}
html[data-theme="dark"] body .story-updated,html[data-theme="dark"] body .hub-pagination a{color:#b8c8d7}
html[data-theme="dark"] body .story-sources a{color:#9dccff}
html[data-theme="dark"] body #search-button{background:#13243a;color:#eef5ff}
html[data-theme="dark"] body .transfer-player-name,html[data-theme="dark"] body .analysis-big-title,html[data-theme="dark"] body .analysis-stack-title{color:#e7edf5}
html[data-theme="dark"] body .transfer-clubs,html[data-theme="dark"] body .analysis-big-excerpt,html[data-theme="dark"] body .related-articles a span{color:#b8c8d7}
html[data-theme="dark"] body .author-box a,html[data-theme="dark"] body .correction-note a{color:#9dccff}
html[data-theme="dark"] body .hub-panel nav a{color:#c3d2e3}
html[data-theme="dark"] body .content-body h2,html[data-theme="dark"] body .content-body h3{color:#e7edf5}
html[data-theme="dark"] body .content-body a{color:#9dccff}
html[data-theme="dark"] body .contact-email{background:#0b1726;border-color:#40536a}
.theme-toggle{flex:0 0 42px;width:42px;height:42px;display:grid;place-items:center;border:1px solid #87a8d1;border-radius:50%;background:#f7fbff;color:#082c61;cursor:pointer;font:700 22px/1 Arial;transition:background .2s,border-color .2s,color .2s,transform .2s}
.theme-toggle:hover{border-color:#b77d00;color:#795400;transform:translateY(-1px)}
.theme-label{display:none}
@media(min-width:901px){
  .site-header .header-tools .theme-toggle,.content-header .header-tools .theme-toggle{display:flex;align-items:center;justify-content:center;gap:7px;width:auto;min-width:106px;height:42px;flex:0 0 auto;padding:0 12px;border-radius:6px;background:#13243a;color:#eef5ff;border-color:#627b99}
  .theme-toggle .theme-label{display:inline;font:700 12px/1.2 Arial;white-space:nowrap}
  .site-header .header-tools,.content-header .header-tools{flex-shrink:0}
  .site-header .header-inner>nav,.content-header .header-inner>nav{flex:1 1 0;min-width:0;overflow-x:auto;gap:16px}
  .site-header .header-inner>nav>a,.content-header .header-inner>nav>a{flex-shrink:0}
  .site-header .header-inner,.content-header .header-inner{gap:16px}
}
.theme-toggle:focus-visible{outline:3px solid rgb(8 121 237 / 35%);outline-offset:2px}

html[data-theme="dark"]{--ink:#e7edf5;--muted:#9dabb9;--line:#2a3b50;--paper:#07111f;--white:#111e2e}
html[data-theme="dark"] body,html[data-theme="dark"] .content-page{background:#07111f;color:#e7edf5}
html[data-theme="dark"] .site-header,html[data-theme="dark"] .content-header{background:linear-gradient(110deg,rgb(10 25 45 / 98%),rgb(15 38 68 / 98%));border-bottom-color:#8b6b00}
html[data-theme="dark"] .site-header nav a,html[data-theme="dark"] .site-header nav summary,html[data-theme="dark"] .content-header nav a,html[data-theme="dark"] .content-header nav summary{color:#d5e0ed}
html[data-theme="dark"] .site-header nav a:hover,html[data-theme="dark"] .site-header nav a.active,html[data-theme="dark"] .site-header nav details[open] summary,html[data-theme="dark"] .content-header nav a:hover,html[data-theme="dark"] .content-header nav a.active,html[data-theme="dark"] .content-header nav details[open] summary{color:#fff}
html[data-theme="dark"] .theme-toggle,html[data-theme="dark"] .search-button,html[data-theme="dark"] .menu-toggle{background:#13243a;border-color:#405774;color:#eef5ff}
html[data-theme="dark"] .lead-story,html[data-theme="dark"] .story-card,html[data-theme="dark"] .sidebar,html[data-theme="dark"] .standings-card,html[data-theme="dark"] .updates-card,html[data-theme="dark"] .coverage-rail,html[data-theme="dark"] .content-body,html[data-theme="dark"] .story-page article,html[data-theme="dark"] .comments-section{background:#111e2e;border-color:#2a3b50;box-shadow:0 14px 38px rgb(0 0 0 / 22%)}
html[data-theme="dark"] .coverage-hubs,html[data-theme="dark"] .data-section{background:#0a1625;border-color:#26374a}
html[data-theme="dark"] .lead-copy p:not(.eyebrow),html[data-theme="dark"] .card-copy p,html[data-theme="dark"] .content-body p,html[data-theme="dark"] .content-body li,html[data-theme="dark"] .story-page-body p,html[data-theme="dark"] .article-body,html[data-theme="dark"] .article-excerpt,html[data-theme="dark"] .story-page-excerpt{color:#b6c2ce}
html[data-theme="dark"] .fixture,html[data-theme="dark"] .update-item,html[data-theme="dark"] .search-dialog #search-results button,html[data-theme="dark"] .search-dialog #search-results a,html[data-theme="dark"] .cms-empty{background:#111e2e}
html[data-theme="dark"] .table-head,html[data-theme="dark"] .table-row,html[data-theme="dark"] .fixture,html[data-theme="dark"] .update-item,html[data-theme="dark"] .panel-title{border-color:#2a3b50}
html[data-theme="dark"] dialog{background:#111e2e;color:#e7edf5;border-color:#40536a}
html[data-theme="dark"] select,html[data-theme="dark"] input,html[data-theme="dark"] textarea{background:#0b1726!important;color:#e7edf5!important;border-color:#40536a!important}
html[data-theme="dark"] .social-follow,html[data-theme="dark"] #comment-form,html[data-theme="dark"] .reader-comment p,html[data-theme="dark"] .story-sources,html[data-theme="dark"] .author-box{background:#0b1726;color:#c4ced8}
html[data-theme="dark"] .social-follow a{background:#18283b}
html[data-theme="dark"] .comments-head h2,html[data-theme="dark"] #comment-form h3,html[data-theme="dark"] .reader-comment b,html[data-theme="dark"] .reader-comment p,html[data-theme="dark"] .coverage-list>a,html[data-theme="dark"] .related-articles a{color:#e7edf5}
html[data-theme="dark"] .coverage-update{background:#3a3213;color:#f4eed5}
html[data-theme="dark"] .coverage-earlier{background:#102943;color:#dbeaff}
html[data-theme="dark"] .site-header nav details>div,html[data-theme="dark"] .content-header nav details>div{background:#111e2e;border-color:#40536a}
html[data-theme="dark"] .site-header nav details>div a:hover,html[data-theme="dark"] .content-header nav details>div a:hover{background:#1b2e45;color:#fff}

/* Dark surfaces for the newer hub, article and data components. */
html[data-theme="dark"] .hub-panel,html[data-theme="dark"] .hub-panel header{background:#111e2e;border-color:#2a3b50}
html[data-theme="dark"] .hub-panel header h2,html[data-theme="dark"] .hub-panel .hub-article b,html[data-theme="dark"] .hub-match b,html[data-theme="dark"] .hub-team-summary strong{color:#f1f5fa}
html[data-theme="dark"] .hub-article,html[data-theme="dark"] .hub-match,html[data-theme="dark"] .hub-standings>div{border-color:#2a3b50;color:#dbe5ef}
html[data-theme="dark"] .hub-article small,html[data-theme="dark"] .hub-article time,html[data-theme="dark"] .hub-match time,html[data-theme="dark"] .hub-match small,html[data-theme="dark"] .hub-team-summary small,html[data-theme="dark"] .breadcrumbs{color:#aebdcb}
html[data-theme="dark"] .hub-article:hover{background:#172b42}
html[data-theme="dark"] .hub-filters label,html[data-theme="dark"] .hub-filters select{color:#dbe5ef}
html[data-theme="dark"] .hub-filters select{background:#0b1726;border-color:#40536a}
html[data-theme="dark"] .breadcrumbs a,html[data-theme="dark"] .hub-team-summary span,html[data-theme="dark"] .hub-match>div span{color:#72b6ff}
html[data-theme="dark"] .coverage-list>a,html[data-theme="dark"] .coverage-list b,html[data-theme="dark"] .coverage-list time,html[data-theme="dark"] .coverage-empty{color:#e0e8f0}
html[data-theme="dark"] .coverage-list>a:hover{background:#172b42}
html[data-theme="dark"] .section-heading p,html[data-theme="dark"] .loading-message,html[data-theme="dark"] .empty-state,html[data-theme="dark"] .ticker-empty{color:#aebdcb}
html[data-theme="dark"] .fixture-group-title,html[data-theme="dark"] .fixture em,html[data-theme="dark"] .standings-pages span{color:#aebdcb}
html[data-theme="dark"] .panel-title,html[data-theme="dark"] .data-card-head{background:#111e2e;color:#f1f5fa}
html[data-theme="dark"] .panel-title h2,html[data-theme="dark"] .data-card-head h3,html[data-theme="dark"] .table-row,html[data-theme="dark"] .fixture b,html[data-theme="dark"] .update-item b{color:#f1f5fa}
html[data-theme="dark"] .table-head{color:#aebdcb}
html[data-theme="dark"] .data-card-head>span{background:#183555;color:#9dccff}
html[data-theme="dark"] .cms-empty{color:#e0e8f0}
html[data-theme="dark"] .comments-head{background:#14273d;border-color:#2a3b50}
html[data-theme="dark"] .comments-head h2,html[data-theme="dark"] #comment-form h3{color:#f1f5fa}
html[data-theme="dark"] .comments-loading,html[data-theme="dark"] .comments-empty,html[data-theme="dark"] #comment-status,html[data-theme="dark"] .reader-comment time{color:#aebdcb}
html[data-theme="dark"] #comment-form{background:#0b1726;border-color:#2a3b50}
html[data-theme="dark"] #comment-form label{color:#dbe5ef}
html[data-theme="dark"] .report-card{color:#f1f5fa}
html[data-theme="dark"] .report-copy p,html[data-theme="dark"] .report-score small{color:#b8c8d7}
html[data-theme="dark"] .search-dialog h2{color:#f1f5fa}
html[data-theme="dark"] .footer-links a,html[data-theme="dark"] .content-footer{color:#b8c8d7}

@media(max-width:1100px){html[data-theme="dark"] .site-header .header-inner nav,html[data-theme="dark"] .content-header .header-inner nav{background:#0f2035;border-color:#40536a}html[data-theme="dark"] .site-header nav details>div{background:#14273d}}
@media(max-width:520px){.theme-toggle{width:40px;height:40px;flex-basis:40px}.search-button+.theme-toggle{order:0}}
@media(prefers-reduced-motion:reduce){.theme-toggle{transition:none}}

/* Keep the current homepage cards and their text on matching dark surfaces. */
html[data-theme="dark"] body .breaking-bar,
html[data-theme="dark"] body .trending-panel,
html[data-theme="dark"] body .news-card,
html[data-theme="dark"] body .uganda-category-list,
html[data-theme="dark"] body .pitch-tile,
html[data-theme="dark"] body .latest-stories-box{background:#142235;border-color:#35465b}
html[data-theme="dark"] body .breaking-ticker,
html[data-theme="dark"] body .trending-header,
html[data-theme="dark"] body .trending-title,
html[data-theme="dark"] body .news-card-title,
html[data-theme="dark"] body .uganda-cat-item,
html[data-theme="dark"] body .pitch-tile h3,
html[data-theme="dark"] body .pitch-tile h4,
html[data-theme="dark"] body .latest-story-row,
html[data-theme="dark"] body .latest-story-title{color:#f1f5fa}
html[data-theme="dark"] body .trending-views,
html[data-theme="dark"] body .news-card-meta,
html[data-theme="dark"] body .pitch-tile p,
html[data-theme="dark"] body .latest-story-time,
html[data-theme="dark"] body .breaking-arrow,
html[data-theme="dark"] body .uganda-cat-item .cat-arrow{color:#c3cfde}
html[data-theme="dark"] body .trending-item,
html[data-theme="dark"] body .trending-header,
html[data-theme="dark"] body .uganda-cat-item,
html[data-theme="dark"] body .latest-story-row{border-color:#35465b}
html[data-theme="dark"] body .uganda-cat-item:hover,
html[data-theme="dark"] body .analysis-stack-item:hover,
html[data-theme="dark"] body .pitch-tile:hover,
html[data-theme="dark"] body .news-card:hover{background:#1c3049;color:#fff}
html[data-theme="dark"] body .pitch-icon-box{background:#203b59;color:#a6d4ff}
html[data-theme="dark"] body .trending-num,
html[data-theme="dark"] body .breaking-ticker:hover,
html[data-theme="dark"] body .trending-item:hover .trending-title,
html[data-theme="dark"] body .news-card:hover .news-card-title,
html[data-theme="dark"] body .latest-story-row:hover .latest-story-title{color:#a6d4ff}

/* Brighter body text and larger secondary text make long articles easier to read. */
html[data-theme="dark"] body .content-body p,
html[data-theme="dark"] body .content-body li,
html[data-theme="dark"] body .story-page-body,
html[data-theme="dark"] body .story-page-body p,
html[data-theme="dark"] body .story-page-body li,
html[data-theme="dark"] body .story-page-excerpt{color:#d6dfeb}
html[data-theme="dark"] body .story-page-body h2,
html[data-theme="dark"] body .story-page-body h3,
html[data-theme="dark"] body .story-page-body h4,
html[data-theme="dark"] body .story-page-body strong{color:#f5f8fc}
html[data-theme="dark"] body .news-card-meta,
html[data-theme="dark"] body .latest-story-time,
html[data-theme="dark"] body .trending-views,
html[data-theme="dark"] body .transfer-meta,
html[data-theme="dark"] body .card-meta,
html[data-theme="dark"] body .hub-article small,
html[data-theme="dark"] body .hub-article time{font-size:12px;line-height:1.5}
html[data-theme="dark"] body .story-page-body a{color:#a6d4ff;text-decoration:underline;text-underline-offset:3px}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder{color:#b8c8d7;opacity:1}
html[data-theme="dark"] body .footer-copyright{color:#bbc9d9}
html[data-theme="dark"] body .footer-nav-links a{color:#d0dbe8}
html[data-theme="dark"] body .article-table th,
html[data-theme="dark"] body .article-table td{border-color:#45576d;color:#d6dfeb}
html[data-theme="dark"] body .article-table th{background:#20334c;color:#f5f8fc}
html[data-theme="dark"] .search-dialog #search-results .search-result{color:#edf3fb;background:#111e2e;border-color:#40536a}
html[data-theme="dark"] .search-dialog .search-empty{color:#c3cfde}
