.statistics-choice {
  position: fixed; z-index: 100; inset: auto 24px 24px auto;
  width: min(432px, calc(100vw - 48px)); padding: 26px;
  color: var(--text, #eee9df); background: linear-gradient(145deg, #c4a5700c, transparent 65%), #131413;
  border: 1px solid #c4a57055; border-radius: 18px; box-shadow: 0 18px 70px #0008;
  font: 14px/1.55 var(--sans, sans-serif); max-height: calc(100dvh - 48px); overflow: auto;
  scrollbar-width: thin; scrollbar-color: #8c7857 #191a17; animation: statistics-enter .24s ease-out;
}
.statistics-choice[hidden] { display: none; }
.statistics-eyebrow { display: block; margin-bottom: 10px; color: #d0b58a; font: 10px/1.5 var(--mono, monospace); letter-spacing: .16em; }
.statistics-choice strong { display: block; padding-right: 28px; font: 500 24px/1.2 var(--display, sans-serif); letter-spacing: -.03em; }
.statistics-choice p { margin: 12px 0 20px; color: #c4c0b6; max-width: 33ch; }
.statistics-choice button { font: inherit; cursor: pointer; }
.statistics-choice .statistics-close {
  position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; padding: 0;
  color: #c4c0b6; background: transparent; border: 0; border-radius: 50%; font-size: 24px;
}
.statistics-choice .statistics-close:hover { background: #ffffff0a; color: #fff; }
.statistics-choice-actions { display: flex; gap: 10px; }
.statistics-choice-actions button {
  flex: 1; min-height: 46px; padding: 10px 12px; border: 1px solid #c4a57066;
  border-radius: 9px; color: #eee9df; background: #c4a5700c; font-weight: 500;
}
.statistics-choice-actions button:hover { background: #c4a57020; border-color: #c4a570; }
.statistics-choice-foot { display: flex; gap: 16px; align-items: center; justify-content: space-between; margin-top: 12px; }
.statistics-choice-foot small { color: #ada99f; font-size: 11px; line-height: 1.55; max-width: 26ch; }
.statistics-choice-foot a { display: inline-flex; align-items: center; min-height: 44px; color: #d0b58a; font-size: 12px; text-decoration: none; }
.statistics-choice-foot a:hover { text-decoration: underline; }
.statistics-settings {
  display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0;
  border: 0; background: transparent; color: inherit; font: inherit; cursor: pointer;
}
.statistics-settings::before { content: ''; width: 10px; height: 10px; border: 1px solid currentColor; border-radius: 50%; background: linear-gradient(90deg, currentColor 50%, transparent 50%); opacity: .8; }
.statistics-settings:hover { color: var(--gold, #d0b58a); }
.statistics-choice button:focus-visible, .statistics-choice a:focus-visible, .statistics-settings:focus-visible { outline: 2px solid #dfc69c; outline-offset: 3px; }
@keyframes statistics-enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 480px) {
  .statistics-choice { inset: auto 12px max(12px, env(safe-area-inset-bottom)) 12px; width: auto; padding: 20px; border-radius: 16px; max-height: calc(100dvh - 24px); }
}
@media (prefers-reduced-motion: reduce) { .statistics-choice { animation: none; } }
