/* The gameplay layout keeps its original dimensions from the previous release,
   minus the harvest strip that was removed. game.js applies one uniform scale
   based on the available window height so the whole board, wallet and footer
   fit without a vertical scrollbar. */
#game-flow{width:100%;transform-origin:top center}

@media (min-width:900px){
  body.in-game{height:100dvh;overflow:hidden;overflow:clip;overscroll-behavior:none}
  body.in-game #game-world{height:100dvh;overflow:hidden;overflow:clip}
}

/* Short desktop windows: trim decorative vertical spacing so the uniform scale
   can stay readable while the page still fits in exactly one viewport. */
@media (min-width:900px) and (max-height:1200px){
  body.in-game main{padding-top:10px!important}
  body.in-game .chapter-hud{margin-bottom:6px!important;padding-top:2px!important;padding-bottom:6px!important}
  body.in-game .felt{padding-top:8px!important;padding-bottom:8px!important}
  body.in-game .score-strip{margin:8px 0!important;padding-top:8px!important;padding-bottom:8px!important}
  body.in-game .item-pouch{margin-top:2px!important;margin-bottom:8px!important;padding:8px 10px!important}
  body.in-game .item-pouch-heading{margin-bottom:4px!important}
  body.in-game .item-card{min-height:0!important;padding:6px 8px!important}
  body.in-game .grid-wrap{padding-top:8px!important;padding-bottom:8px!important}
  body.in-game .board-bottom{margin-top:4px!important;padding-top:4px!important}
  body.in-game .bet-panel{padding-top:10px!important;padding-bottom:10px!important}
  body.in-game footer{margin-top:6px!important;padding-top:8px!important;padding-bottom:8px!important}
}
