.analytics-preferences {
  position: fixed;
  left: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 900;
  max-width: min(360px, calc(100vw - 24px));
  font: 14px/1.4 system-ui, sans-serif;
  color: #1a2234;
}

.analytics-choice {
  padding: 12px;
  border: 1px solid #cbd2df;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 3px 16px #1113;
}

.analytics-choice p { margin: 0 0 8px; }
.analytics-choice div { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.analytics-choice a { color: #22487c; }
.analytics-preferences [hidden] { display: none; }

.analytics-preferences button {
  padding: 5px 8px;
  border: 1px solid #aeb8cb;
  border-radius: 5px;
  background: #fff;
  color: #1a2234;
  font: inherit;
  cursor: pointer;
}

.analytics-preferences .analytics-settings { font-size: 11px; }
