.analytics-choice {
  position: fixed;
  z-index: 10000;
  inset: auto auto 20px 20px;
  width: min(480px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: auto;
  box-sizing: border-box;
  padding: 28px;
  border: 1px solid #36758a;
  border-radius: 16px;
  background: #0b182b;
  color: #edf5ff;
  box-shadow: 0 24px 80px #000a;
  font: 15px/1.5 system-ui, sans-serif;
}
.analytics-choice[hidden] { display: none; }
.analytics-choice h2 { margin: 0 0 12px; font-size: 22px; line-height: 1.3; }
.analytics-choice p { margin: 0 0 12px; color: #b1c6dd; font-size: 15px; }
.analytics-choice a, .analytics-settings { color: #77deed; }
.analytics-actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 24px; }
.analytics-actions button {
  min-height: 44px;
  padding: 10px 6px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #b1c6dd;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.analytics-actions button:first-child { font-size: 13px; text-decoration: underline; text-underline-offset: 4px; }
.analytics-actions button:first-child:hover { color: #edf5ff; }
.analytics-actions button:last-child {
  flex: 1;
  min-height: 48px;
  padding: 12px 20px;
  border-color: #35d6ed;
  border-radius: 10px;
  background: linear-gradient(110deg, #00cfdf, #3b9bff 56%, #aa72ff);
  color: #031323;
  font-size: 15px;
  font-weight: 750;
  box-shadow: 0 5px 22px #13c8ed30;
}
.analytics-actions button:last-child:hover { filter: brightness(1.1); }
.analytics-actions button:disabled { opacity: .5; cursor: default; }
.analytics-settings { padding: 8px; border: 0; background: none; font: inherit; cursor: pointer; }
.analytics-choice :focus-visible, .analytics-settings:focus-visible { outline: 2px solid #00d9ea; outline-offset: 3px; }
@media (max-width: 420px) {
  .analytics-choice { inset: auto auto 16px 16px; padding: 22px; }
  .analytics-actions { flex-wrap: wrap; gap: 10px; }
  .analytics-actions button:last-child { padding-inline: 12px; }
}
