/* Solo avatares del perfil; imágenes originales cuadradas, sin deformaciones ni zoom. */
.ls-prof-main .profile-avatar{width:104px;height:104px;padding:0;border-radius:50%;background:transparent;display:grid;place-items:center}.ls-prof-main .profile-avatar-image{display:block;width:104px;height:104px;aspect-ratio:1;object-fit:cover;object-position:center;border-radius:50%}.ls-prof-main .ls-prof-result .profile-avatar-image{width:64px;height:64px}.ls-prof-main .avatar-unassigned{font-size:13px;line-height:1.3;text-align:center;color:#40536d}.ls-prof-main .avatar-picker{border:0;padding:0;margin:18px 0;min-width:0}.ls-prof-main .avatar-picker legend{font-weight:650;margin-bottom:10px}.ls-prof-main .avatar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.ls-prof-main .avatar-grid label.avatar-option{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:7px;margin:0;padding:10px 4px;border:2px solid #d7e1ec;border-radius:14px;cursor:pointer;min-width:0;text-align:center}.ls-prof-main .avatar-option input[type=radio]{width:18px;height:18px;min-height:18px;margin:0;padding:0;border:0;flex:none;accent-color:#2563eb}.ls-prof-main .avatar-option img{display:block;width:88px;height:88px;max-width:100%;aspect-ratio:1;object-fit:cover;object-position:center;border-radius:50%}.ls-prof-main .avatar-option span{font-size:13px}.ls-prof-main .avatar-option:has(input:checked){border-color:#2563eb;background:#edf4ff}.ls-prof-main .avatar-option:focus-within{outline:3px solid #d99b18;outline-offset:2px}@media(max-width:600px){.ls-prof-main .avatar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}


/* INC-011: selector cerrado por defecto y lista desplazable de tres filas.
   La altura del panel no aumenta al ampliar el catálogo de avatares. */
.ls-prof-main .avatar-disclosure{max-width:640px;margin:16px 0}
.ls-prof-main .avatar-disclosure>summary{
 display:inline-flex;align-items:center;min-height:44px;padding:8px 14px;
 border:1px solid #2563eb;border-radius:10px;background:#fff;color:#2059ab;
 cursor:pointer;font-weight:650;box-sizing:border-box
}
.ls-prof-main .avatar-disclosure>summary:focus-visible{outline:3px solid #d99b18;outline-offset:3px}
.ls-prof-main .avatar-disclosure[open]>summary{background:#edf4ff}
.ls-prof-main .avatar-disclosure .avatar-picker{margin:12px 0 0;padding:8px;border:1px solid #d7e1ec;border-radius:12px}
.ls-prof-main .avatar-disclosure .avatar-grid{
 grid-auto-rows:132px;max-height:calc(3 * 132px + 2 * 12px);
 overflow-y:auto;overscroll-behavior:contain;align-content:start;scrollbar-gutter:stable;
 padding:2px
}
.ls-prof-main .avatar-disclosure .avatar-option{height:132px;box-sizing:border-box}
@media(max-width:600px){
 .ls-prof-main .avatar-disclosure .avatar-grid{
  grid-template-columns:repeat(2,minmax(0,1fr));
  grid-auto-rows:132px;
  max-height:calc(3 * 132px + 2 * 12px)
 }
}

/* Avatar actualmente guardado junto al alias en Mi perfil */
.ls-profile-current{display:flex;align-items:center;gap:16px;margin:18px 0 12px;flex-wrap:wrap}
.ls-profile-current .profile-avatar{width:76px;height:76px}
.ls-profile-current .profile-avatar-image{width:76px;height:76px}
.ls-profile-current h2{margin:0;overflow-wrap:anywhere}
@media(max-width:600px){.ls-profile-current{gap:12px}.ls-profile-current .profile-avatar,.ls-profile-current .profile-avatar-image{width:64px;height:64px}}
