/* Square, paper, equal-weight choices. Fixed so the banner does not shift layout. */
.consent {
  --consent-ink: #080808;
  --consent-paper: #eee;
  --consent-line: rgb(0 0 0 / 28%);
  position: fixed;
  z-index: 280;
  left: 16px;
  bottom: 16px;
  width: min(420px, calc(100vw - 32px));
  max-height: calc(100svh - 24px);
  overflow: auto;
  margin: 0;
  padding: 20px;
  border: 1px solid var(--consent-line);
  border-radius: 0;
  background: var(--consent-paper) url('/assets/v2-paper-1280.webp') center / 1280px auto;
  color: var(--consent-ink);
  font: 400 15px/1.45 Quedora, "Helvetica Neue", Arial, sans-serif;
  text-transform: none;
  letter-spacing: 0;
}
.consent[hidden],
.consent__prefs[hidden],
.consent [hidden] { display: none !important; }
.consent__title {
  margin: 0 0 8px;
  font: 400 13px/1.3 var(--control, Bootzy, "Helvetica Neue", Arial, sans-serif);
  text-transform: uppercase;
}
.consent__text,
.consent__note {
  margin: 0 0 16px;
  font: 400 15px/1.45 Quedora, "Helvetica Neue", Arial, sans-serif;
  text-transform: none;
}
.consent__text a {
  color: inherit;
  text-underline-offset: 3px;
}
.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.consent__actions button[data-consent="reject"],
.consent__actions button[data-consent="accept"] {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--consent-ink);
  border-radius: 0;
  background: transparent;
  color: var(--consent-ink);
  font: 400 12px/1.2 var(--control, Bootzy, "Helvetica Neue", Arial, sans-serif);
  text-transform: uppercase;
  cursor: pointer;
}
.consent__actions button[data-consent="settings"],
.consent__link {
  flex: 1 0 100%;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: 400 12px/1.2 var(--control, Bootzy, "Helvetica Neue", Arial, sans-serif);
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: uppercase;
  cursor: pointer;
}
.consent button:focus-visible {
  outline: 2px solid var(--consent-ink);
  outline-offset: 3px;
}
.consent__prefs {
  display: grid;
  gap: 4px;
  margin-top: 8px;
}
.consent__prefs label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font: 400 14px/1.4 Quedora, "Helvetica Neue", Arial, sans-serif;
  text-transform: none;
}
.consent__prefs input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--consent-ink);
}
.consent__prefs button[type="submit"] {
  min-height: 44px;
  margin-top: 8px;
  padding: 10px 12px;
  border: 1px solid var(--consent-ink);
  border-radius: 0;
  background: transparent;
  color: var(--consent-ink);
  font: 400 12px/1.2 var(--control, Bootzy, "Helvetica Neue", Arial, sans-serif);
  text-transform: uppercase;
  cursor: pointer;
}
@media (max-width: 600px) {
  .consent {
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: none;
    padding: 20px 16px calc(20px + env(safe-area-inset-bottom));
  }
  .consent__actions button[data-consent="reject"],
  .consent__actions button[data-consent="accept"] {
    flex: 1 1 calc(50% - 8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .consent { scroll-behavior: auto; }
}
