/* ============================================================
   ASTRA GENESIS, 34-avatar.css
   v0.89.3.6, avatar du joueur (js/12g-avatar.js) : la pastille, ses
   trois tailles et ses teintes, la grille de choix, et sa place dans le
   lobby, la carte du profil et la liste des membres d'une alliance.
   Teintes : couleurs de la charte (css/01-tokens.css), jamais une
   valeur reçue. Aucune image ici : l'image vient du catalogue.
   ============================================================ */
.av{
  display:inline-flex;align-items:center;justify-content:center;flex:none;overflow:hidden;
  border-radius:50%;border:1px solid var(--line-strong);background:#121C2B;color:var(--cyan);
  vertical-align:middle;
}
.av img{width:80%;height:80%;object-fit:contain;pointer-events:none;user-select:none;}
.av svg{width:56%;height:56%;}
.av-sm{width:calc(26px*var(--scale));height:calc(26px*var(--scale));}
.av-md{width:calc(36px*var(--scale));height:calc(36px*var(--scale));}
.av-lg{width:100%;height:100%;border:0;}
.av-tone-cyan{background:rgba(45,212,191,.16);border-color:rgba(45,212,191,.45);}
.av-tone-amber{background:rgba(245,158,11,.16);border-color:rgba(245,158,11,.45);}
.av-tone-violet{background:rgba(167,139,250,.16);border-color:rgba(167,139,250,.45);}

/* grille de choix : la vignette porte la pastille, le cadre dit le choix */
.av-picker{gap:6px;}
.av-picker .ag-pick{width:calc(44px*var(--scale));height:calc(44px*var(--scale));border-radius:50%;}
.av-picker .ag-pick .av{border-color:transparent;}

/* carte du profil : la pastille remplit l'emblème */
.pf-emblem .av-lg{border-radius:50%;}
.pf-avatar-row .set-row-ctl{flex:1 1 100%;}

/* lobby : même libellé que les champs du formulaire */
.lobby-avatar{display:flex;flex-direction:column;gap:6px;}
.lobby-avatar > span{
  font-family:var(--font-mono);font-size:.68rem;color:var(--ink-3);letter-spacing:.05em;text-transform:uppercase;
}
.lobby-avatar .av-picker .ag-pick{width:calc(36px*var(--scale));height:calc(36px*var(--scale));}
.lobby-avatar .av-md{width:calc(30px*var(--scale));height:calc(30px*var(--scale));}

/* liste des membres d'une alliance : la pastille avant le pseudo */
.al-table td.al-member .av-sm{margin-right:8px;}
