.analytics-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  width: min(680px, calc(100% - 36px));
  padding: 17px 18px;
  border: 1px solid rgba(237, 238, 233, 0.16);
  border-radius: 10px;
  color: #edeee7;
  background: #121a15;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.34);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.analytics-consent strong { display: block; margin-bottom: 3px; font-size: 14px; }
.analytics-consent p { margin: 0; color: #a9b3ad; font-size: 12px; line-height: 1.45; }
.analytics-consent__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.analytics-consent button, .analytics-consent a {
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid rgba(237, 238, 233, 0.16);
  border-radius: 7px;
  color: #edeee7;
  background: transparent;
  font: 600 12px/1 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-decoration: none;
  cursor: pointer;
}
.analytics-consent .analytics-consent__allow { border-color: #5fa679; color: #08130d; background: #5fa679; }
.analytics-consent button:focus-visible, .analytics-consent a:focus-visible { outline: 2px solid #8fd1a8; outline-offset: 2px; }

@media (max-width: 680px) {
  .analytics-consent { left: 12px; right: 12px; bottom: 12px; grid-template-columns: 1fr; width: auto; gap: 12px; }
  .analytics-consent__actions { width: 100%; }
  .analytics-consent button, .analytics-consent a { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  .analytics-consent * { scroll-behavior: auto !important; }
}
