/* Header account slot: width is reserved before sign-in state is known, so the header never shifts. */
.account{display:flex;align-items:center;justify-content:flex-end;gap:12px;width:280px;height:40px}
.account .balance{display:inline-flex;align-items:center;gap:5px;border:1px solid #292929;border-radius:30px;background:#141414;padding:8px 12px;font-size:12px;white-space:nowrap;font-variant-numeric:tabular-nums}
.account .balance i{font-style:normal;color:#ff4d00}
.account .btn{height:40px;min-width:0;padding:0 18px;font-size:13px}
.account .user-button{display:inline-flex;width:32px;height:32px;align-items:center;justify-content:center}
@media (max-width:1100px){.account{width:auto;min-width:220px}}
/* Below 960px the account moves to a second header row so the nav never overflows. */
@media (max-width:960px){
 .account{position:absolute;top:100%;left:0;right:0;width:auto;min-width:0;height:44px;padding:0 16px;gap:8px;border-bottom:1px solid rgba(255,255,255,.04)}
 .account .btn{height:32px;padding:0 12px;font-size:11px}
 .account .balance{padding:6px 9px;font-size:11px;margin-right:auto}
 .account .user-button{width:28px;height:28px}
}

.header:has(.account){background:#070707}
@media (max-width:960px){
 .account{background:#070707}
 .header:not(:has(.hdr-tool)){margin-bottom:44px}
}
