.analytics-panel {
  position: fixed;
  z-index: 80;
  left: max(12px, env(safe-area-inset-left));
  right: max(12px, env(safe-area-inset-right));
  bottom: max(12px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  max-width: 32rem;
  padding: 16px 50px 14px 18px;
  border: 1px solid #ac9b7e;
  border-radius: 3px;
  background: #fcf7ed;
  color: #192a39;
  box-shadow: 0 6px 24px #16243233;
  font: 400 .925rem/1.45 Arial, sans-serif;
}

.analytics-panel p { margin: 0 0 8px; font: inherit; }
.analytics-panel a { color: #203f55; text-underline-offset: .15em; }
.analytics-panel button, .analytics-revoke {
  box-sizing: border-box;
  min-height: 44px;
  border: 1px solid #25465c;
  border-radius: 2px;
  padding: 7px 13px;
  font: 600 .9rem/1.3 Arial, sans-serif;
  cursor: pointer;
}
.analytics-accept { color: #fffaf0; background: #213e52; }
.analytics-panel .analytics-close {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #263846;
  font: 400 26px/1 Arial, sans-serif;
}
.analytics-revoke { color: #213e52; background: transparent; }
.analytics-panel :is(button, a):focus-visible, .analytics-revoke:focus-visible {
  outline: 3px solid #bf5823;
  outline-offset: 2px;
}

.edition .analytics-panel {
  position: relative;
  z-index: 1;
  inset: auto;
  width: 100%;
  max-width: none;
  padding: 7px 50px 7px 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 6px 18px;
  box-shadow: none;
}
.edition .analytics-panel p { margin: 0; max-width: 48ch; }
.analytics-panel[hidden], .analytics-revoke[hidden] { display: none !important; }
