:root { color-scheme: light; }
.icp-theme-toggle { transition: background-color .2s ease, color .2s ease; }
[data-icp-theme="dark"] { color-scheme: dark; --icp-ink: #f5f3fb; --icp-surface: #191925; --icp-canvas: #111119; --icp-muted: #b8b5c5; --icp-border: rgba(255,255,255,.13); --icp-purple-soft: color-mix(in srgb,var(--icp-primary) 22%,#181824); --icp-purple-dark: var(--icp-accent); }
[data-icp-theme="dark"] .icp-custom-site,
[data-icp-theme="dark"] body,
[data-icp-theme="dark"] .icp-home,
[data-icp-theme="dark"] .icp-page,
[data-icp-theme="dark"] .icp-single,
[data-icp-theme="dark"] .icp-archive { background: #101019; color: #f5f3fb; }
[data-icp-theme="dark"] .icp-site-header,
[data-icp-theme="dark"] .icp-primary-nav,
[data-icp-theme="dark"] .icp-primary-nav .sub-menu { background: #15151f; border-color: rgba(255,255,255,.1); }
[data-icp-theme="dark"] .icp-site-header.is-scrolled { background: rgba(18,18,27,.72); }
@media (max-width: 760px) {
  [data-icp-theme="dark"] .icp-primary-nav.is-open,
  [data-icp-theme="dark"] .icp-site-header.is-scrolled .icp-primary-nav.is-open {
    background: rgba(18,18,27,.82);
  }
}
[data-icp-theme="dark"] .icp-primary-nav a,
[data-icp-theme="dark"] .icp-brand__text,
[data-icp-theme="dark"] h1,
[data-icp-theme="dark"] h2,
[data-icp-theme="dark"] h3 { color: #f8f7fc; }
[data-icp-theme="dark"] .icp-card,
[data-icp-theme="dark"] .icp-panel,
[data-icp-theme="dark"] .icp-term-discovery,
[data-icp-theme="dark"] .icp-release-list,
[data-icp-theme="dark"] .icp-release-empty,
[data-icp-theme="dark"] .icp-news-tabs,
[data-icp-theme="dark"] .icp-news-sidebar__panel,
[data-icp-theme="dark"] .icp-comments-panel,
[data-icp-theme="dark"] .icp-reactions,
[data-icp-theme="dark"] .icp-review,
[data-icp-theme="dark"] .icp-article-body,
[data-icp-theme="dark"] .icp-related-card,
[data-icp-theme="dark"] .icp-related-feature,
[data-icp-theme="dark"] .icp-related article,
[data-icp-theme="dark"] .icp-inline-related > a,
[data-icp-theme="dark"] .icp-article-rail__sticky,
[data-icp-theme="dark"] .icp-author,
[data-icp-theme="dark"] .icp-post-navigation > a,
[data-icp-theme="dark"] .icp-google-source,
[data-icp-theme="dark"] .icp-toc,
[data-icp-theme="dark"] .icp-opere { background: #1b1b27; background-image: none; border-color: rgba(255,255,255,.11); color: #e9e7f0; box-shadow: none; }
[data-icp-theme="dark"] .icp-panel--explore { background: linear-gradient(145deg,#1b1b27,color-mix(in srgb,var(--icp-primary) 14%,#1b1b27)); }
[data-icp-theme="dark"] .icp-article-rail__sticky .icp-share-prompt strong { color: #f4f1f9; }
[data-icp-theme="dark"] .icp-article-rail__sticky .icp-share-prompt span { color: #aaa6b7; }
[data-icp-theme="dark"] .icp-article-header__meta .icp-article-author { color: #f7f5fb; }
[data-icp-theme="dark"] .icp-article-header h1 { color: #f8f7fc; }
[data-icp-theme="dark"] .icp-article-header__tagline { color: #c6c2d1; }
[data-icp-theme="dark"] .icp-article-header__categories { color: var(--icp-accent, #d3b3ff); }
[data-icp-theme="dark"] .icp-article-header__meta > time,
[data-icp-theme="dark"] .icp-article-header__meta > span { color: #bbb7c8; }
[data-icp-theme="dark"] .icp-article-update > span { background: color-mix(in srgb,var(--icp-primary) 24%,#242331); color: #eee7ff; }
[data-icp-theme="dark"] p,
[data-icp-theme="dark"] .icp-card__excerpt,
[data-icp-theme="dark"] .icp-news-item p,
[data-icp-theme="dark"] .icp-author p,
[data-icp-theme="dark"] .icp-comments-panel__intro > p { color: #bab7c6; }
[data-icp-theme="dark"] .icp-explore-grid a,
[data-icp-theme="dark"] .icp-article-rail a,
[data-icp-theme="dark"] .icp-copy-link,
[data-icp-theme="dark"] .icp-review__verdict > div,
[data-icp-theme="dark"] .icp-community-goal,
[data-icp-theme="dark"] .icp-comment,
[data-icp-theme="dark"] .icp-comment-access-note,
[data-icp-theme="dark"] .comment-form-rating { background: #242331; border-color: rgba(255,255,255,.1); color: #e9e7f0; }
[data-icp-theme="dark"] .icp-reaction { background: #242331; color: #f4f2fa; border-color: rgba(255,255,255,.12); }
[data-icp-theme="dark"] .icp-reaction:hover,
[data-icp-theme="dark"] .icp-reaction.is-active { background: color-mix(in srgb,var(--icp-primary) 22%,#242331); border-color: var(--icp-primary); }
[data-icp-theme="dark"] .icp-reaction__icon { background: #302e40; box-shadow: inset 0 0 0 1px rgba(255,255,255,.1); }
[data-icp-theme="dark"] .icp-reaction__count,
[data-icp-theme="dark"] .icp-comment-votes button strong { background: #373346; color: var(--icp-accent); }
[data-icp-theme="dark"] .icp-comment__identity strong,
[data-icp-theme="dark"] .icp-comment-list .comment-content,
[data-icp-theme="dark"] .icp-community-goal > div { color: #f0edf6; }
[data-icp-theme="dark"] .icp-comment__edit a,
[data-icp-theme="dark"] .icp-comment-list .reply a,
[data-icp-theme="dark"] .icp-comment-votes button { background: #292735; color: #ddd8e8; border-color: rgba(255,255,255,.13); }
[data-icp-theme="dark"] .icp-comment__parent { color: var(--icp-accent); }
[data-icp-theme="dark"] .icp-comment-list .children::before { opacity: .64; }
[data-icp-theme="dark"] .icp-comment-votes button strong { border-color: #242331; }
[data-icp-theme="dark"] .icp-entry-content .wp-block-table,
[data-icp-theme="dark"] .icp-entry-content table,
[data-icp-theme="dark"] .icp-entry-content thead,
[data-icp-theme="dark"] .icp-entry-content tbody,
[data-icp-theme="dark"] .icp-entry-content td { background: #1b1b27; color: #ebe8f2; border-color: rgba(255,255,255,.13); }
[data-icp-theme="dark"] .icp-entry-content th { background: #242236; color: #fff; border-color: rgba(255,255,255,.15); }
[data-icp-theme="dark"] .icp-entry-content tbody tr:nth-child(even) td { background: #22212e; }
[data-icp-theme="dark"] .icp-entry-content tbody tr:hover td { background: #2b2839; }
[data-icp-theme="dark"] .icp-entry-content figcaption { background: #171721; color: #aaa6b6; }
[data-icp-theme="dark"] .icp-review meter::-webkit-meter-bar,
[data-icp-theme="dark"] .icp-community-goal__track { background: #353442; }
[data-icp-theme="dark"] .icp-news-item,
[data-icp-theme="dark"] .icp-release-list a { border-color: rgba(255,255,255,.1); }
[data-icp-theme="dark"] .icp-news-sidebar a,
[data-icp-theme="dark"] .icp-release-list a,
[data-icp-theme="dark"] .icp-related article > a,
[data-icp-theme="dark"] .icp-inline-related > a,
[data-icp-theme="dark"] .icp-toc a { color: #f0edf6; }
[data-icp-theme="dark"] .icp-kicker,
[data-icp-theme="dark"] .icp-eyebrow,
[data-icp-theme="dark"] .icp-card__category,
[data-icp-theme="dark"] .icp-news-item__copy span { color: var(--icp-accent); }
[data-icp-theme="dark"] .icp-ad__label { color: #9b98aa; }
[data-icp-theme="dark"] .icp-custom-site :where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline-color: var(--icp-accent, #d3b3ff) !important;
}
[data-icp-theme="dark"] .icp-google-source__mark { background: #fff; }
[data-icp-theme="dark"] .icp-google-source > a {
  border-color: var(--icp-accent);
  background: var(--icp-gradient);
  color: #fff;
  box-shadow: 0 8px 22px color-mix(in srgb,var(--icp-primary) 28%,transparent);
}
[data-icp-theme="dark"] .icp-google-source > a:hover,
[data-icp-theme="dark"] .icp-google-source > a:focus-visible {
  border-color: #fff;
  background: #fff;
  color: #2d1858;
}
[data-icp-theme="dark"] .icp-review__community { background: #171721; border-color: rgba(255,255,255,.1); }
[data-icp-theme="dark"] .icp-entry-content .wp-block-quote { background: #211d31; color: #e9e6f0; border-left-color: var(--icp-primary); }
[data-icp-theme="dark"] .icp-opere a { background: #2c283c; color: var(--icp-accent); }
[data-icp-theme="dark"] .icp-opera-cta .icp-kicker { color: #d9c7ff; }
[data-icp-theme="dark"] .icp-opera-cta p { color: #ded9e8; }
[data-icp-theme="dark"] .icp-opera-stories-heading h2 { color: #f8f7fc; }
[data-icp-theme="dark"] .icp-archive-card { background: #1b1b27; border-color: rgba(255,255,255,.11); box-shadow: none; }
[data-icp-theme="dark"] .icp-archive-card:hover { box-shadow: 0 18px 48px rgba(0,0,0,.28); }
[data-icp-theme="dark"] .icp-archive-card h2 { color: #f8f7fc; }
[data-icp-theme="dark"] .icp-archive-card p { color: #bbb7c8; }
[data-icp-theme="dark"] .icp-archive-card time { color: #aaa6b7; }
[data-icp-theme="dark"] .icp-archive-card__category { color: var(--icp-accent); }
[data-icp-theme="dark"] .icp-pagination .page-numbers { background: #242331; color: #eee8fb; }
[data-icp-theme="dark"] .icp-pagination .current { background: var(--icp-gradient); color: #fff; }
[data-icp-theme="dark"] input,
[data-icp-theme="dark"] textarea,
[data-icp-theme="dark"] select { background: #11111a !important; color: #f5f3fb !important; border-color: rgba(255,255,255,.18) !important; }
@media (prefers-reduced-motion: reduce) { .icp-theme-toggle { transition: none; } }
