main:has(> .edit-profile) { padding:0; background:#0c0b1c; }
.page.edit-profile {
  display:flex; flex-direction:column; width:100%; max-width:640px; min-height:calc(100dvh - var(--mast));
  margin:auto; color:#fafafa; font:500 16px/1.45 Manrope,system-ui,sans-serif;
  background:#0c0b1c url('/art/native-account/profile-bg.webp') top center / cover no-repeat;
}
.ep-header { display:grid; grid-template-columns:44px 1fr 44px; align-items:center; min-height:56px; padding:0 12px; }
.edit-profile .ep-header h1 { margin:0; font:700 18px/24px Manrope,sans-serif; letter-spacing:0; text-align:center; }
.ep-back,.ep-pencil { display:grid; place-items:center; padding:0; border:0; border-radius:50%; color:white; cursor:pointer; }
.ep-back { background:transparent; width:44px; height:44px; text-decoration:none; }
.ep-accessible { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.ep-back::before { content:'\e901'; font:22px/1 'Checkout Icons'; }
.ep-form { display:flex; flex:1; flex-direction:column; margin:0; }
.ep-body { flex:1; min-width:0; padding:8px 20px 24px; }
.ep-avatar { position:relative; width:109px; height:109px; margin:42px auto; }
.edit-profile .ep-face { display:grid; position:relative; place-items:center; width:100%; height:100%; overflow:visible; min-height:0; margin:0; padding:0; border:0; border-radius:50%; background:#1b1a30; color:white; text-decoration:none; }
.ep-face::after { content:''; pointer-events:none; position:absolute; inset:0; background:center / contain no-repeat url('/art/native-account/avatar-ring-no-tier.webp'); }
.ep-initial { font-weight:700; font-size:36px; }
.ep-photo,.ep-photo [data-avatar-widget] { position:absolute; inset:0; border-radius:50%; }
.ep-photo [data-avatar-widget] img[alt="Your profile photo"] { display:block; width:100%!important; height:100%!important; object-fit:cover; }
.ep-photo [data-avatar-widget] > span { width:100%!important; height:100%!important; }
.ep-photo .note { position:absolute; top:100%; width:180px; left:50%; transform:translateX(-50%); margin:4px 0; font-size:12px; }
.ep-pencil { position:absolute; bottom:0; right:0; width:36px; height:36px; background:#0009; }
.ep-pencil::before { content:'\e921'; font:14px/1 'Checkout Icons'; }
.edit-profile .ep-field { position:relative; display:block; width:100%; border:1px solid #ffffff26; border-radius:8px; padding:20px 16px 12px; background:#1b1a30; cursor:text; }
.ep-field:focus-within { border-color:#bba4ff; }
.ep-label { position:absolute; left:16px; top:50%; transform:translateY(-50%); transform-origin:left top; pointer-events:none; color:rgb(250 250 250 / 55%); font-size:14px; font-weight:600; }
.ep-field[data-raised] .ep-label { top:6px; transform:scale(.86); }
.edit-profile .ep-field input { display:block; width:100%; height:24px; min-height:0; margin:0; padding:0; border:0; border-radius:0; outline:0; background:transparent; color:#fafafa; font:600 14px/24px Manrope,sans-serif; }
.ep-field input::placeholder { color:transparent; }
.ep-field:focus-within input::placeholder { color:rgb(250 250 250 / 30%); }
.ep-footer { position:sticky; bottom:0; background:#0c0b1c; padding:12px 20px max(12px,env(safe-area-inset-bottom)); }
.ep-save { width:100%; min-height:56px; padding:0 20px; border:0; border-radius:999px; background:#fafafa; color:#151321; font:700 16px/24px Manrope,sans-serif; cursor:pointer; }
.ep-save:disabled { background:#ffffff26; color:rgb(250 250 250 / 55%); opacity:1; cursor:default; }
.ep-save[aria-busy=true] { cursor:progress; }
.ep-status { margin:0 0 8px; font-size:14px; }
.ep-status:empty { display:none; }
.edit-profile :is(a,button):focus-visible { outline:2px solid #c7afff; outline-offset:2px; }
@media (max-width:760px) {
  body:has(main > .edit-profile) :is(.mast,#bottom-nav) { display:none; }
  .page.edit-profile { min-height:100dvh; padding-top:env(safe-area-inset-top); }
}
@media (prefers-reduced-motion:no-preference) {
  :root:not(.reduced-motion) .ep-label { transition:transform .16s ease-out,top .16s ease-out; }
}
