.footer-legal-links { flex-wrap: wrap; gap: .45rem 1.3rem; }
.statistics-open { text-decoration: underline; text-underline-offset: .18em; }
a[aria-disabled="true"]:not([href]) { cursor: default; pointer-events: none; text-decoration: none; }

.statistics-panel {
  position: fixed;
  z-index: 110;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  display: grid;
  gap: .75rem;
  width: min(27rem, calc(100% - 2rem));
  max-height: calc(100dvh - 2rem);
  overflow: auto;
  padding: clamp(1rem, 3vw, 1.35rem);
  border: 1px solid #6b6638;
  border-radius: .85rem;
  background: #23221b;
  box-shadow: 0 12px 32px #000a;
  color: #f6f5ed;
  font: 400 .96rem/1.45 "RNS Sanz", sans-serif;
}

.statistics-panel [hidden], .statistics-panel[hidden], .statistics-open[hidden] { display: none; }
.statistics-panel h2 { color: #f6f5ed; font: 700 1.3rem/1.15 Geomanist, sans-serif; font-size: 1.3rem !important; text-shadow: none; }
.statistics-panel a { color: #fff500; text-decoration: underline; text-underline-offset: .2em; }
.statistics-panel__status { color: #e2dcb7; }
.statistics-panel__status:empty { display: none; }
.statistics-panel__actions { display: flex; flex-wrap: wrap; gap: .55rem; }
.statistics-panel__actions button { flex: 1 1 7.5rem; min-height: 2.75rem; padding: .48rem .6rem; border: 1px solid #928f6d; border-radius: .45rem; background: #302e24; color: #f6f5ed; font-weight: 700; }
.statistics-panel__actions button:hover { border-color: #fff500; }
.statistics-panel__actions button:disabled { opacity: .6; }
:is(.statistics-panel a, .statistics-panel button, .statistics-open):focus-visible { outline: 2px solid #fff500; outline-offset: 3px; }
