/* Android PWA fullscreen template, adapted for Yan. */
html,
body,
#root {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: #F8FBF7;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  position: relative;
  inset: auto;
  min-height: 0;
  overflow: hidden;
  overscroll-behavior: none;
}

.wall,
.login,
.app {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  max-width: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow-x: hidden;
}

.app {
  padding: 0;
  overflow: hidden;
  background: transparent;
}

.topbar {
  padding-top: env(safe-area-inset-top, 0px);
}

.peerpill {
  transform: translateY(-6px);
}

.composer {
  padding-bottom: max(12px, env(safe-area-inset-bottom, 0px));
}

.scroll,
.row,
.bubble,
.flex-child,
.grid-child {
  min-width: 0;
  max-width: 100%;
}

.app button,
.app [role="button"] {
  -webkit-tap-highlight-color: transparent;
}
