/* CopperCoins dark theme — loaded after main.css; activated via html[data-theme="dark"] */

html[data-theme="dark"]{
    color-scheme: dark;
    --cc-copper: #d48a45;
    --cc-copper-dark: #e8a860;
    --cc-nav-bg: #252537;
    --cc-nav-text: #ece6dc;
    --cc-nav-muted: #a89f92;
    --cc-bg: #1e1a16;
    --cc-bg-image: url('design/home_bg.jpg');
    --cc-text: #ece6dc;
    --cc-surface: #1e1b18;
    --cc-surface-muted: #26221e;
    --cc-surface-subtle: #2e2a25;
    --cc-surface-raised: #322c26;
    --cc-border: #4a4238;
    --cc-border-muted: #3a342c;
    --cc-border-input: #5a5048;
    --cc-muted: #a89f92;
    --cc-muted-dark: #8a8074;
    --cc-breadcrumb: #b8aea2;
    --cc-breadcrumb-sep: #7a7064;
    --cc-placeholder: #2e2a26;
    --cc-placeholder-border: #5a5048;
    --cc-placeholder-stripe: #26221e;
    --cc-shadow: rgba(0, 0, 0, 0.35);
    --cc-value-head-blue: #4d9fe8;
    --cc-value-head-bg: #1a3d5c;
    --cc-value-head-border: #2a5578;
    --cc-value-head-text: #ffe566;
    --cc-info-helper-bg: color-mix(in srgb, var(--cc-value-head-blue) 18%, var(--cc-surface-subtle));
    --cc-info-helper-border: var(--cc-value-head-border);
    --cc-info-helper-text: var(--cc-text);
    --cc-info-helper-icon: var(--cc-value-head-blue);
    --cc-value-cell-bg: #1a3528;
    --cc-value-cell-bg-alt: #224032;
    --cc-value-cell-text: #e6f0e8;
    --cc-value-cell-border: #2a4a38;
    --cc-value-empty-text: #7a9a84;
    --cc-panel-brown: #5a4a4a;
    --cc-panel-brown-border: #5a4d42;
    --cc-heading-surface: #5a5248;
    --cc-heading-surface-deep: #464036;
    --cc-heading-surface-border: #3a342c;
    --cc-heading-text: #ece6dc;
    --cc-heading-text-muted: #d8d0c4;
    --cc-date-guide-panel-bg: #2a2622;
    --cc-date-guide-panel-border: #4a4238;
    --cc-date-guide-text: #ece6dc;
    --cc-date-guide-text-muted: #ddd6ca;
    --cc-article-text: #ece6dc;
    --cc-article-text-muted: #ddd6ca;
    --cc-article-heading: #e8a860;
    --cc-input-surface: #d8d4d0;
    --cc-input-text: #111;
    --cc-form-help-text: #c4b8a8;
    --cc-form-error-color: #f0a090;
    --cc-label-color: #ece6dc;
    --cc-input-bg: var(--cc-input-surface);
    --cc-input-color: var(--cc-input-text);
    --cc-text-muted: var(--cc-muted);
    --cc-table-head-bg: var(--cc-surface-subtle);
    --cc-table-head-color: var(--cc-copper);
    --cc-table-border: var(--cc-border);
    --cc-table-border-row: var(--cc-border);
    --cc-table-row-stripe: var(--cc-surface-raised);
    --cc-table-row-odd: var(--cc-surface);
    --cc-table-row-even: var(--cc-surface-subtle);
    --cc-table-row-hover: color-mix(in srgb, var(--cc-copper) 8%, var(--cc-surface-subtle));
    --cc-table-row-selected: color-mix(in srgb, var(--cc-copper) 14%, var(--cc-surface));
    --cc-table-wrap-border: var(--cc-border);
    --cc-footer-bg: #252537;
}
html[data-theme="dark"] body.cc-page{
    background-color: var(--cc-bg);
    background-image: var(--cc-bg-image);
    background-repeat: repeat;
}
html[data-theme="dark"] .cc-page-search .cc-shell{
    background: var(--cc-surface);
}
html[data-theme="dark"] .cc-theme-toggle{
    background: #1a3352;
    border-color: #2d5080;
    color: #fff;
}
html[data-theme="dark"] .cc-theme-toggle:hover{
    background: #224466;
    border-color: #3a6a9a;
    color: #fff;
}
html[data-theme="dark"] .cc-theme-toggle-icon--dark svg{
    fill: #fff;
}
/* Homepage hero ΓÇö Everything Lincoln Cents */
html[data-theme="dark"] .cc-home-hero-fixed{
    background: linear-gradient(135deg, #1a1714 0%, #221e1a 55%, #2a2520 100%);
    border-bottom-color: var(--cc-border);
}
html[data-theme="dark"] .cc-home-hero-fixed-title{
    color: #b8aea2;
}
html[data-theme="dark"] .cc-home-hero-fixed-title strong,
html[data-theme="dark"] .cc-home-hero-fixed-title-copper{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-home-hero-fixed-title-white{
    color: #fff;
}
html[data-theme="dark"] .cc-home-hero-fixed-lead,
html[data-theme="dark"] .cc-home-hero-fixed-tagline{
    color: #b8aea2;
}
html[data-theme="dark"] .cc-home-hero-cta,
html[data-theme="dark"] .cc-home-hero-cta-label,
html[data-theme="dark"] .cc-home-hero-cta-sub{
    color: #fff;
}
html[data-theme="dark"] .cc-home-hero-cta--navy{
    background: linear-gradient(160deg, #4a8fc4 0%, #2a6088 100%);
    border-color: #3a7aaa;
}
html[data-theme="dark"] .cc-home-hero-cta--green{
    background: linear-gradient(160deg, #5a9450 0%, #3a6640 100%);
    border-color: #4a8450;
}
html[data-theme="dark"] .cc-home-hero-cta--copper{
    background: linear-gradient(160deg, #c07840 0%, #8a5020 100%);
    border-color: #a86838;
}
html[data-theme="dark"] .cc-home-hero-tour-btn{
    background: color-mix(in srgb, var(--cc-copper) 16%, var(--cc-surface-subtle));
    border-color: color-mix(in srgb, var(--cc-copper) 50%, var(--cc-border));
    color: var(--cc-copper-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}
html[data-theme="dark"] .cc-home-hero-tour-btn:hover{
    background: color-mix(in srgb, var(--cc-copper) 28%, var(--cc-surface-raised));
    border-color: var(--cc-copper);
    color: #f0ebe4;
}
html[data-theme="dark"] .cc-home-hero-tour-btn-icon{
    color: var(--cc-copper);
}
/* Latest Copper News */
html[data-theme="dark"] .cc-home-dashboard,
html[data-theme="dark"] .cc-page-home .cc-home-news,
html[data-theme="dark"] .cc-home-dashboard-news,
html[data-theme="dark"] .cc-home-news{
    background: var(--cc-panel-brown);
}
html[data-theme="dark"] .cc-home-news-title{
    color: #f0ebe4;
}
html[data-theme="dark"] .cc-home-news-all{
    color: #fff;
}
html[data-theme="dark"] .cc-home-news-all:hover{
    color: #fff;
    opacity: 0.85;
}
html[data-theme="dark"] .cc-home-news-card{
    background: #4a4d42;
    border-color: #4a4038;
    color: #ccc;
}
html[data-theme="dark"] .cc-home-news-card-body,
html[data-theme="dark"] .cc-home-news-card-body h3,
html[data-theme="dark"] .cc-home-news-card-body h3 a,
html[data-theme="dark"] .cc-home-news-subtitle,
html[data-theme="dark"] .cc-home-news-excerpt,
html[data-theme="dark"] .cc-home-news-byline,
html[data-theme="dark"] .cc-home-news-card-date,
html[data-theme="dark"] .cc-home-news-empty{
    color: #ccc;
}
html[data-theme="dark"] .cc-home-news-card-body h3 .cc-home-news-read{
    color: #ccc;
}
html[data-theme="dark"] .cc-home-news-card-body h3 .cc-home-news-read:hover{
    color: #fff;
}
html[data-theme="dark"] .cc-home-news-card-body h3 a:hover{
    color: #fff;
}
/* Nav + admin edit */
html[data-theme="dark"] .cc-nav a,
html[data-theme="dark"] .cc-nav-submenu-toggle{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-nav a:hover,
html[data-theme="dark"] .cc-nav-submenu-toggle:hover{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-nav a.is-current,
html[data-theme="dark"] .cc-nav a[aria-current="page"],
html[data-theme="dark"] .cc-nav-has-submenu.is-current > .cc-nav-submenu-toggle,
html[data-theme="dark"] .cc-nav a.is-current:hover,
html[data-theme="dark"] .cc-nav a[aria-current="page"]:hover,
html[data-theme="dark"] .cc-nav-has-submenu.is-current > .cc-nav-submenu-toggle:hover{
    color: #fff;
}
html[data-theme="dark"] .cc-nav-submenu{
    background: var(--cc-nav-bg, #1a1a1a);
    border-color: #444;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .cc-nav-submenu a:hover{
    background: #2a2a2a;
}
html[data-theme="dark"] .cc-header-edit-link{
    background: #000;
    border: 1px solid #fff;
    color: #ccc;
}
html[data-theme="dark"] .cc-header-edit-link svg{
    fill: #ccc;
}
html[data-theme="dark"] .cc-header-edit-link:hover{
    background: #111;
    border-color: #fff;
    color: #fff;
}
html[data-theme="dark"] .cc-header-edit-link:hover svg{
    fill: #fff;
}
/* Buttons ΓÇö white label text (overrides global copper link color for accessibility) */
html[data-theme="dark"] .cc-btn,
html[data-theme="dark"] a.cc-btn,
html[data-theme="dark"] button.cc-btn,
html[data-theme="dark"] input.cc-btn,
html[data-theme="dark"] .cc-btn:hover,
html[data-theme="dark"] .cc-btn:focus,
html[data-theme="dark"] .cc-btn:focus-visible,
html[data-theme="dark"] .cc-btn:active,
html[data-theme="dark"] a.cc-btn:link,
html[data-theme="dark"] a.cc-btn:visited,
html[data-theme="dark"] a.cc-btn:hover,
html[data-theme="dark"] a.cc-btn:focus,
html[data-theme="dark"] a.cc-btn:active,
html[data-theme="dark"] .cc-btn-secondary,
html[data-theme="dark"] a.cc-btn-secondary,
html[data-theme="dark"] button.cc-btn-secondary,
html[data-theme="dark"] .cc-btn-secondary:hover,
html[data-theme="dark"] a.cc-btn-secondary:hover,
html[data-theme="dark"] a.cc-btn-secondary:focus,
html[data-theme="dark"] .cc-btn-see-more,
html[data-theme="dark"] .cc-btn-see-more:hover,
html[data-theme="dark"] .cc-btn-danger,
html[data-theme="dark"] .cc-btn-danger:hover,
html[data-theme="dark"] .cc-home-btn,
html[data-theme="dark"] a.cc-home-btn,
html[data-theme="dark"] button.cc-home-btn,
html[data-theme="dark"] .cc-home-btn:hover,
html[data-theme="dark"] a.cc-home-btn:hover,
html[data-theme="dark"] .cc-home-btn--copper,
html[data-theme="dark"] .cc-home-btn--green,
html[data-theme="dark"] .cc-home-btn--donate,
html[data-theme="dark"] .cc-cookie-consent-accept,
html[data-theme="dark"] .cc-cookie-consent-accept:hover,
html[data-theme="dark"] .cc-pagination-btn,
html[data-theme="dark"] a.cc-pagination-btn,
html[data-theme="dark"] .cc-pagination-btn:hover,
html[data-theme="dark"] a.cc-pagination-btn:hover{
    color: #fff;
}
html[data-theme="dark"] .cc-home-btn--donate{
    background: var(--cc-surface-subtle);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-btn-secondary{
    background: var(--cc-surface-subtle);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-btn-secondary:hover,
html[data-theme="dark"] a.cc-btn-secondary:hover{
    background: #3a342c;
    border-color: var(--cc-copper);
}
html[data-theme="dark"] .cc-header{
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}
/* Common light-surface overrides */
html[data-theme="dark"] .cc-search-results-panel,
html[data-theme="dark"] .cc-die-detail-card,
html[data-theme="dark"] .cc-die-detail-sidebar-card,
html[data-theme="dark"] .cc-home-dashboard-tools,
html[data-theme="dark"] .cc-home-welcome-copy,
html[data-theme="dark"] .cc-learn-card,
html[data-theme="dark"] .cc-date-guide-year-card,
html[data-theme="dark"] .cc-article-body,
html[data-theme="dark"] .cc-prose-panel,
html[data-theme="dark"] .cc-help-card,
html[data-theme="dark"] .cc-glossary-term,
html[data-theme="dark"] .cc-faq-item,
html[data-theme="dark"] .cc-guide-section,
html[data-theme="dark"] .cc-die-changes-compact-item:hover{
    background: #3a342c;
}
html[data-theme="dark"] .cc-profile-avatar-block,
html[data-theme="dark"] .cc-auth-panel,
html[data-theme="dark"] .cc-changelog-entry,
html[data-theme="dark"] .cc-sitemap-section,
html[data-theme="dark"] .cc-design-variety-card,
html[data-theme="dark"] .cc-newsletter-strip,
html[data-theme="dark"] .cc-home-newsletter-strip{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-profile-readonly{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-profile-readonly-label{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-profile-readonly-value,
html[data-theme="dark"] .cc-profile-coin-initials{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-profile-coin-initials{
    font-weight: 700;
    letter-spacing: 0.06em;
}
html[data-theme="dark"] .cc-search-hero-card,
html[data-theme="dark"] .cc-home-news-card,
html[data-theme="dark"] .cc-learn-card,
html[data-theme="dark"] .cc-date-guide-year-card,
html[data-theme="dark"] .cc-design-variety-card{
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] .cc-home-features,
html[data-theme="dark"] .cc-home-newsletter-strip{
    background: #000;
}
html[data-theme="dark"] .cc-home-newsletter-strip-title{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-home-newsletter-strip-lead{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-home .cc-shell,
html[data-theme="dark"] .cc-page-home .cc-main,
html[data-theme="dark"] .cc-page-home .cc-home,
html[data-theme="dark"] .cc-page-home .cc-home-news{
    background: #000;
}
html[data-theme="dark"] .cc-home-trust{
    background: #000;
    border-bottom-color: var(--cc-border);
}
html[data-theme="dark"] .cc-home-mycollection{
    background: #0d0906;
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}
html[data-theme="dark"] .cc-home-mycollection-logo-col{
    background: #0d0906;
}
html[data-theme="dark"] .cc-home-mycollection-card{
    background: rgba(8, 5, 3, 0.88);
}
html[data-theme="dark"] .cc-home-mycollection-title{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-home-mycollection-lead,
html[data-theme="dark"] .cc-home-mycollection-checklist,
html[data-theme="dark"] .cc-home-mycollection-hint,
html[data-theme="dark"] .cc-home-mycollection-hint a{
    color: #fff;
}
html[data-theme="dark"] .cc-home-mycollection-strength{
    color: #f0a85a;
}
html[data-theme="dark"] .cc-home-die-changes-notice{
    background: #000;
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-home-die-changes-notice a{
    color: var(--cc-copper);
}
/* Catalog Changes — brighter dates and die numbers in night mode */
html[data-theme="dark"] .cc-home-recent-die-changes{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-home-recent-die-changes-title{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-die-changes-compact-item{
    border-bottom-color: var(--cc-border);
}
html[data-theme="dark"] .cc-die-changes-compact-main time,
html[data-theme="dark"] .cc-die-changes-date{
    color: var(--cc-heading-text-muted);
}
html[data-theme="dark"] .cc-die-changes-die-number,
html[data-theme="dark"] .cc-die-changes-die-number strong,
html[data-theme="dark"] a.cc-die-changes-die-number,
html[data-theme="dark"] a.cc-die-changes-die-number:visited{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] a.cc-die-changes-die-number:hover,
html[data-theme="dark"] a.cc-die-changes-die-number:focus-visible{
    color: #f5d4a0;
}
html[data-theme="dark"] .cc-die-changes-summary{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-die-changes-compact-meta,
html[data-theme="dark"] .cc-die-changes-row-meta,
html[data-theme="dark"] .cc-die-changes-compact-reason{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-die-changes-section-title{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-die-changes-empty{
    color: var(--cc-text-muted);
}
/* Friendly heading panels ΓÇö darker site-wide (search, value guide, date guide, etc.) */
html[data-theme="dark"] .cc-search-hero-card{
    background: linear-gradient(135deg, var(--cc-heading-surface) 0%, var(--cc-heading-surface-deep) 55%, #3a342c 100%);
    border-color: var(--cc-copper);
    color: var(--cc-heading-text);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .cc-search-hero-card .cc-search-hero-eyebrow{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-search-hero-card .cc-search-hero-title,
html[data-theme="dark"] .cc-search-hero-card h1{
    color: var(--cc-heading-text);
}
html[data-theme="dark"] .cc-search-hero-card .cc-search-hero-lead{
    color: var(--cc-heading-text-muted);
}
html[data-theme="dark"] .cc-search-hero-card .cc-search-hero-hint{
    color: #c4b8a8;
}
html[data-theme="dark"] .cc-search-hero-card .cc-search-hero-hint a{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-search-hero-card .cc-search-hero-badge--secondary{
    background: var(--cc-surface-subtle);
    color: var(--cc-copper-dark);
    border-color: var(--cc-copper);
}
html[data-theme="dark"] .cc-home-hero-fixed-visual{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-lead-muted,
html[data-theme="dark"] .cc-hero > .cc-lead-muted,
html[data-theme="dark"] .cc-content > .cc-lead-muted,
html[data-theme="dark"] .cc-mockup-filename,
html[data-theme="dark"] .cc-changelog-header time,
html[data-theme="dark"] .cc-die-detail-meta dt{
    color: var(--cc-muted);
}
/* Feature tiles — same gradient colors as day mode */
html[data-theme="dark"] .cc-home-feature-tile{
    color: #fff;
}
html[data-theme="dark"] .cc-home-feature-tile--1{
    background: linear-gradient(160deg, #a86432 0%, #6e4018 100%);
    border-color: #5a3414;
}
html[data-theme="dark"] .cc-home-feature-tile--2{
    background: linear-gradient(160deg, #4a7a42 0%, #2d5230 100%);
    border-color: #244428;
}
html[data-theme="dark"] .cc-home-feature-tile--3{
    background: linear-gradient(160deg, #3578a8 0%, #1e4f72 100%);
    border-color: #184060;
}
html[data-theme="dark"] .cc-home-feature-tile--4{
    background: linear-gradient(160deg, #9a5048 0%, #6a3530 100%);
    border-color: #562c28;
}
html[data-theme="dark"] .cc-home-feature-tile--5{
    background: linear-gradient(160deg, #5c4e88 0%, #3a3358 100%);
    border-color: #2e2848;
}
html[data-theme="dark"] .cc-home-feature-tile--6{
    background: linear-gradient(160deg, #3a8a78 0%, #225a50 100%);
    border-color: #1c4840;
}
html[data-theme="dark"] .cc-help-hub-item--color-1:not(.cc-help-hub-item--placeholder):not(.cc-help-hub-item--needs_content),
html[data-theme="dark"] .cc-help-hub-quick-link--color-1{
    background: linear-gradient(160deg, #4a3528 0%, #3a2a20 100%);
    border-color: #6a4e38;
}
html[data-theme="dark"] .cc-help-hub-item--color-2:not(.cc-help-hub-item--placeholder):not(.cc-help-hub-item--needs_content),
html[data-theme="dark"] .cc-help-hub-quick-link--color-2{
    background: linear-gradient(160deg, #2f3d2c 0%, #263326 100%);
    border-color: #4a6344;
}
html[data-theme="dark"] .cc-help-hub-item--color-3:not(.cc-help-hub-item--placeholder):not(.cc-help-hub-item--needs_content),
html[data-theme="dark"] .cc-help-hub-quick-link--color-3{
    background: linear-gradient(160deg, #2a3a48 0%, #223040 100%);
    border-color: #4a6a88;
}
html[data-theme="dark"] .cc-help-hub-item--color-4:not(.cc-help-hub-item--placeholder):not(.cc-help-hub-item--needs_content),
html[data-theme="dark"] .cc-help-hub-quick-link--color-4{
    background: linear-gradient(160deg, #44302e 0%, #382826 100%);
    border-color: #6a4844;
}
html[data-theme="dark"] .cc-help-hub-item--color-5:not(.cc-help-hub-item--placeholder):not(.cc-help-hub-item--needs_content),
html[data-theme="dark"] .cc-help-hub-quick-link--color-5{
    background: linear-gradient(160deg, #353045 0%, #2c2838 100%);
    border-color: #5a5070;
}
html[data-theme="dark"] .cc-help-hub-item--color-6:not(.cc-help-hub-item--placeholder):not(.cc-help-hub-item--needs_content),
html[data-theme="dark"] .cc-help-hub-quick-link--color-6{
    background: linear-gradient(160deg, #2a403a 0%, #223430 100%);
    border-color: #4a7066;
}
html[data-theme="dark"] .cc-home-feature-tile-title,
html[data-theme="dark"] .cc-home-feature-tile-link{
    color: #fff;
}
html[data-theme="dark"] .cc-home-feature-tile-desc{
    color: rgba(255, 255, 255, 0.92);
}
html[data-theme="dark"] .cc-help-hub-quick-link-title,
html[data-theme="dark"] .cc-help-hub-item:not(.cc-help-hub-item--placeholder):not(.cc-help-hub-item--needs_content) .cc-help-hub-item-title,
html[data-theme="dark"] .cc-help-hub-item-action{
    color: #f3ebe0;
}
html[data-theme="dark"] .cc-help-hub-quick-link-hint,
html[data-theme="dark"] .cc-help-hub-item:not(.cc-help-hub-item--placeholder):not(.cc-help-hub-item--needs_content) .cc-help-hub-item-when,
html[data-theme="dark"] .cc-help-hub-item:not(.cc-help-hub-item--placeholder):not(.cc-help-hub-item--needs_content) .cc-help-hub-item-time{
    color: rgba(243, 235, 224, 0.82);
}
html[data-theme="dark"] .cc-home-feature-tile,
html[data-theme="dark"] .cc-home-feature-tile:hover{
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .cc-help-hub-quick-link,
html[data-theme="dark"] .cc-help-hub-quick-link:hover,
html[data-theme="dark"] a.cc-help-hub-item:not(.cc-help-hub-item--placeholder):not(.cc-help-hub-item--needs_content),
html[data-theme="dark"] a.cc-help-hub-item:not(.cc-help-hub-item--placeholder):not(.cc-help-hub-item--needs_content):hover{
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
}
/* Form panels ΓÇö medium gray/brown */
html[data-theme="dark"] .cc-search-form-mode-default{
    background: var(--cc-surface);
    border-color: var(--cc-border);
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-search-form-mode-default[data-cc-is-default="1"]{
    background: var(--cc-copper-dark, var(--cc-copper));
    border-color: var(--cc-copper);
    color: #fff;
}
html[data-theme="dark"] .cc-search-form.cc-form,
html[data-theme="dark"] .cc-search-form,
html[data-theme="dark"] .cc-search-help,
html[data-theme="dark"] .cc-value-guide-filters{
    background: var(--cc-panel-brown);
    border-color: var(--cc-panel-brown-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-search-form-label,
html[data-theme="dark"] .cc-form-label,
html[data-theme="dark"] .cc-form-field label,
html[data-theme="dark"] .cc-value-guide-field-label{
    color: #EEEEEE;
}
html[data-theme="dark"] .cc-search-help-lead,
html[data-theme="dark"] .cc-search-help-list dd,
html[data-theme="dark"] .cc-search-help-note,
html[data-theme="dark"] .cc-search-year-hint,
html[data-theme="dark"] .cc-search-field-hint,
html[data-theme="dark"] .cc-form-hint,
html[data-theme="dark"] .cc-value-guide-filters-hint{
    color: var(--cc-form-help-text);
}
html[data-theme="dark"] .cc-search-help-list dt{
    color: #d8cec0;
}
html[data-theme="dark"] .cc-search-help-note{
    border-top-color: var(--cc-panel-brown-border);
}
html[data-theme="dark"] .cc-search-year-sep,
html[data-theme="dark"] .cc-value-guide-year-sep{
    color: var(--cc-form-help-text);
}
html[data-theme="dark"] .cc-hero h1,
html[data-theme="dark"] .cc-home-features-title,
html[data-theme="dark"] .cc-die-detail h1,
html[data-theme="dark"] .cc-learn-article h1,
html[data-theme="dark"] .cc-static-page-header h1,
html[data-theme="dark"] .cc-grading-guide-title-row h1,
html[data-theme="dark"] .cc-changelog-header h2{
    color: var(--cc-copper);
}
html[data-theme="dark"] a:not(.cc-btn):not(.cc-home-btn):not(.cc-home-hero-cta):not(.cc-home-news-all):not(.cc-header-account-link):not(.cc-header-profile-link):not(.cc-header-logo):not(.cc-pagination-btn):not(.cc-admin-tab):not(.cc-die-changes-die-number):not(.cc-main-nav-link):not(.cc-key-date-tier-toggle-btn){
    color: var(--cc-copper);
}
html[data-theme="dark"] a:not(.cc-btn):not(.cc-home-btn):not(.cc-home-hero-cta):not(.cc-home-news-all):not(.cc-header-account-link):not(.cc-header-profile-link):not(.cc-header-logo):not(.cc-pagination-btn):not(.cc-admin-tab):not(.cc-die-changes-die-number):not(.cc-main-nav-link):not(.cc-key-date-tier-toggle-btn):hover{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-header-account-link:hover,
html[data-theme="dark"] .cc-breadcrumbs a{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-breadcrumbs a:hover{
    color: var(--cc-copper-dark);
}
/* Tables */
html[data-theme="dark"] .cc-data-table,
html[data-theme="dark"] .cc-admin-table,
html[data-theme="dark"] .cc-review-table,
html[data-theme="dark"] .cc-my-cc-coins-table,
html[data-theme="dark"] .cc-die-results-table{
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-data-table th,
html[data-theme="dark"] .cc-data-table td,
html[data-theme="dark"] .cc-admin-table th,
html[data-theme="dark"] .cc-admin-table td,
html[data-theme="dark"] .cc-review-table th,
html[data-theme="dark"] .cc-review-table td,
html[data-theme="dark"] .cc-my-cc-coins-table th,
html[data-theme="dark"] .cc-my-cc-coins-table td,
html[data-theme="dark"] .cc-die-results-table th,
html[data-theme="dark"] .cc-die-results-table td{
    border-color: var(--cc-table-border-row);
}
html[data-theme="dark"] .cc-data-table thead th,
html[data-theme="dark"] .cc-admin-table thead th,
html[data-theme="dark"] .cc-review-table thead th,
html[data-theme="dark"] .cc-my-cc-coins-table thead th,
html[data-theme="dark"] .cc-die-results-table thead th{
    background: var(--cc-table-head-bg);
    color: var(--cc-table-head-color);
}
html[data-theme="dark"] .cc-data-table tbody tr:nth-child(odd) td,
html[data-theme="dark"] .cc-admin-table tbody tr:nth-child(odd) td,
html[data-theme="dark"] .cc-review-table tbody tr:nth-child(odd) td,
html[data-theme="dark"] .cc-die-results-table tbody tr:nth-child(odd) td{
    background: var(--cc-table-row-odd);
}
html[data-theme="dark"] .cc-data-table tbody tr:nth-child(even) td,
html[data-theme="dark"] .cc-admin-table tbody tr:nth-child(even) td,
html[data-theme="dark"] .cc-review-table tbody tr:nth-child(even) td,
html[data-theme="dark"] .cc-die-results-table tbody tr:nth-child(even) td{
    background: var(--cc-table-row-even);
}
html[data-theme="dark"] .cc-review-table tbody tr:hover td,
html[data-theme="dark"] .cc-admin-table tbody tr:hover td,
html[data-theme="dark"] .cc-data-table tbody tr:hover td{
    background: var(--cc-table-row-hover);
}
html[data-theme="dark"] .cc-data-table--interactive tbody tr:nth-child(odd){
    background: var(--cc-table-row-odd);
}
html[data-theme="dark"] .cc-data-table--interactive tbody tr:nth-child(even){
    background: var(--cc-table-row-even);
}
html[data-theme="dark"] .cc-data-table--interactive tbody tr:hover:not(.cc-my-cc-coins-empty-row){
    background: var(--cc-table-row-hover);
}
html[data-theme="dark"] .cc-data-table--interactive tbody tr.is-selected{
    background: var(--cc-table-row-selected);
    box-shadow: inset 3px 0 0 var(--cc-copper);
}
html[data-theme="dark"] .cc-admin-table a:not(.cc-btn):not(.cc-link-btn),
html[data-theme="dark"] .cc-admin-table .cc-link-btn:not([type="submit"]),
html[data-theme="dark"] .cc-review-table a:not(.cc-btn){
    color: var(--cc-copper);
}
html[data-theme="dark"] button.cc-link-btn[type="submit"],
html[data-theme="dark"] form[data-confirm-title*="Delete"] button[type="submit"],
html[data-theme="dark"] form[data-confirm-title*="delete"] button[type="submit"],
html[data-theme="dark"] form[onsubmit*="Delete"] button[type="submit"],
html[data-theme="dark"] form[onsubmit*="delete"] button[type="submit"]{
    background: #a33;
    color: #fff;
}
html[data-theme="dark"] button.cc-link-btn[type="submit"]:hover,
html[data-theme="dark"] form[data-confirm-title*="Delete"] button[type="submit"]:hover,
html[data-theme="dark"] form[data-confirm-title*="delete"] button[type="submit"]:hover,
html[data-theme="dark"] form[onsubmit*="Delete"] button[type="submit"]:hover,
html[data-theme="dark"] form[onsubmit*="delete"] button[type="submit"]:hover{
    background: #822;
    color: #fff;
}
/* Admin CMS — staff panel, forms, tables (dark surfaces + light text) */
html[data-theme="dark"] .cc-page-admin{
    --cc-admin-panel-bg: #2a2622;
    --cc-admin-panel-border: #4a4238;
    --cc-admin-surface-muted: #322c26;
    --cc-admin-surface-raised: #353028;
    --cc-admin-tab-bg: #322c26;
    --cc-admin-tab-hover: #3a342c;
    --cc-admin-tab-border: #4a4238;
    --cc-admin-tab-text: #fff;
    --cc-input-surface: #26221e;
    --cc-input-text: #ece6dc;
    --cc-input-bg: var(--cc-input-surface);
    --cc-input-color: var(--cc-input-text);
    --cc-border-input: #5a5048;
    --cc-table-head-bg: #353028;
    --cc-table-head-color: var(--cc-copper);
    --cc-table-row-odd: #26221e;
    --cc-table-row-even: #2f2a24;
    --cc-table-row-stripe: var(--cc-table-row-even);
    --cc-table-row-hover: color-mix(in srgb, var(--cc-copper) 10%, #353028);
    --cc-table-wrap-border: var(--cc-admin-panel-border);
    --cc-table-wrap-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-admin .cc-admin-panel{
    background: var(--cc-admin-panel-bg);
    border-color: var(--cc-admin-panel-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-admin .cc-admin-panel-top{
    border-bottom-color: var(--cc-admin-panel-border);
}
html[data-theme="dark"] .cc-page-admin .cc-hero h1,
html[data-theme="dark"] .cc-page-admin .cc-review-block h2,
html[data-theme="dark"] .cc-page-admin .cc-admin-dashboard-heading,
html[data-theme="dark"] .cc-page-admin .cc-die-edit-general h2{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-page-admin .cc-lead-muted,
html[data-theme="dark"] .cc-page-admin .cc-form-hint,
html[data-theme="dark"] .cc-page-admin .cc-admin-nav-group-label,
html[data-theme="dark"] .cc-page-admin .cc-admin-search-section-title,
html[data-theme="dark"] .cc-page-admin .cc-admin-stat-label,
html[data-theme="dark"] .cc-page-admin .cc-admin-board-meta,
html[data-theme="dark"] .cc-page-admin .cc-admin-board-dashboard-list-heading,
html[data-theme="dark"] .cc-page-admin .cc-review-path,
html[data-theme="dark"] .cc-page-admin .cc-share-links-label,
html[data-theme="dark"] .cc-page-admin .cc-cms-drag-handle{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-page-admin .cc-admin-stat-number,
html[data-theme="dark"] .cc-page-admin .cc-admin-stat-note,
html[data-theme="dark"] .cc-page-admin .cc-admin-panel-back a,
html[data-theme="dark"] .cc-page-admin .cc-review-back a{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-page-admin .cc-admin-stat-delta--up{
    color: #5dce7a;
}
html[data-theme="dark"] .cc-page-admin .cc-admin-stat-delta--down{
    color: #f07167;
}
html[data-theme="dark"] .cc-page-admin .cc-admin-stat-delta--flat{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-page-admin .cc-admin-tab,
html[data-theme="dark"] .cc-page-admin a.cc-admin-tab,
html[data-theme="dark"] .cc-page-admin a.cc-admin-tab:link,
html[data-theme="dark"] .cc-page-admin a.cc-admin-tab:visited,
html[data-theme="dark"] .cc-page-admin a.cc-admin-tab:hover,
html[data-theme="dark"] .cc-page-admin a.cc-admin-tab:focus,
html[data-theme="dark"] .cc-page-admin a.cc-admin-tab:active,
html[data-theme="dark"] .cc-page-admin a.cc-admin-tab.is-active{
    color: #fff;
    background: var(--cc-admin-tab-bg);
    border-color: var(--cc-admin-tab-border);
}
html[data-theme="dark"] .cc-page-admin .cc-admin-tab--dashboard{
    --cc-admin-tab-bg: #4a443c;
    --cc-admin-tab-hover: #585048;
    --cc-admin-tab-border: #6a6258;
    --cc-admin-tab-accent: #c8bcb0;
    --cc-admin-tab-text: #fff;
}
html[data-theme="dark"] .cc-page-admin .cc-admin-tab--catalog{
    --cc-admin-tab-bg: #6b4423;
    --cc-admin-tab-hover: #7d5028;
    --cc-admin-tab-border: #8a6038;
    --cc-admin-tab-accent: #e8a860;
    --cc-admin-tab-text: #fff;
}
html[data-theme="dark"] .cc-page-admin .cc-admin-tab--content{
    --cc-admin-tab-bg: #2a4a63;
    --cc-admin-tab-hover: #325874;
    --cc-admin-tab-border: #3d6f96;
    --cc-admin-tab-accent: #7ec0e8;
    --cc-admin-tab-text: #fff;
}
html[data-theme="dark"] .cc-page-admin .cc-admin-tab--help{
    --cc-admin-tab-bg: #2d5030;
    --cc-admin-tab-hover: #356038;
    --cc-admin-tab-border: #4a7a42;
    --cc-admin-tab-accent: #8fd088;
    --cc-admin-tab-text: #fff;
}
html[data-theme="dark"] .cc-page-admin .cc-admin-tab--site{
    --cc-admin-tab-bg: #5c4a14;
    --cc-admin-tab-hover: #6b5618;
    --cc-admin-tab-border: #9a7b1f;
    --cc-admin-tab-accent: #e8c850;
    --cc-admin-tab-text: #fff;
}
html[data-theme="dark"] .cc-page-admin .cc-admin-tab--users{
    --cc-admin-tab-bg: #4a354f;
    --cc-admin-tab-hover: #563d5c;
    --cc-admin-tab-border: #6b4f72;
    --cc-admin-tab-accent: #c0a0c8;
    --cc-admin-tab-text: #fff;
}
html[data-theme="dark"] .cc-page-admin .cc-admin-tab--end{
    --cc-admin-tab-bg: #454038;
    --cc-admin-tab-hover: #524a42;
    --cc-admin-tab-border: #6b6560;
    --cc-admin-tab-accent: #b0a898;
    --cc-admin-tab-text: #fff;
    text-transform: none;
    letter-spacing: 0;
    font-weight: 600;
}
html[data-theme="dark"] .cc-page-admin .cc-admin-tab:hover,
html[data-theme="dark"] .cc-page-admin a.cc-admin-tab:hover{
    background: var(--cc-admin-tab-hover);
    color: #fff;
}
html[data-theme="dark"] .cc-page-admin .cc-admin-tab.is-active,
html[data-theme="dark"] .cc-page-admin a.cc-admin-tab.is-active{
    background: var(--cc-admin-tab-hover);
    border-color: var(--cc-admin-tab-border);
    border-bottom-color: var(--cc-admin-panel-bg);
    color: #fff;
    box-shadow: inset 0 3px 0 var(--cc-admin-tab-accent);
}
html[data-theme="dark"] .cc-page-admin .cc-admin-board-nav-badge{
    background: #fff;
    color: var(--cc-admin-tab-bg, #4a443c);
}
html[data-theme="dark"] .cc-page-admin .cc-admin-tab-divider{
    background: var(--cc-admin-panel-border);
}
html[data-theme="dark"] .cc-page-admin .cc-admin-search-section{
    border-top-color: var(--cc-admin-panel-border);
}
html[data-theme="dark"] .cc-page-admin .cc-admin-stat-card,
html[data-theme="dark"] .cc-page-admin .cc-admin-board-post,
html[data-theme="dark"] .cc-page-admin .cc-home-recent-die-changes,
html[data-theme="dark"] .cc-page-admin .cc-review-missing,
html[data-theme="dark"] .cc-page-admin .cc-scroll-table-panel,
html[data-theme="dark"] .cc-page-admin .cc-review-table-wrap,
html[data-theme="dark"] .cc-page-admin .cc-admin-table-wrap,
html[data-theme="dark"] .cc-page-admin .cc-data-table-wrap--card{
    background: var(--cc-admin-surface-muted);
    border-color: var(--cc-admin-panel-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-admin .cc-admin-board-post--original,
html[data-theme="dark"] .cc-page-admin .cc-admin-board-table tr.is-unread td,
html[data-theme="dark"] .cc-page-admin .cc-admin-board-unread-pill{
    background: var(--cc-admin-surface-raised);
    border-color: var(--cc-admin-panel-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-admin .cc-admin-board-post-header,
html[data-theme="dark"] .cc-page-admin .cc-admin-board-reply-form{
    border-color: var(--cc-admin-panel-border);
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-page-admin .cc-review-block{
    border-top-color: var(--cc-admin-panel-border);
}
html[data-theme="dark"] .cc-page-admin .cc-die-edit-general,
html[data-theme="dark"] .cc-page-admin .cc-die-edit-stages,
html[data-theme="dark"] .cc-page-admin .cc-cms-image-group,
html[data-theme="dark"] .cc-page-admin .cc-die-admin-tools,
html[data-theme="dark"] .cc-page-admin .cc-sticky-form-bar,
html[data-theme="dark"] .cc-page-admin .cc-die-values-sticky-bar{
    background: var(--cc-admin-surface-muted);
    border-color: var(--cc-admin-panel-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-admin .cc-cms-image-item{
    border-top-color: var(--cc-admin-panel-border);
}
html[data-theme="dark"] .cc-page-admin .cc-cms-dropzone{
    border-color: var(--cc-copper);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-admin .cc-cms-upload-label{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-page-admin .cc-share-links-icon-btn:hover,
html[data-theme="dark"] .cc-page-admin .cc-share-links-icon-btn:focus-visible,
html[data-theme="dark"] .cc-page-admin .cc-share-links-copy.is-copied{
    background: var(--cc-admin-surface-raised);
    border-color: var(--cc-admin-panel-border);
}
html[data-theme="dark"] .cc-page-admin .cc-review-table,
html[data-theme="dark"] .cc-page-admin .cc-admin-table,
html[data-theme="dark"] .cc-page-admin .cc-data-table,
html[data-theme="dark"] .cc-page-admin .cc-die-edit-values-table,
html[data-theme="dark"] .cc-page-admin .cc-die-bulk-table{
    color: var(--cc-text);
    border-color: var(--cc-admin-panel-border);
}
html[data-theme="dark"] .cc-page-admin .cc-review-table thead th,
html[data-theme="dark"] .cc-page-admin .cc-admin-table thead th,
html[data-theme="dark"] .cc-page-admin .cc-data-table thead th,
html[data-theme="dark"] .cc-page-admin .cc-die-edit-values-table th{
    background: var(--cc-table-head-bg);
    color: var(--cc-table-head-color);
    border-color: var(--cc-admin-panel-border);
}
html[data-theme="dark"] .cc-page-admin .cc-review-table tbody tr:nth-child(odd) td,
html[data-theme="dark"] .cc-page-admin .cc-review-table tbody tr:nth-child(odd) th,
html[data-theme="dark"] .cc-page-admin .cc-admin-table tbody tr:nth-child(odd) td,
html[data-theme="dark"] .cc-page-admin .cc-data-table tbody tr:nth-child(odd) td,
html[data-theme="dark"] .cc-page-admin .cc-die-edit-values-table tbody tr:nth-child(odd) td,
html[data-theme="dark"] .cc-page-admin .cc-die-bulk-table tbody tr:nth-child(odd) td{
    background: var(--cc-table-row-odd);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-admin .cc-review-table tbody tr:nth-child(even) td,
html[data-theme="dark"] .cc-page-admin .cc-review-table tbody tr:nth-child(even) th,
html[data-theme="dark"] .cc-page-admin .cc-admin-table tbody tr:nth-child(even) td,
html[data-theme="dark"] .cc-page-admin .cc-data-table tbody tr:nth-child(even) td,
html[data-theme="dark"] .cc-page-admin .cc-die-edit-values-table tbody tr:nth-child(even) td,
html[data-theme="dark"] .cc-page-admin .cc-die-bulk-table tbody tr:nth-child(even) td{
    background: var(--cc-table-row-even);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-admin .cc-review-table tbody tr:hover td,
html[data-theme="dark"] .cc-page-admin .cc-admin-table tbody tr:hover td,
html[data-theme="dark"] .cc-page-admin .cc-data-table tbody tr:hover td{
    background: var(--cc-table-row-hover);
}
html[data-theme="dark"] .cc-page-admin .cc-review-table a:not(.cc-btn),
html[data-theme="dark"] .cc-page-admin .cc-admin-table a:not(.cc-btn),
html[data-theme="dark"] .cc-page-admin .cc-data-table a:not(.cc-btn){
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-owner-active-pill{
    background: rgba(129, 199, 132, 0.22);
    color: #c8e6c9;
}
html[data-theme="dark"] .cc-owner-course-plan-preview{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-page-admin input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
html[data-theme="dark"] .cc-page-admin select,
html[data-theme="dark"] .cc-page-admin textarea,
html[data-theme="dark"] .cc-page-admin .cc-die-edit-field-control,
html[data-theme="dark"] .cc-page-admin .cc-die-edit-values-input{
    background: var(--cc-input-surface);
    border-color: var(--cc-border-input);
    color: var(--cc-input-text);
}
html[data-theme="dark"] .cc-page-admin input::placeholder,
html[data-theme="dark"] .cc-page-admin textarea::placeholder{
    color: #8a8074;
}
html[data-theme="dark"] .cc-page-admin .cc-form-label,
html[data-theme="dark"] .cc-page-admin .cc-form-field label,
html[data-theme="dark"] .cc-page-admin legend{
    color: var(--cc-label-color);
}
html[data-theme="dark"] .cc-page-admin .cc-search-form.cc-form,
html[data-theme="dark"] .cc-page-admin .cc-form-fieldset,
html[data-theme="dark"] .cc-page-admin details.cc-review-block{
    background: transparent;
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-year-guide-section-accordion{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-year-guide-section-summary::before{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-year-guide-section-body,
html[data-theme="dark"] .cc-year-guide-history-row{
    border-color: var(--cc-border-muted);
}
html[data-theme="dark"] .cc-main-menu-help{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-main-menu-help-summary{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-main-menu-help-body{
    border-top-color: var(--cc-border-muted);
}
html[data-theme="dark"] .cc-page-admin .cc-pagination-btn{
    background: var(--cc-admin-surface-muted);
    border-color: var(--cc-admin-panel-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-admin .cc-pagination-btn.is-current{
    background: var(--cc-copper-dark);
    border-color: var(--cc-copper);
}
html[data-theme="dark"] .cc-page-admin .cc-pagination-btn.is-disabled{
    color: var(--cc-muted-dark);
}
html[data-theme="dark"] .cc-page-admin .cc-die-edit-stage{
    background: var(--cc-admin-surface-muted);
    border-color: var(--cc-admin-panel-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-admin .cc-die-edit-stage-unassigned{
    background: var(--cc-table-row-odd);
    border-color: var(--cc-admin-panel-border);
}
html[data-theme="dark"] .cc-page-admin .cc-die-edit-stage-summary::before{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-page-admin .cc-caption-queue-report,
html[data-theme="dark"] .cc-page-admin .cc-caption-queue-report-item,
html[data-theme="dark"] .cc-page-admin .cc-search-help,
html[data-theme="dark"] .cc-page-admin .cc-admin-newsletter-preview,
html[data-theme="dark"] .cc-page-admin .cc-year-guide-mint-preview-card{
    background: var(--cc-admin-surface-muted);
    border-color: var(--cc-admin-panel-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-admin .cc-year-guide-mint-preview-title,
html[data-theme="dark"] .cc-page-admin .cc-year-guide-mint-preview-side > label{
    color: var(--cc-text);
}
/* Rich text editor — light canvas for body; toolbar styling lives in main.css (dark bar, white controls in both themes) */
html[data-theme="dark"] .cc-page-admin .cc-article-editor{
    background: #fff;
    color: #2a2118;
    color-scheme: light;
}
html[data-theme="dark"] .cc-page-admin .cc-article-editor .ql-container.ql-snow{
    border-color: #d8d0c4;
    background: #fff;
}
html[data-theme="dark"] .cc-page-admin .cc-article-editor .ql-editor{
    color: #2a2118;
}
html[data-theme="dark"] .cc-page-admin .cc-article-editor .ql-editor :is(p, li, td, th, span, div, em, i, blockquote, dd, dt, figcaption){
    color: #2a2118;
}
html[data-theme="dark"] .cc-page-admin .cc-article-editor .ql-editor :is(h1, h2, h3, h4, h5, h6, strong, b){
    color: #1a1a1a;
}
html[data-theme="dark"] .cc-page-admin .cc-article-editor .ql-editor a{
    color: #8b4513;
}
html[data-theme="dark"] .cc-page-admin .cc-article-editor .ql-editor.ql-blank::before{
    color: #8a8074;
}
html[data-theme="dark"] .cc-page-admin .cc-caption-queue-report-total,
html[data-theme="dark"] .cc-page-admin .cc-caption-queue-report-meta,
html[data-theme="dark"] .cc-page-admin .cc-search-help-lead,
html[data-theme="dark"] .cc-page-admin .cc-search-help-list dd,
html[data-theme="dark"] .cc-page-admin .cc-search-help-note{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-page-admin .cc-search-help-list dt{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-page-admin .cc-search-help-note{
    border-top-color: var(--cc-admin-panel-border);
}
html[data-theme="dark"] .cc-page-admin .cc-caption-queue-sticky-bar{
    background: color-mix(in srgb, var(--cc-admin-panel-bg) 97%, transparent);
    border-top-color: var(--cc-copper);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .cc-page-admin .cc-search-list-item{
    background: var(--cc-admin-surface-muted);
    border-color: var(--cc-admin-panel-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-admin .cc-search-list-item .cc-search-die-title,
html[data-theme="dark"] .cc-page-admin .cc-search-list-item .cc-search-classification,
html[data-theme="dark"] .cc-page-admin .cc-search-list-item .cc-search-list-notes{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-cms-modal-panel{
    background: var(--cc-admin-panel-bg, #2a2622);
    border: 1px solid var(--cc-admin-panel-border, #4a4238);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-cms-modal-panel h3{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-owner-growth-panel h3,
html[data-theme="dark"] .cc-owner-growth-metric__label{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-owner-growth-metrics__value{
    color: #7f98d2;
}
html[data-theme="dark"] .cc-owner-growth-advice-btn{
    background: var(--cc-admin-panel-bg, #2a2622);
    border-color: var(--cc-admin-panel-border, #4a4238);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-owner-growth-advice-close{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-owner-growth-comp--unknown .cc-owner-growth-comp__shape{
    border-color: var(--cc-muted);
}
/* Flash messages */
html[data-theme="dark"] .cc-flash-success{
    background: #1e3a24;
    border-color: #3a6a42;
    color: #d8f0dc;
}
html[data-theme="dark"] .cc-flash-error{
    background: #3a1e1e;
    border-color: #7a3a3a;
    color: #f0d0d0;
}
html[data-theme="dark"] .cc-flash-warning{
    background: #3a3020;
    border-color: #6a5a30;
    color: #f0e0b8;
}
/* Search / die result tiles */
html[data-theme="dark"] .cc-die-result-card,
html[data-theme="dark"] .cc-search-result-card,
html[data-theme="dark"] .cc-die-grid-card{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-search-compact-card{
    background: #E8E2D8;
    border-color: #C9C0B2;
    color: #1a1a1a;
}
html[data-theme="dark"] .cc-search-compact-card .cc-search-die-title,
html[data-theme="dark"] .cc-search-compact-card .cc-search-compact-class{
    color: #2a2a2a;
}
html[data-theme="dark"] .cc-search-compact-card .cc-search-chosen-xref{
    color: #6a6a6a;
}
html[data-theme="dark"] .cc-die-result-card:hover,
html[data-theme="dark"] .cc-search-result-card:hover,
html[data-theme="dark"] .cc-die-grid-card:hover{
    border-color: var(--cc-copper);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
html[data-theme="dark"] .cc-search-compact-card:hover{
    border-color: var(--cc-copper);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}
/* Search results — toolbar, list wrap, cards, typography */
html[data-theme="dark"] .cc-search-toolbar{
    background: var(--cc-surface-subtle);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-search-view-label{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-search-view-btn{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-search-view-btn.is-active{
    background: var(--cc-copper-dark);
    border-color: var(--cc-copper);
    color: #1a1714;
}
html[data-theme="dark"] .cc-search-view-btn:hover{
    border-color: var(--cc-copper);
}
html[data-theme="dark"] .cc-search-results-empty{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-search-results-list-wrap{
    background: var(--cc-surface-subtle);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-search-list-item{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}
html[data-theme="dark"] .cc-search-list-item:hover{
    border-color: var(--cc-copper);
}
html[data-theme="dark"] .cc-search-die-title,
html[data-theme="dark"] .cc-search-list-item .cc-search-die-title,
html[data-theme="dark"] .cc-search-grid-title{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-search-chosen-xref{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-search-classification,
html[data-theme="dark"] .cc-search-list-item .cc-search-classification,
html[data-theme="dark"] .cc-search-grid-class{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-search-notes,
html[data-theme="dark"] .cc-search-list-item .cc-search-list-notes,
html[data-theme="dark"] .cc-search-grid-notes{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-search-xrefs-panel{
    background: var(--cc-surface-subtle);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-search-xrefs-title{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-search-xrefs-list,
html[data-theme="dark"] .cc-search-xrefs-system{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-search-xrefs-empty{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-disclaimer-trigger{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-search-grid-card{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-search-grid-footer .cc-search-accordion{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-search-grid-footer .cc-search-accordion--values,
html[data-theme="dark"] .cc-search-grid-footer-section--values{
    background: var(--cc-surface-subtle);
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-search-grid-footer .cc-search-accordion--xrefs,
html[data-theme="dark"] .cc-search-grid-footer-section--xrefs{
    background: var(--cc-surface-raised);
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-search-grid-footer .cc-search-accordion--values summary,
html[data-theme="dark"] .cc-search-grid-section-label{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-search-grid-footer .cc-search-accordion--xrefs summary,
html[data-theme="dark"] .cc-search-grid-footer-section--xrefs .cc-search-grid-section-label{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-search-grid-footer .cc-search-accordion-body .cc-search-xrefs-panel,
html[data-theme="dark"] .cc-search-grid-xrefs-list{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-search-list-image img,
html[data-theme="dark"] .cc-search-list-image-empty,
html[data-theme="dark"] .cc-search-grid-image img,
html[data-theme="dark"] .cc-search-grid-image-empty,
html[data-theme="dark"] .cc-die-pre-thumb,
html[data-theme="dark"] .cc-die-pre-thumb--empty{
    border-color: var(--cc-border);
    background: var(--cc-surface-subtle);
    color: var(--cc-muted);
}
/* Die detail page */
html[data-theme="dark"] .cc-die-detail-box{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-die-detail-box--notes{
    background: transparent;
    border-color: transparent;
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-die-detail-die-number.cc-search-die-title{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-die-detail-die-number-block .cc-search-chosen-xref{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-die-detail-class,
html[data-theme="dark"] .cc-die-detail-facts,
html[data-theme="dark"] .cc-die-detail-notes{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-die-detail-box-title,
html[data-theme="dark"] .cc-die-detail-box-title--notes{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-die-detail-section{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-die-detail-images-hint{
    background: var(--cc-value-head-bg);
    border-color: var(--cc-value-head-border);
    border-left-color: var(--cc-value-head-blue);
    color: #fff;
}
html[data-theme="dark"] .cc-die-detail-xrefs-col .cc-search-xrefs-panel,
html[data-theme="dark"] .cc-page-die-detail .cc-search-xrefs-panel{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-die-detail .cc-search-xrefs-title{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-page-die-detail .cc-search-xrefs-system,
html[data-theme="dark"] .cc-page-die-detail .cc-search-xrefs-list,
html[data-theme="dark"] .cc-page-die-detail .cc-search-xrefs-empty{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-die-detail-xrefs-footer{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-die-detail-tab,
html[data-theme="dark"] .cc-series-grade-tab{
    background: var(--cc-surface-subtle);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-die-detail-tab.is-active,
html[data-theme="dark"] .cc-series-grade-tab.is-active{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    border-bottom-color: var(--cc-surface-muted);
}
html[data-theme="dark"] .cc-die-detail-tab-label,
html[data-theme="dark"] .cc-series-grade-tab-label{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-die-detail-tab-detail,
html[data-theme="dark"] .cc-series-grade-tab-detail{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-die-detail-tabpanel,
html[data-theme="dark"] .cc-series-grade-tabpanel{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
@media (max-width: 900px){
    html[data-theme="dark"] .cc-series-grade-tabs-narrow .cc-series-grade-tabpanel .cc-series-values-snippet-wrap,
    html[data-theme="dark"] .cc-series-grade-tabs-narrow .cc-series-grade-tabpanel .cc-series-values-snippet-wrap.cc-review-table-wrap,
    html[data-theme="dark"] .cc-series-grade-tabs-narrow .cc-series-grade-tabpanel .cc-review-table-wrap{
        border-color: var(--cc-border);
        background: var(--cc-surface);
    }
    html[data-theme="dark"] .cc-series-grade-tabs-narrow .cc-series-grade-tabpanel .cc-series-values-table--snippet thead th:first-child,
    html[data-theme="dark"] .cc-series-grade-tabs-narrow .cc-series-grade-tabpanel .cc-series-values-table--snippet tbody th[scope="row"],
    html[data-theme="dark"] .cc-series-grade-tabs-narrow .cc-series-grade-tabpanel .cc-series-values-table--snippet .cc-series-values-issue{
        background: var(--cc-surface);
        box-shadow: 2px 0 0 var(--cc-border);
    }
    html[data-theme="dark"] .cc-series-grade-tabs-narrow .cc-series-grade-tabpanel .cc-series-values-table--snippet thead th:first-child{
        background: var(--cc-value-head-bg);
        box-shadow: 2px 0 0 var(--cc-value-head-border);
    }
}
html[data-theme="dark"] .cc-page-die-detail .cc-die-detail-markers{
    background: var(--cc-surface-muted);
}
html[data-theme="dark"] .cc-die-detail-stage-note-item,
html[data-theme="dark"] .cc-die-detail-marker-list,
html[data-theme="dark"] .cc-die-detail-marker-obverse,
html[data-theme="dark"] .cc-die-detail-marker-reverse,
html[data-theme="dark"] .cc-die-detail-coin-credit{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-die-detail-coin-credit{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-die-detail-image-missing{
    background: var(--cc-surface-subtle);
    border-color: var(--cc-border);
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-page-die-detail .cc-die-detail-images .cc-die-detail-image-trigger{
    box-shadow: 2px 3px 4px rgba(0, 0, 0, 0.58);
}
/* Inputs site-wide */
html[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="hidden"]):not([type="submit"]):not([type="button"]):not([type="reset"]),
html[data-theme="dark"] select,
html[data-theme="dark"] textarea,
html[data-theme="dark"] .cc-form-field input,
html[data-theme="dark"] .cc-form-field select,
html[data-theme="dark"] .cc-form-field textarea,
html[data-theme="dark"] .cc-input,
html[data-theme="dark"] .cc-select,
html[data-theme="dark"] .cc-textarea,
html[data-theme="dark"] .cc-value-guide-field select,
html[data-theme="dark"] .cc-value-guide-field input[type="search"],
html[data-theme="dark"] .cc-value-guide-field input[type="text"],
html[data-theme="dark"] .cc-value-guide-year-inputs select{
    background: var(--cc-input-surface);
    border-color: #a8a4a0;
    color: var(--cc-input-text);
}
html[data-theme="dark"] input::placeholder,
html[data-theme="dark"] textarea::placeholder{
    color: #666;
}
/* Code blocks */
html[data-theme="dark"] code,
html[data-theme="dark"] .cc-search-help-list code{
    background: var(--cc-surface-subtle);
    color: #e8c9a0;
}
html[data-theme="dark"] .cc-learn-categories-label,
html[data-theme="dark"] .cc-learn-category-empty,
html[data-theme="dark"] .cc-learn-search-summary{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-learn-match-confidence{
    color: var(--cc-copper);
    background: color-mix(in srgb, var(--cc-copper) 18%, var(--cc-surface));
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-learn-category-link{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-learn-category-link:hover,
html[data-theme="dark"] .cc-learn-category-link.is-active{
    color: var(--cc-text);
}
/* Article / prose content */
html[data-theme="dark"] .cc-learn-article-subtitle{
    color: var(--cc-article-text);
}
html[data-theme="dark"] .cc-learn-article-excerpt,
html[data-theme="dark"] .cc-learn-article-byline,
html[data-theme="dark"] .cc-article-byline{
    color: var(--cc-article-text-muted);
}
html[data-theme="dark"] .cc-article-author-box{
    border-color: var(--cc-border);
    background: linear-gradient(180deg, var(--cc-surface-subtle) 0%, var(--cc-surface-muted) 100%);
    box-shadow: none;
}
html[data-theme="dark"] .cc-article-author-box-kicker{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-article-author-box-name{
    color: var(--cc-article-text);
}
html[data-theme="dark"] .cc-article-author-box-tagline,
html[data-theme="dark"] .cc-article-author-box-bio,
html[data-theme="dark"] .cc-article-author-box-more{
    color: var(--cc-article-text-muted);
}
html[data-theme="dark"] .cc-static-page-subtitle{
    color: var(--cc-article-text-muted);
}
html[data-theme="dark"] .cc-static-page-body,
html[data-theme="dark"] .cc-static-page-body.cc-learn-article-body{
    background: var(--cc-surface-muted);
    color: var(--cc-article-text);
}
html[data-theme="dark"] .cc-learn-article-videos{
  border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-learn-video .cc-related-articles{
  border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-learn-article-videos h2{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-learn-article-body,
html[data-theme="dark"] .cc-static-page-body.cc-learn-article-body{
    color: var(--cc-article-text);
}
/* CMS body HTML often ships with inline dark colors from the editor */
html[data-theme="dark"] .cc-learn-article-body :is(p, li, td, th, dd, dt, figcaption, blockquote, span, div, em, i){
    color: var(--cc-article-text) !important;
}
html[data-theme="dark"] .cc-learn-article-body :is(h1, h2, h3, h4, h5, h6, strong, b){
    color: var(--cc-article-heading) !important;
}
html[data-theme="dark"] .cc-learn-article-body a:not(.cc-btn){
    color: var(--cc-copper) !important;
}
html[data-theme="dark"] .cc-learn-article-body a:not(.cc-btn):hover{
    color: var(--cc-copper-dark) !important;
}
html[data-theme="dark"] .cc-learn-article-body .cc-article-figure figcaption{
    color: var(--cc-article-text-muted) !important;
}
html[data-theme="dark"] .cc-article-body blockquote,
html[data-theme="dark"] .cc-learn-article-body blockquote,
html[data-theme="dark"] .cc-prose blockquote,
html[data-theme="dark"] .cc-static-page-body blockquote{
    border-left-color: var(--cc-copper);
    background: var(--cc-surface-subtle);
    color: var(--cc-article-text) !important;
}
html[data-theme="dark"] .cc-article-body hr,
html[data-theme="dark"] .cc-learn-article-body hr,
html[data-theme="dark"] .cc-prose hr{
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-learn-article-body table{
    border-color: var(--cc-border);
    color: var(--cc-article-text);
}
html[data-theme="dark"] .cc-learn-article-body table th,
html[data-theme="dark"] .cc-learn-article-body table td{
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-learn-article-body table thead th{
    background: #1a1714;
    color: #fff !important;
}
html[data-theme="dark"] .cc-learn-article-body table tbody th[scope="row"]{
    background: #1a1714;
    color: #fff !important;
}
html[data-theme="dark"] .cc-learn-article-body table tbody tr:nth-child(even) td{
    background: var(--cc-surface-raised);
}
html[data-theme="dark"] .cc-related-articles{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-related-articles-title{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-related-articles-link{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    color: var(--cc-article-text);
}
html[data-theme="dark"] .cc-related-articles-link:hover{
    border-color: var(--cc-copper);
}
html[data-theme="dark"] .cc-related-articles-item-title{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-related-articles-item-author,
html[data-theme="dark"] .cc-related-articles-item-subtitle,
html[data-theme="dark"] .cc-related-articles-item-excerpt{
    color: var(--cc-article-text-muted);
}
/* Library — index, article/video lists, and date guide article blocks */
html[data-theme="dark"] .cc-learn-library-section{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] .cc-learn-library-section--articles{
    background: linear-gradient(180deg, var(--cc-surface-raised) 0%, var(--cc-surface-muted) 100%);
    border-top-color: var(--cc-copper);
}
html[data-theme="dark"] .cc-learn-library-section--videos{
    background: linear-gradient(180deg, #2a3038 0%, var(--cc-surface-muted) 100%);
    border-top-color: #6a8cad;
}
html[data-theme="dark"] .cc-learn-library-section-head{
    border-bottom-color: var(--cc-border);
}
html[data-theme="dark"] .cc-learn-library-section-kicker{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-learn-library-section--videos .cc-learn-library-section-kicker{
    color: #9bb8d4;
}
html[data-theme="dark"] .cc-learn-library-section-title{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-learn-library-section--videos .cc-learn-library-section-title{
    color: #c5d8eb;
}
html[data-theme="dark"] .cc-learn-topics-list{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] .cc-learn-topics-item + .cc-learn-topics-item{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-learn-topics-link:hover{
    background: var(--cc-surface-subtle);
}
html[data-theme="dark"] .cc-learn-topics-title{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-learn-topics-summary{
    color: var(--cc-article-text-muted);
}
html[data-theme="dark"] .cc-learn-home-card{
    background: linear-gradient(180deg, var(--cc-surface-raised) 0%, var(--cc-surface-muted) 100%);
    border-color: var(--cc-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-learn-home-card--static{
    background: linear-gradient(180deg, #2a3038 0%, var(--cc-surface-muted) 100%);
}
html[data-theme="dark"] a.cc-learn-home-card:hover{
    border-color: var(--cc-copper);
}
html[data-theme="dark"] .cc-learn-home-card-kicker{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-learn-home-card-title{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-learn-home-card-text{
    color: var(--cc-article-text-muted);
}
html[data-theme="dark"] .cc-learn-search-summary{
    color: var(--cc-article-text-muted);
}
html[data-theme="dark"] .cc-learn-list-divider{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-learn-list-link{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-learn-list-title,
html[data-theme="dark"] .cc-learn-list-copy h2,
html[data-theme="dark"] .cc-learn-list-copy h3{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-learn-list-subtitle{
    color: var(--cc-article-text-muted);
}
html[data-theme="dark"] .cc-learn-list-excerpt,
html[data-theme="dark"] .cc-learn-list-date,
html[data-theme="dark"] .cc-learn-list-meta,
html[data-theme="dark"] .cc-learn-list-meta .cc-article-byline-date,
html[data-theme="dark"] .cc-learn-list-meta .cc-article-byline-author{
    color: var(--cc-article-text);
}
html[data-theme="dark"] .cc-date-guide-section--articles .cc-learn-list-subtitle{
    color: var(--cc-article-text-muted);
}
html[data-theme="dark"] .cc-date-guide-section--articles .cc-learn-list-excerpt,
html[data-theme="dark"] .cc-date-guide-section--articles .cc-learn-list-meta,
html[data-theme="dark"] .cc-date-guide-section--articles .cc-learn-list-meta .cc-article-byline-date,
html[data-theme="dark"] .cc-date-guide-section--articles .cc-learn-list-meta .cc-article-byline-author{
    color: var(--cc-article-text);
}
/* Value guide ΓÇö dark palette (avoids light greens, parchment, and white table shell) */
html[data-theme="dark"] .cc-value-guide-count{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-value-guide-table-wrap{
    background: var(--cc-surface-muted);
    border-color: var(--cc-value-head-border);
}
html[data-theme="dark"] .cc-value-guide-table:not(.cc-series-values-table--admin){
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-value-guide-table:not(.cc-series-values-table--admin) thead th{
    color: var(--cc-value-head-text);
    background: var(--cc-value-head-bg);
    border-right-color: var(--cc-value-head-border);
    border-bottom-color: var(--cc-value-head-border);
    box-shadow: 0 1px 0 var(--cc-value-head-border);
}
html[data-theme="dark"] .cc-value-guide-table:not(.cc-series-values-table--admin) thead .cc-value-guide-col-die{
    color: #fff;
    background: var(--cc-value-head-bg);
}
html[data-theme="dark"] .cc-value-guide-table:not(.cc-series-values-table--admin) tbody td{
    background: var(--cc-value-cell-bg);
    color: var(--cc-value-cell-text);
    border-right-color: var(--cc-value-cell-border);
    border-bottom-color: var(--cc-value-cell-border);
}
html[data-theme="dark"] .cc-value-guide-table:not(.cc-series-values-table--admin) tbody tr:nth-child(even) td{
    background: var(--cc-value-cell-bg-alt);
}
html[data-theme="dark"] .cc-value-guide-table:not(.cc-series-values-table--admin) tbody th[scope="row"],
html[data-theme="dark"] .cc-value-guide-table:not(.cc-series-values-table--admin) .cc-value-guide-col-die{
    background: var(--cc-surface-subtle);
    border-right-color: var(--cc-border);
    border-bottom-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-value-guide-table:not(.cc-series-values-table--admin) tbody tr:nth-child(even) th[scope="row"],
html[data-theme="dark"] .cc-value-guide-table:not(.cc-series-values-table--admin) tbody tr:nth-child(even) .cc-value-guide-col-die{
    background: var(--cc-surface-raised);
}
html[data-theme="dark"] .cc-value-guide-die-link{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-value-guide-die-link:hover,
html[data-theme="dark"] .cc-value-guide-die-link:focus-visible{
    color: #fff;
    background: color-mix(in srgb, var(--cc-copper) 22%, var(--cc-surface-subtle));
}
html[data-theme="dark"] .cc-value-guide-table:not(.cc-series-values-table--admin) tbody tr:nth-child(even) .cc-value-guide-die-link:hover,
html[data-theme="dark"] .cc-value-guide-table:not(.cc-series-values-table--admin) tbody tr:nth-child(even) .cc-value-guide-die-link:focus-visible{
    background: color-mix(in srgb, var(--cc-copper) 22%, var(--cc-surface-raised));
}
html[data-theme="dark"] .cc-value-guide-empty{
    color: var(--cc-value-empty-text);
}
html[data-theme="dark"] .cc-value-trend--up{
    color: #4caf50;
}
html[data-theme="dark"] .cc-value-trend--down{
    color: #ef5350;
}
html[data-theme="dark"] .cc-series-values-mint-label{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-series-values-year-link{
    color: var(--cc-copper-dark);
}
/* Match Date Guide series h3 orange (uses --cc-copper in dark). */
html[data-theme="dark"] .cc-date-guide-section--series-values .cc-value-guide-table.cc-series-values-table--snippet tbody th.cc-series-values-issue[scope="row"],
html[data-theme="dark"] .cc-date-guide-section--series-values .cc-series-values-issue,
html[data-theme="dark"] .cc-page-series-values .cc-series-values-table tbody .cc-series-values-issue,
html[data-theme="dark"] .cc-page-series-values .cc-series-values-table tbody a.cc-series-values-issue{
    color: var(--cc-copper) !important;
}
/* Search / die detail price rows ΓÇö same palette as value guide */
html[data-theme="dark"] .cc-search-price-head .cc-search-price-cell,
html[data-theme="dark"] .cc-die-detail-values-bar .cc-search-price-head .cc-search-price-cell,
html[data-theme="dark"] .cc-search-list-values .cc-search-price-head .cc-search-price-cell,
html[data-theme="dark"] .cc-search-grid-footer-section--values .cc-search-price-head .cc-search-price-cell,
html[data-theme="dark"] .cc-search-grid-footer .cc-search-accordion--values .cc-search-price-head .cc-search-price-cell{
    color: var(--cc-value-head-text);
    background: var(--cc-value-head-bg);
    border-color: var(--cc-value-head-border);
}
html[data-theme="dark"] .cc-search-price-values .cc-search-price-cell,
html[data-theme="dark"] .cc-die-detail-values-bar .cc-search-price-values .cc-search-price-cell,
html[data-theme="dark"] .cc-search-list-values .cc-search-price-values .cc-search-price-cell,
html[data-theme="dark"] .cc-search-grid-footer-section--values .cc-search-price-values .cc-search-price-cell,
html[data-theme="dark"] .cc-search-grid-footer .cc-search-accordion--values .cc-search-price-values .cc-search-price-cell{
    background: var(--cc-value-cell-bg);
    color: var(--cc-value-cell-text);
    border-color: var(--cc-value-cell-border);
}
html[data-theme="dark"] .cc-search-price-cell{
    border-color: var(--cc-value-cell-border);
}
html[data-theme="dark"] .cc-search-price-empty,
html[data-theme="dark"] .cc-die-detail-values-bar .cc-search-price-empty,
html[data-theme="dark"] .cc-search-list-values .cc-search-price-empty,
html[data-theme="dark"] .cc-search-grid-footer-section--values .cc-search-price-empty,
html[data-theme="dark"] .cc-search-grid-footer .cc-search-accordion--values .cc-search-price-empty{
    color: var(--cc-value-empty-text);
}
html[data-theme="dark"] .cc-search-accordion-body .cc-search-price-empty{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-value-guide-tooltip{
    color: var(--cc-text);
    background: var(--cc-surface-raised);
    border-color: var(--cc-border);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.45);
}
/* Date guide ΓÇö panels, boxes, and body copy */
html[data-theme="dark"] .cc-date-guide-year-item-plate img{
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.45));
}
html[data-theme="dark"] .cc-date-guide-year-item-year-mark{
    color: #f0d2a8;
}
html[data-theme="dark"] .cc-date-guide-zone--catalog,
html[data-theme="dark"] .cc-date-guide-section--mintage{
    background: var(--cc-date-guide-panel-bg);
    border-color: var(--cc-date-guide-panel-border);
    color: var(--cc-date-guide-text);
}
html[data-theme="dark"] .cc-date-guide-section--series-values{
    background: transparent;
    border: none;
    color: var(--cc-date-guide-text);
}
html[data-theme="dark"] .cc-date-guide-series-values-intro{
    background: var(--cc-date-guide-panel-bg);
    border-color: var(--cc-date-guide-panel-border);
    color: var(--cc-date-guide-text);
}
html[data-theme="dark"] .cc-mintage-table tbody th[scope="row"],
html[data-theme="dark"] .cc-mintage-table tbody tr:nth-child(even) th[scope="row"],
html[data-theme="dark"] .cc-mintage-table tfoot td{
    background: var(--cc-date-guide-panel-bg);
    color: var(--cc-date-guide-text);
    border-color: var(--cc-date-guide-panel-border);
}
html[data-theme="dark"] .cc-mintage-proof-label{
    color: var(--cc-date-guide-text-muted);
}
html[data-theme="dark"] .cc-date-guide-zone-title,
html[data-theme="dark"] .cc-date-guide-section h2,
html[data-theme="dark"] .cc-date-guide-section h3,
html[data-theme="dark"] .cc-date-guide-header h1,
html[data-theme="dark"] .cc-date-guide-design-title{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-date-guide-subtitle,
html[data-theme="dark"] .cc-date-guide-zone-lead,
html[data-theme="dark"] .cc-date-guide-design-mints,
html[data-theme="dark"] .cc-date-guide-matrix-title,
html[data-theme="dark"] .cc-date-guide-omm-listings-caption{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-date-guide-omm-listings{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-date-guide-neighbors{
    color: var(--cc-date-guide-text-muted);
}
html[data-theme="dark"] .cc-date-guide-neighbors a{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-date-guide-coin-placeholder{
    background: transparent;
    border: 0;
}
html[data-theme="dark"] .cc-date-guide-coin-preview{
    background: transparent;
}
html[data-theme="dark"] .cc-search-type-preview-panel,
html[data-theme="dark"] .cc-search-type-preview-frame-wrap,
html[data-theme="dark"] .cc-search-type-preview-frame{
    background: #1f1b17;
    color: var(--cc-text, #f2ece3);
}
html[data-theme="dark"] .cc-search-type-preview-toolbar{
    background: #2a2620;
    border-bottom-color: var(--cc-border, #3a342c);
}
html[data-theme="dark"] .cc-search-type-preview-title{
    color: var(--cc-text, #f2ece3);
}
html[data-theme="dark"] .cc-search-type-preview-close{
    color: var(--cc-text-muted, #c8bfb3);
}
html[data-theme="dark"] .cc-search-type-preview-close:hover,
html[data-theme="dark"] .cc-search-type-preview-close:focus-visible{
    color: #f0ebe4;
}
html[data-theme="dark"] .cc-date-guide-coin-modal-panel{
    background: #1f1b17;
    color: var(--cc-text, #f2ece3);
}
html[data-theme="dark"] .cc-date-guide-coin-modal-close{
    color: var(--cc-text-muted, #c8bfb3);
}
html[data-theme="dark"] .cc-date-guide-coin-modal-figure figcaption{
    color: var(--cc-text-muted, #c8bfb3);
}
html[data-theme="dark"] .cc-date-guide-mint-mark-thumb{
    border-color: var(--cc-date-guide-panel-border);
    background: #1a1a1a;
}
html[data-theme="dark"] .cc-date-guide-mint-block--p{
    background: #2a2620;
    border-color: #3d362c;
}
html[data-theme="dark"] .cc-date-guide-mint-block--d{
    background: #222830;
    border-color: #2f3a48;
}
html[data-theme="dark"] .cc-date-guide-mint-block--s{
    background: #2a2422;
    border-color: #3d332f;
}
html[data-theme="dark"] .cc-date-guide-mint-image-hint,
html[data-theme="dark"] .cc-date-guide-placeholder-copy,
html[data-theme="dark"] .cc-date-guide-placeholder-text{
    color: var(--cc-date-guide-text-muted);
}
html[data-theme="dark"] .cc-date-guide-mint-extra figcaption{
    color: #b8b0a4;
}
html[data-theme="dark"] .cc-year-guide-extra-row{
    background: var(--cc-admin-surface-muted, #2a241c);
    border-color: var(--cc-admin-panel-border, #3d3428);
}
html[data-theme="dark"] .cc-year-guide-extra-drop{
    background: #1e1a14;
    border-color: #5a4d3c;
}
html[data-theme="dark"] .cc-year-guide-extra-drop.is-dragover{
    background: #2a2218;
    border-color: var(--cc-copper, #c4894a);
}
html[data-theme="dark"] .cc-date-guide-mint-photo-credit{
    color: var(--cc-date-guide-text-muted);
}
html[data-theme="dark"] .cc-year-guide-mint-preview-credit{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-series-price-edit-search{
    border-color: var(--cc-border);
    background: var(--cc-surface-muted);
}
html[data-theme="dark"] .cc-date-guide-mint-stat dd{
    color: var(--cc-date-guide-text);
}
html[data-theme="dark"] .cc-date-guide-aside-block + .cc-date-guide-aside-block{
    border-top-color: var(--cc-date-guide-panel-border);
}
html[data-theme="dark"] .cc-date-guide-aside-block h3{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-date-guide-aside-block--history .cc-date-guide-history-list,
html[data-theme="dark"] .cc-date-guide-aside-block--year-notes .cc-date-guide-cents-body,
html[data-theme="dark"] .cc-date-guide-aside-block--history .cc-date-guide-placeholder-copy,
html[data-theme="dark"] .cc-date-guide-aside-block--year-notes .cc-date-guide-placeholder-copy{
    color: var(--cc-date-guide-text);
}
/* Legacy/editor HTML in year notes often ships inline light backgrounds and dark text */
html[data-theme="dark"] .cc-date-guide-aside-block--year-notes .cc-date-guide-cents-body :is(p, li, td, th, dd, dt, figcaption, blockquote, span, div, em, i, font, u){
    color: var(--cc-date-guide-text) !important;
    background-color: transparent !important;
}
html[data-theme="dark"] .cc-date-guide-aside-block--year-notes .cc-date-guide-cents-body :is(h1, h2, h3, h4, h5, h6, strong, b){
    color: var(--cc-copper) !important;
    background-color: transparent !important;
}
html[data-theme="dark"] .cc-date-guide-aside-block--year-notes .cc-date-guide-cents-body a:not(.cc-btn){
    color: var(--cc-copper-dark) !important;
    background-color: transparent !important;
}
html[data-theme="dark"] .cc-date-guide-aside-block--year-notes .cc-date-guide-cents-body a:not(.cc-btn):hover,
html[data-theme="dark"] .cc-date-guide-aside-block--year-notes .cc-date-guide-cents-body a:not(.cc-btn):focus-visible{
    color: var(--cc-copper) !important;
}
html[data-theme="dark"] .cc-date-guide-aside-block--year-notes .cc-date-guide-cents-body .cc-article-figure figcaption,
html[data-theme="dark"] .cc-date-guide-aside-block--year-notes .cc-date-guide-cents-body blockquote{
    color: var(--cc-date-guide-text-muted) !important;
    background-color: transparent !important;
}
html[data-theme="dark"] .cc-date-guide-history-image img{
    border-color: var(--cc-date-guide-panel-border);
}
html[data-theme="dark"] .cc-date-guide-chart-placeholder{
    background: #222;
    border-color: #555;
    color: var(--cc-date-guide-text-muted);
}
html[data-theme="dark"] .cc-date-guide-section{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-date-guide-section--matrix{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-date-guide-prose,
html[data-theme="dark"] .cc-date-guide-cents-body,
html[data-theme="dark"] .cc-date-guide-history-list,
html[data-theme="dark"] .cc-date-guide-subhead{
    color: var(--cc-date-guide-text);
}
html[data-theme="dark"] .cc-date-guide-cents-body h2,
html[data-theme="dark"] .cc-date-guide-cents-body h3{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-date-guide-cents-body .cc-article-figure figcaption,
html[data-theme="dark"] .cc-date-guide-cents-body blockquote{
    color: var(--cc-date-guide-text-muted);
}
html[data-theme="dark"] .cc-authenticity-article-body .cc-article-figure,
html[data-theme="dark"] .cc-authenticity-media-figure,
html[data-theme="dark"] .cc-authenticity-year-package .cc-learn-article-body .cc-article-figure{
    background: color-mix(in srgb, var(--cc-surface-subtle) 90%, #000);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-authenticity-article-body .cc-article-figure figcaption,
html[data-theme="dark"] .cc-authenticity-media-figure figcaption,
html[data-theme="dark"] .cc-authenticity-year-package .cc-learn-article-body .cc-article-figure figcaption{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-date-guide-design-item + .cc-date-guide-design-item{
    border-top-color: var(--cc-border);
}
/* Date guide matrix and similar data tables */
html[data-theme="dark"] .cc-date-guide-matrix,
html[data-theme="dark"] .cc-date-guide-years-table{
    color: var(--cc-date-guide-text);
}
html[data-theme="dark"] .cc-date-guide-matrix{
    border-color: var(--cc-date-guide-panel-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .cc-date-guide-matrix th,
html[data-theme="dark"] .cc-date-guide-matrix td,
html[data-theme="dark"] .cc-date-guide-years-table th,
html[data-theme="dark"] .cc-date-guide-years-table td{
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-date-guide-matrix thead th{
    background: #5a3d20;
    color: #faf8f4;
    border-color: #3d2a18;
}
html[data-theme="dark"] .cc-date-guide-matrix thead th.cc-date-guide-matrix-row-total{
    background: #3d2a18;
    border-left-color: #6d4520;
}
html[data-theme="dark"] .cc-date-guide-matrix tbody th{
    background: var(--cc-surface-subtle);
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-date-guide-matrix tbody td.cc-date-guide-matrix-cell{
    background: var(--cc-surface-muted);
    color: var(--cc-date-guide-text);
}
html[data-theme="dark"] .cc-date-guide-matrix tbody tr:nth-child(even) td.cc-date-guide-matrix-cell{
    background: var(--cc-surface-raised);
}
html[data-theme="dark"] .cc-date-guide-matrix-row-total{
    background: var(--cc-surface-subtle);
    color: var(--cc-copper-dark);
    border-left-color: var(--cc-border);
}
html[data-theme="dark"] .cc-date-guide-matrix-totals-row th,
html[data-theme="dark"] .cc-date-guide-matrix-totals-row td{
    background: #3a342c;
    color: var(--cc-heading-text);
    border-top-color: var(--cc-copper);
}
html[data-theme="dark"] .cc-date-guide-matrix-row-total.cc-date-guide-matrix-grand-total{
    background: var(--cc-copper-dark);
    color: #fff;
    border-left-color: #6d4520;
}
html[data-theme="dark"] .cc-date-guide-years-table thead th{
    background: var(--cc-surface-subtle);
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-date-guide-years-table td.cc-date-guide-years-cell--link .cc-date-guide-year-link{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-date-guide-years-table td.cc-date-guide-years-cell--link .cc-date-guide-year-link:hover{
    background: var(--cc-surface-raised);
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-date-guide-matrix td.cc-date-guide-matrix-cell--link .cc-date-guide-matrix-cell-link{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-date-guide-matrix td.cc-date-guide-matrix-cell--link .cc-date-guide-matrix-cell-link:hover{
    background: var(--cc-surface-raised);
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-info-tooltip-bubble{
    color: var(--cc-text);
    background: var(--cc-surface-raised);
    border-color: var(--cc-border);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .cc-info-tooltip--on-dark .cc-info-tooltip-trigger{
    color: rgba(250, 248, 244, 0.9);
}
html[data-theme="dark"] .cc-info-tooltip--on-dark .cc-info-tooltip-trigger:hover,
html[data-theme="dark"] .cc-info-tooltip--on-dark .cc-info-tooltip-trigger:focus-visible{
    background: rgba(250, 248, 244, 0.14);
}
html[data-theme="dark"] .cc-date-guide-zero{
    color: #8a8278;
}
html[data-theme="dark"] .cc-date-guide-na{
    color: #9a9288;
}
html[data-theme="dark"] .cc-design-variety-eyebrow a{
    color: var(--cc-copper-dark);
}
/* Mint mark type hub + detail — standard dark surfaces (not light folder tabs) */
html[data-theme="dark"] .cc-mint-mark-style-index-card{
    --mmt-folder-border: var(--cc-border);
    --mmt-folder-bg: var(--cc-surface-muted);
}
html[data-theme="dark"] .cc-mint-mark-style-panel{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] .cc-mint-mark-style-tab{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-mint-mark-style-tab::after{
    background: var(--cc-surface-muted);
}
html[data-theme="dark"] .cc-mint-mark-style-tab-label,
html[data-theme="dark"] .cc-mint-mark-style-group-title,
html[data-theme="dark"] .cc-mint-mark-style-subtitle,
html[data-theme="dark"] .cc-mint-mark-style-catalog-head h2{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-mint-mark-style-body-text{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-mint-mark-style-image,
html[data-theme="dark"] .cc-mint-mark-style-media-placeholder{
    border-color: var(--cc-border);
    background: var(--cc-surface-subtle);
}
html[data-theme="dark"] .cc-mint-mark-style-scope-badge,
html[data-theme="dark"] a.cc-mint-mark-style-scope-badge,
html[data-theme="dark"] a.cc-mint-mark-style-scope-badge:link,
html[data-theme="dark"] a.cc-mint-mark-style-scope-badge:visited,
html[data-theme="dark"] a.cc-mint-mark-style-scope-badge:hover,
html[data-theme="dark"] a.cc-mint-mark-style-scope-badge:active,
html[data-theme="dark"] a.cc-mint-mark-style-scope-badge:focus-visible{
    color: #fff !important;
}
html[data-theme="dark"] .cc-design-type-gallery-trigger{
    border-color: var(--cc-border);
    background: var(--cc-surface-subtle);
}
html[data-theme="dark"] .cc-design-type-gallery-trigger img{
    background: var(--cc-surface-subtle);
}
html[data-theme="dark"] .cc-design-type-gallery-caption{
    color: var(--cc-text-muted, #b8aea0);
}
html[data-theme="dark"] .cc-mint-mark-style-catalog{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-mint-mark-style-hub-jump a{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-date-guide-accordion{
    background: var(--cc-surface);
    border-color: var(--cc-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] .cc-date-guide-accordion-summary{
    background: linear-gradient(180deg, var(--cc-surface-muted) 0%, var(--cc-surface-subtle, var(--cc-surface-muted)) 100%);
}
html[data-theme="dark"] .cc-date-guide-accordion[open] > .cc-date-guide-accordion-summary{
    border-bottom-color: var(--cc-border);
}
html[data-theme="dark"] .cc-date-guide-accordion-title{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-date-guide-accordion-meta{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-date-guide-accordion-toggle{
    border-color: var(--cc-border);
    background: var(--cc-surface);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-date-guide-chapter-title{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-date-guide-chapter-years{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-date-guide-jump{
    background: var(--cc-surface-muted, #2a241c);
    border-color: var(--cc-border, #3d3428);
}
html[data-theme="dark"] .cc-date-guide-jump label{
    color: var(--cc-copper, #c4894a);
}
html[data-theme="dark"] .cc-date-guide-jump select{
    background: var(--cc-surface, #1e1a14);
    border-color: var(--cc-border-input, #5a4d3c);
    color: var(--cc-text, #e8e2d8);
}
html[data-theme="dark"] .cc-date-guide-chapter{
    background: var(--cc-surface);
    border-color: var(--cc-border);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .cc-date-guide-chapter-summary{
    background: linear-gradient(180deg, #3a3228 0%, #2a241c 100%);
    border-bottom-color: transparent;
}
html[data-theme="dark"] .cc-date-guide-chapter[open] > .cc-date-guide-chapter-summary{
    border-bottom-color: var(--cc-border);
}
html[data-theme="dark"] .cc-date-guide-chapter-body{
    background: var(--cc-surface);
}
html[data-theme="dark"] .cc-date-guide-chapter-toggle{
    background: var(--cc-surface);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-date-guide-chapter-overview-label{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-date-guide-chapter-overview-body p{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-date-guide-decades-label,
html[data-theme="dark"] .cc-date-guide-decades-links{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-date-guide-decades-sep{
    color: var(--cc-border);
}
html[data-theme="dark"] .cc-date-guide-decade-link{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-date-guide-decade-link:hover,
html[data-theme="dark"] .cc-date-guide-decade-link.is-active{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-date-guide-decade-heading{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-date-guide-accordion-body{
    background: var(--cc-surface);
}
html[data-theme="dark"] .cc-search-design-variety-edu{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-search-design-variety-edu a{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-date-guide-faq-item{
    background: var(--cc-surface);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-date-guide-faq-item summary{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-date-guide-faq-item p{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-date-guide-facts-item{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-date-guide-facts-item dt{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-date-guide-compare-banner{
    background: #2a2418;
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-key-date-tier-toggle-btn,
html[data-theme="dark"] .cc-key-date-tier-toggle-btn:visited{
    background: var(--cc-surface);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-key-date-tier-toggle-btn:hover,
html[data-theme="dark"] .cc-key-date-tier-toggle-btn:focus-visible{
    border-color: var(--cc-copper);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-key-date-tier-toggle-btn.is-active,
html[data-theme="dark"] .cc-key-date-tier-toggle-btn.is-active:visited,
html[data-theme="dark"] .cc-key-date-tier-toggle-btn.is-active:hover,
html[data-theme="dark"] .cc-key-date-tier-toggle-btn.is-active:focus-visible{
    background: #6b4220;
    border-color: #8a5528;
    color: #fff;
}
html[data-theme="dark"] .cc-key-date-tier-badge--key{
    background: #3a2f1f;
    color: #f0d9b5;
}
html[data-theme="dark"] .cc-key-date-tier-badge--semi_key{
    background: #243028;
    color: #c5dcc8;
}
html[data-theme="dark"] .cc-key-date-tier-badge--major_error,
html[data-theme="dark"] .cc-key-date-tier-badge--major_errors{
    background: #2c2438;
    color: #d8cce8;
}
html[data-theme="dark"] .cc-key-date-tier-badge--major_variety{
    background: #1f2a38;
    color: #c8d8e8;
}
html[data-theme="dark"] .cc-date-guide-landing-table thead th{
    background: var(--cc-surface-muted);
}
html[data-theme="dark"] .cc-date-guide-landing-table th,
html[data-theme="dark"] .cc-date-guide-landing-table td{
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-value-guide-accordion{
    background: var(--cc-surface);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .cc-value-guide-accordion--variety,
html[data-theme="dark"] .cc-value-guide-accordion--series{
    border-color: var(--cc-copper);
}
html[data-theme="dark"] .cc-value-guide-accordion-body{
    border-top-color: var(--cc-border);
    background: var(--cc-surface);
}
html[data-theme="dark"] .cc-value-guide-accordion-title,
html[data-theme="dark"] .cc-value-guide-accordion-count,
html[data-theme="dark"] .cc-value-guide-accordion-meta,
html[data-theme="dark"] .cc-value-guide-accordion-summary::before{
    color: #fff;
}
html[data-theme="dark"] .cc-value-guide-panel-lead{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-search-hero-badge--peer{
    background: var(--cc-surface);
    color: var(--cc-copper);
    border-color: var(--cc-border-strong, var(--cc-border));
}
html[data-theme="dark"] .cc-value-guide-chooser-card{
    background: linear-gradient(180deg, var(--cc-surface) 0%, var(--cc-surface-muted) 100%);
    border-color: var(--cc-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] .cc-value-guide-chooser-card:hover,
html[data-theme="dark"] .cc-value-guide-chooser-card:focus-visible{
    border-color: var(--cc-copper);
}
html[data-theme="dark"] .cc-value-guide-chooser-title{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-value-guide-chooser-desc{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-mint-mark-style-mint-accordion{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] .cc-design-type-side-overview{
    color: #ddd4c8;
}
html[data-theme="dark"] .cc-mint-mark-style-mint-accordion-body{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-mint-mark-style-mint-accordion-meta,
html[data-theme="dark"] .cc-mint-mark-style-hub-years{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-mint-mark-style-hub-link{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-mint-mark-style-hub-link:hover,
html[data-theme="dark"] .cc-mint-mark-style-hub-link:focus-visible{
    border-color: var(--cc-copper);
}
html[data-theme="dark"] .cc-mint-mark-style-hub-thumb{
    border-bottom-color: var(--cc-border);
    background: var(--cc-surface-subtle);
}
html[data-theme="dark"] .cc-mint-mark-style-hub-thumb-placeholder{
    background: var(--cc-surface-subtle);
}
/* FAQ ΓÇö dark gray-brown boxes */
html[data-theme="dark"] .cc-help-faq-item{
    background: var(--cc-panel-brown);
    border-color: var(--cc-panel-brown-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-help-faq-question{
    color: #ece6dc;
}
html[data-theme="dark"] .cc-help-faq-answer,
html[data-theme="dark"] .cc-help-faq-answer.cc-learn-article-body{
    color: var(--cc-date-guide-text);
}
html[data-theme="dark"] .cc-help-section-title{
    color: var(--cc-copper);
    border-bottom-color: var(--cc-border);
}
html[data-theme="dark"] .cc-help-home-tour-callout{
    background: linear-gradient(135deg, rgba(201, 162, 39, 0.14) 0%, var(--cc-surface-muted) 100%);
    border-color: rgba(201, 162, 39, 0.4);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-help-home-tour-callout-title{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-help-home-tour-callout-text{
    color: var(--cc-date-guide-text-muted);
}
html[data-theme="dark"] .cc-help-directory-card{
    background: var(--cc-panel-brown);
    border-color: var(--cc-panel-brown-border);
    box-shadow: none;
}
html[data-theme="dark"] .cc-help-directory-card-title,
html[data-theme="dark"] .cc-help-still-need-title{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-help-directory-card-intro,
html[data-theme="dark"] .cc-help-still-need-intro{
    color: var(--cc-date-guide-text-muted);
}
html[data-theme="dark"] .cc-help-still-need{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-help-hub-quick,
html[data-theme="dark"] .cc-help-hub-inline-guide,
html[data-theme="dark"] .cc-help-hub-filter-note{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-help-hub-quick-link:not([class*="--color-"]),
html[data-theme="dark"] .cc-help-hub-item:not([class*="--color-"]),
html[data-theme="dark"] .cc-help-hub-term-pill{
    background: var(--cc-panel-brown);
    border-color: var(--cc-panel-brown-border);
    color: var(--cc-text);
}
html[data-theme="dark"] a.cc-help-hub-item:not([class*="--color-"]):hover,
html[data-theme="dark"] .cc-help-hub-quick-link:not([class*="--color-"]):hover,
html[data-theme="dark"] .cc-help-hub-term-pill:hover{
    border-color: var(--cc-copper);
}
html[data-theme="dark"] .cc-help-hub-item--placeholder,
html[data-theme="dark"] .cc-help-hub-item--needs_content,
html[data-theme="dark"] .cc-help-hub-checklist{
    background: rgba(201, 162, 39, 0.08);
    border-color: rgba(201, 162, 39, 0.45);
}
html[data-theme="dark"] .cc-help-hub-quick-link-hint,
html[data-theme="dark"] .cc-help-hub-section-intro,
html[data-theme="dark"] .cc-help-hub-lead,
html[data-theme="dark"] .cc-help-hub-item-when,
html[data-theme="dark"] .cc-help-hub-item-status,
html[data-theme="dark"] .cc-help-hub-checklist-intro,
html[data-theme="dark"] .cc-help-hub-checklist-item p,
html[data-theme="dark"] .cc-help-hub-search-meta,
html[data-theme="dark"] .cc-help-hub-topic-count,
html[data-theme="dark"] .cc-help-hub-item-time{
    color: var(--cc-date-guide-text-muted);
}
html[data-theme="dark"] .cc-help-hub-section-title,
html[data-theme="dark"] .cc-help-hub-checklist-title{
    color: var(--cc-copper);
    border-bottom-color: var(--cc-border);
}
html[data-theme="dark"] .cc-help-hub-item-status--placeholder .cc-help-hub-status-badge{
    background: rgba(255, 243, 205, 0.15);
    color: #e8c96a;
}
html[data-theme="dark"] .cc-help-hub-item-status--needs .cc-help-hub-status-badge,
html[data-theme="dark"] .cc-help-hub-checklist-status{
    background: rgba(253, 232, 200, 0.12);
    color: #e0b56a;
}
/* Glossary ΓÇö full dark theme */
html[data-theme="dark"] .cc-glossary-search-summary{
    color: var(--cc-date-guide-text-muted);
}
html[data-theme="dark"] .cc-glossary-layout{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-glossary-index{
    background: var(--cc-date-guide-panel-bg);
    border-right-color: var(--cc-border);
}
html[data-theme="dark"] .cc-glossary-az--sidebar{
    border-bottom-color: var(--cc-border);
}
html[data-theme="dark"] .cc-glossary-az-link{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-glossary-az-link:hover{
    background: var(--cc-surface-subtle);
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-glossary-letter-label{
    color: var(--cc-date-guide-text-muted);
}
html[data-theme="dark"] .cc-glossary-term-link{
    color: var(--cc-date-guide-text);
}
html[data-theme="dark"] .cc-glossary-term-link:hover{
    background: var(--cc-surface-subtle);
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-glossary-term-link.is-active{
    background: var(--cc-copper-dark);
    color: #fff;
}
html[data-theme="dark"] .cc-glossary-panel{
    background: var(--cc-surface-muted);
    color: var(--cc-date-guide-text);
}
html[data-theme="dark"] .cc-glossary-panel-empty{
    color: var(--cc-date-guide-text-muted);
}
html[data-theme="dark"] .cc-glossary-panel-header h2{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-glossary-panel-meta{
    color: var(--cc-date-guide-text-muted);
}
html[data-theme="dark"] .cc-glossary-panel-body{
    color: var(--cc-date-guide-text);
}
html[data-theme="dark"] .cc-glossary-panel-body a{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-glossary-panel-body a:hover{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-glossary-panel-figure img{
    border-color: var(--cc-border);
    background: var(--cc-surface-subtle);
}
html[data-theme="dark"] .cc-search-highlight{
    background: #5a4a28;
    color: #fff;
}
html[data-theme="dark"] .cc-glossary-term-link.is-active .cc-search-highlight{
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}
/* Cookie consent */
html[data-theme="dark"] .cc-cookie-consent{
    background: rgba(18, 16, 14, 0.96);
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-cookie-consent-inner{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-cookie-consent-decline{
    background: var(--cc-surface-subtle);
    border-color: var(--cc-border);
    color: #fff;
}
html[data-theme="dark"] .cc-cookie-consent-decline:hover{
    color: #fff;
    border-color: #fff;
}
/* Footer ΓÇö deep navy */
html[data-theme="dark"] .cc-footer{
    background: var(--cc-footer-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
}
/* Ad placeholders / house ads */
html[data-theme="dark"] .cc-ad-slot{
    background: var(--cc-surface-subtle);
    border-color: var(--cc-border);
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-ad-slot--has-house-ad{
    background: transparent;
    border-color: transparent;
}
html[data-theme="dark"] .ad-house{
    border-color: rgba(196, 90, 26, 0.55);
}
/* Grading / anatomy guide public pages */
html[data-theme="dark"] .cc-grading-guide-grade,
html[data-theme="dark"] .cc-anatomy-guide-section,
html[data-theme="dark"] .cc-anatomy-guide-item{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-grading-interactive{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-grading-rotator-nav{
    background: var(--cc-surface);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-grading-guide-page{
    --cc-grading-coin-shadow:
        drop-shadow(0 0 5px rgba(0, 0, 0, 0.504))
        drop-shadow(0 0 12px rgba(0, 0, 0, 0.6))
        drop-shadow(0 0 28px rgba(0, 0, 0, 0.16));
    --cc-grading-magnifier-shadow:
        0 0 5px rgba(0, 0, 0, 0.504),
        0 0 12px rgba(0, 0, 0, 0.6);
}
html[data-theme="dark"] .cc-grading-rotator-coin .cc-grading-guide-placeholder{
    background: transparent;
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-grading-details-panel--obverse{
    background: rgba(183, 125, 74, 0.16);
}
html[data-theme="dark"] .cc-grading-details-panel--reverse{
    background: rgba(96, 128, 108, 0.18);
}
html[data-theme="dark"] .cc-grading-details-panel--notes{
    background: rgba(140, 120, 90, 0.14);
}
html[data-theme="dark"] .cc-grading-grade-btn{
    background: var(--cc-surface);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-grading-grade-btn.is-active{
    background: var(--cc-copper-dark);
    border-color: var(--cc-copper);
    color: #fff;
}
/* Home trust bar ΓÇö boxes keep their own colors; strip background darkens via variable */

html[data-theme="dark"] .cc-footer-partner-logos{
    background: var(--cc-surface);
    border-bottom-color: rgba(255, 255, 255, 0.12);
}
/* Images with white bleed ΓÇö subtle frame in dark mode */
html[data-theme="dark"] .cc-article-body img,
html[data-theme="dark"] .cc-learn-article-body img,
html[data-theme="dark"] .cc-die-stage-panel img,
html[data-theme="dark"] .cc-home-news-card-image img{
    border: 1px solid var(--cc-border);
}
html[data-theme="dark"] .cc-not-found-planchet{
    background: radial-gradient(circle at 32% 28%, #5a4638 0%, #3d2f24 45%, #241c16 100%);
    box-shadow:
        inset 0 2px 8px rgba(255, 255, 255, 0.08),
        inset 0 -4px 12px rgba(0, 0, 0, 0.35),
        0 6px 20px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .cc-not-found-planchet-inner{
    border-color: rgba(212, 160, 98, 0.45);
    background: rgba(0, 0, 0, 0.15);
}
html[data-theme="dark"] .cc-not-found-mark{
    color: rgba(212, 160, 98, 0.85);
    text-shadow: none;
}
html[data-theme="dark"] .cc-not-found-code,
html[data-theme="dark"] .cc-not-found-title,
html[data-theme="dark"] .cc-not-found-links-label{
    color: #e8c9a0;
}
html[data-theme="dark"] .cc-not-found-lead{
    color: rgba(243, 235, 224, 0.82);
}
html[data-theme="dark"] .cc-not-found-path code{
    background: var(--cc-surface-subtle);
    border-color: var(--cc-border);
    color: rgba(243, 235, 224, 0.88);
}
/* My Coppercoins app shell — scoped night tokens + component overrides */
html[data-theme="dark"] .cc-page-myc-shell{
    --cc-myc-header-bg-top: #4a3828;
    --cc-myc-header-bg: #3d2e22;
    --cc-myc-tab-idle-bg: #4a3628;
    --cc-myc-tab-border: #6a4828;
    --cc-myc-header-border: #5a3818;
    --cc-myc-content-bg: #222018;
    --cc-myc-panel-bg: #2f2a24;
    --cc-myc-row-bg: #2a2520;
    --cc-myc-row-hover: #353028;
    --cc-myc-row-selected: color-mix(in srgb, var(--cc-copper) 18%, #2a2520);
    --cc-surface: #222018;
    --cc-surface-subtle: #2a2520;
    --cc-surface-muted: #2f2a24;
    --cc-surface-raised: #353028;
    --cc-border: #4a4038;
    --cc-border-muted: #3a342c;
    --cc-border-input: #6a6258;
    --cc-text: #ece6dc;
    --cc-text-muted: #a89a8a;
    --cc-muted: #9a8f82;
    --cc-nav-text: #ece6dc;
    --cc-copper-dark: #d4a574;
    --cc-myc-xref-orange: color-mix(in srgb, color-mix(in srgb, var(--cc-copper) 72%, #f5efe4) 72%, #f5efe4);
    --cc-table-head-bg: #3a342c;
    --cc-table-row-odd: var(--cc-myc-row-bg);
    --cc-table-row-even: var(--cc-surface-raised);
    --cc-table-row-hover: var(--cc-myc-row-hover);
    --cc-table-row-selected: var(--cc-myc-row-selected);
    --cc-table-wrap-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
    --cc-input-surface: var(--cc-surface-raised);
    --cc-input-text: var(--cc-text);
    --cc-input-bg: var(--cc-input-surface);
    --cc-input-color: var(--cc-input-text);
    background: var(--cc-bg);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-myc-shell{
    background: var(--cc-bg);
}
html[data-theme="dark"] .cc-myc-catalog-bar,
html[data-theme="dark"] .cc-community-catalog-bar,
html[data-theme="dark"] .cc-member-app-catalog-bar{
    background: var(--cc-nav-bg);
    border-bottom-color: var(--cc-copper);
    color: var(--cc-nav-text);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25);
}
html[data-theme="dark"] .cc-member-app-catalog-nav a,
html[data-theme="dark"] .cc-member-app-catalog-nav .cc-nav-submenu-toggle{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-member-app-catalog-nav a:hover,
html[data-theme="dark"] .cc-member-app-catalog-nav .cc-nav-submenu-toggle:hover{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-member-app-catalog-nav a.is-current,
html[data-theme="dark"] .cc-member-app-catalog-nav a[aria-current="page"],
html[data-theme="dark"] .cc-member-app-catalog-nav .cc-nav-has-submenu.is-current > .cc-nav-submenu-toggle,
html[data-theme="dark"] .cc-member-app-catalog-nav a.is-current:hover,
html[data-theme="dark"] .cc-member-app-catalog-nav a[aria-current="page"]:hover,
html[data-theme="dark"] .cc-member-app-catalog-nav .cc-nav-has-submenu.is-current > .cc-nav-submenu-toggle:hover{
    color: #fff;
}
html[data-theme="dark"] .cc-member-app-catalog-nav .cc-nav-submenu{
    background: var(--cc-nav-bg, #1a1a1a);
    border-color: #444;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .cc-member-app-catalog-nav .cc-nav-submenu a:hover{
    background: #2a2a2a;
}
html[data-theme="dark"] .cc-myc-header{
    background: linear-gradient(
        180deg,
        var(--cc-myc-header-bg-top) 0%,
        var(--cc-myc-header-bg) 55%,
        color-mix(in srgb, var(--cc-myc-header-bg) 70%, #1a1714) 100%
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 2px 10px rgba(0, 0, 0, 0.35);
    border-bottom-color: var(--cc-myc-header-border, var(--cc-copper));
}
html[data-theme="dark"] .cc-myc-header-session{
    border-left-color: color-mix(in srgb, var(--cc-copper) 35%, transparent);
}
html[data-theme="dark"] .cc-myc-header-end .cc-header-profile-link,
html[data-theme="dark"] .cc-myc-header-end .cc-header-profile-link .cc-user-name-text{
    color: #ece6dc;
}
html[data-theme="dark"] .cc-myc-header-end .cc-header-profile-link:hover .cc-user-name-text{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-myc-header-end .cc-header-logout button{
    background: none;
    border: 1px solid var(--cc-border);
    color: #c8bfb2;
}
html[data-theme="dark"] .cc-myc-header-end .cc-header-logout button:hover{
    background: none;
    color: #f5efe4;
    border-color: var(--cc-copper);
}
html[data-theme="dark"] .cc-myc-tab{
    color: #d8cfc4;
}
html[data-theme="dark"] .cc-myc-tab:hover{
    background: color-mix(in srgb, var(--cc-myc-tab-idle-bg) 75%, #ece6dc);
    color: #f5efe4;
}
html[data-theme="dark"] .cc-myc-tab.is-active{
    color: var(--cc-copper-dark);
    box-shadow: inset 0 3px 0 var(--cc-copper);
}
@media (max-width: 768px){
    html[data-theme="dark"] .cc-myc-nav.is-open{
        background: color-mix(in srgb, var(--cc-myc-tab-idle-bg) 94%, #000);
        box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.28);
    }
    html[data-theme="dark"] .cc-myc-tab.is-active{
        box-shadow: none;
        border-left-color: var(--cc-copper);
        color: var(--cc-copper-dark);
    }
    html[data-theme="dark"] .cc-page-myc-shell .cc-myc-nav-toggle{
        border-color: color-mix(in srgb, var(--cc-myc-tab-border) 80%, #fff);
        background: color-mix(in srgb, var(--cc-myc-tab-idle-bg) 90%, #000);
    }
    html[data-theme="dark"] .cc-myc-header-end .cc-header-logout button{
        min-height: 2.35rem;
        padding: 0.35rem 0.7rem;
        font-size: 0.78rem;
        background: none;
        border: 1px solid var(--cc-border);
        border-radius: 3px;
        color: #c8bfb2;
    }
    html[data-theme="dark"] .cc-myc-header-end .cc-header-logout button:hover{
        background: none;
        color: #f5efe4;
        border-color: var(--cc-copper);
    }
}
html[data-theme="dark"] .cc-myc-main{
    background: var(--cc-bg);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-myc-content{
    background: var(--cc-myc-content-bg);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-myc-footer{
    border-top-color: var(--cc-border);
    color: var(--cc-text-muted);
    background: var(--cc-myc-content-bg);
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .cc-myc-footer a{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-myc-footer a:hover{
    color: #f0dcc8;
}
html[data-theme="dark"] .cc-my-cc-import-template-panel{
    border-color: var(--cc-copper);
    background: color-mix(in srgb, var(--cc-copper) 18%, var(--cc-surface-muted));
}
html[data-theme="dark"] .cc-my-cc-import-instructions{
    background: color-mix(in srgb, var(--cc-copper) 10%, var(--cc-surface-muted));
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-my-cc-import-failures{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-my-cc-import-upload-panel{
    background: var(--cc-surface);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-sticky-form-bar{
    border-top-color: var(--cc-copper-dark);
    background: var(--cc-myc-content-bg);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .cc-sticky-form-bar,
html[data-theme="dark"] .cc-die-values-sticky-bar{
    border-top-color: var(--cc-copper-dark);
    background: var(--cc-surface);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .cc-die-values-flagged-cell{
    background: rgba(212, 146, 42, 0.18);
}
html[data-theme="dark"] .cc-die-values-jump-tag{
    color: #e8b96a;
}
html[data-theme="dark"] .cc-scroll-table-panel{
    background: var(--cc-surface-raised);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-scroll-table-panel .cc-review-table thead th,
html[data-theme="dark"] .cc-scroll-table-panel .cc-data-table thead th,
html[data-theme="dark"] .cc-table-sticky-head .cc-review-table thead th,
html[data-theme="dark"] .cc-table-sticky-head .cc-data-table thead th{
    background: var(--cc-table-head-bg);
    box-shadow: 0 1px 0 var(--cc-border), 0 4px 12px -4px rgba(0, 0, 0, 0.4);
}
html[data-theme="dark"] .cc-page-my-coppercoins .cc-myc-page-header h1,
html[data-theme="dark"] .cc-page-my-coppercoins-item-edit .cc-myc-page-header h1{
    color: #f0ebe4;
}
html[data-theme="dark"] .cc-page-my-coppercoins .cc-myc-page-header .cc-lead,
html[data-theme="dark"] .cc-page-my-coppercoins-item-edit .cc-myc-page-header .cc-lead,
html[data-theme="dark"] .cc-page-my-coppercoins-item-edit .cc-lead-muted{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-section h2{
    color: #f0ebe4;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-myc-dashboard-title{
    color: #f0ebe4;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-myc-dashboard-stat{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-myc-dashboard-stat-number{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-myc-dashboard-stat--alert{
    background: color-mix(in srgb, #1e3550 40%, var(--cc-surface-muted));
    border-color: #3a7ec8;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-section > .cc-lead-muted,
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-coins-summary,
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-coins-empty,
html[data-theme="dark"] .cc-page-myc-shell .cc-form-help,
html[data-theme="dark"] .cc-page-myc-shell .cc-lead-muted{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-coins-table .cc-review-table-sortable a{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-coin-die,
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-coin-die-link{
    color: #f0ebe4;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-coin-die-link:hover{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-coin-sets-cell{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-coin-diff--pos{
    color: #8fd49a;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-coin-diff--neg{
    color: #f0a090;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-coin-row--replacement td{
    background: color-mix(in srgb, #1e3550 55%, transparent);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-coin-replacement-mark{
    color: #e8f2ff;
    background: #3a7ec8;
    border-color: #5a9ae0;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-action-panel{
    background: var(--cc-myc-panel-bg);
    border-color: var(--cc-myc-tab-border);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.04) inset;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-action-panel-modes{
    border-bottom-color: var(--cc-border);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-action-mode{
    background: var(--cc-surface-subtle);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-action-mode.is-active{
    background: var(--cc-copper-dark);
    border-color: var(--cc-copper);
    color: #1a1714;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-action-mode:disabled{
    color: #6a6258;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-action-panel-body label,
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-action-die{
    color: #f0ebe4;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-action-link{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-action-link:hover{
    color: #f0dcc8;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-action-sets{
    background: var(--cc-surface-subtle);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-action-sets legend{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-action-set{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-action-delete{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-inline-form,
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-set-edit-grid input[type="text"],
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-set-name-input,
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-set-target-select{
    background: var(--cc-input-bg);
    border-color: var(--cc-border-input);
    color: var(--cc-input-color);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-set-target-select{
    color-scheme: dark;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-email-toggle.is-on{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-badge-muted{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-report-picker{
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--cc-border-muted);
    border-radius: 0;
    padding: 0 0 0.5rem;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-report-actions .cc-my-cc-report-picker:last-child{
    border-bottom: 0;
    padding-bottom: 0;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-collection-search-form{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-collection-search-mints,
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-collection-search-actions{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-die-collection-add-form,
html[data-theme="dark"] .cc-page-myc-shell .cc-die-detail-collection{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-die-detail-box-title{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-my-cc-modal-panel{
    background: var(--cc-myc-panel-bg);
    border-color: var(--cc-myc-tab-border);
    color: var(--cc-text);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}
html[data-theme="dark"] .cc-my-cc-modal-close{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-my-cc-modal-close:hover{
    color: #f0ebe4;
}
html[data-theme="dark"] .cc-guest-account-modal-panel{
    background: var(--cc-surface, #1c1814);
    border-color: rgba(212, 138, 69, 0.45);
    color: var(--cc-text);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}
html[data-theme="dark"] .cc-guest-account-modal-close{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-guest-account-modal-close:hover{
    color: #f0ebe4;
}
html[data-theme="dark"] .cc-guest-account-modal-title{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-guest-account-modal-intro{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-membership-upgrade-banner{
    background: linear-gradient(135deg, rgba(212, 138, 69, 0.28) 0%, rgba(40, 32, 24, 0.95) 55%, var(--cc-myc-panel-bg, #1c1814) 100%);
    border-color: var(--cc-copper);
}
html[data-theme="dark"] .cc-membership-upgrade-banner-title{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-my-cc-modal-actions--upgrade .cc-link-btn{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-review-table-wrap{
    overflow: hidden;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-sets-table-wrap{
    overflow: visible;
}
@media (max-width: 767px){
    html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-set-row{
        background: var(--cc-myc-row-bg);
        border-color: var(--cc-border);
    }
    html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-set-row td[data-label="Actions"]{
        border-top-color: var(--cc-border-muted);
    }
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-coins-pagination .pagination{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-coins-pagination .pagination a,
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-coins-pagination .pagination span{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-form-error{
    color: #f0a8a8;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-link-btn-danger{
    color: #f0a0a0;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-link-btn-danger:hover{
    color: #ffc8c8;
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-bulk-add-sets{
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-icon-btn{
    background: var(--cc-myc-row-bg);
    border-color: var(--cc-border);
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-icon-btn:hover,
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-icon-btn:focus-visible{
    background: var(--cc-myc-row-hover);
    border-color: var(--cc-copper);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-icon-btn--danger{
    color: #f0a0a0;
    border-color: color-mix(in srgb, #f0a0a0 35%, var(--cc-border));
    background: color-mix(in srgb, #a32f2f 18%, var(--cc-myc-row-bg));
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-icon-btn--danger:hover,
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-icon-btn--danger:focus-visible{
    color: #ffc8c8;
    border-color: #f0a0a0;
    background: color-mix(in srgb, #a32f2f 28%, var(--cc-myc-row-bg));
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-bulk-add-table select,
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-bulk-add-cost{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-myc-shell .cc-my-cc-bulk-add-xref{
    color: var(--cc-myc-xref-orange);
}
html[data-theme="dark"] .cc-guide-figure img{
    border-color: var(--cc-border);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}
html[data-theme="dark"] .cc-guide-figure figcaption{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-suggestion-box-panel-inner{
    background: var(--cc-surface);
    border-color: var(--cc-border);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.45);
}
html[data-theme="dark"] .cc-suggestion-box-title{
    color: #f0ebe4;
}
html[data-theme="dark"] .cc-suggestion-box-launcher{
    border-color: #5a9ae0;
}

html[data-theme="dark"] .cc-page-community-shell{
    --cc-community-header-bg-top: #344a38;
    --cc-community-header-bg: #2a3d30;
    --cc-community-header-bg-bottom: #1f2e24;
    --cc-community-tab-idle-bg: #3a5540;
    --cc-community-tab-border: #4a6b52;
    --cc-community-header-border: #4a6b52;
    --cc-community-tab-idle-text: #e4ebe4;
    --cc-community-tab-active-text: #b8cfb8;
    --cc-community-content-bg: #1e1b17;
    --cc-community-panel-bg: #26221d;
    --cc-community-panel-border: #3d362e;
    --cc-community-accent: #6b9a6e;
    --cc-community-accent-soft: #2a3328;
    --cc-community-group-header-bg: linear-gradient(135deg, #344a38 0%, #1f2e24 100%);
    --cc-community-group-header-border: #4a6b52;
    --cc-community-group-header-text: #fff;
    --cc-community-group-header-muted: #a8bca8;
    --cc-community-row-bg: #2a3328;
    --cc-community-row-alt-bg: #323d30;
    --cc-community-table-head-bg: #2f3e33;
    --cc-community-table-head-text: #e2f0d9;
    --cc-community-welcome-bg: linear-gradient(135deg, #2a3328 0%, #323d30 100%);
    --cc-community-welcome-border: #3d4a3a;
    --cc-community-panel-border: #3d4a3a;
    --cc-community-post-border: #3d4a3a;
    --cc-community-post-header-bg: #2f3e33;
    --cc-community-post-header-text: #e2f0d9;
    --cc-community-post-header-muted: #a8bca8;
    background: var(--cc-bg);
}
html[data-theme="dark"] .cc-community-welcome-title,
html[data-theme="dark"] .cc-community-page-header h1,
html[data-theme="dark"] .cc-community-reply-heading,
html[data-theme="dark"] .cc-community-forum-stat-num{color:#e8dfd0}
html[data-theme="dark"] .cc-community-forum-group-title{color:var(--cc-community-group-header-text)}
html[data-theme="dark"] .cc-community-forum-group-intro{color:var(--cc-community-group-header-muted)}
html[data-theme="dark"] .cc-community-welcome-lead,
html[data-theme="dark"] .cc-community-welcome-note,
html[data-theme="dark"] .cc-community-forum-desc,
html[data-theme="dark"] .cc-community-page-lead,
html[data-theme="dark"] .cc-community-gate{color:#c4b8a8}
html[data-theme="dark"] .cc-community-forum-table thead th{
    background:var(--cc-community-table-head-bg, #2f3e33);
    color:var(--cc-community-table-head-text, #e2f0d9);
    border-bottom-color:var(--cc-community-table-head-bg, #2f3e33);
}
html[data-theme="dark"] .cc-community-forum-row td,
html[data-theme="dark"] .cc-community-thread-row td,
html[data-theme="dark"] .cc-community-unread-post-row td{border-bottom-color:#322c25}
html[data-theme="dark"] .cc-community-forum-table tbody .cc-community-forum-row:nth-child(odd) td,
html[data-theme="dark"] .cc-community-forum-table tbody .cc-community-thread-row:nth-child(odd) td,
html[data-theme="dark"] .cc-community-forum-table tbody .cc-community-unread-post-row:nth-child(odd) td{
    background:var(--cc-community-row-bg);
}
html[data-theme="dark"] .cc-community-forum-table tbody .cc-community-forum-row:nth-child(even) td,
html[data-theme="dark"] .cc-community-forum-table tbody .cc-community-thread-row:nth-child(even) td,
html[data-theme="dark"] .cc-community-forum-table tbody .cc-community-unread-post-row:nth-child(even) td{
    background:var(--cc-community-row-alt-bg);
}
html[data-theme="dark"] .cc-community-forum-name,
html[data-theme="dark"] .cc-community-thread-subject{color:#b8cfb8}
html[data-theme="dark"] .cc-community-forum-name:hover,
html[data-theme="dark"] .cc-community-thread-subject:hover,
html[data-theme="dark"] .cc-community-forum-last-subject:hover{color:var(--cc-community-accent)}
html[data-theme="dark"] .cc-community-forum-last-subject{color:#d4c8b8}
html[data-theme="dark"] .cc-community-forum-last-meta,
html[data-theme="dark"] .cc-community-thread-started,
html[data-theme="dark"] .cc-community-forum-stat-label{color:#8a7968}
html[data-theme="dark"] .cc-community-post-header{
    background:var(--cc-community-post-header-bg, #2f3e33);
    border-bottom-color:var(--cc-community-post-header-bg, #2f3e33);
    color:var(--cc-community-post-header-text, #e2f0d9);
}
html[data-theme="dark"] .cc-community-post-author .cc-forum-author-name{color:var(--cc-community-post-header-text, #e2f0d9)}
html[data-theme="dark"] .cc-community-post-header .cc-forum-author-post-count,
html[data-theme="dark"] .cc-community-post-header time,
html[data-theme="dark"] .cc-community-post-edited{color:var(--cc-community-post-header-muted, #a8bca8)}
html[data-theme="dark"] .cc-community-post-header .cc-forum-author-avatar{
    border-color:color-mix(in srgb, var(--cc-community-post-header-text, #e2f0d9) 35%, transparent);
    background:color-mix(in srgb, var(--cc-community-post-header-text, #e2f0d9) 12%, var(--cc-community-post-header-bg, #2f3e33));
}
html[data-theme="dark"] .cc-community-post-header .cc-forum-author-avatar--placeholder{
    background:color-mix(in srgb, var(--cc-community-post-header-text, #e2f0d9) 18%, var(--cc-community-post-header-bg, #2f3e33));
    color:var(--cc-community-post-header-text, #e2f0d9);
}
html[data-theme="dark"] .cc-community-post-edit-link{color:var(--cc-community-post-header-text, #e2f0d9)}
html[data-theme="dark"] .cc-community-main{
    background: var(--cc-bg);
}
html[data-theme="dark"] .cc-community-content{
    background: var(--cc-community-content-bg);
}
html[data-theme="dark"] .cc-page-community-shell .cc-community-content > article.cc-community-post:nth-of-type(odd){
    background:var(--cc-community-row-bg);
}
html[data-theme="dark"] .cc-page-community-shell .cc-community-content > article.cc-community-post:nth-of-type(even){
    background:var(--cc-community-row-alt-bg);
}
html[data-theme="dark"] .cc-forum-author-avatar{
    border-color:#4a4035;
    background:#2a241c;
}
html[data-theme="dark"] .cc-forum-author-avatar--placeholder{
    background:linear-gradient(180deg, #3a3228 0%, #2a241c 100%);
    color:#d4c8b8;
}
html[data-theme="dark"] .cc-community-post-body{color:#d4c8b8}
html[data-theme="dark"] .cc-community-like-btn,
html[data-theme="dark"] .cc-community-like-display{color:#a8bca8}
html[data-theme="dark"] .cc-community-like-btn:hover,
html[data-theme="dark"] .cc-community-like-btn:focus-visible{
    color:#e2f0d9;
    background:color-mix(in srgb, var(--cc-community-row-bg) 80%, #1e1b17);
}
html[data-theme="dark"] .cc-community-like-btn.is-liked,
html[data-theme="dark"] .cc-community-like-btn.is-liked:hover,
html[data-theme="dark"] .cc-community-like-btn.is-liked:focus-visible{
    color:#b8cfb8;
    background:color-mix(in srgb, var(--cc-community-accent) 22%, #1e1b17);
}
html[data-theme="dark"] .cc-community-like-tooltip{
    background:#1f2e24;
    color:#e2f0d9;
    border:1px solid #3d4a3a;
}
html[data-theme="dark"] .cc-community-post-signature{
    border-top-color:#4a4035;
    color:#a39484;
}
html[data-theme="dark"] .cc-community-post-signature-body a{color:#9ec4a2}
html[data-theme="dark"] .cc-community-composer{
    border-color:var(--cc-community-panel-border);
    background:var(--cc-community-panel-bg);
}
html[data-theme="dark"] .cc-community-composer-mode{
    border-color:var(--cc-community-panel-border);
    background:var(--cc-community-panel-bg);
}
html[data-theme="dark"] .cc-community-composer-mode-btn{color:#c4b8a8}
html[data-theme="dark"] .cc-community-composer-panel--html .ql-toolbar.ql-snow{
    background:#2a2620;
    border-bottom-color:var(--cc-community-panel-border);
    color:#d4cdc3;
}
html[data-theme="dark"] .cc-community-composer-panel--html .ql-toolbar.ql-snow .ql-stroke,
html[data-theme="dark"] .cc-community-composer-panel--html .ql-toolbar.ql-snow .ql-stroke-miter{
    stroke:#d4cdc3;
}
html[data-theme="dark"] .cc-community-composer-panel--html .ql-toolbar.ql-snow .ql-fill,
html[data-theme="dark"] .cc-community-composer-panel--html .ql-toolbar.ql-snow .ql-stroke.ql-fill{
    fill:#d4cdc3;
}
html[data-theme="dark"] .cc-community-composer-panel--html .ql-toolbar.ql-snow .ql-picker,
html[data-theme="dark"] .cc-community-composer-panel--html .ql-toolbar.ql-snow .ql-picker-label,
html[data-theme="dark"] .cc-community-composer-panel--html .ql-toolbar.ql-snow button{
    color:#d4cdc3;
}
html[data-theme="dark"] .cc-community-composer-panel--html .ql-toolbar.ql-snow button:hover .ql-stroke,
html[data-theme="dark"] .cc-community-composer-panel--html .ql-toolbar.ql-snow button.ql-active .ql-stroke,
html[data-theme="dark"] .cc-community-composer-panel--html .ql-toolbar.ql-snow .ql-picker-label:hover .ql-stroke{
    stroke:var(--cc-copper);
}
html[data-theme="dark"] .cc-community-composer-panel--html .ql-toolbar.ql-snow button:hover .ql-fill,
html[data-theme="dark"] .cc-community-composer-panel--html .ql-toolbar.ql-snow button.ql-active .ql-fill{
    fill:var(--cc-copper);
}
html[data-theme="dark"] .cc-community-composer-panel--html .ql-editor{color:#d4c8b8}
html[data-theme="dark"] .cc-community-composer-fallback-note{
    background:#2e2820;
    color:#c4b8a8;
    border-bottom-color:var(--cc-community-panel-border);
}
html[data-theme="dark"] .cc-community-composer-bbcode{color:#d4c8b8}
html[data-theme="dark"] .cc-community-emoji-picker{
    background:#2a2620;
    border-bottom-color:var(--cc-community-panel-border);
}
html[data-theme="dark"] .cc-community-emoji-picker summary{color:#b8cfb8}
html[data-theme="dark"] .cc-community-emoji-picker-intro{color:#a39484}
html[data-theme="dark"] .cc-community-emoji-picker-intro a{color:#b8cfb8}
html[data-theme="dark"] .cc-community-emoji-insert{
    background:#26221d;
    border-color:#4a4035;
}
html[data-theme="dark"] .cc-community-emoji-insert:hover,
html[data-theme="dark"] .cc-community-emoji-insert:focus-visible{
    border-color:var(--cc-community-accent);
    background:#2e2820;
}
html[data-theme="dark"] .cc-community-bbcode-guide{
    background:#2a2620;
    border-bottom-color:var(--cc-community-panel-border);
}
html[data-theme="dark"] .cc-community-bbcode-guide summary{color:#b8cfb8}
html[data-theme="dark"] .cc-community-bbcode-guide-intro,
html[data-theme="dark"] .cc-community-bbcode-example{color:#a39484}
html[data-theme="dark"] .cc-community-bbcode-insert{
    background:#26221d;
    border-color:#4a4035;
    color:#e8dfd0;
}
html[data-theme="dark"] .cc-community-bbcode-insert:hover{
    border-color:var(--cc-community-accent);
    color:var(--cc-community-accent);
}
html[data-theme="dark"] .cc-community-staff-actions{
    background:var(--cc-community-row-bg);
    border-color:var(--cc-community-post-border);
}
html[data-theme="dark"] .cc-community-staff-post-actions{
    background:color-mix(in srgb, var(--cc-community-row-alt-bg) 55%, transparent);
    border-top-color:var(--cc-community-post-border);
}
html[data-theme="dark"] .cc-page-community-shell .cc-btn-secondary,
html[data-theme="dark"] .cc-page-community-shell a.cc-btn-secondary,
html[data-theme="dark"] .cc-page-community-shell button.cc-btn-secondary{
    background:linear-gradient(180deg, #344a38 0%, #1f2e24 100%);
    border-color:#4a6b52;
    color:#e4ebe4;
}
html[data-theme="dark"] .cc-page-community-shell .cc-btn-secondary:hover,
html[data-theme="dark"] .cc-page-community-shell a.cc-btn-secondary:hover,
html[data-theme="dark"] .cc-page-community-shell button.cc-btn-secondary:hover{
    background:linear-gradient(180deg, #3f5642 0%, #273a2d 100%);
    border-color:#5a8060;
    color:#fff;
}
html[data-theme="dark"] .cc-community-btn-primary{
    background:linear-gradient(180deg, #344a38 0%, #1f2e24 100%);
    border-color:#4a6b52;
    color:#e4ebe4;
}
html[data-theme="dark"] .cc-community-btn-primary:hover{
    background:linear-gradient(180deg, #3f5642 0%, #273a2d 100%);
    border-color:#5a8060;
}
html[data-theme="dark"] .cc-community-post--original{border-color:var(--cc-community-post-header-bg, #2f3e33)}
html[data-theme="dark"] .cc-community-reply-form{
    background:var(--cc-community-welcome-bg);
    border-color:var(--cc-community-welcome-border);
}
html[data-theme="dark"] .cc-community-badge--locked{
    background:#322c25;
    color:#a39484;
    border-color:#4a4035;
}
html[data-theme="dark"] .cc-community-header{
    background: linear-gradient(
        180deg,
        var(--cc-community-header-bg-top) 0%,
        var(--cc-community-header-bg) 55%,
        color-mix(in srgb, var(--cc-community-header-bg) 70%, #0f1419) 100%
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 2px 10px rgba(0, 0, 0, 0.35);
    border-bottom-color: var(--cc-community-header-border);
}
html[data-theme="dark"] .cc-community-header-session{
    border-left-color: color-mix(in srgb, var(--cc-community-header-border) 35%, transparent);
}
html[data-theme="dark"] .cc-community-header-end .cc-header-profile-link,
html[data-theme="dark"] .cc-community-header-end .cc-header-profile-link .cc-user-name-text{
    color: #e4ebe4;
}
html[data-theme="dark"] .cc-community-header-end .cc-header-logout button{
    background: none;
    border: 1px solid var(--cc-border);
    color: #c8d4c8;
}
html[data-theme="dark"] .cc-community-header-end .cc-header-logout button:hover{
    border-color: #8faa88;
    color: #f0f4ee;
}
html[data-theme="dark"] .cc-community-back a{
    color: #9ab89a;
}
/* Team board (staff-only) in community shell */
html[data-theme="dark"] .cc-page-community-shell .cc-admin-board-meta,
html[data-theme="dark"] .cc-page-community-shell .cc-admin-board-post-header{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-page-community-shell .cc-admin-board-post,
html[data-theme="dark"] .cc-page-community-shell .cc-admin-board-reply-form{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-page-community-shell .cc-admin-board-post--original,
html[data-theme="dark"] .cc-page-community-shell .cc-admin-board-table tr.is-unread td{
    background: var(--cc-surface-subtle);
}
html[data-theme="dark"] .cc-page-community-shell .cc-admin-board-unread-pill{
    background: var(--cc-surface-subtle);
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-page-community-shell .cc-admin-board-replies-heading{
    color: var(--cc-copper-dark);
}
/* Credits directory */
html[data-theme="dark"] .cc-credits-tributes,
html[data-theme="dark"] .cc-credits-contributors{
    border-top-color: var(--cc-border);
}
html[data-theme="dark"] .cc-credits-tribute{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-credits-contributor-name{
    color: #ece6dc;
}
html[data-theme="dark"] .cc-credits-contributor-dies,
html[data-theme="dark"] .cc-credits-contributor-dies a,
html[data-theme="dark"] .cc-credits-die-sep{
    color: #8a8074;
}
html[data-theme="dark"] .cc-credits-contributor-dies a:hover,
html[data-theme="dark"] .cc-credits-contributor-dies a:focus-visible{
    color: #f5f0e6;
}
/* Attribution status notice */
html[data-theme="dark"] .cc-attr-status-eyebrow,
html[data-theme="dark"] .cc-attr-status h1,
html[data-theme="dark"] .cc-attr-status-aside h2{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-attr-status-lead,
html[data-theme="dark"] .cc-attr-status-body{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-attr-status-figure figcaption{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-attr-status-figure img{
    border-color: var(--cc-border);
    background: var(--cc-surface-subtle);
}
html[data-theme="dark"] .cc-attr-status-aside{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-info-theft-form{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-info-theft-fieldset legend{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-info-theft-fieldset-note,
html[data-theme="dark"] .cc-info-theft-url-help{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-info-theft-url-help kbd,
html[data-theme="dark"] .cc-info-theft-url-help code{
    border-color: var(--cc-border);
    background: var(--cc-surface);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-home-testimonials{
    background: #000;
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-home-testimonials-title,
html[data-theme="dark"] .cc-home-testimonial-name,
html[data-theme="dark"] .cc-testimonial-name,
html[data-theme="dark"] .cc-testimonials-submit h2{
    color: var(--cc-copper);
}
html[data-theme="dark"] .cc-home-testimonial-quote p,
html[data-theme="dark"] .cc-testimonial-quote p{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-home-testimonial-byline,
html[data-theme="dark"] .cc-testimonial-byline{
    color: var(--cc-text-muted);
}
html[data-theme="dark"] .cc-testimonial,
html[data-theme="dark"] .cc-testimonials-submit{
    border-color: var(--cc-border);
}

/* Beginner hub: Is my penny valuable? */
html[data-theme="dark"] .cc-beginner-hub{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-beginner-hub-hero{
    border-bottom-color: var(--cc-border);
}
html[data-theme="dark"] .cc-beginner-hub-eyebrow{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-beginner-hub-hero h1,
html[data-theme="dark"] .cc-beginner-hub-section h2,
html[data-theme="dark"] .cc-beginner-hub-section h3,
html[data-theme="dark"] .cc-beginner-hub-unusual-item dt,
html[data-theme="dark"] .cc-beginner-hub-faq-item summary,
html[data-theme="dark"] .cc-beginner-hub-next-title,
html[data-theme="dark"] .cc-beginner-hub-links-label,
html[data-theme="dark"] .cc-home-start-here-title,
html[data-theme="dark"] .cc-home-start-here-card-title{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-beginner-hub-subtitle,
html[data-theme="dark"] .cc-beginner-hub-destinations span,
html[data-theme="dark"] .cc-beginner-hub-next-desc,
html[data-theme="dark"] .cc-beginner-hub-table caption,
html[data-theme="dark"] .cc-home-start-here-card-desc{
    color: var(--cc-muted);
}
html[data-theme="dark"] .cc-beginner-hub-intro,
html[data-theme="dark"] .cc-beginner-hub-intro.cc-learn-article-body,
html[data-theme="dark"] .cc-beginner-hub-section p,
html[data-theme="dark"] .cc-beginner-hub-section li,
html[data-theme="dark"] .cc-beginner-hub-unusual-item dd,
html[data-theme="dark"] .cc-beginner-hub-faq-item p,
html[data-theme="dark"] .cc-beginner-hub-compare-card p,
html[data-theme="dark"] .cc-home-start-here-lead{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-home-start-here-card{
    background: var(--cc-surface);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-beginner-hub-intro.cc-learn-article-body :is(p, li, span, div, em, i){
    color: var(--cc-text) !important;
}
html[data-theme="dark"] .cc-beginner-hub-intro.cc-learn-article-body :is(h1, h2, h3, h4, h5, h6, strong, b){
    color: var(--cc-article-heading) !important;
}
html[data-theme="dark"] .cc-beginner-hub-intro.cc-learn-article-body a:not(.cc-btn){
    color: var(--cc-copper) !important;
}
html[data-theme="dark"] .cc-beginner-hub-review-note,
html[data-theme="dark"] .cc-beginner-hub-flag-block{
    background: var(--cc-surface-muted);
    border-color: var(--cc-copper);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-beginner-hub-toc,
html[data-theme="dark"] .cc-beginner-hub-year-form,
html[data-theme="dark"] .cc-beginner-hub-guide-form,
html[data-theme="dark"] .cc-home-start-here{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-home-start-here{
    background: linear-gradient(135deg, var(--cc-surface-muted) 0%, var(--cc-surface-subtle) 100%);
}
html[data-theme="dark"] .cc-beginner-hub-chip-list a{
    background: var(--cc-surface);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-beginner-hub-chip-list a:hover,
html[data-theme="dark"] .cc-beginner-hub-chip-list a:focus{
    border-color: var(--cc-copper);
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-beginner-hub-table th,
html[data-theme="dark"] .cc-beginner-hub-table td{
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-beginner-hub-table thead th{
    background: var(--cc-table-head-bg);
    color: var(--cc-table-head-color);
}
html[data-theme="dark"] .cc-beginner-hub-table tbody th[scope="row"]{
    background: var(--cc-surface-subtle);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-beginner-hub-table tbody tr:nth-child(even) td{
    background: var(--cc-table-row-even);
}
html[data-theme="dark"] .cc-beginner-hub-flag{
    border-color: var(--cc-copper);
    color: var(--cc-copper-dark);
    background: var(--cc-surface-subtle);
}
html[data-theme="dark"] .cc-beginner-hub-compare-card,
html[data-theme="dark"] .cc-beginner-hub-destinations li,
html[data-theme="dark"] .cc-beginner-hub-faq-item{
    background: var(--cc-surface);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-beginner-hub-compare-card--die-variety{
    border-top-color: #5aaf7e;
}
html[data-theme="dark"] .cc-beginner-hub-compare-card--mint-error{
    border-top-color: #6a9fd4;
}
html[data-theme="dark"] .cc-beginner-hub-compare-card--pmd{
    border-top-color: #d48a5a;
}
html[data-theme="dark"] .cc-beginner-hub-compare-card--normal{
    border-top-color: #a89f92;
}
html[data-theme="dark"] .cc-beginner-hub-compare-card h3,
html[data-theme="dark"] .cc-beginner-hub-compare-code{
    color: var(--cc-copper-dark);
}
html[data-theme="dark"] .cc-beginner-hub-unusual-item{
    border-bottom-color: var(--cc-border-muted);
}
html[data-theme="dark"] .cc-beginner-hub-radio{
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-beginner-hub-next-card{
    background: var(--cc-surface-muted);
    border-color: var(--cc-border);
    color: var(--cc-text);
}
html[data-theme="dark"] .cc-beginner-hub-next-card:hover,
html[data-theme="dark"] .cc-beginner-hub-next-card:focus{
    border-color: var(--cc-copper);
    background: var(--cc-surface-subtle);
}
html[data-theme="dark"] .cc-beginner-hub-year-form input[type="number"],
html[data-theme="dark"] .cc-beginner-hub-guide-form input[type="number"],
html[data-theme="dark"] .cc-beginner-hub-guide-form select{
    background: var(--cc-input-surface);
    color: var(--cc-input-text);
    border: 1px solid var(--cc-border-input);
}
html[data-theme="dark"] .cc-beginner-hub-guide-form fieldset,
html[data-theme="dark"] .cc-beginner-hub-guide-form legend{
    color: var(--cc-label-color);
    border-color: var(--cc-border);
}
html[data-theme="dark"] .cc-beginner-hub .cc-form-error{
    color: var(--cc-form-error-color);
}

/* Topic hubs */
html[data-theme="dark"] .cc-topic-hub{color:var(--cc-text)}
html[data-theme="dark"] .cc-topic-hub-hero{border-bottom-color:var(--cc-border)}
html[data-theme="dark"] .cc-topic-hub-eyebrow,
html[data-theme="dark"] .cc-topic-hub-hero h1,
html[data-theme="dark"] .cc-topic-hub-section h2,
html[data-theme="dark"] .cc-topic-hub-subhead,
html[data-theme="dark"] .cc-topic-hub-stat-grid strong,
html[data-theme="dark"] .cc-topic-hub-faq-item summary,
html[data-theme="dark"] .cc-topic-hub-accordion summary{color:var(--cc-copper-dark)}
html[data-theme="dark"] .cc-topic-hub-subtitle,
html[data-theme="dark"] .cc-topic-hub-muted,
html[data-theme="dark"] .cc-topic-hub-featured-notes,
html[data-theme="dark"] .cc-topic-hub-stat-grid span,
html[data-theme="dark"] .cc-topic-hub-inline-stats{color:var(--cc-muted)}
html[data-theme="dark"] .cc-topic-hub-intro,
html[data-theme="dark"] .cc-topic-hub-definitions p,
html[data-theme="dark"] .cc-topic-hub-section p,
html[data-theme="dark"] .cc-topic-hub-section li,
html[data-theme="dark"] .cc-topic-hub-faq-item p,
html[data-theme="dark"] .cc-topic-hub-accordion-body{color:var(--cc-text)}
html[data-theme="dark"] .cc-topic-hub-definitions,
html[data-theme="dark"] .cc-topic-hub-review{background:var(--cc-surface-muted);border-color:var(--cc-border);color:var(--cc-text)}
html[data-theme="dark"] .cc-topic-hub-stat-grid li,
html[data-theme="dark"] .cc-topic-hub-stat-grid a,
html[data-theme="dark"] .cc-topic-hub-chip-list a,
html[data-theme="dark"] .cc-topic-hub-featured-card,
html[data-theme="dark"] .cc-topic-hub-faq-item,
html[data-theme="dark"] .cc-topic-hub-accordion{background:var(--cc-surface);border-color:var(--cc-border);color:var(--cc-text)}
html[data-theme="dark"] .cc-topic-hub-chip-list a:hover{border-color:var(--cc-copper);color:var(--cc-copper-dark)}
html[data-theme="dark"] .cc-topic-hub-featured-placeholder{background:var(--cc-surface-subtle);border-color:var(--cc-border)}

html[data-theme="dark"] .cc-related-content{border-top-color:var(--cc-border)}
html[data-theme="dark"] .cc-related-content-title{color:var(--cc-copper)}
html[data-theme="dark"] .cc-related-content-group-title{color:var(--cc-date-guide-text-muted)}
html[data-theme="dark"] .cc-related-content-list a{color:var(--cc-link)}
html[data-theme="dark"] .cc-glossary-related{border-top-color:var(--cc-border)}
