.ga4-preferences {
  position: fixed;
  inset-inline-start: max(12px, env(safe-area-inset-left));
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 40;
  width: min(360px, calc(100% - 24px));
  color: #f4f4f5;
  font: 14px/1.5 system-ui, sans-serif;
  text-align: start;
  pointer-events: none;
}

.ga4-preferences section, .ga4-preferences button {
  border: 1px solid #666;
  border-radius: 8px;
  color: inherit;
  background: #18181b;
  pointer-events: auto;
}

.ga4-preferences section {
  margin-top: 6px;
  padding: 14px;
  box-shadow: 0 6px 24px #0008;
}

.ga4-preferences h2, .ga4-preferences p { margin: 0 0 6px; }
.ga4-preferences h2 { font-size: 1rem; }
.ga4-preferences a { color: inherit; text-decoration: underline; }
.ga4-preferences button { padding: 6px 10px; cursor: pointer; font: inherit; }
.ga4-preferences button:focus-visible, .ga4-preferences a:focus-visible { outline: 2px solid #9bc9ff; outline-offset: 2px; }
.ga4-preferences .ga4-settings { font-size: 12px; }
.ga4-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
