.msc-statistics {
  position: fixed;
  z-index: 10000;
  inset: auto auto calc(1rem + env(safe-area-inset-bottom)) 1rem;
  width: min(26rem, calc(100% - 2rem));
  padding: 1.2rem;
  background: #faf7f2;
  color: #332c28;
  border: 1px solid #dcd4c9;
  border-radius: 1rem;
  box-shadow: 0 8px 32px #332c2826;
}
.msc-statistics[hidden] { display: none; }
.msc-statistics h2 { margin: 0 0 .45rem; font-size: 1.25rem; }
.msc-statistics p { margin: 0 0 .85rem; font-size: .9rem; line-height: 1.5; }
.msc-statistics-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.msc-statistics-actions button {
  flex: 1 0 auto;
  min-height: 44px;
  border: 1px solid #695440;
  border-radius: 2rem;
  color: #332c28;
  background: transparent;
  font: inherit;
  cursor: pointer;
  padding: .4rem .75rem;
}
.msc-statistics-settings {
  display: block;
  margin: .75rem auto;
  padding: .35rem .5rem;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
