/* ===== TRICHIE.COM PHONE RULEBOOK v1 (2026-11-18) =====
   Small-screen rules ONLY. Nothing here touches the desktop view:
   every rule lives inside a max-width media query.
   Goal: on a phone, everything fits the width (no sideways scrolling),
   pictures and boards scale down, buttons are big enough to tap,
   and typing in a box never makes the page jump-zoom. */

@media (max-width: 700px) {
  /* pictures, videos, frames and game canvases never spill off the phone */
  img, video, iframe, canvas {
    max-width: 100%;
  }
  canvas {
    height: auto;
  }

  /* stop the phone browser from shrinking or swelling text on its own */
  body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  /* tap targets a thumb can actually hit */
  button, .btn, a.btn, input[type="button"], input[type="submit"] {
    min-height: 44px;
  }

  /* 16px type in boxes stops the iPhone zoom-jump when a name is typed */
  input, select, textarea {
    font-size: 16px;
  }

  /* link rows (nav bars, button strips) wrap instead of squeezing off-screen */
  nav, .nav, .navbar, .topnav, .menu, .links {
    flex-wrap: wrap;
    justify-content: center;
  }

  /* wide tables and boards scroll inside their own box, never the whole page */
  table {
    display: block;
    overflow-x: auto;
    max-width: 100%;
  }
}
