.analytics-consent {
  position: fixed;
  right: 16px;
  bottom: 16px;
  left: 16px;
  z-index: 1000;
  width: min(720px, calc(100% - 32px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 18px;
  border: 1px solid rgba(17, 217, 238, 0.52);
  border-radius: 14px;
  background: rgba(3, 8, 11, 0.97);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.72), 0 0 28px rgba(17, 217, 238, 0.12);
  color: #f7fbfc;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  backdrop-filter: blur(18px);
}

.analytics-consent__copy {
  display: grid;
  gap: 4px;
}

.analytics-consent__copy strong {
  color: #f7fbfc;
  font-size: 14px;
}

.analytics-consent__copy span {
  color: #a9b9c0;
  font-size: 12px;
}

.analytics-consent__copy a {
  color: #8df5ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.analytics-consent__actions {
  display: flex;
  align-items: center;
  gap: 9px;
}

.analytics-consent button,
.footer-consent-link {
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: transparent;
  color: #d9e4e8;
  cursor: pointer;
  font: 700 11px/1 "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.03em;
}

.analytics-consent button {
  padding: 0 14px;
  border-radius: 7px;
}

.analytics-consent button:hover,
.analytics-consent button:focus-visible {
  border-color: #8df5ff;
  color: #ffffff;
}

.analytics-consent .analytics-consent__allow {
  border-color: #11d9ee;
  background: #11d9ee;
  color: #001014;
}

.analytics-consent .analytics-consent__allow:hover,
.analytics-consent .analytics-consent__allow:focus-visible {
  background: #8df5ff;
  color: #001014;
}

.footer-consent-link {
  min-height: auto;
  padding: 0;
  border: 0;
  color: #c5d1d6;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
}

.footer-consent-link:hover {
  color: #8df5ff;
}

@media (max-width: 640px) {
  .analytics-consent {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 15px;
  }

  .analytics-consent--above-install {
    bottom: 82px;
  }

  .analytics-consent__actions {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
  }

  .analytics-consent button {
    width: 100%;
  }
}

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