:root { --tg-safe-top: 0px; --tg-safe-bottom: 0px; }

.app {
  min-height: 100dvh;
  padding-top: max(17px, calc(10px + var(--tg-safe-top)), env(safe-area-inset-top));
}

footer {
  bottom: max(13px, var(--tg-safe-bottom), env(safe-area-inset-bottom));
}
