.android-app-banner[hidden] { display: none; }

.android-app-banner {
  position: sticky;
  top: 0;
  z-index: 22;
  border-bottom: 1px solid #c6e3d4;
  background: #e9f5ee;
  color: #16372d;
  font: inherit;
}

.android-app-banner__row {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 60px;
  max-width: 1180px;
  margin-inline: auto;
  padding: 8px max(12px, env(safe-area-inset-right)) 8px max(12px, env(safe-area-inset-left));
}

.android-app-banner img {
  flex: none;
  display: block;
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.android-app-banner__copy {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.android-app-banner__copy strong,
.android-app-banner__copy span { display: block; }
.android-app-banner__copy strong { font-size: 0.9375rem; }
.android-app-banner__copy span { color: #325649; font-size: 0.8125rem; }

.android-app-banner a {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 6px 12px;
  border-radius: 9px;
  background: #005a44;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
}

.android-app-banner__stores {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.android-app-banner__stores a + a {
  border: 1px solid #005a44;
  background: #fff;
  color: #005a44;
}

@media (max-width: 600px) {
  .android-app-banner__row {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
  }
  .android-app-banner__stores { grid-column: 1 / -1; }
}

.android-app-banner a:focus-visible {
  outline: 3px solid #136450;
  outline-offset: 3px;
}

html { scroll-padding-top: var(--android-app-banner-height, 0px); }
#landing .lp-top, .seo-top { top: var(--android-app-banner-height, 0px); }

/* Persistent download access occupies one compact row, leaving the lesson visible. */
.android-app-banner__row { display:flex; min-height:52px; padding-block:4px; gap:8px; }
.android-app-banner img { width:28px; height:28px; }
.android-app-banner__copy { flex:1; }
.android-app-banner__copy strong { font-size:12px; }
.android-app-banner__copy span { display:none; }
.android-app-banner__stores { flex:none; grid-column:auto; gap:6px; }
.android-app-banner__stores a { min-height:44px; padding:6px 9px; font-size:12px; font-weight:600; }
@media(max-width:360px){.android-app-banner img{display:none;}}
