/* Orchard Jar's own sizes for the shared parts (their look is @enjo/ui's). A jar's picture (src/skins.js): in a
   milestone's chest as big as on the jars' screen, not the chest's 40px icons. */
.enjo-ui-chest__look img.skin-preview { width: 64px; }

/* Small phones (under 360px): a chest's three items (coins, a power-up, a jar with its name) on one row in every
   language, so the dialog and its badge stay on screen ("Regenbogen" wrapped the jar onto a second row at 320px, the
   badge under the status inset: the review, 2026-11-10). */
@media (max-width: 359px) {
  .enjo-ui-chest { gap: 6px; }
  .enjo-ui-chest__item { min-width: 68px; padding-inline: 6px; }
}

/* The jars' screen on a short phone: its grid's cap (@enjo/ui's, the screen's height less 340px) less the status inset
   twice too, so the centred dialog's badge stays under the status inset (320 x 568: it sat 8 to 11px into its 20px;
   the review, 2026-11-10). Taller screens keep @enjo/ui's 48vh / 440px. */
.enjo-ui-skins__grid { max-height: min(48vh, 440px, calc(100vh - 340px - 2 * var(--enjo-safe-top))); }
