[data-gf-marketing-preferences] {
  color: #202020;
  position: fixed;
  z-index: 99997;
  inset: auto auto max(12px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
  font: 400 .875rem/1.45 system-ui, sans-serif;
}

[data-gf-marketing-preferences] button {
  appearance: none;
  border: 1px solid #646464;
  border-radius: 6px;
  background: #fff;
  color: #202020;
  cursor: pointer;
  padding: .5rem .65rem;
  font-family: inherit;
  font-size: .825rem;
  font-weight: 600;
}

[data-gf-marketing-preferences] .gf-cookie-button {
  box-shadow: 0 2px 10px #0003;
}

[data-gf-marketing-preferences] #gf-cookie-panel {
  position: absolute;
  inset: auto auto calc(100% + 8px) 0;
  box-sizing: border-box;
  width: min(24rem, calc(100vw - 32px));
  max-height: min(75dvh, 32rem);
  overflow: auto;
  border: 1px solid #646464;
  border-radius: 8px;
  background: #fff;
  color: #202020;
  padding: 1rem;
  box-shadow: 0 5px 25px #0003;
}

[data-gf-marketing-preferences] #gf-cookie-panel[hidden] { display: none; }
[data-gf-marketing-preferences] h2 { margin: 0 0 .4rem; color: #202020; font: 700 1rem/1.25 system-ui, sans-serif; }
[data-gf-marketing-preferences] p { margin: .55rem 0; color: #202020; }
[data-gf-marketing-preferences] label { display: flex; align-items: center; gap: .45rem; margin: .5rem 0; }
[data-gf-marketing-preferences] input { margin: 0; accent-color: #b11717; }
[data-gf-marketing-preferences] a { color: #8e1313; text-decoration: underline; }
[data-gf-marketing-preferences] .gf-cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; padding-top: .25rem; }
[data-gf-marketing-preferences] [data-gf-save] { background: #a31313; border-color: #a31313; color: #fff; }
