.analytics-consent[hidden] { display: none; }
.analytics-consent {
  position: fixed;
  z-index: 30;
  inset-inline: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .85rem 1.25rem;
  max-width: 44rem;
  margin-inline: auto;
  padding: .75rem 1rem;
  border: 1px solid #393939;
  border-radius: 12px;
  background: #171717;
  color: #f0f0f0;
  box-shadow: 0 8px 30px #0008;
  font-size: .9rem;
  line-height: 1.5;
}
.analytics-consent p { flex: 1 1 17rem; margin: 0; color: #ccc; }
.analytics-consent a { color: inherit; text-decoration: underline; }
.analytics-consent-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.analytics-consent button {
  min-height: 44px;
  padding: .35rem .8rem;
  border: 1px solid #707070;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.analytics-consent button:hover { background: #303030; }
.analytics-consent :is(a, button):focus-visible { outline: 2px solid #83b1ff; outline-offset: 3px; }
