.profile-name-label{display:block;margin:0 0 16px;color:#e8eaef;font-size:14px;}
.profile-name-input{display:block;width:100%;min-width:0;margin-top:8px;padding:12px 14px;border:1px solid #ffffff24;border-radius:10px;background:#222532;color:#fff;font:inherit;}
.profile-name-input:focus{outline:2px solid #a090ff;outline-offset:2px;}
.profile-avatar-picker{margin:0 0 18px;color:#e8eaef;}
.profile-avatar-picker summary{display:flex;align-items:center;gap:10px;cursor:pointer;list-style:none;font-size:14px;}
.profile-avatar-picker summary::-webkit-details-marker{display:none;}
.profile-avatar-preview{display:block;border-radius:50%;flex-shrink:0;}
.profile-avatar-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:14px;}
.profile-avatar-option{position:relative;display:flex;justify-content:center;cursor:pointer;min-width:0;}
.profile-avatar-option input{position:absolute;inset:0;opacity:0;width:100%;height:100%;margin:0;cursor:pointer;}
.profile-avatar-option img{display:block;width:100%;max-width:52px;height:auto;aspect-ratio:1;border:2px solid transparent;border-radius:50%;padding:2px;}
.profile-avatar-option input:checked+img{border-color:#b3a1ff;background:#a090ff22;}
.profile-avatar-option input:focus-visible+img{outline:2px solid #fff;outline-offset:2px;}
.account-profile-name{overflow-wrap:anywhere;min-width:0;}
.account-profile-avatar-wrap{cursor:pointer;border:0;color:inherit;}
.profile-edit-button{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;margin-left:6px;padding:6px;border:0;border-radius:50%;background:#ffffff0d;color:#a9afc0;cursor:pointer;vertical-align:middle;flex-shrink:0;}
.profile-edit-button:hover{color:#fff;background:#ffffff20;}
.profile-edit-panel{width:100%;max-width:420px;margin:12px 0 20px;padding:20px;background:#171c29;border:1px solid #ffffff20;border-radius:14px;}
.profile-edit-panel[hidden]{display:none;}
.profile-edit-actions{display:flex;gap:12px;}
.profile-edit-actions button{padding:10px 18px;border:1px solid #ffffff24;border-radius:9px;background:#292e40;color:#fff;cursor:pointer;font:inherit;}
.profile-edit-actions button[type=submit]{background:#6954bc;}
.profile-edit-actions button:disabled{opacity:.55;cursor:wait;}
.profile-edit-status{color:#ffb4b4;font-size:14px;overflow-wrap:anywhere;}
@media(max-width:360px){.profile-avatar-grid{gap:6px;}.profile-edit-panel{padding:14px;}}
