html,
body {
  width: 100%;
  height: 100%;
  display: block;
}

#app {
  position: fixed !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
}

.pl {
  width: min(36%, 24em) !important;
}

.pl.l {
  left: max(4em, env(safe-area-inset-left)) !important;
}

.pl.r {
  right: max(4em, env(safe-area-inset-right)) !important;
}

#tp {
  padding: 0 max(2%, env(safe-area-inset-right)) 0
    max(2%, env(safe-area-inset-left)) !important;
}

#ui .modal {
  box-shadow: 0 0 0 100vmax #0008;
}
