/* xp9 fit: loaded after shell.css by deploy.mjs. Tightens the guess screen when the game runs in a smaller box
   (the in-page frame on xp9.com/wishful-packing/, small laptops). The game's own phone (<=640px wide) and
   very short (<=500px tall) layouts are left alone. */

/* the list of guesses always starts below the score panel (which ends about 150px down) */
.picks { top:158px; }

@media (min-width:641px) and (min-height:501px) and (max-height:780px) {
  .picks { top:150px; bottom:278px; width:min(250px,24vw); gap:6px; }
  .pick-chip { gap:6px; padding:5px 8px 5px 14px; border-radius:18px; border-width:1.5px; font:700 15px/1.25 system-ui,sans-serif; box-shadow:0 2px 8px rgba(0,0,0,.4); }
  .pick-chip button { font-size:17px; min-width:24px; min-height:24px; padding:0 2px; }

  .guess { width:min(780px,92vw); gap:8px; bottom:100px; }
  .guess input { font-size:17px; padding:8px 16px; border-width:2px; }
  .guess .add-guess, .guess .go { min-height:38px; padding:6px 14px; font-size:15px; }
  .guess .clock { height:20px; border-radius:10px; }
  .guess .clock span { font:800 13px/20px system-ui,sans-serif; }
  .guess .rule { font-size:13px; }
  .guess .life button, .guess .three button { font-size:13px; padding:5px 10px; }
}

/* narrow-but-not-phone boxes (641-900px wide) at any height: a little more room for the list */
@media (min-width:641px) and (max-width:900px) and (min-height:501px) {
  .picks { width:min(230px,28vw); }
  .guess { width:94vw; }
}
