:root {
  color-scheme: light;
  background: #f3f6f5;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* The document reset locks body scroll. Give every tab a bounded scrollport. */
.mobby-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  height: 100vh;
  height: 100dvh;
  background: #f3f6f5;
}

.mobby-tabs-bar {
  flex: 0 0 auto;
  padding: 5px max(8px, env(safe-area-inset-right)) max(6px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
  background: #fff;
  border-top: 1px solid #dce6e2;
}

[data-testid="mobby-scroll"] {
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

@media (prefers-reduced-motion: no-preference) {
  [data-testid="mobby-tab"] { transition: background-color 150ms ease, opacity 150ms ease; }
}
