.analytics-consent {
  position: fixed;
  z-index: 100;
  inset: auto 16px max(16px, env(safe-area-inset-bottom)) auto;
  width: min(420px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 24px;
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-float);
  color: var(--ink);
  font: 16px/1.55 var(--font);
}
.analytics-consent[hidden] { display: none; }
.analytics-consent h2 { font-size: 18px; line-height: 1.35; margin: 0 0 12px; }
.analytics-consent p { margin: 0 0 20px; color: var(--ink-2); }
.analytics-consent a { color: var(--brand-ink); text-underline-offset: 3px; }
.analytics-consent__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.analytics-consent__actions button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--surface-2);
  color: var(--ink);
  font: 600 14px/1.4 var(--font);
  cursor: pointer;
}
.analytics-consent__actions button:hover { background: var(--line); }
.analytics-consent button:focus-visible, .analytics-settings:focus-visible { outline: 2px solid var(--brand-ink); outline-offset: 3px; }
.analytics-settings { font: inherit; color: var(--brand-ink); cursor: pointer; background: none; border: 0; text-decoration: underline; text-underline-offset: 3px; padding: 8px 0; text-align: start; }
