/* Shared screen shell for game views and the studio preview. Game adapters own
   the content of the action panel; a saved physical layout does not move it. */
.tabletop-screen{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(300px,var(--tabletop-sidebar-width,360px));
  gap:var(--tabletop-screen-gap,10px);
  min-height:0;
}
.tabletop-screen-board{min-width:0;min-height:0}
.tabletop-screen-sidebar{
  min-width:0;
  min-height:0;
  display:flex;
  flex-direction:column;
  gap:var(--tabletop-sidebar-gap,10px);
  overflow-y:auto;
}
.tabletop-screen-sidebar>.tabletop-screen-chat{
  min-width:0;
  min-height:220px;
  max-height:none;
  flex:1 0 220px;
}
.tabletop-screen-sidebar>.tabletop-screen-actions{
  min-width:0;
  min-height:220px;
  flex:0 0 auto;
  margin-top:0;
}
@media(max-width:1100px){
  .tabletop-screen{grid-template-columns:minmax(0,1fr)}
  .tabletop-screen-sidebar{overflow:visible}
  .tabletop-screen-sidebar>.tabletop-screen-chat{flex:0 0 auto;min-height:180px}
}
