/* v22.9.657: the game uses its available column between the widget rails. */
#t632-app{container-name:baha-game-tables;container-type:inline-size;width:100%;min-width:0}
#t632-app .t632-table-layout>section,#t632-app .t632-table-layout>aside{min-width:0;max-width:100%}
#t632-app :is(.t632-panel,.t632-turn,.t632-result,.t642-progress){max-width:100%;overflow-wrap:anywhere}
#t632-app .t632-felt{width:100%;min-width:0}
#t632-app .t632-hand .t632-card{flex-shrink:0}
#t632-app .t642-results table{table-layout:fixed}
#t632-app .t642-results :is(th,td){white-space:normal;overflow-wrap:anywhere}
#t632-app .t642-results th:first-child{width:42%;min-width:0;max-width:none}

@container baha-game-tables (max-width:900px){
  #t632-app .t632-table-layout{grid-template-columns:minmax(0,1fr);gap:16px}
  #t632-app .t632-table-layout>aside{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  #t632-app .t632-table-layout>aside>.t632-panel{margin-bottom:0}
  #t632-app .t632-lobby-grid,#t632-app .t633-halls{grid-template-columns:minmax(0,1fr)}
  #t632-app .t632-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}
  #t632-app .t632-hero{flex-wrap:wrap;align-items:flex-start;gap:12px}
  #t632-app .t632-panel{padding:18px}
  #t632-app .t632-felt{border-radius:45px;border-width:5px;padding:20px 10px}
  #t632-app .t632-table-heading h2{font-size:1.3rem}
  #t632-app .t633-own-hand{flex-wrap:wrap;gap:10px}
  #t632-app .t633-poker-felt .t632-card{width:43px;height:63px;padding:5px}
  #t632-app .t633-poker-felt .t632-card i{font-size:22px}
  #t632-app .t633-poker-choice .t632-actions>button{flex:1 1 180px}
}

@container baha-game-tables (max-width:600px){
  #t632-app .t632-table-layout>aside{grid-template-columns:minmax(0,1fr)}
  #t632-app .t632-hero h1{font-size:26px}
  #t632-app .t632-hero p{font-size:.85rem}
  #t632-app .t632-wallet{flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px;width:100%;justify-content:space-between;padding:12px}
  #t632-app .t632-wallet strong{font-size:1.2rem}
  #t632-app .t632-pot{gap:10px;padding:12px;font-size:.85rem}
  #t632-app .t632-pot strong{font-size:1.1rem}
  #t632-app .t632-actions{gap:8px}
  #t632-app .t632-actions>button{flex:1 1 140px}
  #t632-app .t633-hall>article{flex-wrap:wrap}
  #t632-app .t642-stage{flex-wrap:wrap;gap:8px}
  #t632-app .t642-results :is(th,td){padding:9px 8px;font-size:.85rem}
  #t632-app .t632-seats{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
  #t632-app .t632-seat{padding:8px}
  #t632-app .t632-sliders{grid-template-columns:minmax(0,1fr)}
}

@container baha-game-tables (max-width:430px){
  #t632-app .t632-panel{padding:12px}
  #t632-app .t632-form-row{grid-template-columns:minmax(0,1fr);gap:10px}
  #t632-app .t632-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}
  #t632-app .t632-hand{gap:5px}
  #t632-app .t632-card{width:46px;height:66px;padding:6px;font-size:18px}
  #t632-app .t632-card i{font-size:23px}
  #t632-app .t633-poker-felt .t632-card{width:36px;height:53px;padding:4px;font-size:16px}
  #t632-app .t633-poker-felt .t632-card i{font-size:20px}
  #t632-app .t633-poker-felt .t632-hand{gap:4px}
  #t632-app #t633-chat .composer630-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
