/* Store badges on the App page and /download/ (markup: tools/store-links.mjs). Kept out of style.css on purpose.
   Public listing = the official badge (site/img/badges/, unmodified: never redrawn, recoloured, faded or cropped)
   linking to the store page, with its trademark credit line. Not public yet = NO badge artwork, just a plain line of
   text ("iPhone & iPad: coming to the App Store"): both brands license their badges only for apps in their store. */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin: 1.4rem 0 0; }
.store { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; }
a.store { min-height: 44px; justify-content: center; border-radius: 10px; }
a.store:focus-visible { outline: 2px solid var(--accent-ink, #c9d6ff); outline-offset: 2px; }
.store img { display: block; width: auto; max-width: none; }
/* Apple: the badge at least 40px tall on screen, with clear space of a quarter of its height on every side. */
.store--appstore img { height: 40px; margin: 10px; }
/* Google: the PNG includes its own clear space (a quarter of the badge height), so 60px shows a ~40px badge:
   the same size as Apple's, never smaller (Google's minimum is 28px). */
.store--play img { height: 60px; }
/* not public yet: plain text, nothing to click */
.stores .store.is-soon { margin: 0; padding: 10px 16px; border-radius: 12px; border: 1px dashed rgba(243,239,230,.3); color: var(--bone, #f3efe6); font: 600 15px/1.35 var(--sans, system-ui, sans-serif); }
/* trademark credit lines, under the badges they belong to */
.store__legal { margin: .6rem 0 0; font-size: 12px; line-height: 1.5; color: var(--mute, #c8c2b4); }
/* fallback if a badge file is ever missing on a public listing: a plain text store link (never a home-made badge) */
.store__text { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 1px solid rgba(243,239,230,.35); color: var(--bone, #f3efe6); font: 600 15px/1.2 var(--sans, system-ui, sans-serif); }
a.store:hover .store__text { border-color: rgba(243,239,230,.7); }
