.consent {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  max-width: 520px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px 20px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 8px 28px rgba(17, 61, 62, 0.18);
}

.consent[hidden] {
  display: none;
}

.consent-text {
  margin: 0;
  font-size: 14px;
  color: var(--text);
}

.consent-text a {
  color: var(--ink);
  font-weight: 600;
  text-underline-offset: 3px;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Both answers look the same: saying no is as easy as saying yes */
.consent-button {
  flex: 1 1 140px;
  height: 46px;
  padding: 0 20px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: #ffffff;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.consent-button:hover {
  background: var(--ink);
  color: #ffffff;
}

.footer-consent {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--on-ink);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.footer-consent[hidden] {
  display: none;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-ink);
  text-underline-offset: 3px;
}

.footer-link:hover,
.footer-consent:hover {
  color: #ffffff;
}
