.analytics-settings {
  margin: 0;
  padding: 6px 10px;
  border: 1px solid #b9cce6;
  border-radius: 9px;
  background: #f7faff;
  color: #2453a7;
  cursor: pointer;
  font: 700 .82rem/1.3 system-ui, sans-serif;
}
.analytics-settings--game { position: absolute; top: 8px; right: 12px; z-index: 2; }
.analytics-panel {
  position: fixed;
  z-index: 5;
  right: 16px;
  bottom: 16px;
  width: min(360px, calc(100% - 32px));
  padding: 16px;
  border: 1px solid #b9cce6;
  border-radius: 14px;
  box-shadow: 0 8px 25px #1735502b;
  background: #f7faff;
  color: #172b47;
  font: .9rem/1.55 system-ui, sans-serif;
}
.analytics-panel h2 { margin: 0 0 4px; font-size: 1rem; }
.analytics-panel p { margin: 0; }
.analytics-panel a { color: #2453a7; text-decoration: underline; }
.analytics-actions { display: flex; justify-content: end; gap: 8px; margin-top: 12px; }
.analytics-actions button {
  min-width: 70px;
  min-height: 40px;
  margin: 0;
  padding: 6px 12px;
  border: 1px solid #b9cce6;
  border-radius: 8px;
  background: white;
  color: #2453a7;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.analytics-settings:focus-visible,
.analytics-panel :focus-visible { outline: 2px solid #2453a7; outline-offset: 3px; }
