/* The content inset starts after the system safe area, so reserve both once. */
.app-shell {
  padding-top: calc(
    max(env(safe-area-inset-top, 0px), var(--mobicom-device-safe-top, var(--tg-safe-area-inset-top, 0px)))
    + var(--mobicom-content-safe-top, var(--tg-content-safe-area-inset-top, 0px))
  );
}

/* Trim the header's own extra spacing in fullscreen; retain native safe insets. */
.home-header.home-header-main {
  top: calc(0px - var(--mobicom-home-header-lift, 0px));
  margin-bottom: calc(0px - var(--mobicom-home-header-lift, 0px));
}
