/* Scroll only the left controls when they exceed the visible screen height. */
html body.guide-layout-pilot .modeBar,
html body.hkt-game.hkt-page-1 .side,
html body.hkt-game.hkt-page-3 .side,
html body.hkt-game.hkt-page-4 .side,
html body .floatingInfo{
  box-sizing:border-box;
  height:auto !important;
  min-height:0;
  max-height:calc(100vh - 74px - var(--safeT,0px) - var(--safeB,0px));
  max-height:calc(100dvh - 74px - var(--safeT,0px) - var(--safeB,0px));
  overflow-x:hidden !important;
  overflow-y:auto !important;
  overscroll-behavior-y:contain;
  touch-action:pan-y pinch-zoom;
  -webkit-overflow-scrolling:touch;
  pointer-events:auto !important;
  scrollbar-width:thin;
}

html body.guide-layout-pilot .modeBar > *,
html body .floatingInfo > *,
html body.hkt-game:is(.hkt-page-1,.hkt-page-3,.hkt-page-4) .side > .card{
  flex-shrink:0;
}
