/* Keep both stores at the same badge height, including on narrow screens. */
.store-buttons {
  --store-badge-height: 54px;
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 16px;
  padding-bottom: 22px;
}

.store-buttons a {
  position: relative;
  display: inline-flex;
  flex: 0 0 auto;
  width: auto;
  min-height: 0;
  text-decoration: none;
  transition: transform 180ms ease, opacity 180ms ease;
}

.store-buttons a:hover,
.store-buttons a:focus-visible {
  transform: translateY(-1px);
  opacity: 0.92;
}

.store-buttons img {
  display: block;
  width: auto;
  height: var(--store-badge-height);
  max-width: none;
}

.store-beta {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  color: var(--muted, inherit);
  font-size: 11px;
  font-weight: 500;
  line-height: 16px;
  text-align: center;
}

.site-header .store-buttons {
  --store-badge-height: 44px;
  gap: 12px;
  flex-wrap: nowrap;
  padding-top: 16px;
}

.store-buttons[hidden] {
  display: none;
}

@media (max-width: 1040px) {
  .site-header .store-buttons {
    display: none;
  }
}

@media (max-width: 760px) {
  .store-buttons {
    --store-badge-height: 40px;
  }
}

/* Keep the single-store layout free of space reserved for the beta label. */
.store-buttons--apple-only,
.site-header .store-buttons--apple-only {
  padding-top: 0;
  padding-bottom: 0;
}
