.footer-consent-button {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--color-slate-500);
  font-family: var(--font-ui);
  font-size: 0.85rem;
  line-height: 1.6;
  cursor: pointer;
}

.footer-consent-button:hover {
  color: var(--color-ink);
}

.analytics-consent-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1000;
  max-width: 980px;
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  margin: 0 auto;
  border: 1px solid var(--color-paper-dark);
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.analytics-consent-inner {
  display: flex;
  align-items: stretch;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
}

.analytics-consent-copy {
  min-width: 0;
}

.analytics-consent-copy h2 {
  margin-bottom: 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
}

.analytics-consent-copy p {
  color: var(--color-slate-600);
  font-size: 0.9rem;
  line-height: 1.55;
}

.analytics-consent-actions {
  display: flex;
  flex-wrap: wrap;
  flex-shrink: 0;
  gap: 0.75rem;
  align-items: center;
  justify-content: flex-end;
}

.analytics-consent-button {
  white-space: normal;
  text-align: center;
}

@media (max-width: 700px) {
  .analytics-consent-inner {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
    padding: 1.1rem 1.15rem;
  }

  .analytics-consent-actions {
    justify-content: flex-end;
  }
}

@media (max-width: 420px) {
  .analytics-consent-banner {
    right: 0.6rem;
    bottom: 0.6rem;
    left: 0.6rem;
  }

  .analytics-consent-actions {
    flex-direction: column;
    align-items: stretch;
  }

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