/* Android APK Home/Settings: the shell is the one vertical touch scroller. */
html.android-app-shell,
body.android-app-shell.riko-redesign {
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  overflow: hidden !important;
}

body.android-app-shell.riko-redesign .shell {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: 100% !important;
  margin: 0 !important;
  overflow-x: hidden !important;
  overflow-y: scroll !important;
  touch-action: pan-y !important;
  overscroll-behavior-y: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-gutter: auto !important;
  padding-bottom: max(18px, env(safe-area-inset-bottom, 0px)) !important;
}

body.android-app-shell.riko-redesign:not(.riko-show-panel) .main {
  display: none !important;
}

body.android-app-shell.riko-redesign .riko-home-screen,
body.android-app-shell.riko-redesign .riko-settings-screen {
  height: auto !important;
  min-height: 100% !important;
  overflow: visible !important;
  touch-action: pan-y !important;
}
