.analytics-consent {
  position: fixed;
  z-index: 20;
  inset: auto auto 1rem 1rem;
  width: min(28rem, calc(100% - 2rem));
  max-height: calc(100svh - 2rem);
  overflow: auto;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: .5rem;
  background: #fff;
  color: #111;
  box-shadow: 0 4px 24px #0002;
}
.analytics-consent h2 { font-size: 1.125rem; }
.analytics-consent p { margin: .65rem 0 1rem; font-size: 1rem; line-height: 1.5; }
.analytics-consent > div { display: flex; gap: .75rem; flex-wrap: wrap; }
.analytics-consent button {
  flex: 1 1 auto;
  min-height: 44px;
  padding: .65rem .85rem;
  border: 1px solid var(--ice-blue);
  border-radius: .25rem;
  background: #fff;
  color: var(--ice-blue);
  cursor: pointer;
}
.analytics-consent button:hover { background: #edfaff; }
.analytics-consent button:disabled { opacity: .5; cursor: default; }
.analytics-settings {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--secondary);
  font-size: .875rem;
  cursor: pointer;
}
.analytics-settings:hover { text-decoration: underline; }
