.analytics-consent {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  z-index: 10000;
  max-width: 680px;
  margin-left: auto;
  padding: 18px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 18px;
  background: #0b1324;
  color: #f8fafc;
  box-shadow: 0 18px 48px rgba(2, 6, 23, 0.28);
  font-family: "Outfit", system-ui, sans-serif;
}

.analytics-consent__text {
  max-width: 62ch;
  margin: 0 0 14px;
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.55;
}

.analytics-consent__text strong {
  color: #ffffff;
}

.analytics-consent__text a {
  color: #93c5fd;
  text-underline-offset: 3px;
}

.analytics-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.analytics-consent__button {
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid #334155;
  border-radius: 12px;
  background: transparent;
  color: #e2e8f0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.analytics-consent__button--accept {
  border-color: #0066ff;
  background: #0066ff;
  color: #ffffff;
}

.analytics-consent__button:hover {
  border-color: #60a5fa;
}

.analytics-consent__button:focus-visible {
  outline: 3px solid #93c5fd;
  outline-offset: 3px;
}

@media (min-width: 720px) {
  .analytics-consent {
    left: auto;
    width: min(680px, calc(100vw - 32px));
  }
}
