/* One slim row; narrow screens scroll within the row, never the whole page. */
body.agent-top-layout .wallet-funds-strip:not([hidden]){display:flex;align-items:center;flex-wrap:nowrap;gap:0;box-sizing:border-box;max-width:100%;min-height:48px;margin:0 0 12px;padding:10px 14px;overflow-x:auto;border:1px solid var(--agent-theme-line,#dce4f0);border-radius:10px;background:var(--agent-theme-light,#f2f7fc);color:var(--agent-theme-ink,#344e69);scrollbar-width:thin}
.wallet-funds-item{display:inline-flex;align-items:baseline;flex:none;gap:7px;padding:0 16px;white-space:nowrap;line-height:1.7}
.wallet-funds-item:first-child{padding-left:0}
.wallet-funds-item+.wallet-funds-item{border-left:1px solid var(--agent-theme-line,#dce4f0)}
.wallet-funds-item>span{font-size:12px;color:var(--agent-theme-ink,#647b91)}
.wallet-funds-item strong{font-size:15px;font-weight:650;font-variant-numeric:tabular-nums;color:var(--agent-theme-primary,#2765a8)}
.wallet-funds-item:last-of-type strong{color:var(--agent-theme-primary,#2765a8);font-weight:750}
.wallet-funds-state{flex:none;white-space:nowrap;font-size:10px;color:#aa6c21}
.wallet-funds-state:empty{display:none}
body.agent-top-layout .finance-rate-card.has-wallet-funds{flex-wrap:nowrap!important;align-items:center;gap:12px;min-height:50px;box-sizing:border-box;max-width:100%;overflow-x:auto;scrollbar-width:thin}
body.agent-top-layout .has-wallet-funds>.finance-rate-line{flex:none;white-space:nowrap;font-size:11px}
body.agent-top-layout .has-wallet-funds #financeUsdtRate{font-size:15px}
body.agent-top-layout .has-wallet-funds #financeUsdtRateTime{display:inline!important;font-size:10px}
body.agent-top-layout .has-wallet-funds #financeUsdtEstimate:not(:empty){display:inline!important;font-size:10px}
body.agent-top-layout .has-wallet-funds>.wallet-funds-strip:not([hidden]){flex:none;max-width:none;min-height:0;margin:0 auto 0 0;padding:0;border:0;border-radius:0;background:transparent;overflow:visible}
body.agent-top-layout .has-wallet-funds>.wallet-funds-strip .wallet-funds-item{padding-inline:12px}
body.agent-top-layout .has-wallet-funds>.wallet-funds-strip .wallet-funds-item:first-child{padding-left:0;border-left:0}
body.agent-top-layout .has-wallet-funds>.wallet-funds-strip .wallet-funds-item:last-of-type{border-right:1px solid var(--agent-theme-line,#dce4f0);padding-right:16px}
:root[data-agent-theme=night] .wallet-funds-item strong{color:#91c5ff}
:root[data-agent-theme=night] .wallet-funds-state{color:#e5bc7c}
@media(min-width:1201px) and (max-width:1600px){body.agent-top-layout .has-wallet-funds>.wallet-funds-strip .wallet-funds-item{padding-inline:8px;gap:5px}body.agent-top-layout .has-wallet-funds>.wallet-funds-strip .wallet-funds-item:first-child{padding-left:0}body.agent-top-layout .has-wallet-funds>.wallet-funds-strip .wallet-funds-item>span{font-size:11px}body.agent-top-layout .has-wallet-funds>.wallet-funds-strip .wallet-funds-item strong{font-size:14px}}
@media(max-width:1200px){.wallet-funds-item{padding-inline:12px}.wallet-funds-item>span{font-size:11px}.wallet-funds-item strong{font-size:14px}}
@media(max-width:720px){body.agent-top-layout .wallet-funds-strip:not([hidden]){min-height:44px;padding:8px 12px}.wallet-funds-item{gap:6px}.wallet-funds-item strong{font-size:14px}body.agent-top-layout .has-wallet-funds>.wallet-funds-strip:not([hidden]){padding:0}}
