.analytics-notice[hidden], body.intro-active .analytics-notice { display: none; }
.analytics-notice {
  box-sizing: border-box;
  position: fixed;
  z-index: 90;
  right: 16px;
  bottom: max(16px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 18px;
  width: min(720px, calc(100% - 32px));
  padding: 11px 14px;
  border: 1px solid rgba(244,242,237,.22);
  border-radius: 4px;
  background: rgba(8,8,8,.94);
  color: #f4f2ed;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  font: 14px/1.4 Arial,Helvetica,sans-serif;
}
.analytics-notice p { flex: 1; margin: 0; }
.analytics-actions { display: flex; align-items: center; flex-wrap: nowrap; gap: 8px; white-space: nowrap; }
.analytics-actions button { min-height: 36px; padding: 6px 9px; border: 1px solid #a51f2d; border-radius: 2px; background: #a51f2d; color: #fff; cursor: pointer; font: 700 13px Arial,Helvetica,sans-serif; }
.analytics-actions button:nth-child(2) { border-color: #777; background: transparent; }
.analytics-actions a { color: #f4f2ed; font-size: 13px; text-underline-offset: 3px; }
.analytics-settings { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; text-transform: inherit; letter-spacing: inherit; }
.analytics-settings:hover { color: #a51f2d; }
.legal-footer-inner .analytics-settings { grid-column: 1 / -1; justify-self: center; }
.analytics-notice :focus-visible, .analytics-settings:focus-visible { outline: 2px solid #e73549; outline-offset: 3px; }
@media (max-width: 650px) {
  .analytics-notice { right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); flex-direction: column; align-items: stretch; gap: 9px; width: calc(100% - 20px); padding: 10px 12px; }
  .analytics-actions { justify-content: flex-end; }
  .analytics-actions a { margin-right: auto; }
}
