/* UI sprites keep their own square pixel grid while labels remain translatable. */
.v31-pixel-icon{width:24px;height:24px;flex:none;display:inline-block;vertical-align:middle;image-rendering:pixelated}
body .brand-mark .v31-pixel-icon{width:34px;height:34px}
body .icon-btn{display:inline-flex;align-items:center;justify-content:center}
body .balance-pill{display:inline-flex;gap:7px;align-items:center;justify-content:center}
body #balance-label{font-size:12px}
body #assets-btn,body #market-btn,body #locate-me-btn,body #turn-actions [data-action=roll]{display:flex;align-items:center;justify-content:center;gap:8px}
body #turn-actions [data-action=roll]>.v31-pixel-icon{width:28px;height:28px}
body #turn-actions button>span{min-width:0;overflow-wrap:anywhere}
body #assets-btn>.v31-pixel-icon,body #market-btn>.v31-pixel-icon{width:21px;height:21px}
body .neon-dice-die::before{filter:none;border-radius:0;background:#174c8830;height:9%;bottom:-5%;box-shadow:3px 3px #174c8815}
body .neon-dice-face{border-color:#285581;background:#fffceb;box-shadow:inset 2px 2px #fff,inset -2px -2px #b4ccde}
body .neon-dice-face::before{background:#fffdf0}
body .neon-dice-right::before{background:#c6dbea}
body .neon-dice-top::before{background:#fffef6}
body .neon-dice-pip,body .neon-dice-right .neon-dice-pip,body .neon-dice-top .neon-dice-pip{background:#153568;box-shadow:none}
body .map-marker>span:last-child{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body #hud .estate-tools button>span{min-width:0;hyphens:auto}
@media(max-width:700px){
  body #balance-label{display:none}
  body .balance-pill .v31-pixel-icon{width:18px;height:18px}
  body .icon-btn .v31-pixel-icon{width:20px;height:20px}
  body #assets-btn,body #market-btn{gap:5px}
}
@media(max-width:420px){
  body:not(:lang(zh)):not(:lang(ja)) #hud .estate-tools .v31-pixel-icon{display:none}
}
