.analytics-consent-notice {
  position: fixed;
  z-index: 1000;
  inset: auto 16px 16px;
  max-width: 520px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, currentColor 20%, transparent);
  border-radius: 16px;
  background: #211a1e;
  color: #fff8fb;
  box-shadow: 0 18px 48px rgb(0 0 0 / 30%);
  font: 400 16px/1.5 system-ui, sans-serif;
}

.analytics-consent-notice[hidden] { display: none; }
.analytics-consent-notice p { margin: 0 0 16px; }
.analytics-consent-notice a { color: inherit; text-underline-offset: 3px; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.analytics-consent-actions button {
  flex: 1 1 160px;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.analytics-consent-actions button:hover { background: rgb(255 255 255 / 12%); }
.analytics-consent-notice :focus-visible, .analytics-settings-button:focus-visible {
  outline: 3px solid #e758a7;
  outline-offset: 3px;
}
.analytics-settings-button {
  min-height: 44px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
