.profile-avatar{overflow:hidden}.profile-avatar img,.profile-large-avatar img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.profile-avatar img[hidden],.profile-large-avatar img[hidden],.profile-avatar span[hidden],.profile-large-avatar span[hidden]{display:none!important}
#owner-athletedata-link[hidden],#profile-edit-controls[hidden],#profile-data-section[hidden],#profile-remove[hidden]{display:none!important}
.profile-dropdown .owner-data-link{display:block;padding:10px 12px;border-radius:8px;color:var(--ink);font-size:.82rem;text-decoration:none}.profile-dropdown .owner-data-link small{display:block;margin-top:3px;color:var(--muted);font-size:.7rem}.profile-dropdown .owner-data-link:hover,.profile-dropdown .owner-data-link:focus-visible{background:var(--line-soft)}
#profile-dialog{width:min(520px,calc(100vw - 32px));max-height:90vh;padding:0;border:1px solid var(--line);border-radius:20px;background:var(--panel,#fff);color:var(--ink);box-shadow:0 24px 90px #0003}#profile-dialog::backdrop{background:#08090cb3}
.profile-dialog-head{display:flex;justify-content:space-between;align-items:start;gap:16px;padding:28px 30px 20px;border-bottom:1px solid var(--line)}.profile-dialog-head h2{margin:5px 0;font-size:1.65rem}.profile-dialog-head p,.profile-identity p,.profile-photo-section p,.profile-data-section p{margin:4px 0 0;color:var(--muted);line-height:1.5;font-size:.9rem}.profile-dialog-head button{border:0;background:transparent;color:var(--ink);font-size:1.8rem;line-height:1;cursor:pointer}
.profile-identity{display:flex;align-items:center;gap:19px;padding:27px 30px;border-bottom:1px solid var(--line)}.profile-identity h3{margin:0;font-size:1.1rem}.profile-large-avatar{display:grid;place-items:center;flex:none;width:86px;height:86px;border-radius:50%;overflow:hidden;background:#202124;color:#fff;font-size:1.2rem;font-weight:750}
.profile-photo-section,.profile-data-section{padding:24px 30px;border-bottom:1px solid var(--line)}.profile-photo-section h3,.profile-data-section h3{margin:0;font-size:1rem}.profile-photo-section #profile-edit-controls{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:17px}.profile-file-label,.profile-photo-section button,.profile-data-section a{display:inline-block;padding:10px 14px;border-radius:9px;border:1px solid var(--line);background:var(--panel,#fff);color:var(--ink);font:inherit;font-size:.84rem;font-weight:650;text-decoration:none;cursor:pointer}.profile-file-label,#profile-save,.profile-data-section a{background:#e21b2d;color:#fff;border-color:#e21b2d}.profile-photo-section button:disabled{opacity:.48;cursor:default}#profile-file{position:absolute;width:1px;height:1px;opacity:0}#profile-photo-status{min-height:1.4em;margin-top:13px;font-size:.79rem}.profile-data-section{border-bottom:0}.profile-data-section a{margin-top:17px}
@media(max-width:540px){.profile-dialog-head,.profile-identity,.profile-photo-section,.profile-data-section{padding-left:20px;padding-right:20px}}
.profile-crop[hidden]{display:none!important}.profile-crop{display:grid;justify-items:center;gap:12px;margin:18px 0 4px;padding:18px 16px;border:1px solid var(--line);border-radius:14px;background:var(--line-soft,#f5f5f7)}.profile-crop-frame{width:min(260px,70vw);aspect-ratio:1;border:3px solid #e21b2d;border-radius:50%;overflow:hidden;box-shadow:0 0 0 5px #e21b2d22;background:#222}.profile-crop canvas{display:block;width:100%;height:100%;touch-action:none;cursor:grab}.profile-crop canvas:active{cursor:grabbing}.profile-crop label{display:flex;align-items:center;gap:12px;width:min(260px,70vw);font-size:.8rem;font-weight:700}.profile-crop input{flex:1;accent-color:#e21b2d}.profile-crop small{max-width:300px;color:var(--muted);font-size:.75rem;line-height:1.4;text-align:center}
