/* DMG Voice V3.6.7 - Okey action bar inside table */

/* Desktop: action buttons sit INSIDE the felt, between center play area and right rack. */
@media (min-width:981px){
  .gameRoomShell.okeyLiveMode .opTableActionBar{
    left:67%!important;
    right:auto!important;
    top:50%!important;
    bottom:auto!important;
    transform:translate(-50%,-50%)!important;
    width:166px!important;
    padding:10px!important;
    gap:8px!important;
    z-index:34!important;
  }
  .gameRoomShell.okeyLiveMode .gameChatPane{
    padding-left:8px!important;
  }
  .okeyLounge .opPlayer.right{
    right:26px!important;
  }
  .okeyLounge .opOpponentRack.right{
    right:104px!important;
  }
}

/* Medium desktop: keep the same visual zone without touching the right rack. */
@media (min-width:981px) and (max-width:1280px){
  .gameRoomShell.okeyLiveMode .opTableActionBar{
    left:66%!important;
    width:150px!important;
    gap:6px!important;
    padding:8px!important;
  }
  .gameRoomShell.okeyLiveMode .opTableActionBar .opAction{
    height:42px!important;
    font-size:10px!important;
    padding:0 9px!important;
  }
}

/* Mobile keeps the previously working bottom action layout. */
@media (max-width:980px){
  .gameRoomShell.okeyLiveMode .opTableActionBar{
    left:50%!important;
    right:auto!important;
    top:auto!important;
    bottom:118px!important;
    transform:translateX(-50%)!important;
  }
}
