/* Fixed download link and enough scroll space to clear it at the page end. */
body:not(.no-floating-download) {
  padding-bottom: 88px;
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
}

/* Match the download page’s install button on the floating link. */
.app-install-card .primary-install,
a.site-floating-download {
  background: linear-gradient(110deg, #f2923c, #ed6930);
  color: #fff;
  font: 400 17px/1.6 -apple-system, BlinkMacSystemFont, 'PingFang SC', Arial, sans-serif;
}

@media (max-width: 650px) {
  .app-install-card .primary-install,
  a.site-floating-download {
    font-size: 16px;
  }
}

a.site-floating-download {
  position: fixed;
  z-index: 15;
  left: 50%;
  bottom: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%);
  width: calc(100% - 24px);
  max-width: 360px;
  min-height: 48px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 24px;
  box-shadow: 0 5px 18px rgba(109, 50, 27, .26);
  text-align: center;
  text-decoration: none;
}

a.site-floating-download:hover {
  box-shadow: 0 5px 18px rgba(109, 50, 27, .36);
  text-decoration: none;
}

a.site-floating-download:focus-visible {
  outline: 2px solid #26221d;
  outline-offset: 3px;
}
