/* Shared across every Hashmark page: consent banner + footer link row.
   Kept separate from app.css / products.css / legal.css so it can be linked
   anywhere without dragging in page-level typography or layout rules. */

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.footer-links a {
  color: #adb7b0;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 0;
}
.footer-links a:hover, .footer-links a:focus-visible { color: #f4f6f2; text-decoration: underline; }

#consent-banner {
  position: fixed;
  z-index: 60;
  left: 16px;
  right: 16px;
  bottom: 16px;
  margin-inline: auto;
  max-width: 560px;
  background: #131b16;
  border: 1px solid #2c3630;
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55);
  font-family: "Archivo", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  color: #f4f6f2;
  line-height: 1.55;
}
#consent-banner[hidden] { display: none; }
#consent-banner p { margin: 0 0 14px; color: #d8ded9; font-size: 14px; }
#consent-banner .row { display: flex; flex-wrap: wrap; gap: 10px; }
#consent-banner button {
  min-height: 40px;
  padding: 9px 18px;
  border: 0;
  border-radius: 8px;
  background: #ff5a1f;
  color: #1a0e04;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
#consent-banner button:hover { background: #ff7038; }
#consent-banner button.secondary { background: transparent; border: 1px solid #2c3630; color: #f4f6f2; }
#consent-banner button.secondary:hover { border-color: #3d4a42; }

@media (max-width: 520px) {
  #consent-banner { left: 12px; right: 12px; bottom: 12px; padding: 16px; }
  #consent-banner button { flex: 1 1 auto; }
}

/* The consent sheet and the sticky CTA are both fixed at the bottom, and the
   sheet wins: the "Create your league" bar underneath could not be tapped until
   a choice was made. Hide it while the sheet is showing. */
body:has(#consent-banner:not([hidden])) #sticky-cta { display: none; }
