/* F v4.2.0 account presentation, mapped to G tokens. No account or wallet backend. */
.account-control{gap:7px;font-weight:500}.account-control img{flex:none}.account-chevron{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.5;flex:none}.account-control[aria-expanded=true] .account-chevron{transform:rotate(180deg)}
.f-account{--f-ground:var(--bg);--f-surface:var(--card);--f-ink:var(--white);--f-muted:var(--muted);--f-line:var(--line);--f-action:#d2c4ff;--f-on:#251d38;--f-error:#ffada8;--f-active:#363242;font:14px/1.65 "PingFang SC",system-ui,sans-serif;color:var(--f-ink);background:var(--f-surface);border:1px solid var(--f-line);border-radius:12px;box-shadow:0 16px 48px #0004;box-sizing:border-box}
.f-account *{box-sizing:border-box}.f-account [hidden]{display:none!important}.f-account button,.f-account input,.f-account a{font:inherit}.f-account button{cursor:pointer}.f-account :focus-visible{outline:3px solid var(--focus);outline-offset:2px}.f-account button:disabled{cursor:default;opacity:.6}.f-account h2,.f-account h3,.f-account p{margin:0}.f-account p{color:var(--f-muted)}
.f-user-menu{position:fixed;inset:auto;margin:0;width:min(360px,calc(100vw - 24px));padding:20px;overflow:auto;overscroll-behavior:contain}.f-user-menu::backdrop{background:transparent}.f-menu-head{padding:0 10px 14px}.f-menu-head h2{font-size:19px;line-height:1.4;font-weight:600}.f-menu-head p{overflow-wrap:anywhere;font-size:13px;margin-top:5px}.f-menu-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:10px 12px;border:0;border-radius:8px;color:var(--f-ink);background:transparent;text-decoration:none;text-align:left;font-size:14px;line-height:1.5}.f-menu-row:hover,.f-menu-row:focus-visible{background:var(--f-active)}.f-menu-row span:first-child{min-width:0;overflow-wrap:anywhere}.f-divider{height:1px;background:var(--f-line);margin:12px 0}.f-menu-row[data-action=signOut]{color:var(--f-error)}
.f-auth-dialog{position:fixed;inset:0;margin:auto;width:min(520px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:28px;overflow:auto;overscroll-behavior:contain}.f-auth-dialog::backdrop{background:#06091080;backdrop-filter:blur(3px)}.f-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:14px}.f-dialog-head h2{font-size:24px;line-height:1.4}.f-close{border:1px solid var(--f-line);border-radius:8px;background:transparent;min-width:44px;height:44px;color:var(--f-ink);font-size:24px!important;line-height:1}.f-auth-brand{display:flex;align-items:center;gap:9px;color:var(--f-muted);font-size:12px;letter-spacing:1px;margin-bottom:16px}.f-auth-brand img{width:30px;height:24px;object-fit:contain}.f-auth-tabs{display:flex;gap:8px;border-bottom:1px solid var(--f-line);padding-bottom:12px;margin-bottom:20px}.f-auth-tabs button{min-height:44px;flex:1;border:0;border-radius:8px;background:transparent;color:var(--f-muted)}.f-auth-tabs button[aria-selected=true]{background:var(--f-active);color:var(--f-action)}.f-auth-intro{margin-bottom:22px!important;font-size:14px}.f-form-label{display:grid;gap:7px;margin:0 0 18px;font-weight:500}.f-form-label input{width:100%;min-width:0;min-height:46px;border:1px solid var(--f-line);border-radius:8px;padding:11px 12px;background:var(--f-ground);color:var(--f-ink);font-size:16px}.f-field-note{color:var(--f-muted);font-size:12px;font-weight:400}.f-password{display:flex;position:relative}.f-password input{padding-right:70px}.f-password button{position:absolute;right:4px;top:3px;min-height:40px;min-width:54px;border:0;border-radius:6px;background:transparent;color:var(--f-muted);font-size:12px}.f-primary{display:flex;align-items:center;justify-content:center;width:100%;min-height:46px;padding:11px 18px;background:var(--f-action);color:var(--f-on)!important;border:1px solid var(--f-action);border-radius:8px;font-weight:550;text-decoration:none;text-align:center}.f-auth-links{display:flex;gap:12px;flex-wrap:wrap;justify-content:space-between;margin-top:14px}.f-text-button{min-height:44px;border:0;background:transparent;color:var(--f-action);padding:8px 0;text-decoration:underline;text-underline-offset:4px}.f-error{color:var(--f-error)!important;font-size:13px;margin:12px 0!important}.f-account-live{margin-top:12px;color:var(--f-action);display:inline-flex;min-height:44px;align-items:center;text-underline-offset:4px}.f-service-copy{margin-bottom:18px!important}
[data-theme=light] .f-account{--f-action:#5f3bb5;--f-on:#fff;--f-error:#b52e39;--f-active:#ece5fb}[data-theme=light] .f-auth-brand img{filter:brightness(0);opacity:.85}
@media(max-width:760px){.page-home .topbar{display:grid;grid-template-columns:1fr 44px;grid-template-rows:44px 44px;gap:0;height:93px;min-height:93px;padding:2px 18px}.topbar>.brand{grid-column:1;grid-row:1;justify-self:start;height:44px;width:auto}.topbar>.brand img{height:18px}.nav-toggle{grid-column:2;grid-row:1;order:initial}.utility{grid-column:1/-1;grid-row:2;width:100%;margin:0;height:44px;justify-content:space-between}.account-control{position:absolute;top:2px;right:66px;max-width:calc(100vw - 218px);height:44px;padding:4px 7px;gap:6px;font-size:12px}.account-control img{width:24px;height:24px}.account-control #accountLabel{white-space:normal;line-height:1.25}.account-chevron{display:none}.f-user-menu{padding:16px;width:min(360px,calc(100vw - 24px))}.f-auth-dialog{padding:22px 18px}.f-dialog-head h2{font-size:22px}}
@media(max-width:350px){.page-home .topbar{padding-inline:12px}.topbar>.brand img{height:16px}.account-control{right:56px;max-width:calc(100vw - 188px);gap:4px;padding-inline:4px}.account-control img{width:22px}}
