.rin-analytics-consent {
  background: var(--rin-white);
  border: 1px solid var(--rin-line);
  bottom: 1rem;
  box-shadow: 0 .8rem 2.5rem rgba(23, 23, 21, .16);
  left: 1rem;
  max-width: 36rem;
  padding: 1.2rem;
  position: fixed;
  z-index: 1000;
}

.rin-analytics-consent[hidden],
.rin-analytics-preferences[hidden] {
  display: none;
}

.rin-analytics-consent__title {
  font-size: 1rem;
  font-weight: 750;
  margin: 0 0 .45rem;
}

.rin-analytics-consent__copy {
  color: var(--rin-muted);
  font-size: .88rem;
  margin: 0;
}

.rin-analytics-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1rem;
}

.rin-analytics-consent__button,
.rin-analytics-preferences {
  border: 1px solid var(--rin-ink);
  cursor: pointer;
  font: inherit;
  font-size: .82rem;
  font-weight: 650;
  padding: .62rem .85rem;
}

.rin-analytics-consent__button--accept {
  background: var(--rin-ink);
  color: var(--rin-white);
}

.rin-analytics-consent__button--reject {
  background: transparent;
  color: var(--rin-ink);
}

.rin-analytics-preferences {
  background: var(--rin-paper);
  bottom: 1rem;
  color: var(--rin-ink);
  position: fixed;
  right: 1rem;
  z-index: 999;
}

@media (max-width: 36rem) {
  .rin-analytics-consent {
    bottom: .75rem;
    left: .75rem;
    right: .75rem;
  }

  .rin-analytics-consent__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .rin-analytics-consent__button {
    width: 100%;
  }
}
