/* The one written owner of the web's store-badge rules. StoreBadges.tsx loads this sheet for every host outside the
   finder; the static questionnaire, whose markup is pinned to the React owner, links it; the finder's generator reads
   these rules into the finder's own stylesheet, so finder pages carry no other host's CSS. One badge is one unit
   (C68): the store's official artwork, never altered, then our own word FREE (StoreBadgeFree).
   The badge's height is said once, here: 40px, Apple's minimum onscreen height, the same for both stores (Google Play is
   never smaller than the badge beside it). The stores' clear space, a quarter of that height, is said once below and is
   both the gap from the artwork to the word and the space between badges in a row, whatever row a host puts them in.
   A host that needs another height sets --store-badge-height and nothing else (the wedding bar on a phone does). */
:root { --store-badge-height: 40px; }
.store-badge-image { --store-badge-clear: calc(var(--store-badge-height) / 4); gap: var(--store-badge-clear); }
/* A row of badges takes the same clear space between them. Its own rule: a browser that does not know :has() drops only this one. */
:has(> .store-badge-image) { --store-badge-clear: calc(var(--store-badge-height) / 4); gap: var(--store-badge-clear); }
.store-badge-image { display: flex !important; flex-direction: column; align-items: center; justify-content: center; text-decoration: none; }
.store-badge-image img { width: auto; max-width: 100%; height: var(--store-badge-height); object-fit: contain; }
/* The inert miniature inside a picture of the wedding bar: picture size, no word. */
.store-badge-image[data-preview] img { width: 64px; height: auto; }
/* The word is a strong label on every host. Its default, for a page with neither the finder's nor the wedding type values
   (the share profile's hero), is the site's own sans at the brand's small size and medium weight, 14px on a 20px line, tracked a tenth of an em,
   in the host's text ink. A wedding page's values take their place: the small-label role at the caption size, in the page's ink.
   The indent equals the tracking after the last letter, so the word stays centred under its badge. */
.store-badge-free { --store-badge-word-family: var(--type-smallLabel-family, var(--font-body)); --store-badge-word-leading: 1.25rem; --store-badge-word-tracking: 0.1em;
  font-family: var(--store-badge-word-family); font-weight: var(--type-smallLabel-weight, var(--weight-medium)); font-style: var(--type-smallLabel-style);
  font-size: var(--wedding-text-caption, var(--font-small)); line-height: var(--type-smallLabel-leading, var(--store-badge-word-leading));
  letter-spacing: var(--type-smallLabel-tracking, var(--store-badge-word-tracking)); text-indent: var(--type-smallLabel-tracking, var(--store-badge-word-tracking));
  color: var(--ink, currentColor); }
