/* Mission Arcade v1.3.5 — responsive board repair
   Prevent intrinsic flex-item shrinking, particularly Arrow Puzzle and Zahlenfusion.
   In game mode, the game view is a column flex container. Board frames are
   flex children and therefore need an explicit responsive width. */

#arrow .arrow-board-wrap,
#fusion .fusion-board-frame {
  box-sizing: border-box;
  display: block;
  width: 100%;
  max-width: 450px;
  flex: 0 0 auto;
  align-self: center;
  min-width: 0;
}
#arrow .arrow-board,
#fusion .fusion-board {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
}
/* Make the grid take the usable width on smaller iPhones, while still respecting
   the fixed square-cell proportions and reducing accidental page overflow. */
#arrow .arrow-cell,
#fusion .fusion-cell { min-width: 0; min-height: 0; }
@media (max-width: 420px) {
  #arrow .arrow-board-wrap,
  #fusion .fusion-board-frame { margin: 10px auto; }
  #arrow .arrow-cell { font-size: clamp(24px, 7vw, 35px); }
  #fusion .fusion-cell { font-size: clamp(15px, 5vw, 24px); }
}
/* Hide the visual scroll indicator but retain vertical scrolling on touch. */
html, body { overflow-x: hidden; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
