.analytics-consent[hidden] { display: none; }
.analytics-consent { box-sizing: border-box; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: fixed; z-index: 20; bottom: max(16px, env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); margin: 0; padding: 18px 22px; width: min(900px, calc(100% - 32px)); background: var(--panel, #fffdf8); border: 1px solid var(--line, #dcd7ce); border-radius: 8px; box-shadow: 0 8px 28px #1e272314; }
.analytics-consent h2 { margin: 0 0 4px; font-size: 16px; }
.analytics-consent p { margin: 0; color: var(--muted, #65726b); font-size: 13px; }
.analytics-consent p a { color: var(--teal, #0f766e); }
.analytics-consent-actions { display: flex; gap: 10px; flex-shrink: 0; }
.analytics-consent-actions button { padding: 9px 14px; border: 1px solid var(--teal, #0f766e); border-radius: 5px; background: var(--panel, #fffdf8); color: var(--teal, #0f766e); cursor: pointer; font-weight: 600; }
.analytics-consent-actions button:hover { background: #e8ece3; }
.analytics-consent-settings { display: block; margin: 0 auto 28px; padding: 4px 8px; background: transparent; color: var(--muted, #65726b); text-decoration: underline; font-size: 13px; cursor: pointer; }
@media (max-width: 700px) {
  .analytics-consent { align-items: flex-start; flex-direction: column; gap: 12px; }
  .analytics-consent-actions { width: 100%; }
  .analytics-consent-actions button { flex: 1; }
}
