/* Sample H dimensions. All surfaces follow the installed theme, never fixed light blocks. */
.account-selection{position:relative;margin-left:auto;min-width:0}.account-selection-trigger{display:flex!important;align-items:center;gap:8px;max-width:200px}.account-selection-trigger span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-selection .bigbit-primary-account-menu{position:absolute;right:0;top:calc(100% + 8px);width:min(320px,calc(100vw - 48px));max-height:360px;overflow:auto;z-index:30;background:var(--ac-card);border:1px solid var(--ac-line);border-radius:16px;padding:8px;box-shadow:0 12px 32px #0004}.account-selection [hidden]{display:none!important}.account-selection .bigbit-primary-account-option{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:44px;padding:10px 12px;background:transparent;color:var(--ac-text);border:0;border-radius:8px;text-align:left;font:inherit}.account-selection .bigbit-primary-account-option[aria-selected=true]{background:var(--ac-inner)}.account-selection .bigbit-primary-account-option:hover{background:var(--ac-inner)}.account-selection .bigbit-primary-account-option:focus-visible,.account-selection-trigger:focus-visible{outline:2px solid var(--ac-text);outline-offset:2px}.account-selection .bigbit-primary-account-option-main{min-width:0;display:flex;flex-direction:column}.account-selection .bigbit-primary-account-option-main strong{overflow-wrap:anywhere}.account-selection small{color:var(--ac-muted);font-size:12px}.account-selection .bigbit-primary-account-option-state{flex-shrink:0}
.account-center,.account-avatar-panel,.account-sheet-scrim{--ac-page:var(--bb-theme-canvas);--ac-card:var(--bb-theme-surface);--ac-inner:var(--bb-theme-inset);--ac-line:var(--bb-theme-line);--ac-text:var(--bb-theme-ink);--ac-muted:var(--bb-theme-muted);color:var(--ac-text)}
.account-center{width:min(1680px,100%);margin:0 auto;padding:24px clamp(20px,2.2vw,40px) 64px;box-sizing:border-box;text-align:left}
.account-center h1{font-size:28px;font-weight:600;margin:0 0 24px}.account-center h2{font-size:18px;font-weight:600;margin:0}.account-center-layout{display:grid;grid-template-columns:240px minmax(0,1fr);gap:24px}
.account-center-nav{padding:8px;background:var(--ac-card);border-radius:20px;align-self:start;position:sticky;top:96px}
.account-center-nav .account-avatar-group+.account-avatar-group{margin-top:8px;padding-top:8px;border-top:1px solid var(--ac-line)}.account-nav-row{box-sizing:border-box;display:flex;align-items:center;gap:12px;min-height:44px;width:100%;padding:0 12px;border:0;border-radius:12px;background:transparent;color:inherit;text-decoration:none;font-family:inherit;font-size:14px;font-weight:500;line-height:1.3;text-align:left;cursor:pointer}.account-nav-row>span{flex:1;min-width:0}.account-nav-row svg{flex:none;width:20px;height:20px}.account-nav-row:hover,.account-nav-row[aria-current="page"]{background:var(--ac-inner)}.account-nav-row[aria-current="page"]{font-weight:600}.account-nav-row:focus-visible,.account-button:focus-visible{outline:2px solid #b8ff3d;outline-offset:2px}
.account-center-main{min-width:0;display:flex;flex-direction:column;gap:24px}.account-card{background:var(--ac-card);border:1px solid var(--ac-line);border-radius:20px;padding:24px;min-width:0}.account-person{min-height:96px;display:flex;align-items:center;gap:16px;box-sizing:border-box}.account-person strong{font-size:20px;font-weight:600}.account-person-face .bb-identity{width:56px!important;height:56px!important}.account-person-progress{margin-left:auto;display:flex;align-items:center;gap:16px;flex-wrap:wrap}.account-chips{display:flex;align-items:center;gap:6px;margin-top:4px;flex-wrap:wrap}.account-chips>span,.account-chips>a{font-size:12px;color:var(--ac-muted);background:var(--ac-inner);padding:3px 8px;border-radius:99px;text-decoration:none}.account-id-button,.account-icon-button{display:inline-flex;gap:6px;align-items:center;justify-content:center;background:transparent;color:var(--ac-muted);border:0;cursor:pointer}.account-icon-button{width:32px;height:32px;flex:none}.account-avatar-who .account-icon-button{padding:0}.account-avatar-who .account-icon-button svg{width:16px;height:16px;flex:none}.account-id-button{min-height:32px;font:inherit;font-size:12px}.account-chips a[data-verified="true"]{color:var(--ac-text)}
.account-center-content{display:grid;grid-template-columns:minmax(0,2fr) minmax(240px,1fr);gap:24px;align-items:start}.account-main-column,.account-side-column{display:flex;flex-direction:column;gap:24px;min-width:0}.account-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:20px;flex-wrap:wrap}.account-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.account-button{min-height:44px;padding:0 16px;border:1px solid var(--ac-line);border-radius:12px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--ac-inner);color:var(--ac-text);font-family:inherit;font-size:14px;font-weight:500;line-height:1.3;text-decoration:none;cursor:pointer}.account-button:disabled,.account-avatar-funding [aria-disabled="true"]{opacity:.5;cursor:default}.account-button-primary{background:var(--ac-text);color:var(--ac-page);border-color:var(--ac-text)}.account-total-label{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--ac-muted)}.account-total{font-size:40px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.5px;margin:8px 0 24px}.account-trading-cards{display:flex;gap:12px;overflow-x:auto;padding-bottom:8px}.account-trading-card{box-sizing:border-box;min-width:200px;min-height:112px;padding:16px;background:var(--ac-inner);border-radius:16px;display:flex;flex-direction:column;gap:8px;text-decoration:none;color:inherit}.account-trading-card strong{font-size:20px;font-weight:600;font-variant-numeric:tabular-nums}.account-trading-card small{font-size:12px;color:var(--ac-muted)}.account-add-card{border:1px dashed var(--ac-line);background:transparent;align-items:center;justify-content:center;flex:none}.account-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--ac-line);min-height:44px;box-sizing:border-box}.account-row:last-child{border-bottom:0}.account-row>span{flex:1}.account-row strong{font-variant-numeric:tabular-nums}.account-empty{padding:20px 0;color:var(--ac-muted);font-size:14px}.account-page-status{font-size:14px;color:var(--ac-muted);display:flex;gap:12px;align-items:center}.account-page-status[hidden]{display:none}.account-page-status button{min-height:40px}.account-skeleton{min-height:200px;opacity:.6}.account-section-only{grid-column:1/-1}.account-security-segments{display:flex;gap:4px;margin:16px 0}.account-security-segments i{flex:1;height:4px;border-radius:4px;background:var(--ac-inner)}.account-security-segments i[data-complete="true"]{background:#b8ff3d}.account-table-scroll{overflow-x:auto}.account-table{width:100%;border-collapse:collapse;white-space:nowrap;font-size:14px}.account-table th,.account-table td{padding:14px 12px;border-bottom:1px solid var(--ac-line);text-align:left}.account-table th{font-size:12px;font-weight:500;color:var(--ac-muted)}.account-table td{font-variant-numeric:tabular-nums}.account-table-symbol{display:flex;align-items:center;gap:8px}.account-tabs{display:flex;gap:8px;overflow-x:auto;margin-bottom:16px}.account-tabs button{white-space:nowrap}.account-tabs button[aria-selected="true"]{font-weight:600;background:var(--ac-inner)}.account-copy-link{display:flex;align-items:center;gap:8px}.account-copy-link input{min-width:0;flex:1;min-height:44px;border:1px solid var(--ac-line);background:var(--ac-inner);border-radius:12px;color:inherit;padding:0 12px;font:inherit}.account-progress-segments{display:flex;gap:4px;width:100px}.account-progress-segments i{height:4px;flex:1;background:var(--ac-inner);border-radius:3px}.account-progress-segments i[data-step-state="complete"]{background:var(--ac-text)}.account-progress-segments i[data-step-state="current"]{background:#b8ff3d}
.web-avatar .account-avatar-panel{width:320px;max-width:calc(100vw - 32px);box-sizing:border-box;position:absolute;top:calc(100% + 8px);right:0;z-index:60;background:var(--ac-card);border:1px solid var(--ac-line);border-radius:20px;padding:8px;box-shadow:0 12px 32px rgba(0,0,0,.12);max-height:calc(100dvh - 88px);overflow-y:auto}.account-avatar-who{height:72px;display:flex;align-items:center;gap:12px;padding:0 12px}.account-avatar-face .bb-identity{width:48px!important;height:48px!important}.account-avatar-person{flex:1;min-width:0}.account-avatar-person strong{display:block;font-size:16px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.account-avatar-person .account-chips{gap:4px}.account-avatar-person .account-chips>span{font-size:10px;padding:3px 6px}.account-avatar-funding{display:flex;gap:8px;padding:4px 12px 8px}.account-avatar-funding .account-button{flex:1;min-height:40px;padding:0 8px}.account-avatar-funding [hidden]{display:none!important}.account-avatar-group{border-top:1px solid var(--ac-line);padding:4px 0;margin:0 12px}.account-avatar-group .account-nav-row{padding:0 8px}.account-menu-logout{color:var(--ac-muted)}.account-menu-status:empty{display:none}.account-menu-status{display:block;padding:8px 12px;color:var(--ac-muted);font-size:12px}.account-avatar-panel .account-nav-row>svg:last-child:not(:first-child){width:16px;height:16px}
html[data-account-center-page] .bbp-grid,html[data-account-center-page] .bbp-sweep,html[data-account-center-page] .bbp-glow{display:none}html[data-account-center-page] .bbp-hero{background:var(--bb-theme-canvas);min-height:0;padding-bottom:0}html[data-account-center-page] .bbp-page{background:var(--bb-theme-canvas)}
@media(max-width:900px){.account-center-content{grid-template-columns:1fr}.account-person{flex-wrap:wrap}.account-person-progress{margin-left:0;width:100%}}
@media(min-width:681px){.account-center-nav{grid-column:1;grid-row:1}.account-center-main{grid-column:2;grid-row:1}}
/* Captured Arena selectors otherwise enlarge section headings and erase primary-label contrast. */
html body [data-account-center] h2{font-size:18px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:normal!important}
html body [data-account-center] h3.account-source-title{font-size:16px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:normal!important}
html body .account-avatar-panel .account-button-primary{background:var(--ac-text)!important;color:var(--ac-page)!important;border-color:var(--ac-text)!important}
html body .account-avatar-panel .account-button:not(.account-button-primary){background:var(--ac-inner)!important;color:var(--ac-text)!important}
@media(max-width:680px){.account-center{padding:20px 20px 40px}.account-center h1{font-size:24px;margin-bottom:16px}.account-center-layout{display:flex;flex-direction:column;gap:16px}.account-center-nav{display:none}.account-center-nav .account-nav-row{flex:none;width:auto;white-space:nowrap;background:var(--ac-card);border-radius:99px}.account-center-nav .account-nav-row[aria-current="page"]{background:var(--ac-text);color:var(--ac-page)}.account-center-main{width:100%;gap:16px}.account-center-content{display:flex;flex-direction:column;gap:16px}.account-main-column,.account-side-column{display:contents}.account-card{padding:20px;width:100%;box-sizing:border-box}.account-card[data-account-card="assets"]{order:1}.account-card[data-account-card="security"]{order:2}.account-card[data-account-card="orders"]{order:3}.account-card[data-account-card="invite"]{order:4}.account-card[data-account-card="markets"]{order:5}.account-person-face .bb-identity{width:56px!important;height:56px!important}.account-total{font-size:40px}.account-actions{width:100%}.account-actions .account-button{flex:1;padding:0 10px}.account-person{gap:12px}.account-person-progress .account-button{min-height:40px}.account-card-head{margin-bottom:16px}}

/* Native button rules override the UA hidden rule; explicit state must win. */
html body [data-account-center] [hidden],html body .account-avatar-panel [hidden]{display:none!important}

.account-data-time{display:block;margin:8px 0;color:var(--ac-muted);font-size:12px}.account-source-title{font-size:14px;margin:20px 0 12px;font-weight:600}.account-trading-card[data-read-state]:not([data-read-state="ready"]){color:var(--ac-muted)}

.account-person>div:not(.account-person-progress){flex:1;min-width:0}.account-person strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
/* Match ACCOUNT_CENTER's container sizes, including the shared component's
 * minimum inline size and initial font, rather than clipping a 64px avatar. */
.account-person-face .bb-identity{--bb-identity-size:56px!important}
.account-avatar-face .bb-identity{--bb-identity-size:48px!important}

.account-profile-form{display:flex;flex-direction:column;gap:16px;margin-top:24px}.account-profile-field{display:flex;flex-direction:column;gap:8px;font-size:14px}.account-profile-field :is(input,select){box-sizing:border-box;width:100%;height:48px;padding:0 16px;border:0;border-radius:12px;background:var(--ac-inner);color:var(--ac-text);font:inherit;font-size:16px}.account-profile-field :is(input,select):focus-visible{outline:1.5px solid var(--ac-text);outline-offset:0}.account-profile-form .account-empty{padding:0;margin:0}.account-profile-form small{display:block;margin-top:8px}.account-profile-form .account-row strong{overflow-wrap:anywhere;min-width:0}.account-card[data-account-card="profile-documents"]{margin-top:24px}

.account-support-note{color:var(--ac-muted);font-size:14px;line-height:1.5;overflow-wrap:anywhere}.account-card[data-account-card="security"] .account-row strong,.account-card[data-account-card="connections"] .account-row strong,.account-card[data-account-card="invite"] .account-row span{overflow-wrap:anywhere;min-width:0}.account-card[data-account-card="invite"] h3{font-size:14px;font-weight:600;margin:16px 0 8px}.account-card[data-account-card="invite"] .account-row time{color:var(--ac-muted);font-size:12px;text-align:right;flex-shrink:0}.account-card[data-account-card="invite"] .account-copy-link{min-width:0}

/* Existing navigation rows must retain their dimensions when used as submits. */
html body .web-avatar .account-avatar-panel .account-avatar-group button.account-nav-row{height:44px!important;min-height:44px!important;padding:0 8px!important;border:0!important;border-radius:12px!important;background:transparent!important;color:var(--ac-text)!important;justify-content:flex-start!important;font-family:inherit!important;font-size:14px!important;font-weight:500!important;line-height:1.3!important}
html body .web-avatar .account-avatar-panel .account-avatar-group button.account-menu-logout{color:var(--ac-muted)!important}
html body .web-avatar .account-avatar-panel .account-avatar-group button.account-nav-row:is(:hover,:active,:focus-visible){background:var(--ac-inner)!important}
html body dialog.web-full-menu[data-web-drawer] button.web-full-logout{justify-content:flex-start!important;background:transparent!important}
html body dialog.web-full-menu[data-web-drawer] button.web-full-logout:is(:hover,:active,:focus-visible){background:var(--bb-theme-inset)!important}

/* Secondbatch: localized retry labels keep one line; horizontal mobile tiles do not stretch to their tallest neighbour. */
.account-button{white-space:nowrap}
@media(max-width:680px){.account-trading-cards{align-items:flex-start}.account-trading-card{height:auto}}
/* An App page shown inside the account centre (statements, promo card). */
.account-embed{display:block;width:100%;min-height:calc(100vh - 160px);border:0;border-radius:20px;background:var(--ac-card)}

/* Desktop sidebar = the partner centre's sidebar (partner-center.css .side / .nav): panel radius 28, padding 20 (16 under 1200),
   rows 48 high, 16px text, pill radius, the chosen row a solid dark pill; 20px from the header, the bottom edge and the content. */
@media(min-width:901px){
.account-center{margin-top:-60px}
.account-center-layout{grid-template-columns:288px minmax(0,1fr);gap:20px;min-height:calc(100vh - 104px);align-items:start}
/* fixed: left stays at the column's own position because left is auto; top and height are tied to the window */
.account-center-nav{position:fixed;top:84px;left:auto;z-index:2;box-sizing:border-box;width:300px;margin-left:-12px;height:calc(100vh - 104px);min-height:360px;overflow-y:auto;padding:20px!important;border-radius:28px!important;border:0!important;background:var(--ac-card);box-shadow:0 16px 40px -20px rgba(17,17,19,.14);scrollbar-width:none}
.account-center-nav::-webkit-scrollbar{display:none}
.account-center-nav::before{content:none!important}
.account-center-nav .account-avatar-group{display:flex;flex-direction:column;gap:6px}
.account-center-nav>.account-avatar-group:first-child{border-top:0!important;margin-top:0!important;padding-top:0!important}
.account-center-nav .account-avatar-group+.account-avatar-group{margin-top:12px!important;padding-top:12px!important}
.account-center-nav .account-nav-row{min-height:48px;padding:8px 14px;gap:12px;border-radius:999px;font-size:16px;line-height:1.2;font-weight:400;color:var(--ac-text);transition:background .2s,color .2s}
.account-center-nav .account-nav-row svg{stroke-width:1.5}
.account-center-nav .account-nav-row:hover{background:var(--ac-inner)}
.account-center-nav .account-nav-row[aria-current="page"],.account-center-nav .account-nav-row[aria-current="page"]:hover{color:var(--ui-on-primary,#fff);background:var(--ui-primary,#111);font-weight:500}
.account-center-nav .account-nav-row[aria-current="page"] svg{color:inherit;stroke:currentColor}
}
@media(min-width:901px) and (max-width:1199px){
.account-center-layout{grid-template-columns:228px minmax(0,1fr)}
.account-center-nav{width:240px;padding:16px!important}
}
/* the loading / status line takes no height once it has nothing to say, so the first card lines up with the top of the sidebar */
.account-page-status:has(>span:empty):not(:has(>button:not([hidden]))){display:none}

/* account-clean-v1 (owner 2026-10-07): this is the member's own area, not the public site. No "账户中心" title, no site footer;
   the avatar card only on the overview, every other section starts straight with its own content. */
.account-center>h1{display:none!important}
.account-center:not([data-account-section="overview"]) .account-person{display:none!important}
html[data-account-center-page] body .bbp-footer{display:none!important}

/* ===== account-center-v2 (owner approved 2026-10-27): 6 sections. Numbers from docs/prototype.html and UI_SPEC.md 六. ===== */
/* Sidebar rows carry data-glass-keep so bigbit-theme.js never tags a hovered row as a raised white control; this guard
   undoes any tag that was already applied. The chosen row keeps its black pill through the aria-current rule above. */
html .account-center-nav .account-nav-row[data-glass-auto],html .account-avatar-panel .account-nav-row[data-glass-auto]{background:transparent!important;box-shadow:none!important;border:0!important}
html .account-center-nav .account-nav-row[data-glass-auto]:hover,html .account-avatar-panel .account-nav-row[data-glass-auto]:hover{background:var(--ac-inner)!important}
html .account-center-nav .account-nav-row[data-glass-auto][aria-current="page"]{color:var(--ui-on-primary,#fff)!important;background:var(--ui-primary,#111)!important}
/* Every v2 card spans the content column; the old 2fr / 1fr overview split is gone. */
.account-center-content>.account-card,.account-center-content>.account-cta,.account-center-content>.account-embed{grid-column:1/-1}
/* group title: 13 / 600 muted text + a 1px line, optional chip on the right */
.account-group{margin-top:12px;min-width:0}.account-group+.account-group{margin-top:16px}
html body [data-account-center] h3.account-group-title{display:flex!important;align-items:center;gap:8px;height:28px;margin:0 0 4px;font-size:13px!important;font-weight:600!important;line-height:1.2!important;color:var(--ac-muted);white-space:nowrap}
.account-group-title .account-group-line{flex:1;height:1px;background:var(--ac-line);min-width:12px}
.account-card-head h2 small{font-weight:400;font-size:13px;color:var(--ac-muted);margin-left:6px}
/* chips: height 24, 12 / 500, padding 0 10 (UI_SPEC 六); ok = green tint without the brand lime; warn = amber tint */
.account-chip{display:inline-flex;align-items:center;gap:4px;height:24px;padding:0 10px;border-radius:999px;font-size:12px;font-weight:500;line-height:1.2;color:var(--ac-muted);background:var(--ac-inner);border:1px solid var(--ac-line);white-space:nowrap;vertical-align:middle;box-sizing:border-box}
.account-chip.ok{color:var(--bb-theme-up,#1f9d55);border-color:transparent;background:rgba(var(--bb-theme-up-rgb,31,157,85),.12)}
.account-chip.warn{color:#d97706;border-color:transparent;background:rgba(217,119,6,.14)}
/* this-month tiles: 4 across, 2 across at phone width; tile 58 min, radius 12, 1px line */
.account-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}
.account-stat{box-sizing:border-box;min-height:58px;padding:10px 12px;border-radius:12px;border:1px solid var(--ac-line);background:var(--ac-inner);min-width:0}
.account-stat small{display:block;font-size:12px;color:var(--ac-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-stat strong{display:block;font-size:16px;font-weight:600;font-variant-numeric:tabular-nums;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-stat strong[data-sign="up"]{color:var(--bb-theme-up,#1f9d55)}.account-stat strong[data-sign="down"]{color:var(--bb-theme-down,#d14343)}
.account-card .account-actions.account-month-actions{margin-top:16px}
/* dashed call-to-action card: open a live account */
.account-cta{display:flex;align-items:center;gap:14px;border:1px dashed var(--ac-muted);border-radius:20px;padding:16px 20px;background:transparent;min-width:0;box-sizing:border-box}
.account-cta-mark{width:44px;height:44px;border-radius:50%;aspect-ratio:1;flex:none;display:grid;place-items:center;font-size:12px;font-weight:800;background:var(--bb-theme-accent,#b8ff3d);color:var(--bb-theme-accent-ink,#111)}
.account-cta-text{flex:1;min-width:0}.account-cta-text b{display:block;font-weight:600}.account-cta-text small{display:block;font-size:13px;color:var(--ac-muted)}
.account-button-lime{min-height:48px;font-weight:600;background:var(--bb-theme-accent,#b8ff3d);color:var(--bb-theme-accent-ink,#111);border-color:var(--bb-theme-accent,#b8ff3d)}
/* account rows (overview 我的账户 and the login-record list): 28 square mark, two-line text, number on the right */
.account-acct-row{display:flex;align-items:center;gap:12px;min-height:56px;padding:8px 0;border-top:1px solid var(--ac-line);min-width:0}
.account-acct-row:first-of-type,.account-group-title+.account-acct-row{border-top:0}
.account-acct-mark{width:28px;height:28px;border-radius:7px;flex:none;display:grid;place-items:center;font-size:10px;font-weight:800;letter-spacing:-.02em;background:var(--bb-theme-white,#fff);color:#111;border:1px solid var(--ac-line);box-sizing:border-box}
.account-acct-mark[data-mark="arfx"]{background:#111;color:var(--bb-theme-accent,#b8ff3d);border-color:#111}
.account-acct-mark[data-mark="mt"]{color:#1a56c9}.account-acct-mark[data-mark="demo"]{color:var(--ac-muted)}
.account-acct-text{flex:1;min-width:0}.account-acct-text b{display:flex;align-items:center;gap:6px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.account-acct-text b>span{overflow:hidden;text-overflow:ellipsis}.account-acct-text small{display:block;font-size:12px;color:var(--ac-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-acct-num{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600;flex:none}.account-acct-num strong{font-size:15px;font-weight:600}.account-acct-num small{display:block;font-weight:400;font-size:12px;color:var(--ac-muted)}
.account-acct-row .account-chip{flex:none}
.account-row-empty{min-height:44px;display:flex;align-items:center;color:var(--ac-muted);font-size:13px}
/* folds (我的资料): summary row 56 high, no default marker, plus that turns into a cross */
details.account-fold{border-top:1px solid var(--ac-line);min-width:0}details.account-fold:first-of-type{border-top:0}
.account-fold summary{list-style:none;display:flex;align-items:center;gap:10px;height:56px;cursor:pointer;font-weight:600;font-size:15px;user-select:none}
.account-fold summary::-webkit-details-marker{display:none}.account-fold summary>span:first-child{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-fold summary:hover{color:var(--ac-text)}.account-fold summary:focus-visible{outline:2px solid var(--ac-text);outline-offset:2px;border-radius:8px}
.account-fold-toggle{position:relative;width:20px;height:20px;border-radius:50%;aspect-ratio:1;border:1px solid var(--ac-line);flex:none;transition:transform .2s}
.account-fold-toggle::before,.account-fold-toggle::after{content:"";position:absolute;left:50%;top:50%;width:9px;height:1.5px;background:var(--ac-muted);transform:translate(-50%,-50%)}.account-fold-toggle::after{transform:translate(-50%,-50%) rotate(90deg)}
details.account-fold[open]>summary .account-fold-toggle{transform:rotate(45deg)}
.account-fold-body{padding:0 0 16px}.account-fold-body>.account-card{border:0;padding:0;background:transparent;margin-top:8px}.account-fold-body .account-card .account-card-head{margin-bottom:8px}
.account-fold-body .account-row strong{display:flex;align-items:center;gap:8px;min-width:0;overflow-wrap:anywhere}
.account-fold-body .account-profile-form{margin-top:12px}
.account-fold-body .account-source-title{margin-top:16px}
/* bottom sheet: slides up from the bottom, collapses down; scrim click / Esc / the round close key shut it */
/* the sheet hangs off <body>, outside .account-center, so the --ac-* aliases are declared on it too (see the first rule above) */
.account-sheet-scrim{position:fixed;inset:0;z-index:80;display:flex;align-items:flex-end;justify-content:center;background:var(--bb-theme-scrim,rgba(17,17,19,.32));opacity:0;pointer-events:none;transition:opacity .3s ease}
.account-sheet-scrim[data-open]{opacity:1;pointer-events:auto}
.account-sheet{box-sizing:border-box;width:min(100%,560px);max-height:88dvh;overflow:auto;background:var(--ac-card);color:var(--ac-text);border:1px solid var(--ac-line);border-bottom:0;border-radius:24px 24px 0 0;padding:8px 20px calc(24px + env(safe-area-inset-bottom,0px));transform:translateY(32px);opacity:0;transition:transform .32s cubic-bezier(.2,.8,.2,1),opacity .24s ease}
.account-sheet-scrim[data-open] .account-sheet{transform:none;opacity:1}
.account-sheet-handle{width:40px;height:4px;border-radius:999px;background:var(--ac-line);margin:4px auto 12px}
html body [data-account-center] .account-sheet h2,html body .account-sheet h2{display:flex;align-items:center;gap:8px;margin:0 0 8px;font-size:18px!important;font-weight:600!important}
.account-sheet h2>span{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-sheet-close{width:36px;height:36px;aspect-ratio:1;border-radius:50%;border:1px solid var(--ac-line);background:var(--ac-inner);color:var(--ac-text);display:grid;place-items:center;cursor:pointer;flex:none;padding:0}
.account-sheet-close svg{width:16px;height:16px}.account-sheet-close:hover{background:var(--ac-line)}.account-sheet-close:focus-visible{outline:2px solid var(--ac-text);outline-offset:2px}
.account-sheet .account-actions{margin-top:16px}
/* the promo card page shown under the referral cards */
.account-embed.account-embed-promo{min-height:640px;margin-top:4px}
@media(max-width:680px){
/* phone order (the old overview order rules above are superseded): 总资产 → open-live call → 我的账户 → 最近动态; 推广: links → records → promo card */
.account-center-content>.account-card,.account-center-content>.account-cta,.account-center-content>.account-embed{order:0}
.account-center-content>.account-card[data-account-card="assets"]{order:1}.account-center-content>.account-cta{order:2}.account-center-content>.account-card[data-account-card="accounts"]{order:3}.account-center-content>.account-card[data-account-card="orders"]{order:4}
.account-center-content>.account-card[data-account-card="invite"]{order:1}.account-center-content>.account-card[data-account-card="invite-records"]{order:2}.account-center-content>.account-embed-promo{order:3}
.account-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
.account-cta{flex-wrap:wrap;padding:16px}.account-cta .account-button-lime{width:100%}
.account-acct-row{gap:10px}
.account-embed.account-embed-promo{min-height:560px}
}
@media(prefers-reduced-motion:reduce){.account-sheet-scrim,.account-sheet,.account-fold-toggle{transition:none}}

/* account-center-v2 polish (owner 2026-10-27 phone screenshot): one title size, one chip height, no filler copy, member row = avatar height */
.account-card-head h2{display:flex;align-items:center;gap:8px;min-height:36px;margin:0;font-size:15px;font-weight:600}
html[data-bigbit-skin=glass][data-bigbit-skin][data-bigbit-skin][data-bigbit-skin][data-bigbit-skin] body .account-card-head h2{min-height:36px;padding:0 14px!important;font-size:15px}
.account-selection-trigger{min-height:36px!important}
.account-chips>span,.account-chips>a,.account-id-button{box-sizing:border-box;min-height:28px;display:inline-flex;align-items:center;gap:6px;padding:0 10px;border-radius:999px;font-size:12px;line-height:1}
html[data-bigbit-skin=glass][data-bigbit-skin][data-bigbit-skin][data-bigbit-skin][data-bigbit-skin] body :is(.account-chips>*,.account-id-button,.account-person .account-chips .account-id-button){height:28px!important;min-height:28px!important;padding:0 12px!important;font-size:12px}
.account-person{min-height:0;padding:16px 20px;align-items:center}
.account-person-progress{display:none!important}
.account-person-face{width:56px;height:56px;flex:none;border-radius:50%;overflow:hidden;display:grid;place-items:center;aspect-ratio:1}
.account-person-initial{width:56px;height:56px;border-radius:50%;background:var(--ac-text);color:#b8ff3d;display:grid;place-items:center;font-size:22px;font-weight:700;line-height:1}
.account-person-face:has(.bb-identity,img) .account-person-initial{display:none}
.account-stat{min-height:64px;display:flex;flex-direction:column;justify-content:center}
.account-stat small{display:flex;align-items:center;gap:6px}
.account-stat small svg{width:16px;height:16px;flex:none;opacity:.8}
.account-month-actions .account-button{min-height:44px!important}
.account-cta-text small{display:none}
html[data-bigbit-skin=glass][data-bigbit-skin][data-bigbit-skin][data-bigbit-skin][data-bigbit-skin] body .account-card-head h2{height:36px;min-height:0;box-sizing:border-box}
.account-card-head .account-button,.account-selection-trigger{height:36px!important;min-height:0!important;box-sizing:border-box;padding:0 14px!important}
.account-month-actions .account-button{height:44px!important;min-height:0!important}
.account-cta .account-button-lime{height:48px!important;min-height:0!important}
html body .account-card-head .account-button:not(#_):not(#_),html body .account-selection-trigger:not(#_):not(#_){height:36px!important;min-height:0!important;padding:0 14px!important}
html body .account-month-actions .account-button:not(#_):not(#_){height:44px!important;min-height:0!important}
html body .account-cta .account-button-lime:not(#_):not(#_){height:48px!important;min-height:0!important}
html body .account-month-actions .account-button:not(#_):not(#_),html body .account-cta .account-button-lime:not(#_):not(#_),html body .account-card-head .account-button:not(#_):not(#_){box-sizing:border-box}

/* account-center polish v2 (owner 2026-10-27 「继续按这个标准修下去」): 账户 / 我的资料 / 推广 */
.account-group .account-trading-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px;overflow:visible;padding-bottom:0}
.account-trading-card{min-width:0;gap:6px}
.account-trading-card strong{font-size:18px}
.account-trading-card .account-money,.account-trading-card [data-account-money]{font-size:22px;font-weight:700}
html body .account-trading-card>.account-button:not(#_):not(#_),html body .account-trading-card>a.account-button:not(#_):not(#_){height:44px!important;min-height:0!important;box-sizing:border-box;width:100%;margin-top:4px}
.account-wallet-head{display:flex;align-items:center;gap:8px;min-height:28px}
.account-wallet-head b{font-size:18px}
html body .account-tag:not(#_):not(#_),html body .account-chip:not(#_):not(#_){height:28px!important;min-height:0!important;display:inline-flex;align-items:center;padding:0 10px;border-radius:999px;font-size:12px;box-sizing:border-box}
html body .account-row .account-chip:not(#_):not(#_){height:24px!important;padding:0 8px}
html body .account-fold .account-source-title:not(#_):not(#_){display:flex!important;align-items:center;gap:8px;height:28px;min-height:0!important;margin:12px 0 4px!important;padding:0!important;background:none!important;box-shadow:none!important;border:0!important;font-size:13px!important;font-weight:600!important;color:var(--ac-muted)}
.account-fold .account-source-title::after{content:'';flex:1;height:1px;background:var(--ac-line);min-width:12px}
html body .account-group-title .account-button:not(#_):not(#_){height:28px!important;min-height:0!important;padding:0 10px!important;font-size:12px}
.account-copy-link input,html body .account-copy-link .account-button:not(#_):not(#_){height:40px!important;min-height:0!important;box-sizing:border-box}
@media(max-width:680px){.account-group .account-trading-cards{grid-template-columns:1fr}}
html body .account-trading-card .account-actions .account-button:not(#_):not(#_){height:44px!important;min-height:0!important;box-sizing:border-box}

/* account-center-polish-v3 (2026-10-28): one tile template, five fixed slots; the action row never moves. */
.account-trading-card.account-tile{min-height:204px;padding:16px;gap:6px;display:flex;flex-direction:column;box-sizing:border-box}
.account-tile-head{display:flex;align-items:center;gap:8px;height:28px;min-width:0}
.account-tile-head b{flex:1;min-width:0;font-size:18px;font-weight:600;line-height:28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-tile-chips{display:inline-flex;gap:6px;flex:none}
.account-tile-money{height:28px;display:flex;align-items:center}
.account-trading-card.account-tile .account-tile-money [data-account-money]{font-size:22px;font-weight:700;line-height:28px}
.account-tile-meta{display:flex;align-items:center;height:20px;font-size:12px;color:var(--ac-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-tile-fields{display:flex;align-items:center;gap:6px;height:28px;overflow:hidden;min-width:0}
html body .account-copy-chip:not(#_):not(#_){border:1px solid var(--ac-line);background:var(--ac-inner);color:var(--ac-text);font-family:inherit;cursor:pointer;gap:6px;max-width:100%;min-width:0;padding:0 8px 0 10px}
.account-copy-chip span{color:var(--ac-muted)}
.account-copy-chip b{font-weight:600;font-variant-numeric:tabular-nums;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.account-copy-chip svg{flex:none;opacity:.7}
.account-tile-actions{margin-top:auto;display:flex;gap:8px}
html body .account-tile-actions .account-button:not(#_):not(#_){flex:1;height:44px!important;min-height:0!important;box-sizing:border-box;margin:0}
.account-trading-card.account-tile[data-read-state]:not([data-read-state="ready"]){color:var(--ac-text)}
.account-trading-card.account-tile[data-read-state]:not([data-read-state="ready"]) .account-tile-money{color:var(--ac-muted)}
.account-tile .account-chip:not(.account-copy-chip){background:transparent;border:1px solid var(--ac-line);color:var(--ac-muted)}
.account-tile-fields>.account-copy-chip:first-child{flex:none}
.account-tile-fields>.account-copy-chip+.account-copy-chip{flex:0 1 auto}
html body .account-copied:not(#_):not(#_){background:#b8ff3d!important;color:#111!important;border-color:#b8ff3d!important}
.account-copied svg{opacity:1}

/* account-center-profile-promo-v1 (2026-10-28, owner 行): member card, identity tiles, 56 rows with 36 marks, name card, 3 stats. */
.account-member{display:flex;align-items:center;gap:12px;min-height:56px;flex-wrap:wrap}
.account-member-face{width:56px;height:56px;border-radius:50%;background:var(--ac-text);color:#b8ff3d;display:grid;place-items:center;flex:none;font-weight:800;font-size:20px}
.account-member-face .account-person-initial{position:static;width:auto;height:auto;background:transparent;color:inherit;font-size:inherit}
.account-member-who{flex:1;min-width:0}
.account-member-who b{display:block;font-size:17px;font-weight:600;line-height:28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-member-chips{display:flex;gap:6px;margin-top:2px;overflow:hidden}
html body .account-chip.lime:not(#_):not(#_){background:#b8ff3d!important;color:#111!important;border-color:transparent!important;font-weight:600}
html body .account-button-sm:not(#_):not(#_){height:36px!important;min-height:0!important;padding:0 12px;font-size:13px;box-sizing:border-box}
.account-member-cta{width:100%;margin-top:12px}
html body .account-member-cta:not(#_):not(#_){height:48px!important;min-height:0!important;box-sizing:border-box}
.account-id-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin-top:14px}
.account-id-tile{position:relative;box-sizing:border-box;height:72px;padding:10px 12px;border-radius:12px;border:1px solid var(--ac-line);background:var(--ac-inner);display:flex;flex-direction:column;justify-content:space-between;min-width:0}
.account-id-tile small{display:flex;align-items:center;gap:6px;height:20px;font-size:12px;color:var(--ac-muted);white-space:nowrap;overflow:hidden}
.account-id-tile b{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums;padding-right:22px}
.account-id-tile-ok{position:absolute;right:10px;top:10px;width:18px;height:18px;border-radius:50%;background:#b8ff3d;color:#111;display:grid;place-items:center}
.account-id-tile-step{position:absolute;right:10px;top:10px;width:18px;height:18px;border-radius:50%;border:1px solid var(--ac-line);font-size:11px;display:grid;place-items:center;color:var(--ac-muted)}
.account-id-tile[data-tile-state="current"]{border-color:#b8ff3d;box-shadow:inset 0 0 0 1px #b8ff3d}
.account-id-tile[data-tile-state="current"] .account-id-tile-step{background:#b8ff3d;color:#111;border-color:#b8ff3d}
.account-id-tile[data-tile-state="upcoming"]{border-style:dashed}
.account-line{display:flex;align-items:center;gap:12px;height:56px;box-sizing:border-box;border-top:1px solid var(--ac-line);min-width:0}
.account-line:first-of-type,.account-group-title+.account-line,.account-card-head+.account-line,.account-sheet-body>.account-line:first-child{border-top:0}
.account-line-text{flex:1;min-width:0}
.account-line-text b{display:block;font-size:14px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-line-text small{display:block;font-size:12px;color:var(--ac-muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-line-end{display:flex;align-items:center;gap:8px;flex:none}
.account-mark{box-sizing:border-box;width:36px;height:36px;border-radius:50%;border:1px solid var(--ac-line);background:var(--ac-card);color:var(--ac-text);display:grid;place-items:center;flex:none;font-size:13px;font-weight:700}
.account-mark b{font-weight:700}
.account-mark.google{background:#fff;color:#4285f4;border-color:transparent}.account-mark.apple{background:#111;color:#fff;border-color:transparent}.account-mark.telegram{background:#2aabee;color:#fff;border-color:transparent}.account-mark.facebook{background:#1877f2;color:#fff;border-color:transparent}.account-mark.x{background:#111;color:#fff;border-color:transparent}
.account-mark.person{background:var(--ac-text);color:#b8ff3d;border-color:transparent}
.account-mark.exchange{border-radius:10px}
.account-namecard{aspect-ratio:1.6;border-radius:18px;background:#121214;color:#fff;padding:20px;display:grid;grid-template-columns:1fr auto;grid-template-rows:auto 1fr auto;gap:8px;position:relative;overflow:hidden;border:1px solid rgba(255,255,255,.08);box-sizing:border-box}
.account-namecard::after{content:"";position:absolute;right:-60px;top:-80px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(184,255,61,.35),transparent 65%);pointer-events:none}
.account-namecard-brand{font-weight:800;letter-spacing:.1em;font-size:13px;color:#b8ff3d;grid-column:1/3}
.account-namecard-me{display:flex;align-items:center;gap:12px;align-self:center;min-width:0}
.account-namecard-face{width:48px;height:48px;border-radius:50%;background:#b8ff3d;color:#111;display:grid;place-items:center;font-weight:800;font-size:18px;flex:none}
.account-namecard-me b{display:block;font-size:18px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-namecard-me small{display:block;font-size:12px;color:#a6a6ae;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-namecard-me>div{min-width:0}
.account-namecard-qr{width:72px;height:72px;border-radius:10px;background:#fff;align-self:center;padding:4px;box-sizing:border-box}
.account-namecard-code{grid-column:1/3;display:flex;align-items:center;justify-content:space-between;font-size:12px;color:#a6a6ae}
.account-namecard-code b{color:#fff;font-size:16px;letter-spacing:.06em;font-variant-numeric:tabular-nums}
.account-namecard-loading{min-height:120px}
.account-card-actions{margin-top:12px}
html body .account-card-actions .account-button:not(#_):not(#_){flex:1;height:44px!important;min-height:0!important;padding:0 8px;box-sizing:border-box;gap:6px}
.account-link-rows{display:flex;flex-direction:column;gap:8px;margin-top:12px}
.account-link-rows .account-link-title{margin:4px 0 0;font-size:13px;font-weight:600;color:var(--ac-muted)}
.account-stats-3{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:12px}
html body .account-stats-3 .account-stat:not(#_):not(#_){height:64px;min-height:0;display:flex;flex-direction:column;justify-content:space-between}
.account-stats-3 .account-stat small{display:flex;align-items:center;gap:6px}
.account-sheet-embed{width:100%;height:70dvh;border:0;border-radius:12px;background:var(--ac-inner)}
@media(max-width:680px){.account-id-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
[data-account-funds-sheet]{min-height:200px}
.account-sheet [data-opening-flow]{margin:0}
html body .account-namecard-qr:not(#_):not(#_){width:72px!important;height:72px!important;max-width:none;grid-column:2;grid-row:2;align-self:center;justify-self:end;display:block}
.account-namecard-me{grid-column:1;grid-row:2}
.account-stats-3 .account-stat small span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.account-sheet [data-opening-flow] h1{display:none}
@media(min-width:681px){[data-account-center] .account-card[data-account-card="invite"]{grid-column:1}[data-account-center] .account-card[data-account-card="invite-records"]{grid-column:2}.account-namecard{max-width:560px}}

/* account-center-motion-v1 (2026-10-28, owner: 弹出来淡化、丝滑一点): sheets fade in with a short rise; new content fades in; loading blocks breathe. */
@keyframes account-fade-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
@keyframes account-breathe{0%,100%{opacity:.45}50%{opacity:.9}}
.account-sheet-body>*{animation:account-fade-in .28s ease both}
.account-sheet-body>*:nth-child(2){animation-delay:.04s}.account-sheet-body>*:nth-child(3){animation-delay:.08s}.account-sheet-body>*:nth-child(n+4){animation-delay:.12s}
[data-account-content]>.account-card,[data-account-content]>section,[data-account-content]>div{animation:account-fade-in .32s ease both}
.account-namecard-loading{animation:account-breathe 1.4s ease-in-out infinite}
.account-skeleton{animation:account-breathe 1.4s ease-in-out infinite}
.account-copied{transition:background .18s ease,color .18s ease,border-color .18s ease}
@media (prefers-reduced-motion:reduce){.account-sheet,.account-sheet-scrim,.account-sheet-body>*,[data-account-content]>*{animation:none!important;transition:none!important}}

/* account-center-walk-fixes-v1 (2026-10-28, from the signed-in walk): black name card in every skin, dimming scrim, lime CTA, equal action widths. */
html body .account-namecard:not(#_):not(#_){background:#121214!important;color:#fff!important;border-color:rgba(255,255,255,.08)!important}
html body .account-sheet-scrim:not(#_):not(#_){background:rgba(17,17,19,.42)!important}
html body .account-member-cta:not(#_):not(#_){background:var(--bb-theme-accent,#b8ff3d)!important;color:var(--bb-theme-accent-ink,#111)!important;border-color:var(--bb-theme-accent,#b8ff3d)!important}
html body .account-card-actions .account-button:not(#_):not(#_){flex:1 1 0;min-width:0}
.account-sheet-skeleton{height:160px;border-radius:12px;background:var(--ac-inner)}
@media(max-width:680px){.account-stats-3 .account-stat small{font-size:11px}}
