.grand-consent {
  position: fixed;
  z-index: 110;
  inset-inline: 1rem;
  bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
  max-width: 42rem;
  max-height: calc(100vh - 1.5rem);
  max-height: calc(100dvh - 1.5rem);
  overflow-y: auto;
  margin-inline: auto;
  padding: clamp(1rem, 3vw, 1.5rem);
  border-radius: 1rem;
  background: #241e19;
  box-shadow: 0 12px 40px #0008;
  color: #fff5e7;
}

.grand-consent[hidden],
.grand-consent__status[hidden] {
  display: none;
}

.grand-consent h2 {
  margin: 0 0 .5rem;
  font-size: 1.25rem;
  line-height: 1.25;
  font-weight: 700;
}

.grand-consent p {
  margin: 0 0 .75rem;
  font-size: 1rem;
  line-height: 1.45;
}

.grand-consent .grand-consent__links {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .9rem;
  font-size: .875rem;
}

.grand-consent__links a,
[data-grand-privacy-settings] {
  color: #ebcfaa;
  text-decoration: underline;
  text-underline-offset: .22em;
}

.grand-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.grand-consent__actions button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: .45rem .8rem;
  border: 1px solid #b39773;
  border-radius: .5rem;
  background: #31271f;
  color: #fff5e7;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.grand-consent__actions button:hover {
  background: #44362a;
}

.grand-consent :focus-visible,
.grand-consent:focus-visible,
[data-grand-privacy-settings]:focus-visible {
  outline: 2px solid #ffe0aa;
  outline-offset: 3px;
}

.grand-consent-footer {
  display: flex;
  justify-content: center;
  padding-inline: 1rem;
  background: #15120f;
}

[data-grand-privacy-settings] {
  min-height: 44px;
  padding: .35rem .6rem;
  border: 0;
  background: transparent;
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}
