.analytics-consent[hidden] { display: none !important; }
.analytics-consent {
  position: fixed;
  z-index: 1000;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 66px;
  padding: 11px max(24px, calc((100vw - 1180px) / 2));
  border-top: 1px solid #ded8ff;
  background: #fff;
  box-shadow: 0 -4px 20px #1c1e540d;
  color: #536481;
  font: 13px/1.6 "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}
.analytics-consent-copy { min-width: 0; }
.analytics-consent p { margin: 0; color: inherit; }
.analytics-consent a { color: #533afd; text-decoration: underline; text-underline-offset: 2px; }
.analytics-consent-actions { display: flex; flex: none; gap: 9px; }
.analytics-consent-actions button {
  min-height: 38px;
  padding: 7px 15px;
  border: 1px solid #c9bfff;
  border-radius: 999px;
  background: #fff;
  color: #533afd;
  cursor: pointer;
  font: inherit;
  white-space: nowrap;
}
.analytics-consent-actions button:last-child { background: #533afd; color: #fff; border-color: #533afd; }
.analytics-consent button:focus-visible, .analytics-settings:focus-visible { outline: 3px solid #7c68ff; outline-offset: 3px; }
.analytics-settings { padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; font: inherit; }
.analytics-settings:hover { color: #533afd; }
@media (max-width: 640px) {
  .analytics-consent {
    display: block;
    padding: 12px max(16px, env(safe-area-inset-right)) max(12px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  }
  .analytics-consent-actions { justify-content: flex-end; margin-top: 9px; }
  .analytics-consent-actions button { min-height: 36px; }
}
