.analytics-settings {
  padding-top: 12px;
}

.analytics-settings button {
  min-height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .875rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.analytics-consent {
  position: fixed;
  z-index: 41;
  inset-inline-end: 20px;
  bottom: 20px;
  width: min(24rem, calc(100% - 40px));
  padding: 18px;
  border: 1px solid #d6c4ae;
  border-radius: 8px;
  background: #fffdf8;
  color: #2e3831;
  box-shadow: 0 4px 20px rgb(30 30 30 / 12%);
}

.analytics-consent h2 {
  margin: 0;
  font-size: 1.125rem;
}

.analytics-consent p {
  margin: 8px 0 12px;
  font-size: .875rem;
  line-height: 1.5;
}

.analytics-consent a {
  text-decoration: underline;
}

.analytics-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.analytics-consent-actions button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 6px 10px;
  border: 1px solid #736e64;
  border-radius: 4px;
  background: #fffdf8;
  color: #2e3831;
  font: inherit;
  font-size: .875rem;
  cursor: pointer;
}

@media (max-width: 650px) {
  .analytics-consent {
    inset-inline-end: 12px;
    bottom: calc(74px + env(safe-area-inset-bottom, 0px));
    width: min(24rem, calc(100% - 24px));
  }
}
