
/* Selector de paletas de la portada JereChess 2.1.
   No modifica la estructura ni los módulos funcionales.
   Tema 01 permanece exactamente con los estilos aprobados previamente. */
.jc21-theme-trigger {
 position:fixed;bottom:22px;right:22px;z-index:140;
 display:flex;align-items:center;gap:9px;padding:11px 17px;
 border:1px solid #a02d3a;border-radius:999px;background:#151519;color:#fff;
 font:700 13px Montserrat,Arial,sans-serif;cursor:pointer;
 box-shadow:0 5px 21px #0009;
}
.jc21-theme-trigger:hover,.jc21-theme-trigger:focus-visible{border-color:#fff;outline-offset:2px}
.jc21-theme-menu{
 position:fixed;z-index:141;right:22px;bottom:79px;width:min(350px,calc(100vw - 32px));
 max-height:min(70vh,530px);overflow-y:auto;padding:17px;
 border:1px solid #69656a;border-radius:18px;background:#151519;color:#fff;
 box-shadow:0 16px 45px #000a;font:500 13px Montserrat,Arial,sans-serif;
}
.jc21-theme-menu[hidden]{display:none!important}
.jc21-theme-menu-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 7px;font-size:17px;font-weight:800}
.jc21-theme-menu p{color:#c8c8cf;margin:0 0 14px;font-size:12px}
.jc21-theme-options{display:grid;gap:7px}
.jc21-theme-choice{
 display:flex;align-items:center;gap:11px;width:100%;border:1px solid #4a4a4f;border-radius:11px;
 background:#202025;color:#fff;text-align:left;cursor:pointer;padding:10px 11px;
 font:600 13px Montserrat,Arial,sans-serif;
}
.jc21-theme-choice:hover,.jc21-theme-choice:focus-visible{border-color:#d3cbd0;background:#29292f}
.jc21-theme-choice[aria-pressed="true"]{border-color:#f5f5f5;outline:1px solid #f5f5f5}
.jc21-theme-swatches{display:flex;gap:3px;flex:none}
.jc21-theme-swatches i{display:block;width:18px;height:23px;border:1px solid #89898980;border-radius:4px}
.jc21-theme-check{margin-left:auto;font-weight:800}
@media(max-width:560px){.jc21-theme-trigger{right:12px;bottom:12px}.jc21-theme-menu{right:12px;bottom:65px}}
/* Temas nuevos: tres colores principales y superficies mate derivadas. */
html[data-jc-theme="original-clara"]{
 --jc21-bg:#ffffff;--jc21-text:#181818;--jc21-muted:#181818;--jc21-accent:#cf2333;
 --jc21-accent-bright:#cf2333;--jc21-surface:#f5f5f5;--jc21-inset:#ededed;
 --jc21-outline:#d66a75;--jc21-hover:#c31f30;
 --jc-brand-letter:#181818;--jc-brand-accent:#cf2333;
 --jc21-glow:color-mix(in srgb,#cf2333 32%,transparent);
 --jc21-glow-soft:color-mix(in srgb,#cf2333 15%,transparent);
 --jc21-theme-bg:#ffffff; --jc21-theme-text:#181818; --jc21-theme-accent:#cf2333;
 --jc21-theme-surface:#f5f5f5; --jc21-theme-inset:#ededed; --jc21-theme-outline:#d66a75;
}
html[data-jc-theme="vino"]{
 --jc21-bg:#522038;--jc21-text:#ffd5e1;--jc21-muted:#ffd5e1;--jc21-accent:#b9e64b;
 --jc21-accent-bright:#b9e64b;--jc21-surface:#632944;--jc21-inset:#71324f;
 --jc21-outline:#a6d450;--jc21-hover:#c7ee6e;
 --jc-brand-letter:#ffd5e1;--jc-brand-accent:#b9e64b;
 --jc21-glow:color-mix(in srgb,#b9e64b 32%,transparent);
 --jc21-glow-soft:color-mix(in srgb,#b9e64b 15%,transparent);
 --jc21-theme-bg:#522038; --jc21-theme-text:#ffd5e1; --jc21-theme-accent:#b9e64b;
 --jc21-theme-surface:#632944; --jc21-theme-inset:#71324f; --jc21-theme-outline:#a6d450;
}
html[data-jc-theme="elegante"]{
 --jc21-bg:#103c46;--jc21-text:#fff0d5;--jc21-muted:#fff0d5;--jc21-accent:#b18be4;
 --jc21-accent-bright:#b18be4;--jc21-surface:#174b54;--jc21-inset:#1d555f;
 --jc21-outline:#986ac9;--jc21-hover:#c8a7ee;
 --jc-brand-letter:#fff0d5;--jc-brand-accent:#b18be4;
 --jc21-glow:color-mix(in srgb,#b18be4 32%,transparent);
 --jc21-glow-soft:color-mix(in srgb,#b18be4 15%,transparent);
 --jc21-theme-bg:#103c46; --jc21-theme-text:#fff0d5; --jc21-theme-accent:#b18be4;
 --jc21-theme-surface:#174b54; --jc21-theme-inset:#1d555f; --jc21-theme-outline:#986ac9;
}
html[data-jc-theme="rosa-niebla"]{
 --jc21-bg:#edcfd8;--jc21-text:#1b3650;--jc21-muted:#1b3650;--jc21-accent:#168c69;
 --jc21-accent-bright:#168c69;--jc21-surface:#f6e0e7;--jc21-inset:#f3d9e1;
 --jc21-outline:#238b70;--jc21-hover:#117d5f;
 --jc-brand-letter:#1b3650;--jc-brand-accent:#168c69;
 --jc21-glow:color-mix(in srgb,#168c69 32%,transparent);
 --jc21-glow-soft:color-mix(in srgb,#168c69 15%,transparent);
 --jc21-theme-bg:#edcfd8; --jc21-theme-text:#1b3650; --jc21-theme-accent:#168c69;
 --jc21-theme-surface:#f6e0e7; --jc21-theme-inset:#f3d9e1; --jc21-theme-outline:#238b70;
}
html[data-jc-theme="calida"]{
 --jc21-bg:#a94e3d;--jc21-text:#ffe0c0;--jc21-muted:#ffe0c0;--jc21-accent:#8bd1eb;
 --jc21-accent-bright:#8bd1eb;--jc21-surface:#ba6150;--jc21-inset:#c46e59;
 --jc21-outline:#79c6e4;--jc21-hover:#a7e0f1;
 --jc-brand-letter:#ffe0c0;--jc-brand-accent:#8bd1eb;
 --jc21-glow:color-mix(in srgb,#8bd1eb 32%,transparent);
 --jc21-glow-soft:color-mix(in srgb,#8bd1eb 15%,transparent);
 --jc21-theme-bg:#a94e3d; --jc21-theme-text:#ffe0c0; --jc21-theme-accent:#8bd1eb;
 --jc21-theme-surface:#ba6150; --jc21-theme-inset:#c46e59; --jc21-theme-outline:#79c6e4;
}
html[data-jc-theme="clasica"]{
 --jc21-bg:#102843;--jc21-text:#f7f3e7;--jc21-muted:#f7f3e7;--jc21-accent:#d6ad4a;
 --jc21-accent-bright:#d6ad4a;--jc21-surface:#193450;--jc21-inset:#213c58;
 --jc21-outline:#b88c34;--jc21-hover:#e6bd5a;
 --jc-brand-letter:#f7f3e7;--jc-brand-accent:#d6ad4a;
 --jc21-glow:color-mix(in srgb,#d6ad4a 32%,transparent);
 --jc21-glow-soft:color-mix(in srgb,#d6ad4a 15%,transparent);
 --jc21-theme-bg:#102843; --jc21-theme-text:#f7f3e7; --jc21-theme-accent:#d6ad4a;
 --jc21-theme-surface:#193450; --jc21-theme-inset:#213c58; --jc21-theme-outline:#b88c34;
}

html[data-jc-theme]:not([data-jc-theme="original-oscura"]) body,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) body:has(.hero[data-site-view="inicio"]) {
 background:var(--jc21-bg)!important;color:var(--jc21-text)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] {
 background:var(--jc21-bg)!important;color:var(--jc21-text)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"]::before,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-intro::before {
 display:none!important;background:none!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-mascot-crop {
 background:radial-gradient(ellipse 59% 58% at 49% 51%,var(--jc21-glow) 0%,var(--jc21-glow-soft) 45%,transparent 81%)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-mascot {
 filter:drop-shadow(0 0 11px var(--jc21-glow-soft))!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav.jere-site-nav,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .jc-account,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .jere-explore-menu,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .jc-account-menu {
 background:var(--jc21-surface)!important;
 border-color:var(--jc21-outline)!important;color:var(--jc21-text)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .jere-tab {
 background:var(--jc21-surface)!important;
 border-color:var(--jc21-outline)!important;color:var(--jc21-text)!important;
 box-shadow:none!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .jere-tab:hover,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .jere-tab:focus-visible,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .jere-tab[aria-current="page"] {
 border-color:var(--jc21-accent)!important;
 background:var(--jc21-inset)!important;color:var(--jc21-accent)!important;
 box-shadow:0 0 0 1px var(--jc21-accent)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .jere-explore-menu a,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .jc-account,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .jc-account-menu a,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .jc-account-menu button,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .jc-account-label {
 color:var(--jc21-text)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .logo::before {
 background:radial-gradient(ellipse at 34% 52%,var(--jc21-glow),var(--jc21-glow-soft) 48%,transparent 76%)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .brand-logo {
 filter:drop-shadow(0 0 8px var(--jc21-glow))!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) body:has(.hero[data-site-view="inicio"]) .jere-name {
 color:var(--jc-brand-letter)!important;
 -webkit-text-stroke:1.1px var(--jc-brand-accent)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) body:has(.hero[data-site-view="inicio"]) .chess-name {
 color:var(--jc-brand-accent)!important;
 -webkit-text-stroke:1.1px var(--jc-brand-letter)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-brand-heading,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-heading,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-challenge-title,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-module h2,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-featured h2,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-challenge-message strong {
 color:var(--jc21-text)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-heading em,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-challenge-title em,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-challenge-title>span,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-featured-eyebrow,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-quick-link {
 color:var(--jc21-accent)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-sub,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-module p,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-featured p,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jere-home-description {
 color:var(--jc21-muted)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-panel,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-challenge,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-module-play,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-module-academy,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-module-puzzles,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-featured-lesson,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-featured-analysis {
 background:var(--jc21-surface)!important;border-color:var(--jc21-outline)!important;
 color:var(--jc21-text)!important;box-shadow:none!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] a.jc21-panel:hover,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] a.jc21-panel:focus-visible {
 background:var(--jc21-inset)!important;border-color:var(--jc21-accent)!important;box-shadow:none!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-challenge-message,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-lesson-soon {
 background:var(--jc21-inset)!important;border-color:var(--jc21-outline)!important;
 color:var(--jc21-text)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-panel-button,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-go-green,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-module-go,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-lesson-go,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-analysis-go,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-google-play {
 background:var(--jc21-accent)!important;
 border-color:var(--jc21-outline)!important;
 color:var(--jc21-bg)!important;box-shadow:none!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-hint:disabled {
 background:var(--jc21-inset)!important;color:var(--jc21-text)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-board-placeholder {
 background:var(--jc21-surface)!important;color:var(--jc21-text)!important;border-color:var(--jc21-outline)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-analysis-screen {
 border-color:var(--jc21-outline)!important;
 background:var(--jc21-inset)!important;box-shadow:none!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-analysis-line {
 color:var(--jc21-accent)!important;text-shadow:none!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-challenge-message strong::before {
 color:var(--jc21-accent)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-quick-link {
 border-color:var(--jc21-outline)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-lesson-play {
 background:var(--jc21-accent)!important;color:var(--jc21-bg)!important;
 border-color:var(--jc21-outline)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc21-theme-trigger {
 background:var(--jc21-surface);color:var(--jc21-text);border-color:var(--jc21-outline);
}


/* CORRECCION DE CASCADA v2: el tema elegido manda sobre los valores mate
   previamente fijados para Original Oscura. No se aplica al tema aprobado 01. */
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) body:has(.hero[data-site-view="inicio"]) {
 --jc21-bg:var(--jc21-theme-bg);
 --jc21-surface:var(--jc21-theme-surface);
 --jc21-surface-deep:var(--jc21-theme-inset);
 --jc21-text:var(--jc21-theme-text);
 --jc21-muted:var(--jc21-theme-text);
 --jc21-accent:var(--jc21-theme-accent);
 --jc21-accent-bright:var(--jc21-theme-accent);
 --jc21-outline:var(--jc21-theme-outline);
 --jc-brand-letter:var(--jc21-theme-text);
 --jc-brand-accent:var(--jc21-theme-accent);
 background:var(--jc21-theme-bg)!important;
 color:var(--jc21-theme-text)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"]{
 background:var(--jc21-theme-bg)!important;
 color:var(--jc21-theme-text)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-panel,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-challenge,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-module,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-featured-lesson,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-featured-analysis{
 background:var(--jc21-theme-surface)!important;
 border-color:var(--jc21-theme-outline)!important;
 color:var(--jc21-theme-text)!important;
 box-shadow:none!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] a.jc21-panel:hover,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] a.jc21-panel:focus-visible{
 background:var(--jc21-theme-inset)!important;
 border-color:var(--jc21-theme-accent)!important;
 box-shadow:none!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-challenge-message,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-lesson-soon,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-board-placeholder {
 background:var(--jc21-theme-inset)!important;
 color:var(--jc21-theme-text)!important;
 border-color:var(--jc21-theme-outline)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-mascot-crop{
 background:radial-gradient(ellipse 59% 58% at 49% 51%,var(--jc21-glow) 0%,var(--jc21-glow-soft) 45%,transparent 81%)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-mascot{
 filter:drop-shadow(0 0 11px var(--jc21-glow-soft))!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc21-brand-heading .jere-name,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jere-wordmark .jere-name{
 color:var(--jc21-theme-text)!important;
 -webkit-text-stroke:1.15px var(--jc21-theme-accent)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc21-brand-heading .chess-name,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jere-wordmark .chess-name{
 color:var(--jc21-theme-accent)!important;
 -webkit-text-stroke:1.15px var(--jc21-theme-text)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav.jere-site-nav{
 background:var(--jc21-theme-surface)!important;
 color:var(--jc21-theme-text)!important;
 border-color:var(--jc21-theme-outline)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .jere-tab,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .jc-account{
 background:var(--jc21-theme-inset)!important;
 color:var(--jc21-theme-text)!important;
 border-color:var(--jc21-theme-outline)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .jere-tab[aria-current="page"],
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .jc-global-nav .jere-tab:hover{
 color:var(--jc21-theme-accent)!important;
 border-color:var(--jc21-theme-accent)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-google-play{
 background:var(--jc21-theme-accent)!important;
 border-color:var(--jc21-theme-outline)!important;
 color:var(--jc21-theme-bg)!important;
 box-shadow:none!important;
}
/* Los textos usan color tipográfico de la paleta aun sobre estilos heredados. */
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-brand-heading,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-heading,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-sub,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-module h2,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-module p,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-featured h2,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-featured p,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jere-home-description{
 color:var(--jc21-theme-text)!important;
}
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-heading em,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-challenge-title em,
html[data-jc-theme]:not([data-jc-theme="original-oscura"]) .hero[data-site-view="inicio"] .jc21-featured-eyebrow{
 color:var(--jc21-theme-accent)!important;
}

/* Editor de la octava paleta — las siete paletas oficiales no se modifican. */
.jc21-custom-choice{margin-top:6px;border-style:dashed}
.jc21-custom-icon{width:38px;text-align:center;font-size:23px;color:#ff7580}
.jc21-custom-editor{border-top:1px solid #515159;margin-top:14px;padding-top:13px;display:grid;gap:11px}
.jc21-custom-editor[hidden]{display:none!important}
.jc21-custom-editor>strong{font-size:14px}
.jc21-custom-row{display:grid;grid-template-columns:minmax(70px,1fr) 45px 96px;gap:9px;align-items:center;color:#fff}
.jc21-custom-row input[type=color]{width:42px;height:35px;border:1px solid #777;border-radius:7px;padding:2px;background:#25252a;cursor:pointer}
.jc21-custom-row input[type=text]{background:#27272d;border:1px solid #777;border-radius:7px;padding:8px 5px;color:white;font:600 12px ui-monospace,monospace;text-transform:uppercase}
.jc21-custom-row input[aria-invalid=true]{border-color:#ff6b76}
.jc21-custom-warning{font-size:12px!important;line-height:1.5;color:#d6e8db!important;margin:0!important}
.jc21-custom-warning.jc21-low-contrast{color:#ffcf86!important}
.jc21-custom-reset{cursor:pointer;border-radius:9px;padding:10px;border:1px solid #a0a0ab;background:#2c2c32;color:#fff;font:600 12px Montserrat,Arial,sans-serif}
.jc21-custom-reset:hover{background:#3c3c43}
/* En la paleta personalizada, la pintura del sitio toma todos sus valores
   exclusivamente del editor, incluida la marca y el resplandor de Jere. */
html[data-jc-theme="personalizada"] .hero[data-site-view="inicio"] .jc21-panel-button,
html[data-jc-theme="personalizada"] .hero[data-site-view="inicio"] .jc21-go-green,
html[data-jc-theme="personalizada"] .hero[data-site-view="inicio"] .jc21-module-go,
html[data-jc-theme="personalizada"] .hero[data-site-view="inicio"] .jc21-lesson-go,
html[data-jc-theme="personalizada"] .hero[data-site-view="inicio"] .jc21-analysis-go,
html[data-jc-theme="personalizada"] .hero[data-site-view="inicio"] .jc21-google-play{
 color:var(--jc21-action-text)!important;
}

/* Módulos internos: valores explícitos para Original Oscura. */
html[data-jc-theme="original-oscura"]{
 --jc21-theme-bg:#080808;--jc21-theme-text:#ffffff;--jc21-theme-accent:#e32936;
 --jc21-theme-surface:#111111;--jc21-theme-inset:#171717;--jc21-theme-outline:#a02d3a;
}
