.gv-statistics-choice[hidden],
.gv-statistics-choice [hidden] { display: none; }

.gv-statistics-choice {
  position: fixed;
  font: 14px/1.35 system-ui, sans-serif;
}

.gv-statistics-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.gv-statistics-actions button {
  font: inherit;
  cursor: pointer;
}

.gv-statistics-actions button:disabled { opacity: .65; cursor: default; }

.gv-statistics-feedback:not(.is-error) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

html .gv-statistics-choice {
  box-sizing: border-box;
  z-index: 1100;
  left: max(.65rem, env(safe-area-inset-left));
  bottom: max(.65rem, env(safe-area-inset-bottom));
  width: min(20rem, calc(100% - 1.3rem));
  max-height: calc(100dvh - 4rem);
  overflow: auto;
  margin: 0;
  padding: .7rem .8rem;
  border: 1px solid #847b68;
  border-radius: .7rem;
  background: #292724;
  color: #f4f0e6;
  box-shadow: 0 8px 22px #0006;
}

html .gv-statistics-choice strong { color: #edd099; }
html .gv-statistics-choice p { margin: .25rem 0 .55rem; }

html .gv-statistics-actions button {
  border: 1px solid #9b927e;
  border-radius: .45rem;
  background: #393630;
  color: #f4f0e6;
}

html .gv-statistics-actions button {
  flex: 1 1 0;
  min-width: 0;
  min-height: 44px;
  padding: .25rem .55rem;
}

html .gv-statistics-actions button:hover:enabled { background: #4a453d; }

html .gv-statistics-actions button:focus-visible,
html .gv-statistics-choice a:focus-visible {
  outline: 2px solid #edd099;
  outline-offset: 2px;
}

html .gv-statistics-choice a {
  display: inline-block;
  margin-top: .35rem;
  color: #edd099;
  text-decoration: underline;
}

