.cookie-banner {
  position: fixed;
  z-index: 20;
  inset: auto 1rem 1rem auto;
  width: min(27rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  box-sizing: border-box;
  padding: 1rem;
  color: #000;
  background: #fffdf5;
  border: 2px solid #000;
  box-shadow: 4px 4px #000;
}

.cookie-banner p { margin: .45rem 0; }
.cookie-banner a { color: inherit; text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.cookie-actions button {
  flex: 1 1 10rem;
  padding: .55rem;
  color: #000;
  background: #74b9ff;
  border: 2px solid #000;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-settings {
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
