.analytics-consent {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 56rem;
  margin: 0 auto;
  padding: 1rem;
  color: #fff7e8;
  background: #19130c;
  border: 1px solid rgb(255 214 140 / 42%);
  border-radius: 0.85rem;
  box-shadow: 0 1rem 3rem rgb(0 0 0 / 35%);
  font: 500 0.9rem/1.45 system-ui, sans-serif;
}

html[data-analytics-consent="set"] .analytics-consent {
  display: none;
}

.analytics-consent__copy {
  max-width: 40rem;
}

.analytics-consent strong {
  display: block;
  margin-bottom: 0.2rem;
  color: #fff;
  font-size: 1rem;
}

.analytics-consent p {
  margin: 0;
  color: #fff7e8;
}

.analytics-consent a {
  color: #ffd68c;
}

.analytics-consent__actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.6rem;
}

.analytics-consent button,
.analytics-settings-button {
  min-height: 2.5rem;
  padding: 0.55rem 0.85rem;
  color: inherit;
  background: transparent;
  border: 1px solid currentcolor;
  border-radius: 0.55rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.analytics-consent button:hover,
.analytics-consent button:focus-visible,
.analytics-settings-button:hover,
.analytics-settings-button:focus-visible {
  outline: 2px solid #ffd68c;
  outline-offset: 2px;
}

.analytics-consent .analytics-consent__allow {
  color: #241607;
  background: #ffd68c;
  border-color: #ffd68c;
}

.analytics-settings-button {
  color: #654516;
}

@media (max-width: 640px) {
  .analytics-consent {
    align-items: stretch;
    flex-direction: column;
  }

  .analytics-consent__actions,
  .analytics-consent button {
    width: 100%;
  }
}
