/* V385 — Ivoire, vert MotsArena et relief discret. Les thèmes et le plateau
   conservent leurs propres couleurs. Aucun changement de taille des tuiles. */
:is(#view-home,#view-auth,#view-palmares,#view-hebdo,#view-equipe,#view-tld){
 --ui-line:color-mix(in srgb,var(--ink) 18%,var(--board-bg));
 --ui-wash:color-mix(in srgb,var(--stamp-sage) 6%,var(--board-bg));
}
:is(#view-home,#view-auth,#view-palmares,#view-hebdo,#view-equipe,#view-tld) .panel{
 border:1px solid var(--ui-line);
 border-radius:20px;
 box-shadow:0 5px 20px #183b2c0c,0 1px 3px #183b2c08;
}
:is(#view-home,#view-auth,#view-palmares,#view-hebdo,#view-equipe,#view-tld) .panel > :is(h2,h3){
 color:var(--ink);letter-spacing:-.015em;
}
:is(#view-home,#view-auth,#view-palmares,#view-hebdo,#view-equipe,#view-tld) :is(input[type="text"],input[type="email"],input[type="password"],select){
 min-height:46px;border:1px solid var(--ui-line);border-radius:10px;
 background:var(--board-bg);color:var(--ink);
}
:is(#view-home,#view-auth,#view-palmares,#view-hebdo,#view-equipe,#view-tld) :is(button,input,select,a):focus-visible{
 outline:3px solid var(--stamp-sage);outline-offset:3px;
}
#profile-hub{background:linear-gradient(155deg,var(--board-bg),var(--paper-dark));}
#profile-hub .profile-hub__identity{
 background:var(--ui-wash);border-radius:14px;padding:10px;
 box-shadow:none;border:1px solid var(--ui-line);
}
#profile-hub .profile-hub__greeting,#profile-hub .profile-hub__stat-label,
#profile-hub .profile-hub__progress-hint,#profile-hub .profile-hub__universe-label,
#profile-hub .profile-hub__format label,#profile-hub .profile-hub__universe-sub{
 color:var(--ink-soft);
}
#profile-hub :is(.profile-hub__stat-card,.profile-hub__universe-item,.profile-hub__tool-btn){
 background:var(--board-bg);border:1px solid var(--ui-line);
 border-radius:12px;box-shadow:0 2px 5px #183b2c08;
}
#profile-hub .profile-hub__stat-value{color:var(--ink);font-variant-numeric:tabular-nums;}
#profile-hub .profile-hub__community-card{
 background:var(--ui-wash);border:1px solid var(--ui-line);
 color:var(--ink);box-shadow:0 2px 5px #183b2c08;
}
#profile-hub .profile-hub__community-copy small{color:var(--ink-soft);}
#profile-hub .profile-hub__community-icon{background:var(--stamp-sage);color:#fff;}
#profile-hub .profile-hub__community-copy strong{color:var(--ink);}
#profile-hub #btn-friends{background:var(--ui-wash);color:var(--ink);}
#profile-hub #btn-friends .profile-hub__community-icon{background:var(--stamp-sage);}
#profile-hub .profile-hub__row2{border-top-color:var(--ui-line);}
#palmares-content .palmares-repere{color:var(--ink-soft);font-weight:700;}
#palmares-content .palmares-actions p{
 padding:12px;border:1px solid var(--ui-line);border-radius:12px;
 background:var(--ui-wash);color:var(--ink-soft);line-height:1.6;
}
#palmares-content [data-pal-summary] li{
 border:1px solid var(--ui-line);border-left:4px solid var(--gold);
 background:var(--board-bg);border-radius:10px;padding:12px;
}
#palmares-content .mea-table tbody tr:nth-child(even){background:var(--ui-wash);}
@media(hover:hover){
 #profile-hub :is(.profile-hub__tool-btn,.profile-hub__community-card,.profile-hub__universe-item):hover{
  border-color:var(--stamp-sage);box-shadow:0 3px 10px #183b2c16;
 }
}
@media(forced-colors:active){
 :is(#view-home,#view-auth,#view-palmares,#view-hebdo,#view-equipe,#view-tld) .panel,
 #profile-hub :is(.profile-hub__identity,.profile-hub__stat-card,.profile-hub__community-card){border:1px solid CanvasText;}
}
