/* The same original bitmap and synchronized avatar IDs used by every player. */
.profile-portrait,.managed-avatar-picker .avatar{display:block;background-image:url(/ui/assets/profile-avatars-v2.png);background-size:300% 200%;background-repeat:no-repeat;background-color:#09101b;color:transparent;font-size:0;overflow:hidden;flex-shrink:0;border:1px solid #6d91b230}
:is(.profile-portrait,.managed-avatar-picker .avatar).avatar-teal{background-position:0 0}:is(.profile-portrait,.managed-avatar-picker .avatar).avatar-blue{background-position:50% 0}:is(.profile-portrait,.managed-avatar-picker .avatar).avatar-purple{background-position:100% 0}:is(.profile-portrait,.managed-avatar-picker .avatar).avatar-orange{background-position:0 100%}:is(.profile-portrait,.managed-avatar-picker .avatar).avatar-green{background-position:50% 100%}
.profile-identity .profile-portrait{width:54px;height:54px;border-radius:16px}.managed-profile-preview{display:flex;align-items:center;gap:16px;padding:16px;background:#0b1621;border:1px solid #7195b52a;border-radius:16px;margin-bottom:24px}.managed-profile-preview .profile-portrait{width:70px;height:70px;border-radius:19px}.managed-profile-preview strong{display:block;font-size:19px;overflow-wrap:anywhere}.managed-profile-preview small{display:block;color:var(--muted);font-size:11px;margin-top:5px}.managed-profile-preview>div{min-width:0}.managed-avatar-field{min-width:0;border:0;padding:0;margin:0 0 22px}.managed-avatar-field legend{font-size:12px;margin-bottom:10px}.managed-avatar-picker{display:grid;grid-template-columns:repeat(5,minmax(44px,1fr));gap:8px}.managed-avatar-picker .avatar-choice{display:flex;flex-direction:column;align-items:center;gap:8px;min-width:44px;min-height:44px;padding:8px 5px;border:1px solid transparent;border-radius:15px;background:transparent;color:var(--muted)}.managed-avatar-picker .avatar{width:100%;max-width:76px;height:auto;aspect-ratio:1;border-radius:15px}.managed-avatar-picker .avatar-caption{font-size:10px;line-height:1.4;overflow-wrap:anywhere}.managed-avatar-picker .avatar-choice[aria-pressed=true]{background:#b9f86a12;border-color:#b9f86a88;color:#d1fca3}.managed-avatar-picker .avatar-choice:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.managed-profile-preferences{border-top:1px solid var(--line);padding-top:16px}.managed-profile-preferences summary{min-height:44px;cursor:pointer;color:var(--accent);font-size:13px;font-weight:600}.managed-profile-preferences .check-label{min-height:44px}.managed-profile-dialog :is(input,select,.button,.icon-button){min-height:44px}.managed-profile-dialog .icon-button{min-width:44px}.managed-profile-dialog{overflow:auto}.managed-profile-dialog .dialog-actions{position:sticky;bottom:-29px;background:var(--surface);padding-bottom:14px}.managed-profile-dialog .form-error{overflow-wrap:anywhere}.profile-row .row-actions{flex-wrap:wrap}.profile-row .button{min-height:44px}.profile-identity{min-width:0}.profile-identity>div{min-width:0;overflow-wrap:anywhere}
@media(max-width:480px){.managed-avatar-picker{grid-template-columns:repeat(3,minmax(44px,1fr));gap:8px}.managed-avatar-picker .avatar{max-width:72px}.managed-profile-dialog .dialog-actions{bottom:-22px}.profile-row{align-items:flex-start;flex-direction:column}.profile-row .row-actions{width:100%;gap:8px}.profile-row .row-actions .button{flex:1;min-width:110px}.managed-profile-preview strong{font-size:17px}}
.managed-profile-dialog{scroll-padding-bottom:90px}.managed-profile-dialog :is(input,select,.avatar-choice,.check-label){scroll-margin-bottom:90px}
@media(max-width:480px){.managed-profile-preview{padding:12px;gap:12px;margin-bottom:18px}.managed-profile-preview .profile-portrait{width:52px;height:52px;border-radius:15px}.managed-profile-preview strong{font-size:15px;line-height:1.35}.managed-profile-preview small{font-size:10px;line-height:1.4}.managed-profile-dialog .dialog-header{margin-bottom:18px}}
