#analytics-preferences {
  position: fixed;
  z-index: 1000;
  inset: auto 1rem 1rem;
  margin-inline: auto;
  width: min(38rem, calc(100% - 2rem));
  padding: 1rem;
  background: #181a18;
  color: #f4f1ea;
  border: 1px solid #ba9759;
  border-radius: .65rem;
  box-shadow: 0 4px 24px #0008;
  font-size: .95rem;
}
#analytics-preferences p { margin: .35rem 0 .75rem; }
#analytics-preferences div { display: flex; flex-wrap: wrap; gap: .5rem; }
#analytics-preferences a,
[data-analytics-settings] { color: #e8c991; text-decoration: underline; }
[data-analytics-settings] { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
