.profile-avatar{position:relative;display:grid;place-items:center;width:96px;height:96px;border-radius:50%;overflow:hidden;background:#30343c;color:#fff;font-size:2rem;font-weight:700;flex-shrink:0}.profile-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.photo-actions{display:flex;gap:12px;flex-wrap:wrap;margin:16px 0}.photo-dialog{width:min(440px,calc(100vw - 32px));max-height:90vh;overflow:auto;border:1px solid #626670;border-radius:16px;background:#161920;color:#fff;padding:24px;box-sizing:border-box}.photo-dialog::backdrop{background:#000b}.photo-crop{width:100%;aspect-ratio:1;border-radius:50%;touch-action:none;cursor:grab}.photo-controls{display:grid;gap:12px;margin-top:16px}.photo-controls label{display:grid;gap:6px}.photo-controls input{width:100%}.photo-dialog button{padding:10px 16px;border-radius:8px;border:1px solid #777;background:#30343c;color:white;font:inherit;cursor:pointer}.photo-dialog button.primary{background:#e31818;border-color:#e31818}.photo-status{font-size:.9rem}.profile-field-error{color:#ff7373;display:block;font-size:.85rem}.profile-info{grid-column:1/-1}.header-identity{display:flex;align-items:center;gap:10px}.header-identity .profile-avatar{width:36px;height:36px;font-size:.9rem}.profile-photo-section{margin-bottom:24px}.photo-dialog input[type=range]{padding:0;min-height:32px}

.header-identity{min-width:0;max-width:240px}.header-identity>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media(max-width:760px){.header-identity{max-width:140px;font-size:12px}.photo-dialog{padding:18px}}
