.fd-consent-banner,
.fd-consent-dialog {
  color: var(--fd-theme-fg, #121212);
  background: var(--fd-theme-bg, #eeeae8);
  font-family: var(--_font-default, sans-serif);
  font-size: 1.7rem;
  line-height: 1.45;
  text-align: left;
  border: 1px solid var(--fd-theme-line, #bbb7b5);
  box-shadow: 0 1rem 5rem rgb(0 0 0 / .18);
}
.fd-consent-banner[hidden] { display: none !important; }
.fd-consent-banner {
  position: fixed;
  z-index: 100100;
  left: 2.4rem;
  right: 2.4rem;
  bottom: 2.4rem;
  max-width: 144rem;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 3.2rem;
  padding: 2.6rem 3rem;
}
.fd-consent-eyebrow {
  margin: 0 0 1rem;
  font: 400 1.05rem/1.4 var(--_font-accent, monospace);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fd-consent-title {
  margin: 0 0 .8rem;
  font: 700 2.6rem/1.12 var(--_font-heading, sans-serif);
  letter-spacing: -.02em;
  color: inherit;
}
.fd-consent-copy { margin: 0; max-width: 67rem; font-size: 1.7rem; color: inherit; }
.fd-consent-copy a,
.fd-consent-dialog a { color: inherit; text-decoration: underline; text-underline-offset: .2em; }
.fd-consent-actions { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.fd-consent-button {
  appearance: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 4.8rem;
  min-width: 11.5rem;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 1.2rem 1.8rem;
  font: 500 1.45rem/1.2 var(--fd-action-font, sans-serif);
  letter-spacing: .015em;
  border-radius: 0;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.fd-consent-button:hover { background: var(--fd-theme-faint, rgb(0 0 0 / .06)); }
.fd-consent-button--accept {
  color: #fff;
  background: var(--fd-action-color, #4b21d3);
  border-color: var(--fd-action-color, #4b21d3);
}
.fd-consent-button--accept:hover { background: var(--fd-action-color-hover, #3c18ad); }
.fd-consent-button--settings { border-color: transparent; text-decoration: underline; text-underline-offset: .25em; }
.fd-consent-button:focus-visible,
.fd-consent-open:focus-visible,
.fd-consent-dialog a:focus-visible,
.fd-consent-close:focus-visible { outline: 2px solid var(--fd-action-color, #4b21d3); outline-offset: .4rem; }
.fd-consent-open {
  appearance: none;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  min-height: 4.4rem;
  padding: .5rem 0;
  text-decoration: underline;
  text-underline-offset: .25em;
  cursor: pointer;
}
.fd-consent-legal-links { display: flex; flex-direction: column; align-items: flex-start; gap: .2rem; }
.fd-consent-dialog {
  width: min(64rem, calc(100% - 3.2rem));
  max-width: 64rem;
  max-height: calc(100dvh - 3.2rem);
  padding: 3.2rem;
  margin: auto;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: 0;
}
.fd-consent-dialog::backdrop { background: rgb(0 0 0 / .65); }
.fd-consent-dialog:not([open]) { display: none; }
.fd-consent-dialog__top { display: flex; gap: 2rem; justify-content: space-between; align-items: flex-start; }
.fd-consent-close {
  appearance: none;
  border: 0;
  background: none;
  color: inherit;
  font: 400 3.2rem/1 sans-serif;
  min-width: 4.4rem;
  min-height: 4.4rem;
  cursor: pointer;
  flex: none;
  margin: -.8rem -1rem 0 0;
}
.fd-consent-dialog__intro { margin: .8rem 0 2rem; color: inherit; font-size: 1.7rem; }
.fd-consent-option { border-top: 1px solid var(--fd-theme-line, #bbb7b5); padding: 1.8rem 0; }
.fd-consent-option__label { display: flex; align-items: center; justify-content: space-between; gap: 2rem; color: inherit; font-size: 1.9rem; font-weight: 700; cursor: pointer; }
.fd-consent-option__label input { appearance: auto; accent-color: var(--fd-action-color, #4b21d3); width: 2.2rem; height: 2.2rem; min-width: 2.2rem; margin: 0; cursor: pointer; }
.fd-consent-option__label input:focus-visible { outline: 2px solid var(--fd-action-color, #4b21d3); outline-offset: .4rem; }
.fd-consent-option__fixed { font: 400 1rem/1.4 var(--_font-accent, monospace); text-transform: uppercase; letter-spacing: .04em; }
.fd-consent-option p { font-size: 1.6rem; color: inherit; margin: .7rem 0 0; }
.fd-consent-dialog__note { font-size: 1.45rem; color: inherit; margin: 0 0 2rem; }
.fd-consent-dialog .fd-consent-actions { border-top: 1px solid var(--fd-theme-line, #bbb7b5); padding-top: 2rem; }
.fd-consent-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (max-width: 1099px) {
  .fd-consent-banner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 599px) {
  .fd-consent-banner { left: 1.2rem; right: 1.2rem; bottom: 1.2rem; padding: 2rem; gap: 1.8rem; max-height: calc(100dvh - 2.4rem); overflow-y: auto; overscroll-behavior: contain; }
  .fd-consent-title { font-size: 2.2rem; }
  .fd-consent-copy { font-size: 1.6rem; }
  .fd-consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; width: 100%; }
  .fd-consent-button { min-width: 0; width: 100%; min-height: 4.6rem; padding: 1.1rem 1rem; font-size: 1.4rem; }
  .fd-consent-button--settings { grid-column: 1 / -1; }
  .fd-consent-dialog { padding: 2.4rem 2rem; }
  .fd-consent-dialog .fd-consent-button--save { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .fd-consent-button { transition: none; } }
