/*
  Jeux libertins : fiches des joueurs (assets/groupe.js) et éléments communs.
  S'appuie sur les variables de assets/jeux.css (--theme, --theme-2, --muted, --text).
*/
.groupe-joueurs { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.gj {
  --c: var(--theme);
  display: flex; gap: 10px; align-items: flex-start; padding: 10px; border-radius: 16px;
  background: rgba(0, 0, 0, 0.3); border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
  border-left: 4px solid var(--c);
}
.gj-perso { flex: none; width: 52px; height: 66px; padding: 0; border: 0; background: none; cursor: pointer; }
.gj-perso svg { width: 100%; height: 100%; }
.gj-corps { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.gj-ligne { display: flex; gap: 6px; align-items: center; min-width: 0; }
.gj-nom {
  flex: 1; min-width: 0; padding: 9px 10px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35); color: var(--text); font: 600 16px/1.2 inherit; font-family: inherit;
}
.gj-nom:focus { outline: none; border-color: var(--c); }
.gj-sexe { display: flex; flex: none; padding: 2px; gap: 2px; border-radius: 10px; background: rgba(255, 255, 255, 0.06); }
.gj-sexe button { width: 34px; height: 34px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; }
.gj-sexe button[aria-pressed="true"] { background: var(--c); color: #fff; }
.gj-retirer { flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.16); background: none; color: var(--muted); font-size: 1.1rem; cursor: pointer; }
.gj select {
  width: 100%; min-width: 0; padding: 7px 8px; border-radius: 9px; border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.35); color: var(--text); font: 600 0.8rem inherit; font-family: inherit;
}
.gj-sel { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.gj-sel span { font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.gj-ajouter {
  padding: 12px; border-radius: 14px; border: 1px dashed color-mix(in srgb, var(--theme) 60%, transparent);
  background: none; color: var(--text); font: 700 0.92rem inherit; font-family: inherit; cursor: pointer;
}
.gj-alerte { margin: 2px 0 0; font-size: 0.76rem; line-height: 1.4; color: var(--muted); text-align: left; }

/* Pastille d'un joueur pendant la partie */
.jeton { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px 3px 4px; border-radius: 999px; background: rgba(0, 0, 0, 0.35); border: 1px solid color-mix(in srgb, var(--c, #fff) 60%, transparent); font-weight: 700; font-size: 0.85rem; }
.jeton .perso { width: 24px; height: 30px; }
.gj-alerte b { color: var(--text); }
