.analytics-consent {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1000;
  display: none;
  max-width: 760px;
  margin-inline: auto;
  padding: 22px;
  border: 1px solid rgba(196, 164, 255, .28);
  border-radius: 18px;
  color: #f5f0fc;
  background: rgb(12 6 25);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .48);
  font-family: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
}

.analytics-consent.is-visible {
  display: block;
}

.analytics-consent__title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
}

.analytics-consent__text {
  margin: 0;
  color: #cbbee4;
  font-size: 14px;
  line-height: 1.55;
}

.analytics-consent__text a {
  color: #9afe43;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.analytics-consent__actions {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.analytics-consent__button {
  flex: 1 1 0;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid rgba(196, 164, 255, .32);
  border-radius: 999px;
  color: #f5f0fc;
  background: rgba(255, 255, 255, .07);
  font: 700 14px/1.2 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  cursor: pointer;
}

.analytics-consent__button:hover {
  border-color: #ff7be0;
  background: rgba(255, 255, 255, .12);
}

.analytics-consent__button--accept {
  border-color: transparent;
  background: linear-gradient(100deg, #f707c2, #ff7be0);
}

.analytics-preferences {
  position: fixed;
  bottom: 12px;
  left: 12px;
  z-index: 900;
  display: none;
  padding: 8px 12px;
  border: 1px solid rgba(196, 164, 255, .28);
  border-radius: 999px;
  color: #f5f0fc;
  background: rgb(12 6 25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  font: 600 12px/1.2 'Manrope', 'Helvetica Neue', Arial, sans-serif;
  cursor: pointer;
}

.analytics-preferences.is-visible {
  display: block;
}

@media (max-width: 560px) {
  .analytics-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    padding: 18px;
  }

  .analytics-consent__actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .analytics-consent *,
  .analytics-preferences {
    transition: none !important;
  }
}
