.analytics-choice {
  position: fixed;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  box-sizing: border-box;
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  z-index: 2000;
  max-width: 560px;
  margin: 0;
  padding: 20px;
  background: #fafaf7;
  color: #171717;
  border: 1px solid currentColor;
  box-shadow: 0 4px 24px #0002;
  font:
    14px/1.5 Arial,
    sans-serif;
}
.analytics-choice[hidden] {
  display: none;
}
.analytics-choice p {
  margin: 0 0 14px;
}
.analytics-choice a {
  display: block;
  text-align: right;
  margin-top: 12px;
  font-size: 12px;
  color: inherit;
  text-decoration: underline;
}
.analytics-choice > div {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.analytics-choice button {
  flex: 1;
  min-height: 44px;
  padding: 10px 14px;
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  font:
    12px/1.4 Arial,
    sans-serif;
  cursor: pointer;
}
.analytics-choice button:disabled {
  opacity: 0.5;
  cursor: default;
}
.analytics-choice button:focus-visible,
.analytics-settings:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.analytics-settings {
  background: none;
  border: 0;
  padding: 6px 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width: 400px) {
  .analytics-choice {
    width: calc(100% - 16px);
    padding: 14px;
  }
  .analytics-choice > div {
    gap: 8px;
  }
}
