/* style.css */
:root {
  --brand: #0A7A3A; --alert: #D10006;
  --brand-dark: #064E27;
  --brand-accent: #8FE3AF;
  --bg: #f6f6f6;
  --text: #1a1a1a;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: system-ui, Segoe UI, Arial, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

.site-header { background: var(--brand); color: #fff; border-bottom: 4px solid var(--brand-accent); }
.header-inner { display: flex; justify-content: space-between; align-items: center; padding: 1rem; }
.logo { font-size: 1.6rem; font-weight: 800; letter-spacing: 0.5px; }
.logo span { color: #fff; opacity: 0.85; font-weight: 400; }
.site-header nav a { margin-left: 1rem; font-weight: 600; }
.site-header a:hover { color: #fff; text-decoration: underline; }

main { padding: 2rem 1rem; }
.tag { display: inline-block; background: var(--brand-dark); color: #fff; font-size: 0.75rem; padding: 2px 8px; border-radius: 3px; text-transform: uppercase; letter-spacing: 0.5px; }
time { color: #666; font-size: 0.85rem; }

.featured { background: #fff; padding: 2rem; border-left: 6px solid var(--brand); margin-bottom: 2rem; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.featured h1 { margin: 0.5rem 0; font-size: 2rem; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.card { background: #fff; padding: 1.25rem; border-top: 4px solid var(--brand-dark); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.card h2 { font-size: 1.15rem; margin: 0.5rem 0; }

.article { background: #fff; padding: 2rem; max-width: 750px; margin: 0 auto; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.article h1 { margin: 0.5rem 0; }

.site-footer { background: var(--brand-dark); color: #fff; padding: 1.5rem 0; text-align: center; font-size: 0.9rem; }
/* Jost everywhere */
body, button, input, select, textarea { font-family: 'Jost', system-ui, 'Segoe UI', Arial, sans-serif; }

/* capitalised post titles */
.lead h2, .top-item h3, .post-body h3, .card h2, .article h1, .most-read li a, .ticker-move a { text-transform: uppercase; }
.lead h2 { font-size: clamp(1.4rem, 2.3vw, 2.1rem); letter-spacing: 0.2px; }
.top-item h3 { font-size: 0.95rem; }
.post-body h3 { font-size: 1.1rem; }
.card h2 { font-size: 1.05rem; }
.most-read li { font-size: 0.88rem; }

/* capitalise (Title Case) post titles, not all caps */
.lead h2, .top-item h3, .post-body h3, .card h2, .article h1, .most-read li a, .ticker-move a { text-transform: capitalize; }

/* Varela everywhere */
body, button, input, select, textarea, h1, h2, h3, h4, h5, h6 { font-family: 'Varela', system-ui, 'Segoe UI', Arial, sans-serif; }

/* space between the header and the page content */
main.container { padding-top: 3rem; padding-bottom: 2rem; }

/* Jost everywhere */
body, button, input, select, textarea, h1, h2, h3, h4, h5, h6 { font-family: 'Jost', system-ui, 'Segoe UI', Arial, sans-serif; }

/* Accessible screen-reader utility */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* admin.css */
.article.narrow { max-width: 420px; }
.article.wide { max-width: 900px; }
.admin-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.inline { display: inline; }
.btn { display: inline-block; background: var(--brand); color: #fff; border: 0; padding: 0.55rem 1.1rem; border-radius: 4px; font-size: 0.95rem; font-weight: 600; cursor: pointer; }
.btn:hover { background: #086A32; color: #fff; }
.btn-grey { background: #666; }
.btn-grey:hover { background: #444; }
.form label { display: block; font-weight: 600; margin-bottom: 1rem; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 0.3rem; padding: 0.55rem; font: inherit; border: 1px solid #bbb; border-radius: 4px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.error { background: #fde8e8; color: #9b0006; padding: 0.6rem 0.8rem; border-radius: 4px; }
.table { width: 100%; border-collapse: collapse; margin-top: 1rem; }
.table th, .table td { text-align: left; padding: 0.6rem; border-bottom: 1px solid #ddd; }
.actions a { margin-right: 0.8rem; color: var(--brand-dark); font-weight: 600; }
.link-danger { background: none; border: 0; color: var(--alert); font: inherit; font-weight: 600; cursor: pointer; padding: 0; }
.link-danger:hover { text-decoration: underline; }
.st-badge { display: inline-block; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.6px; padding: 2px 9px; border-radius: 10px; color: #fff; }
.badge-pub { background: #1b8a3a; }
.badge-draft { background: #b8860b; }
.ed-status { margin: 0 0 0.7rem; font-size: 0.9rem; }
.ed-status .st-pub { color: #1b8a3a; }
.ed-status .st-draft { color: #b8860b; }
.draft-banner { background: #fff3cd; border: 1px solid #e0c26a; color: #6b5200; padding: 0.6rem 0.9rem; border-radius: 4px; font-weight: 600; }

.badge-published { background: #1b8a3a; }
.badge-review { background: #2563b8; }
.badge-scheduled { background: #7a4cc2; }
.badge-archived { background: #777; }

/* matches.css */
.page-title { margin-top: 0; }
.subnav { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.subnav a { padding: 0.5rem 1rem; background: #fff; border-bottom: 3px solid transparent; font-weight: 600; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.subnav a.active { border-bottom-color: var(--brand); color: var(--brand); }

.matches { list-style: none; margin: 0; padding: 0; }
.match { background: #fff; padding: 0.9rem 1.1rem; margin-bottom: 0.75rem; border-left: 4px solid var(--brand-dark); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.match-meta { display: flex; justify-content: space-between; font-size: 0.8rem; color: #666; margin-bottom: 0.4rem; }
.match-teams { display: grid; grid-template-columns: 1fr 90px 1fr auto; align-items: center; gap: 0.75rem; font-weight: 600; }
.side.home { text-align: right; }
.side img { vertical-align: middle; }
.score { text-align: center; background: var(--bg); padding: 0.25rem 0; border-radius: 4px; }
.badge { display: inline-block; width: 1.6rem; text-align: center; color: #fff; border-radius: 3px; font-size: 0.8rem; padding: 2px 0; }
.badge-W { background: #157a30; }
.badge-D { background: #888; }
.badge-L { background: var(--alert); }

.table-wrap { overflow-x: auto; }
.league { width: 100%; border-collapse: collapse; background: #fff; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.league th, .league td { padding: 0.55rem 0.6rem; text-align: center; border-bottom: 1px solid #eee; }
.league th { background: var(--brand-dark); color: #fff; font-size: 0.8rem; }
.league .team-col { text-align: left; white-space: nowrap; }
.league img { vertical-align: middle; margin-right: 0.4rem; }
.league tr.ucl td:first-child { border-left: 4px solid var(--brand-dark); }
.league tr.rel td:first-child { border-left: 4px solid #999; }
.league tr.me { background: #E8F5EC; font-weight: 700; }
.legend { color: #666; font-size: 0.85rem; margin-top: 1rem; }
.dot { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.dot-ucl { background: var(--brand-dark); }
.dot-rel { background: #999; }

@media (max-width: 600px) {
  .match-teams { grid-template-columns: 1fr 64px 1fr; }
  .badge { display: none; }
}

/* nav.css */
.masthead { position: relative; z-index: 100; background: #064E27; color: #fff; border-top: 4px solid var(--brand); }
.masthead a { color: #fff; text-decoration: none; }
.masthead a:hover { color: #fff; }

/* one line: logo + menu */
.navbar { display: flex; align-items: stretch; }

.brand { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding: 0.6rem 1.5rem; border-right: 1px solid rgba(255,255,255,.15); }
.brand-img { display: block; height: 56px; width: auto; max-width: 240px; }
.brand-text { font-size: 1.6rem; font-weight: 800; letter-spacing: 0.5px; white-space: nowrap; }
.brand-text span { font-weight: 400; opacity: 0.85; }

.main-nav { flex: 1; min-width: 0; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; height: 100%; }
.main-nav > ul > li { position: relative; flex: 1; border-right: 1px solid rgba(255,255,255,.15); }
.main-nav > ul > li:last-child { border-right: 0; }
.main-nav > ul > li > a { display: flex; align-items: center; justify-content: center; height: 100%; text-align: center; padding: 0.5rem 0.4rem; font-size: clamp(0.8rem, 1.25vw, 1.3rem); font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; }
.main-nav > ul > li > a:hover { background: var(--brand); }
.has-dropdown > a::after { content: ' \25BE'; font-size: 0.8em; margin-left: 0.25em; }
.admin-item > a { color: var(--brand-accent) !important; }

/* dropdowns */
.main-nav .dropdown { display: none; position: absolute; left: 0; top: 100%; min-width: 280px; background: #08381C; box-shadow: 0 6px 14px rgba(0,0,0,.35); border-top: 3px solid var(--brand); }
.main-nav > ul > li:nth-last-child(-n+2) .dropdown { left: auto; right: 0; }
.main-nav .has-dropdown:hover > .dropdown,
.main-nav .has-dropdown:focus-within > .dropdown { display: block; }
.main-nav .dropdown a { display: block; padding: 0.8rem 1.2rem; font-size: 1.05rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.main-nav .dropdown a:hover { background: var(--brand); }

/* search page form (page still exists, just not in the header) */
.search-page-form { display: flex; gap: 0.5rem; max-width: 600px; margin-bottom: 1.5rem; }
.search-page-form input { flex: 1; padding: 0.6rem; font: inherit; border: 1px solid #bbb; border-radius: 4px; }

/* narrow screens: logo on top, menu items wrap underneath */
@media (max-width: 900px) {
  .navbar { flex-direction: column; }
  .brand { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .main-nav > ul { flex-wrap: wrap; }
  .main-nav > ul > li { flex: 1 1 auto; }
  .main-nav > ul > li > a { padding: 0.8rem 0.9rem; font-size: 0.9rem; }
  .main-nav .dropdown { min-width: 220px; }
}
/* logo 300x90 and aligned menu */
.navbar { align-items: stretch; }
.brand { padding: 0.5rem 1.2rem; }
.brand-img { width: 300px; height: 90px; max-width: none; object-fit: contain; }
.main-nav { display: flex; align-items: stretch; }
.main-nav > ul { display: flex; align-items: stretch; width: 100%; height: auto; }
.main-nav > ul > li { display: flex; flex: 1 1 0; }
.main-nav > ul > li > a { flex: 1; display: flex; align-items: center; justify-content: center; height: auto; }
.main-nav > ul > li.has-dropdown > a::after { margin-left: 0.35em; }

@media (max-width: 1100px) {
  .navbar { flex-direction: column; }
  .brand { justify-content: center; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .main-nav > ul { flex-wrap: wrap; }
  .main-nav > ul > li { flex: 1 1 auto; }
  .main-nav > ul > li > a { padding: 0.8rem 0.9rem; font-size: 0.9rem; }
}

/* smaller logo, vertically centred in line with the menu */
.navbar { align-items: stretch; }
.brand { align-self: stretch; display: flex; align-items: center; justify-content: center; padding: 0.35rem 1.2rem; }
.brand-img { width: auto; height: 64px; max-width: 260px; object-fit: contain; display: block; margin: 0; position: relative; top: 0; }
.main-nav > ul > li > a { padding-top: 0.4rem; padding-bottom: 0.4rem; }

/* menu text sits on the same bottom line as the logo */
.brand { align-items: flex-end; padding-bottom: 0.5rem; }
.main-nav > ul > li > a { align-items: flex-end; line-height: 1; padding-top: 0.4rem; padding-bottom: 0.5rem; }

/* raise menu text slightly above the bottom line */
.main-nav > ul > li > a { padding-bottom: 1.4rem; }

/* links.css */
/* Links in reading text and text pages are red. Author and date links under stories are left as they were. Menus, footer, buttons, tags and headlines keep their own colours.
   "html body" in front makes these win over older rules without depending on load order. */
html body .article-body p a,
html body .article-body li a,
html body .article-body td a,
html body .article-body blockquote a,
html body .article-body h2 a,
html body .article-body h3 a,
html body .doc-body a,
html body .std-page a,
html body .nr a { color: #07622F; text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; }
html body .article-body p a:hover,
html body .article-body li a:hover,
html body .article-body td a:hover,
html body .article-body blockquote a:hover,
html body .article-body h2 a:hover,
html body .article-body h3 a:hover,
html body .doc-body a:hover,
html body .std-page a:hover,
html body .nr a:hover { color: #8a0004; }
html body .article-body a:focus-visible, html body .doc-body a:focus-visible { outline: 2px solid #07622F; outline-offset: 2px; }
/* dark mode: a lighter red so it stays readable */
html[data-theme="dark"] body .article-body p a,
html[data-theme="dark"] body .article-body li a,
html[data-theme="dark"] body .article-body td a,
html[data-theme="dark"] body .article-body blockquote a,
html[data-theme="dark"] body .article-body h2 a,
html[data-theme="dark"] body .article-body h3 a,
html[data-theme="dark"] body .doc-body a,
html[data-theme="dark"] body .std-page a,
html[data-theme="dark"] body .nr a { color: #ff7378; }
html[data-theme="dark"] body .article-body a:hover, html[data-theme="dark"] body .doc-body a:hover { color: #ffa0a3; }

/* theme-dark.css */
/* Dark mode. Only applies when the visitor has pressed the toggle (html[data-theme="dark"]). */
html[data-theme="dark"] { color-scheme: dark; --bg: #0f1419; --text: #e8e6e3; }
html[data-theme="dark"] body { background: #0f1419; color: #e8e6e3; }

/* surfaces */
html[data-theme="dark"] .post, html[data-theme="dark"] .top-item, html[data-theme="dark"] .card, html[data-theme="dark"] .featured, html[data-theme="dark"] .match,
html[data-theme="dark"] .soc-box, html[data-theme="dark"] .pt, html[data-theme="dark"] .s-sub, html[data-theme="dark"] .sidebar .soc-box, html[data-theme="dark"] .sidebar .s-sub,
html[data-theme="dark"] .ls-intro, html[data-theme="dark"] .nr, html[data-theme="dark"] .doc-sheet, html[data-theme="dark"] .ed-box, html[data-theme="dark"] .seo-box,
html[data-theme="dark"] .sd-card, html[data-theme="dark"] .doc-form, html[data-theme="dark"] .rm-card, html[data-theme="dark"] .doc-body .term,
html[data-theme="dark"] .doc-body .mail, html[data-theme="dark"] .doc-body .addr { background: #18271E; border-color: #0D5A31; color: #e8e6e3; box-shadow: none; }
html[data-theme="dark"] .rm-card { border-color: #0A7A3A; }
html[data-theme="dark"] .ls .post, html[data-theme="dark"] .m-home .post, html[data-theme="dark"] .ls-list .post { background: none; border-color: #0D5A31; }
html[data-theme="dark"] .mh-feat { border-color: #0D5A31; }
html[data-theme="dark"] .correction-note { background: #2a1517; color: #e8e6e3; }
html[data-theme="dark"] .site-footer { background: #08140D; }

/* text */
html[data-theme="dark"] .article-body, html[data-theme="dark"] .article-body p, html[data-theme="dark"] .post-title, html[data-theme="dark"] .section-title,
html[data-theme="dark"] .widget h3, html[data-theme="dark"] .post-body h3 a, html[data-theme="dark"] .top-item h3, html[data-theme="dark"] .mh-fbody h2 a,
html[data-theme="dark"] .rm-title, html[data-theme="dark"] .ml-title, html[data-theme="dark"] .might-like h2, html[data-theme="dark"] .std-page, html[data-theme="dark"] .std-page h1 { color: #e8e6e3; }
html[data-theme="dark"] .meta, html[data-theme="dark"] .chips .when, html[data-theme="dark"] .tag-row.small .by, html[data-theme="dark"] .tag-row.small .when,
html[data-theme="dark"] .mh-fmeta, html[data-theme="dark"] .byline, html[data-theme="dark"] .post-hero figcaption, html[data-theme="dark"] .post-hero .credit,
html[data-theme="dark"] .post-date, html[data-theme="dark"] .post-by, html[data-theme="dark"] .pt-table th, html[data-theme="dark"] .s-table th { color: #a9b2bd; }
/* blue headings and links become a lighter blue so they stay readable */
html[data-theme="dark"] .s-title, html[data-theme="dark"] .soc-box h3, html[data-theme="dark"] .pt h3, html[data-theme="dark"] .ed-box h3, html[data-theme="dark"] .seo-box h2,
html[data-theme="dark"] .seo-box h3, html[data-theme="dark"] .article-body a.ra-title, html[data-theme="dark"] .nr-head h1, html[data-theme="dark"] .nr-main h2,
html[data-theme="dark"] .nr-sig, html[data-theme="dark"] .doc-head h1, html[data-theme="dark"] .doc-body h2, html[data-theme="dark"] .doc-body .brand-sign,
html[data-theme="dark"] .ls-tagline, html[data-theme="dark"] .more, html[data-theme="dark"] .s-more, html[data-theme="dark"] .pt-more, html[data-theme="dark"] .article-body a { color: #9fc0ee; }
html[data-theme="dark"] .article-body a:hover, html[data-theme="dark"] .post-body h3 a:hover { color: #8FE3AF; }

/* forms */
html[data-theme="dark"] input, html[data-theme="dark"] textarea, html[data-theme="dark"] select { background: #0F1A13; color: #e8e6e3; border-color: #0D5A31; }
html[data-theme="dark"] ::placeholder { color: #8a94a1; }

/* round 2: page headings, tab rows, tables and highlighted rows seen in review screenshots */
html[data-theme="dark"] main h1, html[data-theme="dark"] main h2, html[data-theme="dark"] main h3, html[data-theme="dark"] main h4 { color: #e8e6e3; }
html[data-theme="dark"] main p, html[data-theme="dark"] main li, html[data-theme="dark"] main td, html[data-theme="dark"] main dd, html[data-theme="dark"] main dt { color: #e8e6e3; }
html[data-theme="dark"] main a[class*="tab"]:not(.active):not(.on):not(.current):not(.is-active):not([aria-current]), html[data-theme="dark"] main [class*="tab"] a:not(.active):not(.on):not(.current):not(.is-active):not([aria-current]) { color: #c4ccd6; }
html[data-theme="dark"] main a[class*="tab"]:hover, html[data-theme="dark"] main [class*="tab"] a:hover { color: #fff; }
html[data-theme="dark"] main table td { background: #18271E; border-color: #0D5A31; color: #e8e6e3; }
html[data-theme="dark"] main table tr:nth-child(even) td { background: #14211A; }
html[data-theme="dark"] main table tr[class*="arsenal" i] td, html[data-theme="dark"] main table tr[class*="highlight" i] td, html[data-theme="dark"] main table tr.hl td, html[data-theme="dark"] main table tr.us td, html[data-theme="dark"] main table tr.me td, html[data-theme="dark"] main table tr.mine td, html[data-theme="dark"] main table tr.is-arsenal td { background: #0F3A22; color: #fff; }
html[data-theme="dark"] .sidebar [class*="arsenal" i], html[data-theme="dark"] .sidebar [class*="highlight" i] { background: #0F3A22; color: #fff; }
html[data-theme="dark"] .sidebar [class*="arsenal" i] *, html[data-theme="dark"] .sidebar [class*="highlight" i] * { color: #fff; }
html[data-theme="dark"] .match h2, html[data-theme="dark"] .match h3, html[data-theme="dark"] .match p { color: #e8e6e3; }

/* round 3: category tab rows (.ls-nav / .subnav) and clickable author names, using the real class names */
html[data-theme="dark"] .ls-nav a, html[data-theme="dark"] .subnav a { color: #c4ccd6; background: none; box-shadow: none; }
html[data-theme="dark"] .ls-nav a:hover, html[data-theme="dark"] .subnav a:hover { color: #fff; }
html[data-theme="dark"] .ls-nav a.muted, html[data-theme="dark"] .subnav a.muted { color: #8f99a6; }
html[data-theme="dark"] .ls-nav a.active, html[data-theme="dark"] .subnav a.active { color: #5BD68A; }
html[data-theme="dark"] .ls-nav, html[data-theme="dark"] .subnav { border-color: #0D5A31; }
html[data-theme="dark"] .meta, html[data-theme="dark"] .meta strong, html[data-theme="dark"] .meta strong a, html[data-theme="dark"] .meta a, html[data-theme="dark"] .mh-fmeta, html[data-theme="dark"] .mh-fmeta span, html[data-theme="dark"] .mh-fmeta a, html[data-theme="dark"] .post-by, html[data-theme="dark"] .post-by strong a { color: #d5dae1; }
html[data-theme="dark"] .meta a.ago, html[data-theme="dark"] .mh-fmeta > a, html[data-theme="dark"] .byline { color: #a9b2bd; }
html[data-theme="dark"] .meta a:hover, html[data-theme="dark"] .mh-fmeta a:hover, html[data-theme="dark"] .post-by a:hover { color: #8FE3AF; }

/* round 4: force the same fixes through any higher-specificity light-mode rule (phone feed, category tabs, author names) */
html[data-theme="dark"] body .ls-nav a, html[data-theme="dark"] body .subnav a, html[data-theme="dark"] body nav.ls-nav a, html[data-theme="dark"] body nav.subnav a { color: #d5dae1 !important; opacity: 1 !important; }
html[data-theme="dark"] body .ls-nav a.muted, html[data-theme="dark"] body .subnav a.muted { color: #9aa4b1 !important; }
html[data-theme="dark"] body .ls-nav a.active, html[data-theme="dark"] body .subnav a.active { color: #5BD68A !important; }
html[data-theme="dark"] body .post .meta, html[data-theme="dark"] body .post .meta strong, html[data-theme="dark"] body .post .meta strong a, html[data-theme="dark"] body .post .meta > a:not(.ago), html[data-theme="dark"] body .post-body .meta *:not(.ago), html[data-theme="dark"] body .mh-fmeta, html[data-theme="dark"] body .mh-fmeta span, html[data-theme="dark"] body .mh-fmeta a, html[data-theme="dark"] body .m-home .post .by, html[data-theme="dark"] body .tag-row .by, html[data-theme="dark"] body .post-by, html[data-theme="dark"] body .post-by a { color: #d5dae1 !important; opacity: 1 !important; }
html[data-theme="dark"] body .post .meta a.ago, html[data-theme="dark"] body .tag-row .when, html[data-theme="dark"] body .mh-fmeta > a { color: #a9b2bd !important; opacity: 1 !important; }
html[data-theme="dark"] body .ls .meta, html[data-theme="dark"] body .m-home .meta, html[data-theme="dark"] body .ls .meta strong, html[data-theme="dark"] body .m-home .meta strong, html[data-theme="dark"] body .ls .meta strong a, html[data-theme="dark"] body .m-home .meta strong a { color: #d5dae1 !important; }
html[data-theme="dark"] body .ls .meta .ago, html[data-theme="dark"] body .m-home .meta .ago, html[data-theme="dark"] body .chips .when { color: #a9b2bd !important; }

/* round 5: phone homepage lead headline, story "Topics" row */
html[data-theme="dark"] body .mh-feat h2, html[data-theme="dark"] body .mh-feat h2 a, html[data-theme="dark"] body .mh-fbody h2, html[data-theme="dark"] body .mh-fbody h2 a, html[data-theme="dark"] body .mh-feat a { color: #e8e6e3 !important; }
html[data-theme="dark"] body .mh-fchips a { color: #fff !important; }
html[data-theme="dark"] body [class*="topic"], html[data-theme="dark"] body [class*="topic"] strong, html[data-theme="dark"] body [class*="topic"] span, html[data-theme="dark"] body [class*="topic"] a { color: #d5dae1 !important; border-color: #8f99a6 !important; }
html[data-theme="dark"] body [class*="topic"] a:hover { color: #fff !important; border-color: #5BD68A !important; }
html[data-theme="dark"] .hs-head h2 a, html[data-theme="dark"] .hs-more, html[data-theme="dark"] .hs-lead:hover h3, html[data-theme="dark"] .hs-list a:hover { color: #8FE3AF; }
html[data-theme="dark"] .hs-lead p, html[data-theme="dark"] .hs-when { color: #b9c2bc; }
html[data-theme="dark"] .hs-list a { color: #e8e6e3; }
html[data-theme="dark"] .hs-list li { border-color: #0D5A31; }
html[data-theme="dark"] .ls-desc { color: #b9c2bc; }
html[data-theme="dark"] .post-sources { background: #14211A; border-color: #8FE3AF; }
html[data-theme="dark"] .post-sources h2, html[data-theme="dark"] .post-sources a { color: #8FE3AF; }
html[data-theme="dark"] .post-sources li { color: #d5dae1; }
