/* Same sticky header as language and clock, with a full-width resource row on phones. */
#game-header-resources{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0;width:390px;margin-inline-start:auto;color:#285641}
.header-resource{display:flex;align-items:center;gap:9px;min-width:0;border:1px solid #d9e3d7;background:#f4f7ed;border-radius:11px;padding:7px 10px}
.header-resource>span{font-size:20px;line-height:1;flex-shrink:0}.header-resource>div{min-width:0}.header-resource small{display:block;font-size:10px;line-height:1.35;font-weight:550;overflow-wrap:anywhere}.header-resource b{display:block;font-size:17px;line-height:1.35;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.header-resource-money{background:#fff7df;border-color:#e2d1a1}.header-resource-money>span{font-weight:750;color:#806323}
.auth-locked #game-header-resources{display:none}
@media(min-width:901px){.player-ux header .language-control{margin-inline-start:0}}
@media(min-width:901px) and (max-width:1100px){#game-header-resources{width:330px;gap:5px}.header-resource{gap:5px;padding:7px}.header-resource b{font-size:15px}.header-resource>span{font-size:17px}}
@media(max-width:900px){.player-ux header{display:grid;grid-template-columns:minmax(70px,1fr) 118px auto;row-gap:8px!important}#game-header-resources{grid-column:1/-1;grid-row:2;order:4;width:100%;margin:0;gap:6px}.header-resource{gap:7px;padding:6px 8px}.header-resource b{font-size:16px}.header-resource small{font-size:10px}.header-resource>span{font-size:18px}.player-ux header .edition{display:none}}
@media(max-width:600px){.player-ux header{grid-template-columns:minmax(70px,1fr) 88px minmax(100px,120px)}}
@media(max-width:360px){.header-resource{gap:4px;padding:5px}.header-resource>span{font-size:15px}.header-resource b{font-size:14px}.header-resource small{font-size:9px}}
/* The persistent header is the single primary wallet display. Keep legacy nodes for purchase updates. */
body.player-ux #stats>.stat:first-child{display:none}body.player-ux #stats{grid-template-columns:repeat(3,minmax(0,1fr))}
body.player-ux .home-summary-coins{display:none!important}
