/* Belt Bash's own layout of the shared parts (the parts' look is @enjo/ui's), the systems step's
   (src/systems.js): the power-ups side by side in the bottom bar's left corner (the whole screen is the gas: the
   corner keeps them from under a thumb holding it in the middle). */
.game-powers { display: flex; gap: 24px; align-items: flex-end; }
/* A paint's picture (src/skins.js): the truck is wider than it is high, bigger than the chest's icons. */
.enjo-ui-chest__look img.skin-preview { width: 76px; }
/* Slow motion working (src/systems.js looks): a sky haze round the screen's edges, over the belt, under our UI. */
.game-slow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 42%, rgba(26, 111, 192, 0.5) 100%);
  opacity: 0;
  transition: opacity 400ms;
}
.game-slow.is-on { opacity: 1; }
/* The meter's numbers with their unit (the translation step): their direction from their own words, not the shared
   UI's forced left to right, so Arabic's "170 م" reads number first (the unit on its left); "170 m" stays as it was. */
.enjo-ui-meter__value, .enjo-ui-meter__goalText { unicode-bidi: plaintext; }
/* Small phones (under 360px): a boss's chest (its coins, a power-up and the paint, the truck's picture 76px wide)
   wrapped its paint onto a second row at 320 x 568 in every language, the dialog's badge at 2px in the 20px status
   inset: its items a little narrower, the paint's picture 64px. The paint shop's grid cap (@enjo/ui's, the screen's
   height less 340px) less the status inset twice too (its badge sat at 12 in the 20px inset in every language). Taller
   screens keep @enjo/ui's sizes (Orchard Jar's and Hide N Seek's rules; the review, 2026-11-13). */
@media (max-width: 359px) {
  .enjo-ui-chest { gap: 6px; }
  .enjo-ui-chest__item { min-width: 68px; padding-inline: 6px; }
  .enjo-ui-chest__look img.skin-preview { width: 64px; }
}
.enjo-ui-skins__grid { max-height: min(48vh, 440px, calc(100vh - 340px - 2 * var(--enjo-safe-top))); }
