.analytics-preferences {
  display: block;
  min-height: 44px;
  margin-top: 14px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--unified-muted);
  font: 12px/1.5 Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.analytics-consent {
  position: fixed;
  z-index: 100;
  inset: auto 20px 20px auto;
  box-sizing: border-box;
  width: min(420px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 22px;
  border: 1px solid #b48468;
  border-radius: 8px;
  background: #261920;
  color: #f5e7d3;
  font: 14px/1.65 Arial, sans-serif;
  box-shadow: 0 8px 40px #050307aa;
}
.analytics-consent[hidden] { display: none; }
.analytics-consent h2 { margin: 0 0 10px; font: 24px/1.2 Georgia, serif; }
.analytics-consent p { margin: 8px 0; font: inherit; color: inherit; }
.analytics-consent > div { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.analytics-consent button {
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid #b48468;
  border-radius: 4px;
  background: transparent;
  color: #f5e7d3;
  font: 14px/1.4 Arial, sans-serif;
  cursor: pointer;
}
.analytics-consent button[data-analytics-accept] { background: #efb486; color: #1d1217; }
.analytics-consent button:focus-visible,
.analytics-preferences:focus-visible { outline: 3px solid #efb486; outline-offset: 3px; }
