/* Both currencies always share a single row and keep their exact value in labels. */
.hub-overlay .hub-head .hub-wallet{display:flex;flex-wrap:nowrap;gap:6px;background:none;border:0;padding:0;box-shadow:none;max-width:100%;min-width:0}
.currency-chip{font-family:Nunito,sans-serif;display:inline-flex;align-items:center;justify-content:center;gap:4px;min-height:38px;padding:4px 7px;border-radius:13px;background:#fffdf5;border:1px solid #e5dcc7;color:#315851;cursor:pointer;white-space:nowrap;min-width:0}
.currency-chip img{width:24px;height:24px;object-fit:contain;flex:none}.currency-chip b{font-size:14px;font-weight:900;line-height:1.1;font-variant-numeric:tabular-nums}.currency-chip>span{display:grid;place-items:center;width:17px;height:17px;background:#ffdb6c;border-radius:50%;font-size:16px;line-height:1;flex:none}.currency-chip.is-diamonds{background:#e7f5ee;border-color:#cce5d8}.currency-chip.is-diamonds>span{background:#bde4d5}
#splav-home.home-soft .home-balances{display:flex;flex-direction:row;gap:5px;align-items:center;flex:none}
#splav-home.home-soft .home-balances>button{height:38px;min-height:38px;min-width:0;margin:0;padding:4px 6px;border-radius:12px;gap:3px;font-size:14px!important;white-space:nowrap}
#splav-home.home-soft .home-balances>button img{width:25px;height:25px}#splav-home.home-soft .home-wallet b{max-width:none;overflow:visible;font-size:14px}#splav-home.home-soft .home-plus{width:18px;height:18px;margin-left:0}#splav-home.home-soft .home-plus svg{width:12px;height:12px}
/* Phones: one row — avatar with level, both currencies, settings. The name lives in the profile. */
@media(max-width:460px){#splav-home.home-soft .home-header{display:flex;flex-wrap:nowrap;gap:6px}#splav-home.home-soft .home-player{flex:0 0 auto;margin-right:auto}#splav-home.home-soft .home-player-info{display:none}#splav-home.home-soft .home-balances{flex:none;flex-wrap:nowrap;gap:5px;margin:0 0 0 auto}#splav-home.home-soft .home-balances>button{min-width:0;padding:4px 6px;gap:3px}#splav-home.home-soft .home-settings{flex:none;width:38px;height:38px}}
.collection-wallet{min-width:0;white-space:nowrap;font-variant-numeric:tabular-nums}.collection-wallet b{font-weight:900}.collection-wallets{flex-wrap:nowrap}
/* Stable sheet dimensions across tabs, modes and content lengths. */
.hub-overlay .hub-sheet,.hub-overlay .hub-sheet[data-screen],.hub-overlay .collection-sheet{height:calc(100dvh - 24px);max-height:960px;width:min(100%,640px);max-width:640px;align-self:center;display:flex;flex-direction:column}
.hub-overlay .hub-body,.hub-overlay .hub-sheet[data-screen] .hub-body{flex:1;min-height:0;overflow:auto}
@media(max-width:599px),(min-width:600px) and (max-width:1199px) and (pointer:coarse){.hub-overlay{padding:0!important}.hub-overlay .hub-sheet,.hub-overlay .hub-sheet[data-screen],.hub-overlay .collection-sheet{width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0;align-self:stretch}}
.settings-game-secondary:has(>button:only-child){grid-template-columns:1fr}
@media(max-width:599px){.hub-overlay .hub-head .hub-wallet{grid-column:1/-1;grid-row:2;justify-self:end}.hub-overlay .hub-head,.hub-overlay .hub-sheet[data-screen] .hub-head{grid-template-columns:44px minmax(0,1fr) 44px}.hub-overlay .hub-head .hub-close{grid-column:3;grid-row:1}}
.readonly-wallet{display:flex;flex-wrap:nowrap;justify-content:flex-end;gap:6px;padding:8px 18px}.readonly-wallet .currency-chip{cursor:default}.readonly-wallet .currency-chip>span{display:none}.match-sheet header .readonly-wallet{justify-content:center;padding:12px 0 0}
.hub-overlay.mode-guide .guide-sheet,.account-overlay .account-sheet{width:min(100%,640px);max-width:640px;height:calc(100dvh - 24px);max-height:960px}.hub-overlay.mode-guide .guide-sheet{display:flex;flex-direction:column}.guide-sheet .guide-content{flex:1;min-height:0;overflow:auto}.guide-sheet>header,.guide-sheet>footer,.guide-sheet>.readonly-wallet{flex:none}
@media(max-width:599px),(min-width:600px) and (max-width:1199px) and (pointer:coarse){.hub-overlay.mode-guide .guide-sheet,.account-overlay .account-sheet{width:100%;max-width:none;height:100dvh;max-height:100dvh;border-radius:0}}
