/* Disable the browser's duplicate gesture only where our mobile control runs. */
html.brain-pull-enabled, html.brain-pull-enabled body { overscroll-behavior-y: none; }
.brain-pull-refresh {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 8px);
  left: 50%;
  transform: translate(-50%, var(--pull-offset, 0px));
  z-index: 11000;
  max-width: calc(100vw - 32px);
  padding: 10px 18px;
  border: 1px solid #e6d8d8;
  border-radius: 999px;
  background: #fff;
  color: #713436;
  box-shadow: 0 4px 18px #0002;
  font: 600 14px/1.4 system-ui, sans-serif;
  text-align: center;
  pointer-events: none;
}
.brain-pull-refresh[hidden] { display: none; }
