.analytics-consent {
  position: fixed;
  z-index: 100;
  inset: auto var(--edge) 1rem;
  margin-inline: auto;
  max-width: 48rem;
  padding: 1rem;
  border: 1px solid var(--room-line);
  border-radius: 14px;
  background: #18131a;
  color: var(--room-light);
  box-shadow: 0 .75rem 2.5rem rgb(0 0 0 / 45%);
  font-size: max(.875rem, 14px);
  line-height: 1.5;
}
.analytics-consent[hidden] { display: none; }
.analytics-consent h2 { margin: 0 0 .35rem; font-size: 1rem; }
.analytics-consent p { margin: 0; color: var(--room-muted); }
.analytics-consent a { color: var(--room-light); text-underline-offset: .25em; }
.analytics-choices { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.analytics-consent button,
.analytics-control {
  min-height: 44px;
  padding: .65rem 1rem;
  border: 1px solid var(--room-light);
  border-radius: 999px;
  background: transparent;
  color: var(--room-light);
  font: inherit;
  cursor: pointer;
}
.analytics-choices button { flex: 1 1 11rem; }
.analytics-consent button:focus-visible,
.analytics-control:focus-visible { outline: 3px solid var(--room-light); outline-offset: 3px; }
.analytics-control { margin-inline-end: 1rem; }
@media (max-width: 20rem) {
  .analytics-consent { inset-inline: .5rem; bottom: .5rem; }
}
