.analytics-consent {
  position: fixed;
  z-index: 10;
  inset: auto 1rem 1rem auto;
  width: min(28rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: 1.15rem;
  background: #fffdf7;
  border: 1px solid #d2c2f3;
  border-radius: 1.1rem;
  box-shadow: 0 8px 28px #30234832;
  font-size: .9rem;
  line-height: 1.5;
}

.analytics-consent h2 {
  margin: 0;
  font-size: 1.4rem;
}

.analytics-consent p {
  margin: .5rem 0;
}

.analytics-status {
  color: #655976;
}

.analytics-choices {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin-top: .75rem;
}

.analytics-choices button {
  flex: 1 1 8rem;
  min-height: 44px;
  padding: .55rem .7rem;
  color: var(--purple);
  background: #fff;
  border: 2px solid var(--purple);
  border-radius: 2rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.analytics-choices button:hover:enabled {
  background: #ede6ff;
}

.analytics-choices button:disabled {
  opacity: .55;
  cursor: default;
}

.analytics-settings {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
