.profile-avatar{display:inline-grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;overflow:hidden;background:#ece6ff;color:#6b4bd2;font-weight:650;vertical-align:middle}.profile-avatar img{display:block;width:100%;height:100%;object-fit:cover}.profile-top-button{display:inline-flex;gap:9px;align-items:center;border:0;background:none;padding:3px;cursor:pointer;color:#514860;max-width:180px}.profile-top-button small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-dialog{box-sizing:border-box;width:min(560px,calc(100% - 24px));max-height:calc(100dvh - 32px);padding:32px 38px 22px;border:1px solid #e7dff6;border-radius:26px;box-shadow:0 30px 100px #31224736;background:linear-gradient(155deg,#f9f5ff 0%,#fff 38%);color:#30243f;overscroll-behavior:contain}.profile-dialog::backdrop{background:#29223860;backdrop-filter:blur(5px);overflow:hidden;overscroll-behavior:contain}.profile-dialog form{position:relative}.profile-close{position:absolute;right:-12px;top:-15px;width:36px;height:36px;display:grid;place-items:center;border:0;border-radius:50%;background:#ede8f5;color:#756681;font-size:24px;cursor:pointer}.profile-eyebrow{font-size:10px;letter-spacing:2px;color:#8864bc;font-weight:700;text-align:center}.profile-dialog h2{text-align:center;font-size:27px;margin:10px 0 8px;letter-spacing:-.5px}.profile-dialog #profile-intro{font-size:13px;text-align:center;color:#776a85;margin:0 0 20px}.profile-preview{display:flex;align-items:center;flex-direction:column;gap:8px;margin-bottom:18px}.profile-preview .profile-avatar{width:90px;height:90px;font-size:35px;box-shadow:0 0 0 5px #fff,0 0 0 6px #eadff5,0 8px 24px #8d72b61c}.profile-preview-label{font-size:11px;color:#94829e}.profile-preset-field{border:0;margin:0;padding:0;min-width:0}.profile-preset-field legend,.profile-name-label{font-size:13px;font-weight:600;margin-bottom:10px;display:block}.profile-dialog small{font-size:11px;color:#8a7d96;font-weight:400;margin-left:5px}.profile-presets{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:9px}.profile-choice{position:relative;display:block;aspect-ratio:1;cursor:pointer}.profile-choice img{display:block;width:100%;height:100%;object-fit:cover;border-radius:50%;transition:transform .15s,box-shadow .15s}.profile-choice input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;margin:0}.profile-choice:has(:checked) img{box-shadow:0 0 0 3px #fff,0 0 0 5px #8b61d6;transform:scale(.92)}.profile-choice:has(:focus-visible) img{outline:3px solid #5732aa;outline-offset:4px}.profile-upload-row{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:20px}.profile-upload-row .btn{font-size:12px;padding:9px 12px;border-color:#e8e0ef;background:#fff}.profile-text-button{font:inherit;font-size:12px;border:0;background:none;color:#80718d;padding:8px 2px;cursor:pointer}.profile-text-button:hover{color:#6f42bb}.profile-upload-hint,.profile-name-hint,.profile-later{font-size:11px;color:#92839e;line-height:1.6}.profile-upload-hint{min-height:18px;margin:8px 0 19px}.profile-dialog #profile-name{box-sizing:border-box;width:100%;border:1px solid #e4dcec;border-radius:12px;padding:12px 14px;background:#fcfaff;font-size:16px;color:#392b48}.profile-dialog :focus-visible{outline:2px solid #8a5dd2;outline-offset:3px}.profile-name-hint{margin:7px 0 0}.profile-error{min-height:20px;margin:9px 0;font-size:12px;color:#b44259;line-height:1.5}.profile-actions{display:flex;align-items:center;justify-content:space-between;gap:15px}.profile-actions .primary{min-width:180px;border-radius:12px;padding:13px 24px;background:linear-gradient(110deg,#9f76dc,#7652c9);box-shadow:0 6px 18px #8664c329}.profile-later{text-align:center;margin:14px 0 0}.profile-dialog button:disabled{opacity:.55;cursor:wait}.account-profile-card{display:flex;align-items:center;gap:16px;margin:0 0 22px;padding:20px 24px;border:1px solid #e9e2f2;border-radius:18px;background:linear-gradient(100deg,#faf6ff,#fff)}.account-profile-card .profile-avatar{width:64px;height:64px;font-size:25px}.account-profile-card>div{flex:1;min-width:0}.account-profile-card strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-profile-card p{font-size:12px;color:#8e809a;margin:6px 0 0}@media(max-width:600px){.profile-dialog{padding:28px 22px 20px}.profile-presets{grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;max-width:310px;margin:0 auto}.profile-dialog h2{font-size:24px}.profile-preview{margin-bottom:16px}.profile-top-button small{display:none}.profile-actions .primary{min-width:160px}.account-profile-card{padding:16px;gap:12px}.account-profile-card .btn{font-size:12px;padding:9px}}@media(prefers-reduced-motion:reduce){.profile-choice img{transition:none}}
