/* No font imports, images, remote resources, animations, or blocking overlay. */
.noli-stats,
.noli-stats-reopen {
  box-sizing: border-box;
  font-family: Manrope, system-ui, sans-serif;
  color: #292824;
  font-size: 13px;
  line-height: 1.6;
}
.noli-stats {
  position: fixed;
  z-index: 9000;
  bottom: max(16px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  width: min(440px, calc(100vw - 32px));
  max-height: min(60vh, 360px);
  overflow: auto;
  padding: 18px;
  background: #faf9f6;
  border: 1px solid #d6d3cb;
  border-radius: 8px;
  box-shadow: 0 4px 20px #29282412;
  text-align: left;
}
.noli-stats p { margin: 0 0 14px; font: inherit; color: inherit; }
.noli-stats > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.noli-stats button {
  box-sizing: border-box;
  appearance: none;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid #bcb8ae;
  border-radius: 4px;
  background: #faf9f6;
  color: #292824;
  font: inherit;
  font-weight: 600;
  line-height: 1.4;
  white-space: normal;
  overflow-wrap: anywhere;
  cursor: pointer;
  box-shadow: none;
}
.noli-stats button:hover { background: #eeece6; }
.noli-stats button:disabled { opacity: .6; cursor: not-allowed; }
.noli-stats [data-withdraw] { grid-column: 1 / -1; font-weight: 400; }
.noli-stats-reopen {
  position: fixed;
  z-index: 8999;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: max(16px, env(safe-area-inset-left));
  max-width: calc(100vw - 32px);
  min-height: 36px;
  padding: 6px 10px;
  appearance: none;
  background: #faf9f6;
  border: 1px solid #d6d3cb;
  border-radius: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.noli-stats button:focus-visible,
.noli-stats-reopen:focus-visible { outline: 2px solid #292824; outline-offset: 3px; }
.noli-stats[hidden], .noli-stats [hidden], .noli-stats-reopen[hidden] { display: none !important; }
@media (max-width: 360px) {
  .noli-stats { padding: 14px; }
  .noli-stats button { padding-inline: 6px; font-size: 12px; }
}
