.profile-backdrop,.profile-editor{--ease-out-expo:cubic-bezier(.19, 1, .22, 1);--ease-out-quad:cubic-bezier(.25, .46, .45, .94)}.profile-backdrop{z-index:90;background:oklch(18% .004 286/.34);transition:opacity .24s;position:fixed;inset:0}.profile-editor{z-index:91;background:var(--bg,oklch(98% .002 286));transform-origin:50%;width:min(760px,100vw - 32px);max-height:calc(100svh - 32px);transition:opacity .2s ease, scale .32s var(--ease-out-expo);border:1px solid oklch(86% .004 286);border-radius:24px;padding:24px;position:fixed;top:50%;left:50%;overflow:auto;transform:translate(-50%,-50%);box-shadow:0 24px 80px oklch(15% 0 0/.18)}.profile-editor[data-starting-style],.profile-editor[data-ending-style]{opacity:0;scale:.96}.profile-editor[data-ending-style]{transition:opacity .16s,scale .16s}.profile-backdrop[data-starting-style],.profile-backdrop[data-ending-style]{opacity:0}.profile-backdrop[data-ending-style]{transition-duration:.16s}.profile-editor header{justify-content:space-between;gap:16px;display:flex}.profile-editor header>button{flex-shrink:0;place-items:center;width:44px;height:44px;font-size:24px;display:grid}.profile-editor h2{margin:0 0 8px;font-size:24px}.profile-editor header p{color:var(--muted);margin:0;font-size:14px}.profile-editor form{margin:0}.profile-editor-body{grid-template-columns:256px minmax(0,1fr);gap:32px;margin:24px 0;display:grid}.avatar-preview{flex-direction:column;align-self:start;align-items:center;display:flex;position:sticky;top:0}.look-preview{width:256px;height:256px;animation:5s ease-in-out infinite look-float;position:relative}.look-preview img{opacity:0;pointer-events:none;user-select:none;width:100%;height:100%;transition:opacity .22s ease, scale .36s var(--ease-out-expo);position:absolute;inset:0;scale:.96}.look-preview img[data-active=true]{opacity:1;scale:1}@keyframes look-float{0%,to{translate:0}50%{translate:0 -5px}}.look-name{color:var(--muted);text-align:center}.profile-name-label,.avatar-options-label{margin:0 0 12px;font-size:14px;font-weight:550;display:block}.avatar-options-label{margin-top:24px}.profile-name{background:oklch(100% 0 0);border:1px solid oklch(66% .004 286);border-radius:999px;align-items:center;min-width:0;height:48px;padding:0 14px;display:flex}.profile-name span{color:var(--muted);white-space:nowrap;font-size:12px}.profile-name input{background:0 0;width:100%;min-width:0;padding:8px 4px;font-size:16px;line-height:24px;box-shadow:none!important;border:0!important;outline:0!important}.profile-name:focus-within{outline-offset:3px;outline:2px solid oklch(42% .005 286)}.avatar-presets{flex-wrap:wrap;gap:8px;display:flex}.avatar-look{cursor:pointer;width:60px;height:60px;transition:background-color .15s ease, border-color .15s ease, box-shadow .2s var(--ease-out-expo), scale .15s var(--ease-out-quad);background:oklch(94% .003 286);border:1px solid #0000;border-radius:15px;padding:5px}.avatar-look img{width:100%;height:100%;transition:scale .2s var(--ease-out-expo);display:block}@media (hover:hover) and (pointer:fine){.avatar-look:hover{background:oklch(91% .004 286)}.avatar-look:hover img{scale:1.04}}.avatar-look:active{scale:.96}.avatar-look[data-checked]{background:oklch(100% 0 0);border-color:oklch(32% .005 286);box-shadow:0 0 0 3px oklch(32% .005 286/.12)}.avatar-look:focus-visible{outline-offset:2px;outline:2px solid oklch(42% .005 286)}.profile-editor .small-note{margin:12px 0;font-size:12px;line-height:1.5}.profile-editor .auth-error{margin-top:16px}.profile-editor footer{background:var(--bg,oklch(98% .002 286));z-index:2;justify-content:flex-end;gap:12px;min-height:0;margin-top:24px;margin-bottom:-8px;padding:16px 0;display:flex;position:sticky;bottom:-24px}@media (width<=600px){.profile-editor{padding:20px}.profile-editor footer{bottom:-20px}.profile-editor-body{grid-template-columns:1fr;gap:16px}.avatar-preview{position:static}.look-preview{width:180px;height:180px}}@media (prefers-reduced-motion:reduce){.profile-editor,.profile-editor[data-ending-style]{transition:opacity .15s}.profile-editor[data-starting-style],.profile-editor[data-ending-style]{scale:1}.profile-backdrop{transition:opacity .15s}.look-preview{animation:none}.look-preview img{transition:opacity .15s;scale:1}.avatar-look,.avatar-look img{transition:none;scale:1}}
