/* Mobile-only overrides for the minigame. Loaded only on phones. */

/* Scale the entire minigame box to 50% so the internal layout is visually smaller on phones. */
#minigame-box {
  /* Avoid transform scaling; set a smaller max width so it fits phones */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  max-width: 420px;
  margin: 6px auto;
  padding: 4px;
  box-sizing: border-box;
}

/* Ensure gamearea becomes responsive inside the scaled box */
#gamearea {
  width: 100% !important;
  height: auto !important;
  min-height: 40px;
  overflow: hidden !important;
}

/* Slightly tighten the minigame spacing */
#minigame-box .minigame-main-image { margin: 8px 0; }
#message { font-size: 16px !important; }

/* Make sure player and fish remain absolute positioned but visually smaller via their CSS/JS sizing */
#player, #fish {
  pointer-events: auto;
}
