/* Omaha Hi-Lo full screen: only the table, status line, action buttons and deal/pause buttons stay in the stage.
   Study, replay, coach, review and the setup form (once a table exists) are hidden so the stage never scrolls. */
:is(html.pip-immersive,html.pip-native) body .p-play:not(:has(.p-empty))>:is(#poker-setup-details,#poker-depth-gameplay,#poker-depth-replay,#poker-coach,.p-panel){display:none}
:is(html.pip-immersive,html.pip-native) body .p-play>#poker-result:empty{display:none}
:is(html.pip-immersive,html.pip-native) body .p-play{overflow:hidden;overscroll-behavior:contain}
html.pip-native body .p-play{display:flex;flex-direction:column;gap:.25rem;padding:.4rem .6rem;box-sizing:border-box;width:100%;height:100%;box-shadow:none;border-radius:0}
html.pip-native body .p-play::before{display:none}
html.pip-native body .p-play>*{flex:none;min-width:0}
html.pip-native body .p-play>#poker-table{order:1}
html.pip-native body .p-play>#poker-status{order:2;margin:.1rem 0;min-height:0;padding:.3rem .6rem}
html.pip-native body .p-play>#poker-actions{order:3;margin:.1rem 0}
html.pip-native body .p-play>.p-controls{order:4;margin:.1rem 0}
html.pip-native body #poker-table .p-seats{grid-template-columns:repeat(auto-fit,minmax(10rem,1fr));gap:.4rem}
html.pip-native .p-actions .p-button{min-height:44px}
html.pip-native .p-controls .p-button{min-height:44px}
html.pip-immersive .p-controls .p-button{min-height:44px}
@media (orientation:landscape) and (min-aspect-ratio:3/2){
  html.pip-native body .p-play{display:grid;grid-template-columns:minmax(0,1fr) 15.5rem;grid-auto-rows:min-content;align-content:start;column-gap:.7rem}
  html.pip-native body .p-play>*{grid-column:1/-1}
  html.pip-native body .p-play>#poker-table{grid-column:1;grid-row:1/span 4}
  html.pip-native body .p-play>#poker-status{grid-column:2;grid-row:1}
  html.pip-native body .p-play>#poker-actions{grid-column:2;grid-row:2}
  html.pip-native body .p-play>.p-controls{grid-column:2;grid-row:3}
}
@media (orientation:landscape) and (max-height:520px){
  html.pip-native body #poker-table .p-seats{grid-template-columns:repeat(auto-fit,minmax(8.5rem,1fr))}
}
[hidden]{display:none}
