.analytics-notice[hidden] { display: none; }
.analytics-notice {
  position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%);
  width: min(900px, calc(100% - 32px)); padding: 18px 22px;
  display: flex; align-items: center; gap: 24px; z-index: 30;
  border: 1px solid #484848; border-radius: 4px; background: #111;
  color: #eee; box-shadow: 0 6px 28px #0008;
}
.analytics-notice p { margin: 0; font-size: 12px; line-height: 1.5; }
.analytics-notice p a { text-decoration: underline; text-underline-offset: 3px; }
.analytics-notice > div { display: flex; gap: 10px; flex-shrink: 0; }
.analytics-notice button { border: 1px solid #888; border-radius: 4px; padding: 10px 16px; background: transparent; color: white; font-size: 13px; }
.analytics-notice button:first-child { background: var(--lime); border-color: var(--lime); color: black; }
.analytics-settings { border: 0; background: transparent; color: inherit; padding: 0; font: inherit; }
.analytics-settings:hover { color: var(--lime); }
@media (max-width: 720px) {
  .analytics-notice { align-items: stretch; flex-direction: column; gap: 12px; padding: 16px; }
  .analytics-notice > div { justify-content: flex-end; }
  footer > div { flex-wrap: wrap; }
}
