/* Reader color palettes. Original has no overrides and retains the established design. */
.mcf-theme-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:14px}
.mcf-theme-options button{display:flex;align-items:center;gap:10px;min-width:0;padding:10px;border:2px solid #e1d8d3;border-radius:12px;background:#fff;color:#2d2530;font:inherit;font-weight:700;text-align:left;cursor:pointer}
.mcf-theme-options button:hover,.mcf-theme-options button:focus-visible{border-color:#845068}
.mcf-theme-options button.is-active{border-color:#681b35;box-shadow:0 0 0 2px rgba(104,27,53,.15)}
.mcf-theme-options__swatch{flex:none;width:34px;height:34px;border:2px solid #fff;border-radius:50%;background:conic-gradient(var(--swatch-main) 0 55%,var(--swatch-accent) 55% 76%,var(--swatch-paper) 76%);box-shadow:0 0 0 1px rgba(0,0,0,.18)}
.mcf-theme-status{display:block;min-height:1.2em;margin-top:8px}
html[data-mcf-theme="ocean"]{--theme-deep:#102f48;--theme-main:#174a65;--theme-mid:#397f95;--theme-bright:#71aeb9;--theme-accent:#dcae66;--theme-light:#e5c997;--theme-paper:#eef7f8;--theme-soft:#dcecef;--theme-ink:#183344;--theme-rgb:23,74,101;--theme-deep-rgb:16,47,72;--theme-mid-rgb:57,127,149;--theme-bright-rgb:113,174,185;--theme-accent-rgb:220,174,102;--theme-light-rgb:229,201,151;--theme-paper-rgb:238,247,248;--theme-soft-rgb:220,236,239}
html[data-mcf-theme="forest"]{--theme-deep:#17392f;--theme-main:#255746;--theme-mid:#44806a;--theme-bright:#83ab83;--theme-accent:#d1ad68;--theme-light:#e4ce9b;--theme-paper:#f1f6ed;--theme-soft:#e0ebda;--theme-ink:#253b32;--theme-rgb:37,87,70;--theme-deep-rgb:23,57,47;--theme-mid-rgb:68,128,106;--theme-bright-rgb:131,171,131;--theme-accent-rgb:209,173,104;--theme-light-rgb:228,206,155;--theme-paper-rgb:241,246,237;--theme-soft-rgb:224,235,218}
html[data-mcf-theme="violet"]{--theme-deep:#302242;--theme-main:#503669;--theme-mid:#795c91;--theme-bright:#a58db7;--theme-accent:#d3a781;--theme-light:#ead0ae;--theme-paper:#f7f1fa;--theme-soft:#eae0f0;--theme-ink:#352a41;--theme-rgb:80,54,105;--theme-deep-rgb:48,34,66;--theme-mid-rgb:121,92,145;--theme-bright-rgb:165,141,183;--theme-accent-rgb:211,167,129;--theme-light-rgb:234,208,174;--theme-paper-rgb:247,241,250;--theme-soft-rgb:234,224,240}
html[data-mcf-theme]:not([data-mcf-theme="original"]){--mcf-navy:var(--theme-deep);--mcf-navy-soft:var(--theme-main);--mcf-gold:var(--theme-accent);--mcf-gold-light:var(--theme-light);--mcf-ivory:var(--theme-paper)}
html[data-mcf-theme]:not([data-mcf-theme="original"]) body.home{--mcf-paper:var(--theme-paper);--mcf-card:#fff;--mcf-wine:var(--theme-main);--mcf-gold:var(--theme-accent);--mcf-ink:var(--theme-ink);--mcf-line:rgba(var(--theme-rgb),.2)}
html[data-mcf-theme]:not([data-mcf-theme="original"]) body{background:var(--theme-paper);color:var(--theme-ink)}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-topbar{background:radial-gradient(circle at 88% 160%,rgba(255,255,255,.14),transparent 42%),linear-gradient(108deg,var(--theme-deep),var(--theme-mid) 53%,var(--theme-main))!important;border-bottom-color:var(--theme-accent)}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-footer,
html[data-mcf-theme]:not([data-mcf-theme="original"]) .site-footer{background-color:var(--theme-deep)!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-home-hero,
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-section--popular,
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-search-hero,
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-blog-hero,
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-about-hero,
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-blog-videos,
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-about-principles{background:radial-gradient(circle at 90% 5%,rgba(255,255,255,.13),transparent 35%),linear-gradient(135deg,var(--theme-deep),var(--theme-main) 60%,var(--theme-mid))!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-section--latest,
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-section--collections{background:var(--theme-paper)!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-section--dispatch,
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-about-founder,
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-about-cta{background:linear-gradient(125deg,var(--theme-paper),var(--theme-soft))!important;color:var(--theme-ink)}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-config__drawer-head{background:linear-gradient(110deg,var(--theme-deep),var(--theme-main))!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-config__panel,
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-config__section{background:var(--theme-paper)!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-config__options button.is-active,
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-theme-options button.is-active{background:var(--theme-soft)!important;color:var(--theme-ink)!important;border-color:var(--theme-main)!important;box-shadow:0 0 0 2px rgba(var(--theme-rgb),.18)}
html[data-mcf-theme]:not([data-mcf-theme="original"]) :is(.mcf-story-tile__meta,.mcf-collection-block__number,.mcf-section-head__eyebrow,.mcf-search-card__body>span,.mcf-blog-featured>a>div>span){color:var(--theme-main)!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) :is(.mcf-collection-block,.mcf-story-tile,.mcf-search-card,.mcf-blog-card){border-color:rgba(var(--theme-rgb),.23)}
html[data-mcf-theme]:not([data-mcf-theme="original"]) :is(.mcf-collection-block__toggle,.mcf-home-newsroom a:focus-visible,.mcf-config__trigger:focus-visible){outline-color:var(--theme-accent)}
html[data-mcf-theme]:not([data-mcf-theme="original"]) :is(.mcf-search-form button,.mcf-blog-pagination .current,.mcf-home-newsroom .mcf-action-button){background:var(--theme-main)!important;color:#fff!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) :is(.mcf-search-form button:hover,.mcf-home-newsroom .mcf-action-button:hover){background:var(--theme-deep)!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-search-summary{border-bottom-color:var(--theme-main)}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-search-summary a{color:var(--theme-main)}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-home-newsroom a:not(.button):hover{color:var(--theme-mid)}
html[data-mcf-theme]:not([data-mcf-theme="original"]) :is(.mcf-article__hero,.mcf-article-video,.mcf-trivia-article-cta,.mcf-museum-piece,.mcf-newsletter){background:radial-gradient(circle at 90% 10%,rgba(255,255,255,.12),transparent 34%),linear-gradient(135deg,var(--theme-deep),var(--theme-main),var(--theme-mid))!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-article-trust{background:linear-gradient(135deg,var(--theme-paper),var(--theme-soft))!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-clio__head{background:linear-gradient(135deg,rgba(var(--theme-deep-rgb),.95),rgba(var(--theme-rgb),.9)),var(--mcf-clio-image) center 22%/cover!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-trivia-menu-link>a{background:var(--theme-main)!important;color:#fff!important}
/* Keep the top Trivia label as light as it is in Original, above general navigation colors. */
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-nav__list .mcf-trivia-menu-link>a{color:#e7eceb!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-trivia-menu-link>a:hover{background:var(--theme-mid)!important}
/* Trivia portal and game supplied by the companion plugin. Keep correct/wrong answer colors semantic. */
html[data-mcf-theme]:not([data-mcf-theme="original"]){--mcf-ruby:var(--theme-main);--mcf-cream:var(--theme-paper);--mcf-gold:var(--theme-accent)}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-trivia-portal{background:var(--theme-paper)!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-trivia-hero{background:radial-gradient(circle at 18% 15%,rgba(var(--theme-accent-rgb),.28),transparent 28%),radial-gradient(circle at 88% 75%,rgba(var(--theme-mid-rgb),.4),transparent 34%),linear-gradient(135deg,var(--theme-deep),var(--theme-main) 58%,var(--theme-mid))!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) :is(.mcf-trivia-article-cta,.mcf-home-trivia){background:linear-gradient(125deg,var(--theme-deep),var(--theme-main),var(--theme-mid))!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) :is(.mcf-trivia-stats,.mcf-trivia-step,.mcf-trivia-game .mcf-trivia-app){background-color:var(--theme-paper)!important;box-shadow:0 15px 35px rgba(var(--theme-deep-rgb),.12)!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-trivia-step i{background:var(--theme-main)!important;color:#fff!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-trivia-lang a.is-active{background:var(--theme-main)!important;color:#fff!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-trivia-app{--ink:var(--theme-paper);--gold:var(--theme-accent);--wine:var(--theme-main);--night:var(--theme-deep)}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-card{background:radial-gradient(circle at 85% 0,rgba(var(--theme-mid-rgb),.45),transparent 38%),linear-gradient(145deg,var(--theme-deep),var(--theme-main))!important;border-color:rgba(var(--theme-accent-rgb),.35)!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-timer,
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-q-image{background-color:var(--theme-deep)!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-reading-progress i{background:linear-gradient(90deg,var(--theme-main),var(--theme-accent),var(--theme-light))}
html[data-mcf-theme]:not([data-mcf-theme="original"]) :is(.mcf-reading-tools,.mcf-reading-neighbors>a,.mcf-story-explorer){background:linear-gradient(135deg,#fff,var(--theme-soft))!important;border-color:rgba(var(--theme-rgb),.2)!important;color:var(--theme-ink)}
html[data-mcf-theme]:not([data-mcf-theme="original"]) :is(.mcf-reading-tools__meta span,.mcf-reading-tools__meta a,.mcf-reading-toc summary,.mcf-reading-toc a,.mcf-reading-neighbors>a,.mcf-reading-related h2,.mcf-reading-related h3,.mcf-story-explorer__header h2){color:var(--theme-ink)!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) :is(.mcf-reading-tools__actions button[aria-pressed=true],.mcf-reading-tools__actions button:hover){background:var(--theme-main)!important;border-color:var(--theme-main)!important;color:#fff!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) :is(.mcf-reading-related small,.mcf-reading-related>header span,.mcf-reading-neighbors small,.mcf-reading-toc a::before,.mcf-reading-toc summary small){color:var(--theme-main)!important}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-reading-related article>a{border-color:rgba(var(--theme-rgb),.2);color:var(--theme-ink)}
html[data-mcf-theme]:not([data-mcf-theme="original"]) .mcf-story-explorer__glow{background:radial-gradient(circle,rgba(var(--theme-rgb),.2),transparent 68%)}
@media(max-width:420px){.mcf-theme-options{grid-template-columns:1fr 1fr}.mcf-theme-options button{font-size:.85rem;padding:8px}}
