/* Analytics consent. Sits over the page rather than pushing it, and both
   answers are the same size: a decline that is harder to find than an accept is
   not really a choice. */
.consent {
  position: fixed;
  inset: auto 1rem 1rem;
  z-index: 60;
  margin: 0 auto;
  max-width: 46rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--sc-hairline-strong);
  border-radius: 0.8rem;
  background: var(--sc-surface);
  box-shadow: 0 1.4rem 3rem rgba(0, 0, 0, 0.45);
}

.consent-text {
  flex: 1 1 20rem;
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(236, 238, 241, 0.78);
}

.consent-text a { color: var(--sc-accent); }

.consent-actions { display: flex; gap: 0.6rem; margin-left: auto; }

.consent button {
  font-family: var(--sc-font-text);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  border-radius: 0.5rem;
  cursor: pointer;
  border: 1px solid transparent;
}

.consent-yes { background: var(--sc-accent); color: #17120a; }
.consent-no { background: transparent; color: var(--sc-ink); border-color: var(--sc-hairline-strong); }
.consent-no:hover { border-color: rgba(236, 238, 241, 0.4); }

@media (max-width: 32rem) {
  .consent-actions { margin-left: 0; width: 100%; }
  .consent button { flex: 1; }
}
