.analytics-mini-toggle {
  position: fixed;
  right: 12px;
  bottom: max(12px, env(safe-area-inset-bottom));
  z-index: 101;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #c3cabc;
  border-radius: 50%;
  background: #202a24;
  color: #fff;
  box-shadow: 0 3px 12px #0003;
  cursor: pointer;
}
.analytics-mini-toggle svg { width: 20px; height: 20px; }
.analytics-mini-toggle:focus-visible { outline: 3px solid #d8a15f; outline-offset: 3px; }
#analytics-choice.consent-banner {
  left: auto;
  right: 12px;
  bottom: calc(68px + env(safe-area-inset-bottom));
  width: min(340px, calc(100vw - 24px));
  max-height: calc(100dvh - 90px);
  overflow: auto;
  padding: 16px;
}
/* Keep the statistics control above the mobile event calculation toolbar. */
@media(max-width:760px){
  .analytics-mini-toggle{bottom:calc(84px + env(safe-area-inset-bottom))}
  #analytics-choice.consent-banner{bottom:calc(140px + env(safe-area-inset-bottom));max-height:calc(100dvh - 164px);box-sizing:border-box}
}
