/* Cache-busted fallback for already-installed mobile shells. */
@media (max-width:1000px){
  html.mobile-chess-shell-active[data-mobile-mode="explain"],
  html.mobile-chess-shell-active[data-mobile-mode="explain"] body{
    height:100dvh!important;
    min-height:0!important;
    max-height:100dvh!important;
    overflow:hidden!important;
  }
  html.mobile-chess-shell-active[data-mobile-mode="explain"] .chess-app,
  html.mobile-chess-shell-active[data-mobile-mode="explain"] #trainerLayout.mobile-chess-shell{
    height:100dvh!important;
    min-height:0!important;
    max-height:100dvh!important;
    overflow:hidden!important;
  }
  html.mobile-chess-shell-active[data-mobile-mode="explain"] #trainerLayout.mobile-chess-shell{
    display:flex!important;
    flex-direction:column!important;
  }
  html.mobile-chess-shell-active[data-mobile-mode="explain"] #trainerLayout.mobile-chess-shell>#mobileAnalyzeViewTabs{
    flex:0 0 48px!important;
    min-height:48px!important;
  }
  html.mobile-chess-shell-active[data-mobile-mode="explain"][data-mobile-analysis-submode="engine"] #trainerLayout.mobile-chess-shell.workspace-analyze>.middle-column,
  html.mobile-chess-shell-active[data-mobile-mode="explain"][data-mobile-analysis-submode="explain"] #trainerLayout.mobile-chess-shell.workspace-analyze>.right-column{
    box-sizing:border-box!important;
    display:flex!important;
    flex:1 1 0!important;
    flex-direction:column!important;
    width:100%!important;
    height:0!important;
    min-height:0!important;
    max-height:none!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    touch-action:pan-y!important;
    scrollbar-width:none!important;
    -ms-overflow-style:none!important;
  }
  html.mobile-chess-shell-active[data-mobile-mode="explain"][data-mobile-analysis-submode="engine"] #trainerLayout.mobile-chess-shell.workspace-analyze>.right-column,
  html.mobile-chess-shell-active[data-mobile-mode="explain"][data-mobile-analysis-submode="explain"] #trainerLayout.mobile-chess-shell.workspace-analyze>.middle-column{
    display:none!important;
  }
}
