/* JereChess 2.1 — Perfil. Variables oficiales compartidas con Inicio.
   Se conserva la disposición, los valores de cuenta, y el sistema de autenticación. */
html[data-jc-theme] { background:var(--jc21-theme-bg)!important; }
html[data-jc-theme] body[data-jc-theme-module="perfil"] {
 --accent:var(--jc21-theme-accent);
 --glow:transparent;
 --profile-bg:var(--jc21-theme-bg);
 --profile-text:var(--jc21-theme-text);
 --profile-accent:var(--jc21-theme-accent);
 --profile-border:var(--jc21-theme-outline);
 background:var(--profile-bg)!important;
 color:var(--profile-text)!important;
 font-family:Montserrat,Arial,sans-serif!important;
 min-height:100dvh;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] :is(.profile-main,.page-intro,.hero,.panel-section,.rating-card,.hero-badge,.stats-grid>div,.achievement,.game-row,.profile-status,.progress-track){
 background:var(--profile-bg)!important;
 color:var(--profile-text)!important;
 box-shadow:none!important;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] :is(.hero,.panel-section,.rating-card,.hero-badge,.stats-grid>div,.achievement,.game-row,.profile-status[hidden=false]) {
 border-color:var(--profile-border)!important;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] :is(.hero-avatar) {
 border-color:var(--profile-accent)!important;
 background:var(--profile-bg)!important;
 color:var(--profile-accent)!important;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] :is(.page-intro h1,.page-intro p,.profile-main h1,.profile-main h2,.profile-main h3,.profile-main p,.profile-main .hero-info p,.profile-main .hero-badge small,.profile-main .rating-card span,.profile-main .rating-card small,.profile-main .stats-grid span,.profile-main .help-text,.profile-main .achievement small,.profile-main .game-row time,.profile-main .profile-status,.profile-main .activity-links a) {
 color:var(--profile-text)!important;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] :is(.badge-top,.hero-links a,.section-row a,.progress-line strong,.activity-links a span,.eyebrow) {
 color:var(--profile-accent)!important;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] .hero-avatar span { color:var(--profile-accent)!important; }
html[data-jc-theme] body[data-jc-theme-module="perfil"] :is(.progress-track,.activity-links a) { border-color:var(--profile-border)!important; }
html[data-jc-theme] body[data-jc-theme-module="perfil"] .progress-track { border:1px solid var(--profile-border)!important; }
html[data-jc-theme] body[data-jc-theme-module="perfil"] .progress-track>div{background:var(--profile-accent)!important;}
html[data-jc-theme] body[data-jc-theme-module="perfil"] :is(.jc-profile-actions a,.jc-profile-actions button,.profile-button,.activity-links a,.hero-links a,.section-row a){
 transition:background-color .18s,color .18s,border-color .18s,transform .18s;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] :is(.jc-profile-actions a,.jc-profile-actions button,.profile-button){
 border:1px solid var(--profile-accent)!important;
 background:var(--profile-bg)!important;
 color:var(--profile-accent)!important;
 border-radius:12px;
 font-family:Montserrat,Arial,sans-serif;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] :is(.jc-profile-actions a,.jc-profile-actions button,.profile-button):is(:hover,:focus-visible){
 background:var(--profile-accent)!important;
 color:var(--jc21-action-text,var(--profile-bg))!important;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] :is(.activity-links a,.hero-links a,.section-row a):is(:hover,:focus-visible){
 color:var(--profile-accent)!important;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] .profile-main .jc-brand-mark {font:800 1em Montserrat,Arial,sans-serif;letter-spacing:-.045em;white-space:nowrap;}
html[data-jc-theme] body[data-jc-theme-module="perfil"] .profile-main .jc-brand-mark .jere-name{color:var(--profile-text)!important;-webkit-text-stroke:.8px var(--profile-accent)!important;paint-order:stroke fill;}
html[data-jc-theme] body[data-jc-theme-module="perfil"] .profile-main .jc-brand-mark .chess-name{color:var(--profile-accent)!important;-webkit-text-stroke:.8px var(--profile-text)!important;paint-order:stroke fill;}
@media(prefers-reduced-motion:reduce){html[data-jc-theme] body[data-jc-theme-module="perfil"] :is(.jc-profile-actions a,.jc-profile-actions button,.profile-button,.activity-links a,.hero-links a,.section-row a){transition:none!important;}}

/* Contrastes y acentos: indicadores interactivos y datos destacados del perfil. */
html[data-jc-theme] body[data-jc-theme-module="perfil"] .profile-main :is(.eyebrow,.badge-top,.hero-links a,.section-row a,.progress-line strong,.activity-links a span,.hero-badge strong,.rating-card strong,.stats-grid strong){
  color:var(--profile-accent)!important;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] .profile-main :is(.rating-card,.panel-section,.stats-grid>div,.hero,.hero-badge,.achievement,.game-row){
  border-color:var(--profile-border)!important;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] .profile-main :is(.activity-links a,.achievement,.game-row):is(:hover,:focus-visible){
  background:var(--jc21-theme-inset)!important;
  border-color:var(--profile-accent)!important;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] .profile-main .activity-links a:hover,
html[data-jc-theme] body[data-jc-theme-module="perfil"] .profile-main .activity-links a:focus-visible{
  color:var(--profile-accent)!important;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] .profile-main :is(.jc-profile-actions a,.jc-profile-actions button,.profile-button){
  border:1px solid var(--profile-accent)!important;background:var(--profile-bg)!important;color:var(--profile-accent)!important;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] .profile-main :is(.jc-profile-actions a,.jc-profile-actions button,.profile-button):is(:hover,:focus-visible){
  background:var(--profile-accent)!important;color:var(--jc21-action-text,var(--profile-bg))!important;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] .profile-main .jc-brand-mark :is(.jere-name,.chess-name){
  font-family:Montserrat,Arial,sans-serif!important;font-weight:800!important;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] .profile-main .jc-brand-mark .jere-name{
  color:var(--profile-text)!important;-webkit-text-stroke:1.15px var(--profile-accent)!important;
}
html[data-jc-theme] body[data-jc-theme-module="perfil"] .profile-main .jc-brand-mark .chess-name{
  color:var(--profile-accent)!important;-webkit-text-stroke:1.15px var(--profile-text)!important;
}
