.analytics-consent {
  position: fixed;
  z-index: 500;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(430px, calc(100vw - 32px));
  padding: 22px;
  border: 1px solid #bec5b8;
  border-radius: 14px;
  background: #fffdf8;
  color: #243126;
  box-shadow: 0 16px 55px #17281d26;
  font: 400 14px/1.5 "DM Sans", sans-serif;
}
.analytics-consent h2 {
  margin: 0 0 8px;
  font: 600 24px/1.1 "Pixelify Sans", sans-serif;
}
.analytics-consent p { margin: 0 0 15px; color: #59625a; }
.analytics-consent-actions { display: flex; gap: 9px; margin-bottom: 12px; }
.analytics-consent-actions button {
  flex: 1;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid #243126;
  border-radius: 7px;
  font: 600 13px "DM Sans", sans-serif;
  cursor: pointer;
}
.analytics-consent-decline { background: transparent; color: #243126; }
.analytics-consent-accept { background: #243126; color: white; }
.analytics-consent > a { color: #405c37; font-size: 12px; }
@media (max-width: 520px) {
  .analytics-consent { right: 12px; bottom: 12px; width: calc(100vw - 24px); padding: 18px; }
  .analytics-consent-actions { flex-direction: column-reverse; }
}
