.account-page{width:100%;height:100%;min-height:0;overflow:auto;padding:32px 28px 48px;background:var(--bg);color:var(--txt)}
.account-container{max-width:780px;margin:0 auto}
.account-title{margin:0 0 30px}.account-title h1{font-size:25px;line-height:1.3;font-weight:500;letter-spacing:-.025em;margin:0 0 8px}.account-title p{font-size:12px;color:#9299a6;line-height:1.6}
.account-section{margin-bottom:26px}.account-section h2{font-size:11px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:#818897;margin:0 0 9px}
.account-box{border:1px solid #282b34;background:#111319;border-radius:6px;margin:0;overflow:hidden}
.account-row{display:grid;grid-template-columns:190px minmax(0,1fr) auto;align-items:center;gap:16px;min-height:62px;padding:14px 18px;border-bottom:1px solid #242730}.account-row:last-child{border-bottom:0}.account-row dt{font-size:12px;color:#9299a6;line-height:1.5}.account-row dd{font-size:13px;line-height:1.5;margin:0;overflow-wrap:anywhere;min-width:0}.account-row dd small{display:block;color:#818897;font-size:10px;margin-top:3px}
.account-button{display:inline-flex;align-items:center;justify-content:center;min-height:32px;padding:6px 12px;border:1px solid #353943;border-radius:4px;background:transparent;color:#d5d8df;font:inherit;font-size:11px;font-weight:500;white-space:nowrap;cursor:pointer;touch-action:manipulation}.account-button:hover{background:#21252e;border-color:#555c6b}.account-button:disabled{opacity:.5;cursor:default}.account-page a:focus-visible,.account-button:focus-visible,.account-edit input:focus-visible{outline:2px solid var(--y);outline-offset:3px}
.account-text-link{display:inline-flex;align-items:center;gap:8px;color:#a5acb8;font-size:11px;min-height:34px}.account-text-link:hover,.account-footer a:hover{color:var(--txt)}.account-section>.account-text-link{margin-top:4px}
.account-section-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:9px}.account-section-heading h2{margin:0}.account-section-heading .account-text-link{min-height:20px}
.account-wallet{padding:18px}.account-wallet-label{display:flex;align-items:center;gap:8px;font-size:13px;margin-bottom:12px}.account-wallet-label>span{color:#818897;font-size:11px}.account-wallet-address{display:flex;align-items:center;gap:18px;justify-content:space-between}.account-wallet code{font:12px/1.7 ui-monospace,SFMono-Regular,Consolas,monospace;color:#a5acb8;overflow-wrap:anywhere;min-width:0;user-select:all}.account-status{font-size:11px;line-height:1.5;color:#a5acb8}.account-status:not(:empty){margin-top:10px}.account-notice{color:#c5b77e;font-size:12px;line-height:1.6;margin-bottom:20px}.account-footer{font-size:11px;color:#818897}.account-footer a{display:inline-flex;gap:8px;align-items:center;min-height:36px}
.account-edit h2{font-size:20px;font-weight:500}.account-edit label{display:grid;gap:8px;margin:22px 0 10px;font-size:12px}.account-edit input{width:100%;min-height:42px;border:1px solid #353943;border-radius:4px;padding:10px 12px;background:#111319;color:var(--txt);font:inherit}.account-edit p{font-size:12px;color:#9299a6;line-height:1.6}.account-edit .err{color:#ff8298;margin-top:12px}.account-edit-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:22px}.account-edit .account-save{background:var(--y);border-color:var(--y);color:#111}
@media(max-width:600px){.account-page{padding:24px 16px 36px}.account-title{margin-bottom:26px}.account-row{grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;padding:14px;min-height:76px}.account-row dt{grid-column:1;font-size:11px}.account-row dd{grid-column:1;font-size:13px}.account-row>.account-button{grid-column:2;grid-row:1 / 3;min-height:40px}.account-wallet{padding:14px}.account-wallet-address{align-items:flex-start;flex-direction:column;gap:12px}.account-wallet-address .account-button{min-height:40px}.account-edit input{font-size:16px}.account-edit .account-button{min-height:40px}}

/* Account identity */
.profile-avatar{display:inline-block;position:relative;width:64px;height:64px;flex:none;border-radius:50%;overflow:hidden;vertical-align:middle;background:#242630}.profile-avatar>svg,.profile-avatar>img{display:block;width:100%;height:100%;object-fit:cover}.profile-avatar>img{position:absolute;inset:0}
.account-identity{display:flex;align-items:center;gap:16px;margin-bottom:28px;padding:0 0 26px;border-bottom:1px solid #282b34}.account-identity>div{min-width:0;flex:1}.account-identity h2{font-size:20px;line-height:1.3;font-weight:500;letter-spacing:-.02em;overflow-wrap:anywhere}.account-identity p{font-size:12px;color:#9299a6;margin-top:6px}.account-identity>.account-button{flex:none}
.account-menu-button{display:inline-flex!important;align-items:center;gap:8px!important;padding:4px 10px 4px 5px!important}.account-menu-button .profile-avatar{width:26px;height:26px}.account-menu-button>span:last-child{max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px}
.mbox:has(.account-edit){width:min(420px,calc(100vw - 32px));border-radius:8px;padding:24px;background:#14161c;border:1px solid #30343e}
.account-photo-editor{display:flex;align-items:center;gap:18px;margin:26px 0}.account-photo-editor .profile-avatar{width:76px;height:76px}.account-photo-editor>div:last-child{min-width:0}.account-photo-editor p{font-size:10px;margin-top:9px}.account-photo-reset{display:block;font-size:11px;color:#a5acb8;margin-top:10px;text-align:left}.account-photo-reset[hidden]{display:none}.account-photo-reset:hover{color:var(--txt)}.account-edit input[type=file][hidden]{display:none}.account-username-input{display:flex;align-items:center;border:1px solid #353943;border-radius:4px;background:#111319;padding-left:12px;color:#818897}.account-username-input input{border:0;background:transparent;min-width:0;margin:0;padding-left:5px}.account-username-input:focus-within{outline:2px solid var(--y);outline-offset:2px}.account-username-input input:focus-visible{outline:0}.account-edit .account-login-hint{font-size:11px;margin-top:10px}.account-edit .err:empty{display:none}.account-photo-reset:focus-visible{outline:2px solid var(--y);outline-offset:3px}
@media(max-width:600px){.account-identity{gap:12px;flex-wrap:wrap}.account-identity .profile-avatar{width:56px;height:56px}.account-identity h2{font-size:18px}.account-identity>.account-button{min-height:40px}.account-menu-button>span:last-child{display:none}.account-menu-button{padding:4px!important;border:0!important;background:transparent!important}.account-menu-button .profile-avatar{width:30px;height:30px}.account-photo-editor{gap:14px}.account-photo-editor .profile-avatar{width:68px;height:68px}}
.hd .abtn.account-menu-button{width:auto;min-width:0;flex-shrink:0}
