.avatar-edit-button{position:relative;display:block;width:100%;height:100%;min-height:0;margin:0;padding:0;overflow:visible;border:0;border-radius:50%;background:none;box-shadow:none;cursor:pointer}.avatar-edit-button img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%}.avatar-edit-button::after{content:'✎';position:absolute;right:-2px;bottom:-2px;display:grid;place-items:center;width:20px;height:20px;border:1px solid #4f735e;border-radius:50%;background:#213a2d;color:#d4ebdf;font-size:13px;line-height:1}.avatar-edit-button:focus-visible{outline:0;box-shadow:none;filter:brightness(1.18)}
.avatar-picker{width:min(410px,calc(100vw - 28px));max-height:calc(100svh - 36px);margin:auto;padding:22px;border:1px solid #d4e3dc;border-radius:24px;background:#f5f8f6;color:#243c32;box-shadow:0 24px 80px #06180f66;overflow:auto}.avatar-picker::backdrop{background:#06170f88;backdrop-filter:blur(7px)}.avatar-picker-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 22px}.avatar-picker-head h2{font-size:21px;line-height:1.3;font-weight:600;margin:0}.avatar-picker-close{width:36px;min-height:36px;height:36px;margin:0;padding:0;border:0;border-radius:50%;background:#e6ede9;color:#3c594c;box-shadow:none;font-size:25px;line-height:1;cursor:pointer}.avatar-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 9px}.avatar-option{display:flex;flex-direction:column;align-items:center;gap:9px;min-width:0;min-height:112px;width:100%;margin:0;padding:10px 3px;border:1px solid transparent;border-radius:15px;background:transparent;box-shadow:none;color:#50675c;cursor:pointer;font:500 13px/1.4 -apple-system,BlinkMacSystemFont,system-ui,sans-serif}.avatar-option[aria-pressed=true]{background:#e0ece4;border-color:#94b6a1;color:#264e38}.avatar-option img,.avatar-upload-icon{display:block;width:72px;height:72px;border-radius:50%;object-fit:cover}.avatar-upload-icon{display:grid;place-items:center;background:#e4ece7;border:1px dashed #9bb3a5;color:#597c68;font-size:34px;font-weight:300}.avatar-picker .avatar-save{width:100%;min-height:46px;margin:20px 0 0;padding:11px;border:0;border-radius:12px;background:#223d2e;color:#f0f6f2;font-size:15px;font-weight:550;box-shadow:none;cursor:pointer}.avatar-feedback{font-size:13px;line-height:1.5;color:#97475b;margin:14px 0 0}.avatar-feedback:empty{display:none}.avatar-picker button:focus-visible{outline:0;box-shadow:none;background-color:#d0e1d6}.avatar-picker .avatar-save:focus-visible{background-color:#325540}.signup-avatar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 24px;color:#c8dacd;font-size:14px}.signup-avatar-select{display:flex!important;align-items:center;justify-content:flex-end;gap:12px;width:auto!important;min-height:52px!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:#c0d5c7!important;font-size:14px!important;cursor:pointer}.signup-avatar-select img{width:52px;height:52px;border-radius:50%;object-fit:cover}.registration-preview-status{font-size:13px;color:#cad9ce;margin-top:16px;text-align:center}
@media(max-width:350px){.avatar-picker{padding:18px}.avatar-option img,.avatar-upload-icon{width:62px;height:62px}.avatar-option{min-height:100px}.avatar-options{gap:9px 6px}}
.profile-avatar:has(.avatar-edit-button){overflow:visible!important;background:transparent!important;border:0!important}
.avatar-file{display:none!important}.avatar-options{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 9px}.avatar-upload-icon{overflow:hidden}.avatar-upload-icon img{width:100%;height:100%;border-radius:50%;object-fit:cover}.avatar-picker .avatar-save:disabled{opacity:.5;cursor:wait}.login-avatar{display:flex;justify-content:center;margin:18px 0 24px}.login-avatar img{display:block;width:72px;height:72px;border-radius:50%;object-fit:cover}

.avatar-picker button:focus,.login-stage button:focus{outline:0!important;box-shadow:none!important}.login-stage button:focus-visible{filter:brightness(1.12)}

@media(forced-colors:active){.avatar-picker button:focus-visible,.login-stage button:focus-visible{outline:2px solid CanvasText!important;outline-offset:-4px;filter:none}}
.profile-name-editor{width:min(420px,calc(100% - 32px));max-height:calc(100svh - 40px);margin:auto;padding:24px;border:1px solid #aac9b42e;border-radius:24px;background:linear-gradient(145deg,#142a22,#091c16);color:#e5f2e9;box-shadow:0 22px 80px #0005;overflow:auto;scrollbar-width:none}
.profile-name-editor::backdrop{background:#06150f80;backdrop-filter:blur(10px)}.profile-name-form{margin:0;padding:0;background:none;border:0;box-shadow:none}
.profile-name-editor .avatar-picker-head{margin-bottom:24px}.profile-name-editor h2{font-size:21px}.profile-name-editor .profile-name-close{width:34px;height:34px;min-height:0;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:#b5cfc0;font:300 29px/1 system-ui}
.profile-name-editor label{display:block;margin:0 0 8px;color:#acc4b6;font-size:13px;font-weight:500}.profile-name-editor input{display:block;width:100%;min-height:50px;padding:12px 14px;border:1px solid #6b998146;border-radius:12px;background:#04150e90;color:#f2fff7;font:500 17px/1.4 -apple-system,system-ui,sans-serif;outline:none;box-shadow:none}
.profile-name-editor .profile-name-quota{min-height:20px;margin:12px 0 0;color:#93af9f;font-size:12px}.profile-name-editor .profile-name-feedback{margin:8px 0;color:#eda6ad;font-size:13px}.profile-name-feedback:empty{display:none}
.profile-name-editor .profile-name-save{width:100%;min-height:48px;margin:22px 0 0;border:1px solid #b6e3c66b;border-radius:12px;background:linear-gradient(130deg,#b2e3c4,#82bd9c);color:#173b28;font:650 15px system-ui;box-shadow:inset 0 1px #e9fff380}.profile-name-save:disabled{opacity:.45}
