/* =========================================================================
   Android: the Google Play badge, the Android note in the home page's iPhone and iPad section and
   the Android card of the holiday pages. Linked from the home and holiday pages only while
   page_context.PLAY_LIVE is on (web/i18n).
   ========================================================================= */

/* Google's official "Get it on Google Play" PNG (646 x 250), unaltered. Its file carries a
   transparent margin, so the image is drawn taller and the margin pulled back with negative
   margins: the visible badge is 3rem (48 px) high like Apple's, and .store-badge's 12 px padding
   is its clear space. Two layouts of Google's PNG (languages.json "fit"):
   inset: badge 564 x 168 px with 41 px margin on every side;
   band:  badge 646 x 192 px with 29 px margin above and below. */
.store-badge--play-inset img { height: calc(3rem * 250 / 168); margin: calc(-3rem * 41 / 168); }
.store-badge--play-band img { height: calc(3rem * 250 / 192); margin: calc(-3rem * 29 / 192) 0; }

/* The Android note under the iPhone steps: one quiet card like the step cards, centered. */
.android-note {
    max-width: 40rem; margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
    padding: 1.5rem 1.25rem 0.75rem;
    border-radius: 18px;
    background: rgb(255 255 255 / 0.06);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
    font-family: var(--rounded); color: var(--cream); text-align: center;
}
.android-note h3 { margin: 0; font-family: var(--rounded); font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 800; color: var(--cream); }
.android-note p { max-width: none; margin: 0.6rem 0 0; font-size: 1.05rem; line-height: 1.45; overflow-wrap: break-word; }
.android-note .cta { margin-top: 0.5rem; }

/* Holiday pages: a third card (Android) next to Mac and iPhone and iPad. Three in a row from 64rem;
   between 48 and 64rem the Android card spans both columns under the other two. */
@media (min-width: 48rem) and (max-width: 63.99rem) {
    .holiday-cards--three > :last-child { grid-column: 1 / -1; }
}
@media (min-width: 64rem) {
    .holiday-cards--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
