html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

footer {
  margin-top: auto;
}

@media (max-width: 600px) {

  footer {
    padding: 14px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
    font-size: 11px;
  }

  footer .row {
    gap: 10px;
    margin-top: 6px;
  }

  footer .row > div {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: clamp(7px, 2.7vw, 12px);
    width: 100%;
  }

  footer a {
    margin-right: 0;
    white-space: nowrap;
  }
}
