/* Entrada a análisis; espacio inferior solo para anuncios propios */
.jere-modal[hidden]{display:none!important}
.jere-modal{position:fixed;inset:0;z-index:9999;display:flex;justify-content:center;align-items:center;padding:18px;background:rgba(4,8,13,.78);backdrop-filter:blur(4px)}
.jere-dialog{width:min(740px,100%);max-height:calc(100dvh - 36px);overflow:auto;border:1px solid #485463;border-radius:15px;background:#171e27;box-shadow:0 24px 90px #0009;color:#eef2f6;padding:20px}
.jere-modal-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:7px}.jere-modal-head h2{margin:0;font-size:23px;color:#f4f6fa}
.jere-close{border:1px solid #4a5561;background:#28313b;color:#eaf0f7;border-radius:8px;padding:5px 11px;cursor:pointer;font-size:23px}
.jere-entry-note{color:#b6c3d0;margin:2px 0 16px;font-size:13px}
.jere-entry-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.jere-entry-card{display:flex;flex-direction:column;gap:10px;padding:15px;background:#202934;border:1px solid #3b4756;border-radius:10px;min-width:0}
.jere-entry-card h3{margin:0;color:#f4f6fa;font-size:17px}.jere-entry-card p{font-size:12px;margin:0;color:#bec9d7}
.jere-pgn{width:100%;min-height:145px;resize:vertical;max-height:270px;background:#111820;border:1px solid #536071;border-radius:7px;padding:10px;color:#f7f7f7;font:12px/1.5 Consolas,monospace}
.jere-entry-btn{border:1px solid #617b8e;background:#3e5e70;color:#fff;border-radius:7px;font:600 13px inherit;padding:11px;cursor:pointer;margin-top:auto}
.jere-entry-btn:hover{background:#50778c}.jere-error{color:#ffb7a8;min-height:16px;font-size:12px}
.jere-announcement{border:1px dashed #526272;background:#10171e;border-radius:9px;padding:13px;margin-top:14px;min-height:62px;display:flex;gap:8px;align-items:center;justify-content:center;text-align:center;color:#abb9c8;font-size:12px}
.jere-dialog button:focus-visible,.jere-pgn:focus-visible{outline:2px solid #8bd3ed;outline-offset:2px}
@media(max-width:620px){.jere-entry-columns{grid-template-columns:1fr}.jere-dialog{padding:15px}.jere-pgn{min-height:105px}}


/* Identidad propia en el acceso a tablero libre; sin publicidad de AdSense en el modal. */
.jere-free-brand{flex:1;min-height:80px;display:flex;align-items:center;justify-content:center;padding:6px}
.jere-free-brand img{max-height:98px;max-width:100%;width:auto;height:auto;object-fit:contain}
.jere-free-brand img:not([src]){display:none}
.jere-free-brand span{font-weight:750;font-size:20px;color:#e9f1f8}
.jere-free-brand img[src]+span{display:none}


/* Analizador: ventana de acceso unificada y sensible a Temas en TODAS las secciones. */
html[data-jc-theme] .jere-modal .jere-dialog,
html[data-jc-theme] .jere-modal .jere-entry-card,
html[data-jc-theme] .jere-modal .jere-pgn,
html[data-jc-theme] .jere-modal .jere-announcement{
 background:var(--jc21-theme-bg,#080808)!important;
 background-image:none!important;
 color:var(--jc21-theme-text,#fff)!important;
 border-color:var(--jc21-theme-accent,#e32936)!important;
 box-shadow:none!important;
}
html[data-jc-theme] .jere-modal :is(.jere-modal-head h2,.jere-entry-note,.jere-entry-card h3,.jere-entry-card p,.jere-free-brand span,.jere-pgn,.jere-announcement){
 color:var(--jc21-theme-text,#fff)!important;
}
html[data-jc-theme] .jere-modal :is(.jere-close,.jere-entry-btn){
 background:var(--jc21-theme-bg,#080808)!important;
 color:var(--jc21-theme-accent,#e32936)!important;
 border-color:var(--jc21-theme-accent,#e32936)!important;
}
html[data-jc-theme] .jere-modal :is(.jere-close,.jere-entry-btn):is(:hover,:focus-visible){
 background:var(--jc21-theme-accent,#e32936)!important;
 color:var(--jc21-action-text,var(--jc21-theme-bg,#080808))!important;
}
html[data-jc-theme] .jere-modal .jere-pgn:focus-visible{outline:2px solid var(--jc21-theme-accent,#e32936)!important;outline-offset:2px;}
html[data-jc-theme] .jere-modal .jere-error{color:var(--jc21-theme-accent,#e32936)!important;}
