.footer {
  --footer-clearance: calc(84px + env(safe-area-inset-bottom, 0px));
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  padding: 25px clamp(24px, 6vw, 104px) var(--footer-clearance);
  border-top: 1px solid #28282d;
  color: #91919d;
  font: 700 10px monospace;
  letter-spacing: .13em;
}

.footer > div {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer span, .footer a:hover, .footer a:focus-visible {
  color: var(--lime);
}

.footer a, .footer button {
  transition: color .2s, background-color .2s, border-color .2s;
}

.footer a:focus-visible, .footer button:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
}

.footer .footer-replay {
  display: inline-block;
  padding: 0 14px 0 0;
  border: 0;
  background: none;
  color: var(--lime);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer .footer-replay:hover, .footer .footer-replay:focus-visible {
  color: var(--white);
}

.footer #yvPrivacyLink {
  color-scheme: light;
}

.footer #yvPrivacyLink:hover, .footer #yvPrivacyLink:focus-visible {
  border-color: var(--lime);
  background-color: var(--lime);
  color: var(--black);
}

@media (max-width: 620px) {
  .footer {
    display: block;
    line-height: 2;
  }

  .footer > div + div { margin-top: 12px; }
}

@media (max-width: 540px), (max-height: 420px) {
  .footer { --footer-clearance: calc(132px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  .footer a, .footer button { transition: none; }
}
