.cookie-banner, .cookie-dialog {
  z-index: 1000;
  color: #1b1b1b;
  background: #fff;
  border: 1px solid #847a70;
  border-radius: .4rem;
  box-shadow: 0 .5rem 2rem rgb(0 0 0 / 20%);
  padding: 1rem;
  font: 1rem/1.5 system-ui, sans-serif;
}
.cookie-banner {
  position: fixed;
  inset: auto 1rem 1rem auto;
  width: min(32rem, calc(100% - 2rem));
  box-sizing: border-box;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0 0 .75rem; }
.cookie-banner a { color: inherit; text-decoration: underline; }
.cookie-dialog { width: min(30rem, calc(100% - 2rem)); margin: auto; }
.cookie-dialog::backdrop { background: rgb(0 0 0 / 55%); }
.cookie-dialog h2 { font-size: 1.2rem; margin: 0 0 .5rem; }
.cookie-dialog label { display: block; margin: .75rem 0; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-actions button {
  color: inherit;
  background: #fff;
  border: 1px solid #5b514a;
  border-radius: .25rem;
  font: inherit;
  padding: .45rem .75rem;
  cursor: pointer;
}
.cookie-actions button:focus-visible, [data-cookie-settings]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
[data-cookie-settings] {
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-decoration: underline;
}

