/* FACTASH dark-mode contrast overrides (2026-11-03). Light mode untouched: every rule is scoped to [data-theme="dark"]. */
[data-theme="dark"]{--fx-dk-text:#f0efe9;--fx-dk-muted:#c3c7d1;--fx-dk-link:#ff9ccf;--fx-dk-card:#202128;--fx-dk-card2:#2a2b33}
/* text that was hardcoded dark (#111) on dark cards/heroes */
[data-theme="dark"] .fx .list-hero,[data-theme="dark"] .fx .list-hero *:not(.fx-chip):not(.kicker),
[data-theme="dark"] .fx .card,[data-theme="dark"] .fx .card .card-body,[data-theme="dark"] .fx .card .card-body h3,[data-theme="dark"] .fx .card .card-body p{color:var(--fx-dk-text)}
[data-theme="dark"] .fx .card .card-body .meta{color:var(--fx-dk-muted)}
/* bright-background cards/widgets keep their colour, so text goes dark */
[data-theme="dark"] .fx .card.fx-fotd,[data-theme="dark"] .fx .card.fx-fotd *,
[data-theme="dark"] .fx .widget:not(:has(> h2:first-child)) ,
[data-theme="dark"] .fx .toc.widget,[data-theme="dark"] .fx .toc.widget *,
[data-theme="dark"] .fx section.widget,[data-theme="dark"] .fx section.widget *:not(h2),
[data-theme="dark"] .fx blockquote,[data-theme="dark"] .fx blockquote *,
[data-theme="dark"] .fx .fx-hero-art span,
[data-theme="dark"] .fx .fx-chip:hover,[data-theme="dark"] .fx .fx-chip[aria-current],[data-theme="dark"] .fx .fx-cta .fx-btn,
[data-theme="dark"] .fx .hero-copy,[data-theme="dark"] .fx .hero-copy *,[data-theme="dark"] .fx #amz-top10-title{color:#111!important}
[data-theme="dark"] .fx .card.fx-fotd{background:var(--fx-y)!important}
[data-theme="dark"] .fx .widget h2,[data-theme="dark"] .fx section.widget > h2{color:#111!important;background:var(--fx-y)!important}
/* light containers hardcoded white/cream -> dark surfaces */
[data-theme="dark"] .fx .article-header,[data-theme="dark"] .fx .fx-amazon-top10,[data-theme="dark"] .fx .disclosure,
[data-theme="dark"] .fx .topic-row a,[data-theme="dark"] .fx .prod,[data-theme="dark"] .fx figure.fx-inline{background:var(--fx-dk-card)!important;color:var(--fx-dk-text)!important;border-color:#3a3b44}
[data-theme="dark"] .fx .article-header *,[data-theme="dark"] .fx .fx-amazon-top10 *,[data-theme="dark"] .fx .disclosure *{color:inherit}
[data-theme="dark"] .fx .article-header .meta,[data-theme="dark"] .fx .breadcrumb,[data-theme="dark"] .fx .breadcrumb a,[data-theme="dark"] .fx .lede{color:var(--fx-dk-muted)!important}
/* links, captions, muted text */
[data-theme="dark"] .fx main a:not(.card):not(.btn):not(.fx-btn):not(.fx-chip):not(.card-compact){color:var(--fx-dk-link)}
[data-theme="dark"] .fx .toc.widget a,[data-theme="dark"] .fx section.widget a,[data-theme="dark"] .fx blockquote a{color:#111!important}
[data-theme="dark"] .fx figcaption,[data-theme="dark"] .fx .fx-credit,[data-theme="dark"] .fx .meta{color:var(--fx-dk-muted)}
/* buttons */
[data-theme="dark"] .fx .btn{background:var(--fx-y)!important;color:#111!important;border-color:#111}
/* brand badge */
[data-theme="dark"] .fx-brand strong span{background:#000!important;color:var(--fx-y)!important}
/* details/accordions opened in dark */
[data-theme="dark"] .fx details,[data-theme="dark"] .fx details summary,[data-theme="dark"] .fx details *{color:var(--fx-dk-text)}
[data-theme="dark"] .fx details{background:var(--fx-dk-card)}
/* inline hardcoded colours from post templates */
[data-theme="dark"] .fx [style*="color:#"],[data-theme="dark"] .fx [style*="color: #"]{color:var(--fx-dk-text)!important}
[data-theme="dark"] .fx [style*="background:#f"],[data-theme="dark"] .fx [style*="background: #f"],[data-theme="dark"] .fx [style*="background:#e"]{background:var(--fx-dk-card)!important}

[data-theme="dark"] .fx .fx-cat,[data-theme="dark"] .fx .fx-cat *{color:#000!important}
[data-theme="dark"] .fx .fx-sticker{color:var(--fx-y)!important}
[data-theme="dark"] .fx [class*="fx-tile"] .kicker{color:#111!important}
[data-theme="dark"] .fx .card.fx-fotd .fx-sticker,[data-theme="dark"] .fx .card .fx-sticker{color:var(--fx-y)!important}
[data-theme="dark"] .fx-cta .fx-btn{color:#111!important}
[data-theme="dark"] .topic-row a{background:var(--fx-dk-card)!important;color:var(--fx-dk-text)!important}

[data-theme="dark"] .fx .card.fx-fotd .kicker,[data-theme="dark"] .fx [class*="fx-tile"] .kicker,[data-theme="dark"] .fx .card[style*="background"] .kicker{color:#111!important}
[data-theme="dark"] .fx .fx-mini .kicker,[data-theme="dark"] .fx .fx-mini *{color:#111!important}
