.analytics-consent[hidden] { display: none; }
.analytics-consent {
  position: fixed;
  z-index: 1000;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 960px;
  max-height: calc(100dvh - 48px);
  overflow: auto;
  margin: 0 auto;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  box-shadow: var(--shadow-pop);
}
.analytics-consent h2 { margin: 0 0 6px; font-size: 18px; letter-spacing: 0; }
.analytics-consent p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.analytics-consent a { text-decoration: underline; text-underline-offset: 3px; }
.analytics-consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.analytics-consent-actions button {
  padding: 11px 16px;
  border: 1px solid var(--ink);
  border-radius: 9px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.analytics-consent-actions button:hover { background: var(--accent-soft); }
.analytics-settings {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.analytics-settings:hover { text-decoration: underline; }
@media (max-width: 800px) {
  .analytics-consent { flex-direction: column; align-items: stretch; gap: 18px; }
  .analytics-consent-actions button { flex: 1; white-space: normal; }
}
@media (max-width: 480px) {
  .analytics-consent { left: 12px; right: 12px; bottom: 12px; padding: 20px; }
}
