/* BattleStage owns every app screen (src/main.jsx). Keep its 1280 x 720
   stage fitting against the remaining viewport via its existing observer. */
#root .battle-viewport {
  bottom: var(--history-visit-counter-height, 0px);
}

#history-visit-counter {
  position: fixed;
  inset: auto 0 0;
  /* Above BattleStage (90), below LandscapeOnly (100000) and modal top layer. */
  z-index: 91;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: #f4f6fa;
}
