.aiva-analytics-consent[hidden] {
  display: none !important;
}

.aiva-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: 70;
  width: min(440px, calc(100% - 32px));
  margin-left: auto;
  padding: 20px;
  border: 1px solid rgba(255, 253, 249, 0.2);
  border-radius: 6px;
  background: #171414;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.3);
  color: #fffdf9;
}

.aiva-analytics-consent__title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  font-weight: 600;
  line-height: 1;
}

.aiva-analytics-consent__copy {
  margin: 10px 0 0;
  color: rgba(255, 253, 249, 0.75);
  font: 400 14px/1.45 "Instrument Sans", "Segoe UI", sans-serif;
}

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

.aiva-analytics-consent__button {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 253, 249, 0.42);
  border-radius: 999px;
  background: transparent;
  color: #fffdf9;
  font: 700 11px/1 "Instrument Sans", "Segoe UI", sans-serif;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.aiva-analytics-consent__button--allow {
  border-color: #c49b9d;
  background: #c49b9d;
  color: #171414;
}

.aiva-analytics-consent__button:hover,
.aiva-analytics-consent__button:focus-visible {
  border-color: #fffdf9;
}

.aiva-analytics-consent__button:focus-visible,
.analytics-settings-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.aiva-analytics-consent__privacy {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: rgba(255, 253, 249, 0.78);
  font: 500 12px/1 "Instrument Sans", "Segoe UI", sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.analytics-settings-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}


.footer-legal {
  align-items: center;
  column-gap: 18px;
  row-gap: 0;
}

.footer-legal > a,
.footer-legal .analytics-settings-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
}

.aiva-analytics-consent-backdrop[hidden] {
  display: none !important;
}

.aiva-analytics-consent-backdrop {
  position: fixed;
  inset: 0;
  z-index: 69;
  background: transparent;
}
@media (max-width: 460px) {
  .aiva-analytics-consent {
    padding: 18px;
  }

  .aiva-analytics-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .aiva-analytics-consent__button,
  .aiva-analytics-consent__privacy {
    width: 100%;
    justify-content: center;
  }
}

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