/* Follow the footer palette across themes without creating another grid row. */
#footer .inhappy-app-install,
.inhappy-app-install {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  flex: 0 0 auto;
  align-self: flex-start;
  box-sizing: border-box;
  min-height: 42px;
  margin: 0;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: 6px;
  background: transparent;
  color: rgba(255, 255, 255, .85);
  font: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease;
}
.inhappy-app-install svg { flex: 0 0 auto; }
#footer .inhappy-app-install[hidden] { display: none; }
#footer .footer-links { gap: 20px; }
#footer .inhappy-app-install:hover,
.inhappy-app-install:hover { background: rgba(255, 255, 255, .1); }
.inhappy-app-install:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 1024px) {
  #footer .footer-links { flex-wrap: wrap; row-gap: 20px; }
  #footer .inhappy-app-install { margin: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .inhappy-app-install { transition: none; }
}
